AWS SDK Version 4 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Returns details for a given workload and deployment pattern, including the available specifications. You can use the ListWorkloads operation to discover the available workload names and the ListWorkloadDeploymentPatterns operation to discover the available deployment pattern names of a given workload.

Note:

For .NET Core this operation is only available in asynchronous form. Please refer to GetWorkloadDeploymentPatternAsync.

Namespace: Amazon.LaunchWizard
Assembly: AWSSDK.LaunchWizard.dll
Version: 3.x.y.z

Syntax

C#
public virtual GetWorkloadDeploymentPatternResponse GetWorkloadDeploymentPattern(
         GetWorkloadDeploymentPatternRequest request
)

Parameters

request
Type: Amazon.LaunchWizard.Model.GetWorkloadDeploymentPatternRequest

Container for the necessary parameters to execute the GetWorkloadDeploymentPattern service method.

Return Value


The response from the GetWorkloadDeploymentPattern service method, as returned by LaunchWizard.

Exceptions

ExceptionCondition
InternalServerException An internal error has occurred. Retry your request, but if the problem persists, contact us with details by posting a question on re:Post.
ResourceNotFoundException The specified workload or deployment resource can't be found.
ValidationException The input fails to satisfy the constraints specified by an Amazon Web Services service.

Examples

Get details about a specific Workload deployment pattern


var client = new AmazonLaunchWizardClient();
var response = client.CreateDeployment(new CreateDeploymentRequest 
{
    Name = "TestDeployment1",
    DeploymentPatternName = "SapHanaSingle",
    DryRun = false,
    Specifications = new Dictionary<string, string> {
        { "CreateSecurityGroup", "No" },
        { "DisableDeploymentRollback", "Yes" },
        { "EnableEbsVolumeEncryption", "Yes" },
        { "KeyPairName", "keyName" },
        { "ProxyServerAddress", "http://xyz.abc.com:8080" },
        { "SapSysGroupId", "5003" },
        { "SapVirtualIPOptIn", "No" },
        { "SaveDeploymentArtifacts", "No" },
        { "SnsTopicArn", "arn:aws:sns:us-east-1:111111222222:snsNameUsEast1.fifo" },
        { "Timezone", "Pacific/Wake" },
        { "VpcId", "vpc-1234566" }
    },
    WorkloadName = "SAP"
});

string deploymentId = response.DeploymentId;

            

Version Information

.NET Framework:
Supported in: 4.7.2 and newer

See Also