Exemplo n.º 1
0
        public void AppConfigGetDeployment()
        {
            #region to-retrieve-deployment-details-1633976766883

            var client   = new AmazonAppConfigClient();
            var response = client.GetDeployment(new GetDeploymentRequest
            {
                ApplicationId    = "339ohji",
                DeploymentNumber = 1,
                EnvironmentId    = "54j1r29"
            });

            string   applicationId               = response.ApplicationId;
            DateTime completedAt                 = response.CompletedAt;
            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
        }