AWS SDK Version 3 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.

This is the response object from the UpdateDeploymentStrategy operation.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceResponse
    Amazon.AppConfig.Model.UpdateDeploymentStrategyResponse

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

Syntax

C#
public class UpdateDeploymentStrategyResponse : AmazonWebServiceResponse

The UpdateDeploymentStrategyResponse type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property ContentLength System.Int64 Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property DeploymentDurationInMinutes System.Int32

Gets and sets the property DeploymentDurationInMinutes.

Total amount of time the deployment lasted.

Public Property Description System.String

Gets and sets the property Description.

The description of the deployment strategy.

Public Property FinalBakeTimeInMinutes System.Int32

Gets and sets the property FinalBakeTimeInMinutes.

The amount of time that AppConfig monitored for alarms before considering the deployment to be complete and no longer eligible for automatic rollback.

Public Property GrowthFactor System.Single

Gets and sets the property GrowthFactor.

The percentage of targets that received a deployed configuration during each interval.

Public Property GrowthType Amazon.AppConfig.GrowthType

Gets and sets the property GrowthType.

The algorithm used to define how percentage grew over time.

Public Property HttpStatusCode System.Net.HttpStatusCode Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property Id System.String

Gets and sets the property Id.

The deployment strategy ID.

Public Property Name System.String

Gets and sets the property Name.

The name of the deployment strategy.

Public Property ReplicateTo Amazon.AppConfig.ReplicateTo

Gets and sets the property ReplicateTo.

Save the deployment strategy to a Systems Manager (SSM) document.

Public Property ResponseMetadata Amazon.Runtime.ResponseMetadata Inherited from Amazon.Runtime.AmazonWebServiceResponse.

Examples

The following update-deployment-strategy example updates final bake time to 20 minutes in the specified deployment strategy. ::

To update a deployment strategy


var client = new AmazonAppConfigClient();
var response = client.UpdateDeploymentStrategy(new UpdateDeploymentStrategyRequest 
{
    DeploymentStrategyId = "1225qzk",
    FinalBakeTimeInMinutes = 20
});

int deploymentDurationInMinutes = response.DeploymentDurationInMinutes;
int finalBakeTimeInMinutes = response.FinalBakeTimeInMinutes;
float growthFactor = response.GrowthFactor;
string growthType = response.GrowthType;
string id = response.Id;
string name = response.Name;
string replicateTo = response.ReplicateTo;

            

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5