Пример #1
0
        public void AppConfigStartDeployment()
        {
            #region to-start-a-configuration-deployment-1632328956790

            var client   = new AmazonAppConfigClient();
            var response = client.StartDeployment(new StartDeploymentRequest
            {
                ApplicationId          = "339ohji",
                ConfigurationProfileId = "ur8hx2f",
                ConfigurationVersion   = "1",
                DeploymentStrategyId   = "1225qzk",
                Description            = "",
                EnvironmentId          = "54j1r29",
                Tags = new Dictionary <string, string> {
                }
            });

            string applicationId               = response.ApplicationId;
            string configurationLocationUri    = response.ConfigurationLocationUri;
            string configurationName           = response.ConfigurationName;
            string configurationProfileId      = response.ConfigurationProfileId;
            string configurationVersion        = response.ConfigurationVersion;
            int    deploymentDurationInMinutes = response.DeploymentDurationInMinutes;
            int    deploymentNumber            = response.DeploymentNumber;
            string deploymentStrategyId        = response.DeploymentStrategyId;
            string environmentId               = response.EnvironmentId;
            List <DeploymentEvent> eventLog    = response.EventLog;
            int      finalBakeTimeInMinutes    = response.FinalBakeTimeInMinutes;
            float    growthFactor              = response.GrowthFactor;
            string   growthType         = response.GrowthType;
            float    percentageComplete = response.PercentageComplete;
            DateTime startedAt          = response.StartedAt;
            string   state = response.State;

            #endregion
        }