Пример #1
0
        public void AppConfigCreateHostedConfigurationVersion()
        {
            #region to-create-a-hosted-configuration-version-1632265196980

            var client   = new AmazonAppConfigClient();
            var response = client.CreateHostedConfigurationVersion(new CreateHostedConfigurationVersionRequest
            {
                ApplicationId          = "339ohji",
                ConfigurationProfileId = "ur8hx2f",
                Content             = new MemoryStream(eyAiTmFtZSI6ICJFeGFtcGxlQXBwbGljYXRpb24iLCAiSWQiOiBFeGFtcGxlSUQsICJSYW5rIjogNyB9),
                ContentType         = "text",
                LatestVersionNumber = 1
            });

            string applicationId          = response.ApplicationId;
            string configurationProfileId = response.ConfigurationProfileId;
            string contentType            = response.ContentType;
            int    versionNumber          = response.VersionNumber;

            #endregion
        }