repo_name
stringlengths
1
52
repo_creator
stringclasses
6 values
programming_language
stringclasses
4 values
code
stringlengths
0
9.68M
num_lines
int64
1
234k
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appconfig-2019-10-09.normal.json service model. */ using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Net; using System.Text; using System.Xml.Serialization; using Amazon.AppConfig.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AppConfig.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for UpdateEnvironment operation /// </summary> public class UpdateEnvironmentResponseUnmarshaller : JsonResponseUnmarshaller { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context) { UpdateEnvironmentResponse response = new UpdateEnvironmentResponse(); context.Read(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("ApplicationId", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; response.ApplicationId = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("Description", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; response.Description = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("Id", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; response.Id = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("Monitors", targetDepth)) { var unmarshaller = new ListUnmarshaller<Monitor, MonitorUnmarshaller>(MonitorUnmarshaller.Instance); response.Monitors = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("Name", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; response.Name = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("State", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; response.State = unmarshaller.Unmarshall(context); continue; } } return response; } /// <summary> /// Unmarshaller error response to exception. /// </summary> /// <param name="context"></param> /// <param name="innerException"></param> /// <param name="statusCode"></param> /// <returns></returns> public override AmazonServiceException UnmarshallException(JsonUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode) { var errorResponse = JsonErrorResponseUnmarshaller.GetInstance().Unmarshall(context); errorResponse.InnerException = innerException; errorResponse.StatusCode = statusCode; var responseBodyBytes = context.GetResponseBodyBytes(); using (var streamCopy = new MemoryStream(responseBodyBytes)) using (var contextCopy = new JsonUnmarshallerContext(streamCopy, false, null)) { if (errorResponse.Code != null && errorResponse.Code.Equals("BadRequestException")) { return BadRequestExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("InternalServerException")) { return InternalServerExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ResourceNotFoundException")) { return ResourceNotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } } return new AmazonAppConfigException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode); } private static UpdateEnvironmentResponseUnmarshaller _instance = new UpdateEnvironmentResponseUnmarshaller(); internal static UpdateEnvironmentResponseUnmarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static UpdateEnvironmentResponseUnmarshaller Instance { get { return _instance; } } } }
148
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appconfig-2019-10-09.normal.json service model. */ using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Text; using System.Xml.Serialization; using Amazon.AppConfig.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AppConfig.Model.Internal.MarshallTransformations { /// <summary> /// UpdateExtensionAssociation Request Marshaller /// </summary> public class UpdateExtensionAssociationRequestMarshaller : IMarshaller<IRequest, UpdateExtensionAssociationRequest> , IMarshaller<IRequest,AmazonWebServiceRequest> { /// <summary> /// Marshaller the request object to the HTTP request. /// </summary> /// <param name="input"></param> /// <returns></returns> public IRequest Marshall(AmazonWebServiceRequest input) { return this.Marshall((UpdateExtensionAssociationRequest)input); } /// <summary> /// Marshaller the request object to the HTTP request. /// </summary> /// <param name="publicRequest"></param> /// <returns></returns> public IRequest Marshall(UpdateExtensionAssociationRequest publicRequest) { IRequest request = new DefaultRequest(publicRequest, "Amazon.AppConfig"); request.Headers["Content-Type"] = "application/json"; request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2019-10-09"; request.HttpMethod = "PATCH"; if (!publicRequest.IsSetExtensionAssociationId()) throw new AmazonAppConfigException("Request object does not have required field ExtensionAssociationId set"); request.AddPathResource("{ExtensionAssociationId}", StringUtils.FromString(publicRequest.ExtensionAssociationId)); request.ResourcePath = "/extensionassociations/{ExtensionAssociationId}"; using (StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture)) { JsonWriter writer = new JsonWriter(stringWriter); writer.WriteObjectStart(); var context = new JsonMarshallerContext(request, writer); if(publicRequest.IsSetParameters()) { context.Writer.WritePropertyName("Parameters"); context.Writer.WriteObjectStart(); foreach (var publicRequestParametersKvp in publicRequest.Parameters) { context.Writer.WritePropertyName(publicRequestParametersKvp.Key); var publicRequestParametersValue = publicRequestParametersKvp.Value; context.Writer.Write(publicRequestParametersValue); } context.Writer.WriteObjectEnd(); } writer.WriteObjectEnd(); string snippet = stringWriter.ToString(); request.Content = System.Text.Encoding.UTF8.GetBytes(snippet); } return request; } private static UpdateExtensionAssociationRequestMarshaller _instance = new UpdateExtensionAssociationRequestMarshaller(); internal static UpdateExtensionAssociationRequestMarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static UpdateExtensionAssociationRequestMarshaller Instance { get { return _instance; } } } }
112
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appconfig-2019-10-09.normal.json service model. */ using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Net; using System.Text; using System.Xml.Serialization; using Amazon.AppConfig.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AppConfig.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for UpdateExtensionAssociation operation /// </summary> public class UpdateExtensionAssociationResponseUnmarshaller : JsonResponseUnmarshaller { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context) { UpdateExtensionAssociationResponse response = new UpdateExtensionAssociationResponse(); context.Read(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("Arn", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; response.Arn = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("ExtensionArn", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; response.ExtensionArn = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("ExtensionVersionNumber", targetDepth)) { var unmarshaller = IntUnmarshaller.Instance; response.ExtensionVersionNumber = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("Id", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; response.Id = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("Parameters", targetDepth)) { var unmarshaller = new DictionaryUnmarshaller<string, string, StringUnmarshaller, StringUnmarshaller>(StringUnmarshaller.Instance, StringUnmarshaller.Instance); response.Parameters = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("ResourceArn", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; response.ResourceArn = unmarshaller.Unmarshall(context); continue; } } return response; } /// <summary> /// Unmarshaller error response to exception. /// </summary> /// <param name="context"></param> /// <param name="innerException"></param> /// <param name="statusCode"></param> /// <returns></returns> public override AmazonServiceException UnmarshallException(JsonUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode) { var errorResponse = JsonErrorResponseUnmarshaller.GetInstance().Unmarshall(context); errorResponse.InnerException = innerException; errorResponse.StatusCode = statusCode; var responseBodyBytes = context.GetResponseBodyBytes(); using (var streamCopy = new MemoryStream(responseBodyBytes)) using (var contextCopy = new JsonUnmarshallerContext(streamCopy, false, null)) { if (errorResponse.Code != null && errorResponse.Code.Equals("BadRequestException")) { return BadRequestExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("InternalServerException")) { return InternalServerExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ResourceNotFoundException")) { return ResourceNotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } } return new AmazonAppConfigException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode); } private static UpdateExtensionAssociationResponseUnmarshaller _instance = new UpdateExtensionAssociationResponseUnmarshaller(); internal static UpdateExtensionAssociationResponseUnmarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static UpdateExtensionAssociationResponseUnmarshaller Instance { get { return _instance; } } } }
148
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appconfig-2019-10-09.normal.json service model. */ using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Text; using System.Xml.Serialization; using Amazon.AppConfig.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AppConfig.Model.Internal.MarshallTransformations { /// <summary> /// UpdateExtension Request Marshaller /// </summary> public class UpdateExtensionRequestMarshaller : IMarshaller<IRequest, UpdateExtensionRequest> , IMarshaller<IRequest,AmazonWebServiceRequest> { /// <summary> /// Marshaller the request object to the HTTP request. /// </summary> /// <param name="input"></param> /// <returns></returns> public IRequest Marshall(AmazonWebServiceRequest input) { return this.Marshall((UpdateExtensionRequest)input); } /// <summary> /// Marshaller the request object to the HTTP request. /// </summary> /// <param name="publicRequest"></param> /// <returns></returns> public IRequest Marshall(UpdateExtensionRequest publicRequest) { IRequest request = new DefaultRequest(publicRequest, "Amazon.AppConfig"); request.Headers["Content-Type"] = "application/json"; request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2019-10-09"; request.HttpMethod = "PATCH"; if (!publicRequest.IsSetExtensionIdentifier()) throw new AmazonAppConfigException("Request object does not have required field ExtensionIdentifier set"); request.AddPathResource("{ExtensionIdentifier}", StringUtils.FromString(publicRequest.ExtensionIdentifier)); request.ResourcePath = "/extensions/{ExtensionIdentifier}"; using (StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture)) { JsonWriter writer = new JsonWriter(stringWriter); writer.WriteObjectStart(); var context = new JsonMarshallerContext(request, writer); if(publicRequest.IsSetActions()) { context.Writer.WritePropertyName("Actions"); context.Writer.WriteObjectStart(); foreach (var publicRequestActionsKvp in publicRequest.Actions) { context.Writer.WritePropertyName(publicRequestActionsKvp.Key); var publicRequestActionsValue = publicRequestActionsKvp.Value; context.Writer.WriteArrayStart(); foreach(var publicRequestActionsValueListValue in publicRequestActionsValue) { context.Writer.WriteObjectStart(); var marshaller = ActionMarshaller.Instance; marshaller.Marshall(publicRequestActionsValueListValue, context); context.Writer.WriteObjectEnd(); } context.Writer.WriteArrayEnd(); } context.Writer.WriteObjectEnd(); } if(publicRequest.IsSetDescription()) { context.Writer.WritePropertyName("Description"); context.Writer.Write(publicRequest.Description); } if(publicRequest.IsSetParameters()) { context.Writer.WritePropertyName("Parameters"); context.Writer.WriteObjectStart(); foreach (var publicRequestParametersKvp in publicRequest.Parameters) { context.Writer.WritePropertyName(publicRequestParametersKvp.Key); var publicRequestParametersValue = publicRequestParametersKvp.Value; context.Writer.WriteObjectStart(); var marshaller = ParameterMarshaller.Instance; marshaller.Marshall(publicRequestParametersValue, context); context.Writer.WriteObjectEnd(); } context.Writer.WriteObjectEnd(); } if(publicRequest.IsSetVersionNumber()) { context.Writer.WritePropertyName("VersionNumber"); context.Writer.Write(publicRequest.VersionNumber); } writer.WriteObjectEnd(); string snippet = stringWriter.ToString(); request.Content = System.Text.Encoding.UTF8.GetBytes(snippet); } return request; } private static UpdateExtensionRequestMarshaller _instance = new UpdateExtensionRequestMarshaller(); internal static UpdateExtensionRequestMarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static UpdateExtensionRequestMarshaller Instance { get { return _instance; } } } }
153
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appconfig-2019-10-09.normal.json service model. */ using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Net; using System.Text; using System.Xml.Serialization; using Amazon.AppConfig.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AppConfig.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for UpdateExtension operation /// </summary> public class UpdateExtensionResponseUnmarshaller : JsonResponseUnmarshaller { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context) { UpdateExtensionResponse response = new UpdateExtensionResponse(); context.Read(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("Actions", targetDepth)) { var unmarshaller = new DictionaryUnmarshaller<string, List<Action>, StringUnmarshaller, ListUnmarshaller<Action, ActionUnmarshaller>>(StringUnmarshaller.Instance, new ListUnmarshaller<Action, ActionUnmarshaller>(ActionUnmarshaller.Instance)); response.Actions = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("Arn", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; response.Arn = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("Description", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; response.Description = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("Id", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; response.Id = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("Name", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; response.Name = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("Parameters", targetDepth)) { var unmarshaller = new DictionaryUnmarshaller<string, Parameter, StringUnmarshaller, ParameterUnmarshaller>(StringUnmarshaller.Instance, ParameterUnmarshaller.Instance); response.Parameters = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("VersionNumber", targetDepth)) { var unmarshaller = IntUnmarshaller.Instance; response.VersionNumber = unmarshaller.Unmarshall(context); continue; } } return response; } /// <summary> /// Unmarshaller error response to exception. /// </summary> /// <param name="context"></param> /// <param name="innerException"></param> /// <param name="statusCode"></param> /// <returns></returns> public override AmazonServiceException UnmarshallException(JsonUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode) { var errorResponse = JsonErrorResponseUnmarshaller.GetInstance().Unmarshall(context); errorResponse.InnerException = innerException; errorResponse.StatusCode = statusCode; var responseBodyBytes = context.GetResponseBodyBytes(); using (var streamCopy = new MemoryStream(responseBodyBytes)) using (var contextCopy = new JsonUnmarshallerContext(streamCopy, false, null)) { if (errorResponse.Code != null && errorResponse.Code.Equals("BadRequestException")) { return BadRequestExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ConflictException")) { return ConflictExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("InternalServerException")) { return InternalServerExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ResourceNotFoundException")) { return ResourceNotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } } return new AmazonAppConfigException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode); } private static UpdateExtensionResponseUnmarshaller _instance = new UpdateExtensionResponseUnmarshaller(); internal static UpdateExtensionResponseUnmarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static UpdateExtensionResponseUnmarshaller Instance { get { return _instance; } } } }
158
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appconfig-2019-10-09.normal.json service model. */ using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Text; using System.Xml.Serialization; using Amazon.AppConfig.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AppConfig.Model.Internal.MarshallTransformations { /// <summary> /// ValidateConfiguration Request Marshaller /// </summary> public class ValidateConfigurationRequestMarshaller : IMarshaller<IRequest, ValidateConfigurationRequest> , IMarshaller<IRequest,AmazonWebServiceRequest> { /// <summary> /// Marshaller the request object to the HTTP request. /// </summary> /// <param name="input"></param> /// <returns></returns> public IRequest Marshall(AmazonWebServiceRequest input) { return this.Marshall((ValidateConfigurationRequest)input); } /// <summary> /// Marshaller the request object to the HTTP request. /// </summary> /// <param name="publicRequest"></param> /// <returns></returns> public IRequest Marshall(ValidateConfigurationRequest publicRequest) { IRequest request = new DefaultRequest(publicRequest, "Amazon.AppConfig"); request.Headers["Content-Type"] = "application/json"; request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2019-10-09"; request.HttpMethod = "POST"; if (!publicRequest.IsSetApplicationId()) throw new AmazonAppConfigException("Request object does not have required field ApplicationId set"); request.AddPathResource("{ApplicationId}", StringUtils.FromString(publicRequest.ApplicationId)); if (!publicRequest.IsSetConfigurationProfileId()) throw new AmazonAppConfigException("Request object does not have required field ConfigurationProfileId set"); request.AddPathResource("{ConfigurationProfileId}", StringUtils.FromString(publicRequest.ConfigurationProfileId)); if (publicRequest.IsSetConfigurationVersion()) request.Parameters.Add("configuration_version", StringUtils.FromString(publicRequest.ConfigurationVersion)); request.ResourcePath = "/applications/{ApplicationId}/configurationprofiles/{ConfigurationProfileId}/validators"; request.UseQueryString = true; return request; } private static ValidateConfigurationRequestMarshaller _instance = new ValidateConfigurationRequestMarshaller(); internal static ValidateConfigurationRequestMarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static ValidateConfigurationRequestMarshaller Instance { get { return _instance; } } } }
95
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appconfig-2019-10-09.normal.json service model. */ using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Net; using System.Text; using System.Xml.Serialization; using Amazon.AppConfig.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AppConfig.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for ValidateConfiguration operation /// </summary> public class ValidateConfigurationResponseUnmarshaller : JsonResponseUnmarshaller { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context) { ValidateConfigurationResponse response = new ValidateConfigurationResponse(); return response; } /// <summary> /// Unmarshaller error response to exception. /// </summary> /// <param name="context"></param> /// <param name="innerException"></param> /// <param name="statusCode"></param> /// <returns></returns> public override AmazonServiceException UnmarshallException(JsonUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode) { var errorResponse = JsonErrorResponseUnmarshaller.GetInstance().Unmarshall(context); errorResponse.InnerException = innerException; errorResponse.StatusCode = statusCode; var responseBodyBytes = context.GetResponseBodyBytes(); using (var streamCopy = new MemoryStream(responseBodyBytes)) using (var contextCopy = new JsonUnmarshallerContext(streamCopy, false, null)) { if (errorResponse.Code != null && errorResponse.Code.Equals("BadRequestException")) { return BadRequestExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("InternalServerException")) { return InternalServerExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ResourceNotFoundException")) { return ResourceNotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } } return new AmazonAppConfigException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode); } private static ValidateConfigurationResponseUnmarshaller _instance = new ValidateConfigurationResponseUnmarshaller(); internal static ValidateConfigurationResponseUnmarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static ValidateConfigurationResponseUnmarshaller Instance { get { return _instance; } } } }
107
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appconfig-2019-10-09.normal.json service model. */ using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Text; using System.Xml.Serialization; using Amazon.AppConfig.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AppConfig.Model.Internal.MarshallTransformations { /// <summary> /// Validator Marshaller /// </summary> public class ValidatorMarshaller : IRequestMarshaller<Validator, JsonMarshallerContext> { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="requestObject"></param> /// <param name="context"></param> /// <returns></returns> public void Marshall(Validator requestObject, JsonMarshallerContext context) { if(requestObject.IsSetContent()) { context.Writer.WritePropertyName("Content"); context.Writer.Write(requestObject.Content); } if(requestObject.IsSetType()) { context.Writer.WritePropertyName("Type"); context.Writer.Write(requestObject.Type); } } /// <summary> /// Singleton Marshaller. /// </summary> public readonly static ValidatorMarshaller Instance = new ValidatorMarshaller(); } }
68
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appconfig-2019-10-09.normal.json service model. */ using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Net; using System.Text; using System.Xml.Serialization; using Amazon.AppConfig.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AppConfig.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for Validator Object /// </summary> public class ValidatorUnmarshaller : IUnmarshaller<Validator, XmlUnmarshallerContext>, IUnmarshaller<Validator, JsonUnmarshallerContext> { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> Validator IUnmarshaller<Validator, XmlUnmarshallerContext>.Unmarshall(XmlUnmarshallerContext context) { throw new NotImplementedException(); } /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> public Validator Unmarshall(JsonUnmarshallerContext context) { context.Read(); if (context.CurrentTokenType == JsonToken.Null) return null; Validator unmarshalledObject = new Validator(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("Content", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.Content = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("Type", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.Type = unmarshaller.Unmarshall(context); continue; } } return unmarshalledObject; } private static ValidatorUnmarshaller _instance = new ValidatorUnmarshaller(); /// <summary> /// Gets the singleton. /// </summary> public static ValidatorUnmarshaller Instance { get { return _instance; } } } }
98
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appconfig-2019-10-09.normal.json service model. */ using System; using System.Collections.Generic; using System.Text; namespace Amazon.AppConfig.Model { /// <summary> /// Paginators for the AppConfig service ///</summary> public class AppConfigPaginatorFactory : IAppConfigPaginatorFactory { private readonly IAmazonAppConfig client; internal AppConfigPaginatorFactory(IAmazonAppConfig client) { this.client = client; } /// <summary> /// Paginator for ListApplications operation ///</summary> public IListApplicationsPaginator ListApplications(ListApplicationsRequest request) { return new ListApplicationsPaginator(this.client, request); } /// <summary> /// Paginator for ListConfigurationProfiles operation ///</summary> public IListConfigurationProfilesPaginator ListConfigurationProfiles(ListConfigurationProfilesRequest request) { return new ListConfigurationProfilesPaginator(this.client, request); } /// <summary> /// Paginator for ListDeployments operation ///</summary> public IListDeploymentsPaginator ListDeployments(ListDeploymentsRequest request) { return new ListDeploymentsPaginator(this.client, request); } /// <summary> /// Paginator for ListDeploymentStrategies operation ///</summary> public IListDeploymentStrategiesPaginator ListDeploymentStrategies(ListDeploymentStrategiesRequest request) { return new ListDeploymentStrategiesPaginator(this.client, request); } /// <summary> /// Paginator for ListEnvironments operation ///</summary> public IListEnvironmentsPaginator ListEnvironments(ListEnvironmentsRequest request) { return new ListEnvironmentsPaginator(this.client, request); } /// <summary> /// Paginator for ListExtensionAssociations operation ///</summary> public IListExtensionAssociationsPaginator ListExtensionAssociations(ListExtensionAssociationsRequest request) { return new ListExtensionAssociationsPaginator(this.client, request); } /// <summary> /// Paginator for ListExtensions operation ///</summary> public IListExtensionsPaginator ListExtensions(ListExtensionsRequest request) { return new ListExtensionsPaginator(this.client, request); } /// <summary> /// Paginator for ListHostedConfigurationVersions operation ///</summary> public IListHostedConfigurationVersionsPaginator ListHostedConfigurationVersions(ListHostedConfigurationVersionsRequest request) { return new ListHostedConfigurationVersionsPaginator(this.client, request); } } }
102
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appconfig-2019-10-09.normal.json service model. */ namespace Amazon.AppConfig.Model { /// <summary> /// Paginators for the AppConfig service ///</summary> public interface IAppConfigPaginatorFactory { /// <summary> /// Paginator for ListApplications operation ///</summary> IListApplicationsPaginator ListApplications(ListApplicationsRequest request); /// <summary> /// Paginator for ListConfigurationProfiles operation ///</summary> IListConfigurationProfilesPaginator ListConfigurationProfiles(ListConfigurationProfilesRequest request); /// <summary> /// Paginator for ListDeployments operation ///</summary> IListDeploymentsPaginator ListDeployments(ListDeploymentsRequest request); /// <summary> /// Paginator for ListDeploymentStrategies operation ///</summary> IListDeploymentStrategiesPaginator ListDeploymentStrategies(ListDeploymentStrategiesRequest request); /// <summary> /// Paginator for ListEnvironments operation ///</summary> IListEnvironmentsPaginator ListEnvironments(ListEnvironmentsRequest request); /// <summary> /// Paginator for ListExtensionAssociations operation ///</summary> IListExtensionAssociationsPaginator ListExtensionAssociations(ListExtensionAssociationsRequest request); /// <summary> /// Paginator for ListExtensions operation ///</summary> IListExtensionsPaginator ListExtensions(ListExtensionsRequest request); /// <summary> /// Paginator for ListHostedConfigurationVersions operation ///</summary> IListHostedConfigurationVersionsPaginator ListHostedConfigurationVersions(ListHostedConfigurationVersionsRequest request); } }
68
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appconfig-2019-10-09.normal.json service model. */ using Amazon.Runtime; namespace Amazon.AppConfig.Model { /// <summary> /// Paginator for the ListApplications operation ///</summary> public interface IListApplicationsPaginator { /// <summary> /// Enumerable containing all full responses for the operation /// </summary> IPaginatedEnumerable<ListApplicationsResponse> Responses { get; } } }
33
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appconfig-2019-10-09.normal.json service model. */ using Amazon.Runtime; namespace Amazon.AppConfig.Model { /// <summary> /// Paginator for the ListConfigurationProfiles operation ///</summary> public interface IListConfigurationProfilesPaginator { /// <summary> /// Enumerable containing all full responses for the operation /// </summary> IPaginatedEnumerable<ListConfigurationProfilesResponse> Responses { get; } } }
33
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appconfig-2019-10-09.normal.json service model. */ using Amazon.Runtime; namespace Amazon.AppConfig.Model { /// <summary> /// Paginator for the ListDeployments operation ///</summary> public interface IListDeploymentsPaginator { /// <summary> /// Enumerable containing all full responses for the operation /// </summary> IPaginatedEnumerable<ListDeploymentsResponse> Responses { get; } } }
33
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appconfig-2019-10-09.normal.json service model. */ using Amazon.Runtime; namespace Amazon.AppConfig.Model { /// <summary> /// Paginator for the ListDeploymentStrategies operation ///</summary> public interface IListDeploymentStrategiesPaginator { /// <summary> /// Enumerable containing all full responses for the operation /// </summary> IPaginatedEnumerable<ListDeploymentStrategiesResponse> Responses { get; } } }
33
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appconfig-2019-10-09.normal.json service model. */ using Amazon.Runtime; namespace Amazon.AppConfig.Model { /// <summary> /// Paginator for the ListEnvironments operation ///</summary> public interface IListEnvironmentsPaginator { /// <summary> /// Enumerable containing all full responses for the operation /// </summary> IPaginatedEnumerable<ListEnvironmentsResponse> Responses { get; } } }
33
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appconfig-2019-10-09.normal.json service model. */ using Amazon.Runtime; namespace Amazon.AppConfig.Model { /// <summary> /// Paginator for the ListExtensionAssociations operation ///</summary> public interface IListExtensionAssociationsPaginator { /// <summary> /// Enumerable containing all full responses for the operation /// </summary> IPaginatedEnumerable<ListExtensionAssociationsResponse> Responses { get; } } }
33
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appconfig-2019-10-09.normal.json service model. */ using Amazon.Runtime; namespace Amazon.AppConfig.Model { /// <summary> /// Paginator for the ListExtensions operation ///</summary> public interface IListExtensionsPaginator { /// <summary> /// Enumerable containing all full responses for the operation /// </summary> IPaginatedEnumerable<ListExtensionsResponse> Responses { get; } } }
33
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appconfig-2019-10-09.normal.json service model. */ using Amazon.Runtime; namespace Amazon.AppConfig.Model { /// <summary> /// Paginator for the ListHostedConfigurationVersions operation ///</summary> public interface IListHostedConfigurationVersionsPaginator { /// <summary> /// Enumerable containing all full responses for the operation /// </summary> IPaginatedEnumerable<ListHostedConfigurationVersionsResponse> Responses { get; } } }
33
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appconfig-2019-10-09.normal.json service model. */ using System; using System.Collections.Generic; using System.Text; using System.Collections; using System.Threading; using System.Threading.Tasks; using Amazon.Runtime; namespace Amazon.AppConfig.Model { /// <summary> /// Base class for ListApplications paginators. /// </summary> internal sealed partial class ListApplicationsPaginator : IPaginator<ListApplicationsResponse>, IListApplicationsPaginator { private readonly IAmazonAppConfig _client; private readonly ListApplicationsRequest _request; private int _isPaginatorInUse = 0; /// <summary> /// Enumerable containing all full responses for the operation /// </summary> public IPaginatedEnumerable<ListApplicationsResponse> Responses => new PaginatedResponse<ListApplicationsResponse>(this); internal ListApplicationsPaginator(IAmazonAppConfig client, ListApplicationsRequest request) { this._client = client; this._request = request; } #if BCL IEnumerable<ListApplicationsResponse> IPaginator<ListApplicationsResponse>.Paginate() { if (Interlocked.Exchange(ref _isPaginatorInUse, 1) != 0) { throw new System.InvalidOperationException("Paginator has already been consumed and cannot be reused. Please create a new instance."); } PaginatorUtils.SetUserAgentAdditionOnRequest(_request); var nextToken = _request.NextToken; ListApplicationsResponse response; do { _request.NextToken = nextToken; response = _client.ListApplications(_request); nextToken = response.NextToken; yield return response; } while (!string.IsNullOrEmpty(nextToken)); } #endif #if AWS_ASYNC_ENUMERABLES_API async IAsyncEnumerable<ListApplicationsResponse> IPaginator<ListApplicationsResponse>.PaginateAsync(CancellationToken cancellationToken = default) { if (Interlocked.Exchange(ref _isPaginatorInUse, 1) != 0) { throw new System.InvalidOperationException("Paginator has already been consumed and cannot be reused. Please create a new instance."); } PaginatorUtils.SetUserAgentAdditionOnRequest(_request); var nextToken = _request.NextToken; ListApplicationsResponse response; do { _request.NextToken = nextToken; response = await _client.ListApplicationsAsync(_request, cancellationToken).ConfigureAwait(false); nextToken = response.NextToken; cancellationToken.ThrowIfCancellationRequested(); yield return response; } while (!string.IsNullOrEmpty(nextToken)); } #endif } }
91
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appconfig-2019-10-09.normal.json service model. */ using System; using System.Collections.Generic; using System.Text; using System.Collections; using System.Threading; using System.Threading.Tasks; using Amazon.Runtime; namespace Amazon.AppConfig.Model { /// <summary> /// Base class for ListConfigurationProfiles paginators. /// </summary> internal sealed partial class ListConfigurationProfilesPaginator : IPaginator<ListConfigurationProfilesResponse>, IListConfigurationProfilesPaginator { private readonly IAmazonAppConfig _client; private readonly ListConfigurationProfilesRequest _request; private int _isPaginatorInUse = 0; /// <summary> /// Enumerable containing all full responses for the operation /// </summary> public IPaginatedEnumerable<ListConfigurationProfilesResponse> Responses => new PaginatedResponse<ListConfigurationProfilesResponse>(this); internal ListConfigurationProfilesPaginator(IAmazonAppConfig client, ListConfigurationProfilesRequest request) { this._client = client; this._request = request; } #if BCL IEnumerable<ListConfigurationProfilesResponse> IPaginator<ListConfigurationProfilesResponse>.Paginate() { if (Interlocked.Exchange(ref _isPaginatorInUse, 1) != 0) { throw new System.InvalidOperationException("Paginator has already been consumed and cannot be reused. Please create a new instance."); } PaginatorUtils.SetUserAgentAdditionOnRequest(_request); var nextToken = _request.NextToken; ListConfigurationProfilesResponse response; do { _request.NextToken = nextToken; response = _client.ListConfigurationProfiles(_request); nextToken = response.NextToken; yield return response; } while (!string.IsNullOrEmpty(nextToken)); } #endif #if AWS_ASYNC_ENUMERABLES_API async IAsyncEnumerable<ListConfigurationProfilesResponse> IPaginator<ListConfigurationProfilesResponse>.PaginateAsync(CancellationToken cancellationToken = default) { if (Interlocked.Exchange(ref _isPaginatorInUse, 1) != 0) { throw new System.InvalidOperationException("Paginator has already been consumed and cannot be reused. Please create a new instance."); } PaginatorUtils.SetUserAgentAdditionOnRequest(_request); var nextToken = _request.NextToken; ListConfigurationProfilesResponse response; do { _request.NextToken = nextToken; response = await _client.ListConfigurationProfilesAsync(_request, cancellationToken).ConfigureAwait(false); nextToken = response.NextToken; cancellationToken.ThrowIfCancellationRequested(); yield return response; } while (!string.IsNullOrEmpty(nextToken)); } #endif } }
91
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appconfig-2019-10-09.normal.json service model. */ using System; using System.Collections.Generic; using System.Text; using System.Collections; using System.Threading; using System.Threading.Tasks; using Amazon.Runtime; namespace Amazon.AppConfig.Model { /// <summary> /// Base class for ListDeployments paginators. /// </summary> internal sealed partial class ListDeploymentsPaginator : IPaginator<ListDeploymentsResponse>, IListDeploymentsPaginator { private readonly IAmazonAppConfig _client; private readonly ListDeploymentsRequest _request; private int _isPaginatorInUse = 0; /// <summary> /// Enumerable containing all full responses for the operation /// </summary> public IPaginatedEnumerable<ListDeploymentsResponse> Responses => new PaginatedResponse<ListDeploymentsResponse>(this); internal ListDeploymentsPaginator(IAmazonAppConfig client, ListDeploymentsRequest request) { this._client = client; this._request = request; } #if BCL IEnumerable<ListDeploymentsResponse> IPaginator<ListDeploymentsResponse>.Paginate() { if (Interlocked.Exchange(ref _isPaginatorInUse, 1) != 0) { throw new System.InvalidOperationException("Paginator has already been consumed and cannot be reused. Please create a new instance."); } PaginatorUtils.SetUserAgentAdditionOnRequest(_request); var nextToken = _request.NextToken; ListDeploymentsResponse response; do { _request.NextToken = nextToken; response = _client.ListDeployments(_request); nextToken = response.NextToken; yield return response; } while (!string.IsNullOrEmpty(nextToken)); } #endif #if AWS_ASYNC_ENUMERABLES_API async IAsyncEnumerable<ListDeploymentsResponse> IPaginator<ListDeploymentsResponse>.PaginateAsync(CancellationToken cancellationToken = default) { if (Interlocked.Exchange(ref _isPaginatorInUse, 1) != 0) { throw new System.InvalidOperationException("Paginator has already been consumed and cannot be reused. Please create a new instance."); } PaginatorUtils.SetUserAgentAdditionOnRequest(_request); var nextToken = _request.NextToken; ListDeploymentsResponse response; do { _request.NextToken = nextToken; response = await _client.ListDeploymentsAsync(_request, cancellationToken).ConfigureAwait(false); nextToken = response.NextToken; cancellationToken.ThrowIfCancellationRequested(); yield return response; } while (!string.IsNullOrEmpty(nextToken)); } #endif } }
91
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appconfig-2019-10-09.normal.json service model. */ using System; using System.Collections.Generic; using System.Text; using System.Collections; using System.Threading; using System.Threading.Tasks; using Amazon.Runtime; namespace Amazon.AppConfig.Model { /// <summary> /// Base class for ListDeploymentStrategies paginators. /// </summary> internal sealed partial class ListDeploymentStrategiesPaginator : IPaginator<ListDeploymentStrategiesResponse>, IListDeploymentStrategiesPaginator { private readonly IAmazonAppConfig _client; private readonly ListDeploymentStrategiesRequest _request; private int _isPaginatorInUse = 0; /// <summary> /// Enumerable containing all full responses for the operation /// </summary> public IPaginatedEnumerable<ListDeploymentStrategiesResponse> Responses => new PaginatedResponse<ListDeploymentStrategiesResponse>(this); internal ListDeploymentStrategiesPaginator(IAmazonAppConfig client, ListDeploymentStrategiesRequest request) { this._client = client; this._request = request; } #if BCL IEnumerable<ListDeploymentStrategiesResponse> IPaginator<ListDeploymentStrategiesResponse>.Paginate() { if (Interlocked.Exchange(ref _isPaginatorInUse, 1) != 0) { throw new System.InvalidOperationException("Paginator has already been consumed and cannot be reused. Please create a new instance."); } PaginatorUtils.SetUserAgentAdditionOnRequest(_request); var nextToken = _request.NextToken; ListDeploymentStrategiesResponse response; do { _request.NextToken = nextToken; response = _client.ListDeploymentStrategies(_request); nextToken = response.NextToken; yield return response; } while (!string.IsNullOrEmpty(nextToken)); } #endif #if AWS_ASYNC_ENUMERABLES_API async IAsyncEnumerable<ListDeploymentStrategiesResponse> IPaginator<ListDeploymentStrategiesResponse>.PaginateAsync(CancellationToken cancellationToken = default) { if (Interlocked.Exchange(ref _isPaginatorInUse, 1) != 0) { throw new System.InvalidOperationException("Paginator has already been consumed and cannot be reused. Please create a new instance."); } PaginatorUtils.SetUserAgentAdditionOnRequest(_request); var nextToken = _request.NextToken; ListDeploymentStrategiesResponse response; do { _request.NextToken = nextToken; response = await _client.ListDeploymentStrategiesAsync(_request, cancellationToken).ConfigureAwait(false); nextToken = response.NextToken; cancellationToken.ThrowIfCancellationRequested(); yield return response; } while (!string.IsNullOrEmpty(nextToken)); } #endif } }
91
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appconfig-2019-10-09.normal.json service model. */ using System; using System.Collections.Generic; using System.Text; using System.Collections; using System.Threading; using System.Threading.Tasks; using Amazon.Runtime; namespace Amazon.AppConfig.Model { /// <summary> /// Base class for ListEnvironments paginators. /// </summary> internal sealed partial class ListEnvironmentsPaginator : IPaginator<ListEnvironmentsResponse>, IListEnvironmentsPaginator { private readonly IAmazonAppConfig _client; private readonly ListEnvironmentsRequest _request; private int _isPaginatorInUse = 0; /// <summary> /// Enumerable containing all full responses for the operation /// </summary> public IPaginatedEnumerable<ListEnvironmentsResponse> Responses => new PaginatedResponse<ListEnvironmentsResponse>(this); internal ListEnvironmentsPaginator(IAmazonAppConfig client, ListEnvironmentsRequest request) { this._client = client; this._request = request; } #if BCL IEnumerable<ListEnvironmentsResponse> IPaginator<ListEnvironmentsResponse>.Paginate() { if (Interlocked.Exchange(ref _isPaginatorInUse, 1) != 0) { throw new System.InvalidOperationException("Paginator has already been consumed and cannot be reused. Please create a new instance."); } PaginatorUtils.SetUserAgentAdditionOnRequest(_request); var nextToken = _request.NextToken; ListEnvironmentsResponse response; do { _request.NextToken = nextToken; response = _client.ListEnvironments(_request); nextToken = response.NextToken; yield return response; } while (!string.IsNullOrEmpty(nextToken)); } #endif #if AWS_ASYNC_ENUMERABLES_API async IAsyncEnumerable<ListEnvironmentsResponse> IPaginator<ListEnvironmentsResponse>.PaginateAsync(CancellationToken cancellationToken = default) { if (Interlocked.Exchange(ref _isPaginatorInUse, 1) != 0) { throw new System.InvalidOperationException("Paginator has already been consumed and cannot be reused. Please create a new instance."); } PaginatorUtils.SetUserAgentAdditionOnRequest(_request); var nextToken = _request.NextToken; ListEnvironmentsResponse response; do { _request.NextToken = nextToken; response = await _client.ListEnvironmentsAsync(_request, cancellationToken).ConfigureAwait(false); nextToken = response.NextToken; cancellationToken.ThrowIfCancellationRequested(); yield return response; } while (!string.IsNullOrEmpty(nextToken)); } #endif } }
91
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appconfig-2019-10-09.normal.json service model. */ using System; using System.Collections.Generic; using System.Text; using System.Collections; using System.Threading; using System.Threading.Tasks; using Amazon.Runtime; namespace Amazon.AppConfig.Model { /// <summary> /// Base class for ListExtensionAssociations paginators. /// </summary> internal sealed partial class ListExtensionAssociationsPaginator : IPaginator<ListExtensionAssociationsResponse>, IListExtensionAssociationsPaginator { private readonly IAmazonAppConfig _client; private readonly ListExtensionAssociationsRequest _request; private int _isPaginatorInUse = 0; /// <summary> /// Enumerable containing all full responses for the operation /// </summary> public IPaginatedEnumerable<ListExtensionAssociationsResponse> Responses => new PaginatedResponse<ListExtensionAssociationsResponse>(this); internal ListExtensionAssociationsPaginator(IAmazonAppConfig client, ListExtensionAssociationsRequest request) { this._client = client; this._request = request; } #if BCL IEnumerable<ListExtensionAssociationsResponse> IPaginator<ListExtensionAssociationsResponse>.Paginate() { if (Interlocked.Exchange(ref _isPaginatorInUse, 1) != 0) { throw new System.InvalidOperationException("Paginator has already been consumed and cannot be reused. Please create a new instance."); } PaginatorUtils.SetUserAgentAdditionOnRequest(_request); var nextToken = _request.NextToken; ListExtensionAssociationsResponse response; do { _request.NextToken = nextToken; response = _client.ListExtensionAssociations(_request); nextToken = response.NextToken; yield return response; } while (!string.IsNullOrEmpty(nextToken)); } #endif #if AWS_ASYNC_ENUMERABLES_API async IAsyncEnumerable<ListExtensionAssociationsResponse> IPaginator<ListExtensionAssociationsResponse>.PaginateAsync(CancellationToken cancellationToken = default) { if (Interlocked.Exchange(ref _isPaginatorInUse, 1) != 0) { throw new System.InvalidOperationException("Paginator has already been consumed and cannot be reused. Please create a new instance."); } PaginatorUtils.SetUserAgentAdditionOnRequest(_request); var nextToken = _request.NextToken; ListExtensionAssociationsResponse response; do { _request.NextToken = nextToken; response = await _client.ListExtensionAssociationsAsync(_request, cancellationToken).ConfigureAwait(false); nextToken = response.NextToken; cancellationToken.ThrowIfCancellationRequested(); yield return response; } while (!string.IsNullOrEmpty(nextToken)); } #endif } }
91
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appconfig-2019-10-09.normal.json service model. */ using System; using System.Collections.Generic; using System.Text; using System.Collections; using System.Threading; using System.Threading.Tasks; using Amazon.Runtime; namespace Amazon.AppConfig.Model { /// <summary> /// Base class for ListExtensions paginators. /// </summary> internal sealed partial class ListExtensionsPaginator : IPaginator<ListExtensionsResponse>, IListExtensionsPaginator { private readonly IAmazonAppConfig _client; private readonly ListExtensionsRequest _request; private int _isPaginatorInUse = 0; /// <summary> /// Enumerable containing all full responses for the operation /// </summary> public IPaginatedEnumerable<ListExtensionsResponse> Responses => new PaginatedResponse<ListExtensionsResponse>(this); internal ListExtensionsPaginator(IAmazonAppConfig client, ListExtensionsRequest request) { this._client = client; this._request = request; } #if BCL IEnumerable<ListExtensionsResponse> IPaginator<ListExtensionsResponse>.Paginate() { if (Interlocked.Exchange(ref _isPaginatorInUse, 1) != 0) { throw new System.InvalidOperationException("Paginator has already been consumed and cannot be reused. Please create a new instance."); } PaginatorUtils.SetUserAgentAdditionOnRequest(_request); var nextToken = _request.NextToken; ListExtensionsResponse response; do { _request.NextToken = nextToken; response = _client.ListExtensions(_request); nextToken = response.NextToken; yield return response; } while (!string.IsNullOrEmpty(nextToken)); } #endif #if AWS_ASYNC_ENUMERABLES_API async IAsyncEnumerable<ListExtensionsResponse> IPaginator<ListExtensionsResponse>.PaginateAsync(CancellationToken cancellationToken = default) { if (Interlocked.Exchange(ref _isPaginatorInUse, 1) != 0) { throw new System.InvalidOperationException("Paginator has already been consumed and cannot be reused. Please create a new instance."); } PaginatorUtils.SetUserAgentAdditionOnRequest(_request); var nextToken = _request.NextToken; ListExtensionsResponse response; do { _request.NextToken = nextToken; response = await _client.ListExtensionsAsync(_request, cancellationToken).ConfigureAwait(false); nextToken = response.NextToken; cancellationToken.ThrowIfCancellationRequested(); yield return response; } while (!string.IsNullOrEmpty(nextToken)); } #endif } }
91
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appconfig-2019-10-09.normal.json service model. */ using System; using System.Collections.Generic; using System.Text; using System.Collections; using System.Threading; using System.Threading.Tasks; using Amazon.Runtime; namespace Amazon.AppConfig.Model { /// <summary> /// Base class for ListHostedConfigurationVersions paginators. /// </summary> internal sealed partial class ListHostedConfigurationVersionsPaginator : IPaginator<ListHostedConfigurationVersionsResponse>, IListHostedConfigurationVersionsPaginator { private readonly IAmazonAppConfig _client; private readonly ListHostedConfigurationVersionsRequest _request; private int _isPaginatorInUse = 0; /// <summary> /// Enumerable containing all full responses for the operation /// </summary> public IPaginatedEnumerable<ListHostedConfigurationVersionsResponse> Responses => new PaginatedResponse<ListHostedConfigurationVersionsResponse>(this); internal ListHostedConfigurationVersionsPaginator(IAmazonAppConfig client, ListHostedConfigurationVersionsRequest request) { this._client = client; this._request = request; } #if BCL IEnumerable<ListHostedConfigurationVersionsResponse> IPaginator<ListHostedConfigurationVersionsResponse>.Paginate() { if (Interlocked.Exchange(ref _isPaginatorInUse, 1) != 0) { throw new System.InvalidOperationException("Paginator has already been consumed and cannot be reused. Please create a new instance."); } PaginatorUtils.SetUserAgentAdditionOnRequest(_request); var nextToken = _request.NextToken; ListHostedConfigurationVersionsResponse response; do { _request.NextToken = nextToken; response = _client.ListHostedConfigurationVersions(_request); nextToken = response.NextToken; yield return response; } while (!string.IsNullOrEmpty(nextToken)); } #endif #if AWS_ASYNC_ENUMERABLES_API async IAsyncEnumerable<ListHostedConfigurationVersionsResponse> IPaginator<ListHostedConfigurationVersionsResponse>.PaginateAsync(CancellationToken cancellationToken = default) { if (Interlocked.Exchange(ref _isPaginatorInUse, 1) != 0) { throw new System.InvalidOperationException("Paginator has already been consumed and cannot be reused. Please create a new instance."); } PaginatorUtils.SetUserAgentAdditionOnRequest(_request); var nextToken = _request.NextToken; ListHostedConfigurationVersionsResponse response; do { _request.NextToken = nextToken; response = await _client.ListHostedConfigurationVersionsAsync(_request, cancellationToken).ConfigureAwait(false); nextToken = response.NextToken; cancellationToken.ThrowIfCancellationRequested(); yield return response; } while (!string.IsNullOrEmpty(nextToken)); } #endif } }
91
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appconfig-2019-10-09.normal.json service model. */ using System; using System.Collections.Generic; using System.Net; using Amazon.AppConfig.Model; using Amazon.AppConfig.Model.Internal.MarshallTransformations; using Amazon.AppConfig.Internal; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Auth; using Amazon.Runtime.Internal.Transform; namespace Amazon.AppConfig { /// <summary> /// Implementation for accessing AppConfig /// /// Use AppConfig, a capability of Amazon Web Services Systems Manager, to create, manage, /// and quickly deploy application configurations. AppConfig supports controlled deployments /// to applications of any size and includes built-in validation checks and monitoring. /// You can use AppConfig with applications hosted on Amazon EC2 instances, Lambda, containers, /// mobile applications, or IoT devices. /// /// /// <para> /// To prevent errors when deploying application configurations, especially for production /// systems where a simple typo could cause an unexpected outage, AppConfig includes validators. /// A validator provides a syntactic or semantic check to ensure that the configuration /// you want to deploy works as intended. To validate your application configuration data, /// you provide a schema or an Amazon Web Services Lambda function that runs against the /// configuration. The configuration deployment or update can only proceed when the configuration /// data is valid. /// </para> /// /// <para> /// During a configuration deployment, AppConfig monitors the application to ensure that /// the deployment is successful. If the system encounters an error, AppConfig rolls back /// the change to minimize impact for your application users. You can configure a deployment /// strategy for each application or environment that includes deployment criteria, including /// velocity, bake time, and alarms to monitor. Similar to error monitoring, if a deployment /// triggers an alarm, AppConfig automatically rolls back to the previous version. /// </para> /// /// <para> /// AppConfig supports multiple use cases. Here are some examples: /// </para> /// <ul> <li> /// <para> /// <b>Feature flags</b>: Use AppConfig to turn on new features that require a timely /// deployment, such as a product launch or announcement. /// </para> /// </li> <li> /// <para> /// <b>Application tuning</b>: Use AppConfig to carefully introduce changes to your application /// that can only be tested with production traffic. /// </para> /// </li> <li> /// <para> /// <b>Allow list</b>: Use AppConfig to allow premium subscribers to access paid content. /// /// </para> /// </li> <li> /// <para> /// <b>Operational issues</b>: Use AppConfig to reduce stress on your application when /// a dependency or other external factor impacts the system. /// </para> /// </li> </ul> /// <para> /// This reference is intended to be used with the <a href="http://docs.aws.amazon.com/appconfig/latest/userguide/what-is-appconfig.html">AppConfig /// User Guide</a>. /// </para> /// </summary> public partial class AmazonAppConfigClient : AmazonServiceClient, IAmazonAppConfig { private static IServiceMetadata serviceMetadata = new AmazonAppConfigMetadata(); #if BCL45 || AWS_ASYNC_ENUMERABLES_API private IAppConfigPaginatorFactory _paginators; /// <summary> /// Paginators for the service /// </summary> public IAppConfigPaginatorFactory Paginators { get { if (this._paginators == null) { this._paginators = new AppConfigPaginatorFactory(this); } return this._paginators; } } #endif #region Constructors /// <summary> /// Constructs AmazonAppConfigClient with the credentials loaded from the application's /// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. /// /// Example App.config with credentials set. /// <code> /// &lt;?xml version="1.0" encoding="utf-8" ?&gt; /// &lt;configuration&gt; /// &lt;appSettings&gt; /// &lt;add key="AWSProfileName" value="AWS Default"/&gt; /// &lt;/appSettings&gt; /// &lt;/configuration&gt; /// </code> /// /// </summary> public AmazonAppConfigClient() : base(FallbackCredentialsFactory.GetCredentials(), new AmazonAppConfigConfig()) { } /// <summary> /// Constructs AmazonAppConfigClient with the credentials loaded from the application's /// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. /// /// Example App.config with credentials set. /// <code> /// &lt;?xml version="1.0" encoding="utf-8" ?&gt; /// &lt;configuration&gt; /// &lt;appSettings&gt; /// &lt;add key="AWSProfileName" value="AWS Default"/&gt; /// &lt;/appSettings&gt; /// &lt;/configuration&gt; /// </code> /// /// </summary> /// <param name="region">The region to connect.</param> public AmazonAppConfigClient(RegionEndpoint region) : base(FallbackCredentialsFactory.GetCredentials(), new AmazonAppConfigConfig{RegionEndpoint = region}) { } /// <summary> /// Constructs AmazonAppConfigClient with the credentials loaded from the application's /// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. /// /// Example App.config with credentials set. /// <code> /// &lt;?xml version="1.0" encoding="utf-8" ?&gt; /// &lt;configuration&gt; /// &lt;appSettings&gt; /// &lt;add key="AWSProfileName" value="AWS Default"/&gt; /// &lt;/appSettings&gt; /// &lt;/configuration&gt; /// </code> /// /// </summary> /// <param name="config">The AmazonAppConfigClient Configuration Object</param> public AmazonAppConfigClient(AmazonAppConfigConfig config) : base(FallbackCredentialsFactory.GetCredentials(), config) { } /// <summary> /// Constructs AmazonAppConfigClient with AWS Credentials /// </summary> /// <param name="credentials">AWS Credentials</param> public AmazonAppConfigClient(AWSCredentials credentials) : this(credentials, new AmazonAppConfigConfig()) { } /// <summary> /// Constructs AmazonAppConfigClient with AWS Credentials /// </summary> /// <param name="credentials">AWS Credentials</param> /// <param name="region">The region to connect.</param> public AmazonAppConfigClient(AWSCredentials credentials, RegionEndpoint region) : this(credentials, new AmazonAppConfigConfig{RegionEndpoint = region}) { } /// <summary> /// Constructs AmazonAppConfigClient with AWS Credentials and an /// AmazonAppConfigClient Configuration object. /// </summary> /// <param name="credentials">AWS Credentials</param> /// <param name="clientConfig">The AmazonAppConfigClient Configuration Object</param> public AmazonAppConfigClient(AWSCredentials credentials, AmazonAppConfigConfig clientConfig) : base(credentials, clientConfig) { } /// <summary> /// Constructs AmazonAppConfigClient with AWS Access Key ID and AWS Secret Key /// </summary> /// <param name="awsAccessKeyId">AWS Access Key ID</param> /// <param name="awsSecretAccessKey">AWS Secret Access Key</param> public AmazonAppConfigClient(string awsAccessKeyId, string awsSecretAccessKey) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonAppConfigConfig()) { } /// <summary> /// Constructs AmazonAppConfigClient with AWS Access Key ID and AWS Secret Key /// </summary> /// <param name="awsAccessKeyId">AWS Access Key ID</param> /// <param name="awsSecretAccessKey">AWS Secret Access Key</param> /// <param name="region">The region to connect.</param> public AmazonAppConfigClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonAppConfigConfig() {RegionEndpoint=region}) { } /// <summary> /// Constructs AmazonAppConfigClient with AWS Access Key ID, AWS Secret Key and an /// AmazonAppConfigClient Configuration object. /// </summary> /// <param name="awsAccessKeyId">AWS Access Key ID</param> /// <param name="awsSecretAccessKey">AWS Secret Access Key</param> /// <param name="clientConfig">The AmazonAppConfigClient Configuration Object</param> public AmazonAppConfigClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonAppConfigConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, clientConfig) { } /// <summary> /// Constructs AmazonAppConfigClient with AWS Access Key ID and AWS Secret Key /// </summary> /// <param name="awsAccessKeyId">AWS Access Key ID</param> /// <param name="awsSecretAccessKey">AWS Secret Access Key</param> /// <param name="awsSessionToken">AWS Session Token</param> public AmazonAppConfigClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonAppConfigConfig()) { } /// <summary> /// Constructs AmazonAppConfigClient with AWS Access Key ID and AWS Secret Key /// </summary> /// <param name="awsAccessKeyId">AWS Access Key ID</param> /// <param name="awsSecretAccessKey">AWS Secret Access Key</param> /// <param name="awsSessionToken">AWS Session Token</param> /// <param name="region">The region to connect.</param> public AmazonAppConfigClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonAppConfigConfig{RegionEndpoint = region}) { } /// <summary> /// Constructs AmazonAppConfigClient with AWS Access Key ID, AWS Secret Key and an /// AmazonAppConfigClient Configuration object. /// </summary> /// <param name="awsAccessKeyId">AWS Access Key ID</param> /// <param name="awsSecretAccessKey">AWS Secret Access Key</param> /// <param name="awsSessionToken">AWS Session Token</param> /// <param name="clientConfig">The AmazonAppConfigClient Configuration Object</param> public AmazonAppConfigClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonAppConfigConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig) { } #endregion #region Overrides /// <summary> /// Creates the signer for the service. /// </summary> protected override AbstractAWSSigner CreateSigner() { return new AWS4Signer(); } /// <summary> /// Customize the pipeline /// </summary> /// <param name="pipeline"></param> protected override void CustomizeRuntimePipeline(RuntimePipeline pipeline) { pipeline.RemoveHandler<Amazon.Runtime.Internal.EndpointResolver>(); pipeline.AddHandlerAfter<Amazon.Runtime.Internal.Marshaller>(new AmazonAppConfigEndpointResolver()); } /// <summary> /// Capture metadata for the service. /// </summary> protected override IServiceMetadata ServiceMetadata { get { return serviceMetadata; } } #endregion #region Dispose /// <summary> /// Disposes the service client. /// </summary> protected override void Dispose(bool disposing) { base.Dispose(disposing); } #endregion #region CreateApplication /// <summary> /// Creates an application. In AppConfig, an application is simply an organizational construct /// like a folder. This organizational construct has a relationship with some unit of /// executable code. For example, you could create an application called MyMobileApp to /// organize and manage configuration data for a mobile application installed by your /// users. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateApplication service method.</param> /// /// <returns>The response from the CreateApplication service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateApplication">REST API Reference for CreateApplication Operation</seealso> public virtual CreateApplicationResponse CreateApplication(CreateApplicationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateApplicationRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateApplicationResponseUnmarshaller.Instance; return Invoke<CreateApplicationResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the CreateApplication operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreateApplication operation on AmazonAppConfigClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateApplication /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateApplication">REST API Reference for CreateApplication Operation</seealso> public virtual IAsyncResult BeginCreateApplication(CreateApplicationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateApplicationRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateApplicationResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the CreateApplication operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateApplication.</param> /// /// <returns>Returns a CreateApplicationResult from AppConfig.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateApplication">REST API Reference for CreateApplication Operation</seealso> public virtual CreateApplicationResponse EndCreateApplication(IAsyncResult asyncResult) { return EndInvoke<CreateApplicationResponse>(asyncResult); } #endregion #region CreateConfigurationProfile /// <summary> /// Creates a configuration profile, which is information that enables AppConfig to access /// the configuration source. Valid configuration sources include the following: /// /// <ul> <li> /// <para> /// Configuration data in YAML, JSON, and other formats stored in the AppConfig hosted /// configuration store /// </para> /// </li> <li> /// <para> /// Configuration data stored as objects in an Amazon Simple Storage Service (Amazon S3) /// bucket /// </para> /// </li> <li> /// <para> /// Pipelines stored in CodePipeline /// </para> /// </li> <li> /// <para> /// Secrets stored in Secrets Manager /// </para> /// </li> <li> /// <para> /// Standard and secure string parameters stored in Amazon Web Services Systems Manager /// Parameter Store /// </para> /// </li> <li> /// <para> /// Configuration data in SSM documents stored in the Systems Manager document store /// </para> /// </li> </ul> /// <para> /// A configuration profile includes the following information: /// </para> /// <ul> <li> /// <para> /// The URI location of the configuration data. /// </para> /// </li> <li> /// <para> /// The Identity and Access Management (IAM) role that provides access to the configuration /// data. /// </para> /// </li> <li> /// <para> /// A validator for the configuration data. Available validators include either a JSON /// Schema or an Amazon Web Services Lambda function. /// </para> /// </li> </ul> /// <para> /// For more information, see <a href="http://docs.aws.amazon.com/appconfig/latest/userguide/appconfig-creating-configuration-and-profile.html">Create /// a Configuration and a Configuration Profile</a> in the <i>AppConfig User Guide</i>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateConfigurationProfile service method.</param> /// /// <returns>The response from the CreateConfigurationProfile service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateConfigurationProfile">REST API Reference for CreateConfigurationProfile Operation</seealso> public virtual CreateConfigurationProfileResponse CreateConfigurationProfile(CreateConfigurationProfileRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateConfigurationProfileRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateConfigurationProfileResponseUnmarshaller.Instance; return Invoke<CreateConfigurationProfileResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the CreateConfigurationProfile operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreateConfigurationProfile operation on AmazonAppConfigClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateConfigurationProfile /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateConfigurationProfile">REST API Reference for CreateConfigurationProfile Operation</seealso> public virtual IAsyncResult BeginCreateConfigurationProfile(CreateConfigurationProfileRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateConfigurationProfileRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateConfigurationProfileResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the CreateConfigurationProfile operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateConfigurationProfile.</param> /// /// <returns>Returns a CreateConfigurationProfileResult from AppConfig.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateConfigurationProfile">REST API Reference for CreateConfigurationProfile Operation</seealso> public virtual CreateConfigurationProfileResponse EndCreateConfigurationProfile(IAsyncResult asyncResult) { return EndInvoke<CreateConfigurationProfileResponse>(asyncResult); } #endregion #region CreateDeploymentStrategy /// <summary> /// Creates a deployment strategy that defines important criteria for rolling out your /// configuration to the designated targets. A deployment strategy includes the overall /// duration required, a percentage of targets to receive the deployment during each interval, /// an algorithm that defines how percentage grows, and bake time. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateDeploymentStrategy service method.</param> /// /// <returns>The response from the CreateDeploymentStrategy service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateDeploymentStrategy">REST API Reference for CreateDeploymentStrategy Operation</seealso> public virtual CreateDeploymentStrategyResponse CreateDeploymentStrategy(CreateDeploymentStrategyRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateDeploymentStrategyRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateDeploymentStrategyResponseUnmarshaller.Instance; return Invoke<CreateDeploymentStrategyResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the CreateDeploymentStrategy operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreateDeploymentStrategy operation on AmazonAppConfigClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateDeploymentStrategy /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateDeploymentStrategy">REST API Reference for CreateDeploymentStrategy Operation</seealso> public virtual IAsyncResult BeginCreateDeploymentStrategy(CreateDeploymentStrategyRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateDeploymentStrategyRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateDeploymentStrategyResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the CreateDeploymentStrategy operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateDeploymentStrategy.</param> /// /// <returns>Returns a CreateDeploymentStrategyResult from AppConfig.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateDeploymentStrategy">REST API Reference for CreateDeploymentStrategy Operation</seealso> public virtual CreateDeploymentStrategyResponse EndCreateDeploymentStrategy(IAsyncResult asyncResult) { return EndInvoke<CreateDeploymentStrategyResponse>(asyncResult); } #endregion #region CreateEnvironment /// <summary> /// Creates an environment. For each application, you define one or more environments. /// An environment is a deployment group of AppConfig targets, such as applications in /// a <code>Beta</code> or <code>Production</code> environment. You can also define environments /// for application subcomponents such as the <code>Web</code>, <code>Mobile</code> and /// <code>Back-end</code> components for your application. You can configure Amazon CloudWatch /// alarms for each environment. The system monitors alarms during a configuration deployment. /// If an alarm is triggered, the system rolls back the configuration. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateEnvironment service method.</param> /// /// <returns>The response from the CreateEnvironment service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateEnvironment">REST API Reference for CreateEnvironment Operation</seealso> public virtual CreateEnvironmentResponse CreateEnvironment(CreateEnvironmentRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateEnvironmentRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateEnvironmentResponseUnmarshaller.Instance; return Invoke<CreateEnvironmentResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the CreateEnvironment operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreateEnvironment operation on AmazonAppConfigClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateEnvironment /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateEnvironment">REST API Reference for CreateEnvironment Operation</seealso> public virtual IAsyncResult BeginCreateEnvironment(CreateEnvironmentRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateEnvironmentRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateEnvironmentResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the CreateEnvironment operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateEnvironment.</param> /// /// <returns>Returns a CreateEnvironmentResult from AppConfig.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateEnvironment">REST API Reference for CreateEnvironment Operation</seealso> public virtual CreateEnvironmentResponse EndCreateEnvironment(IAsyncResult asyncResult) { return EndInvoke<CreateEnvironmentResponse>(asyncResult); } #endregion #region CreateExtension /// <summary> /// Creates an AppConfig extension. An extension augments your ability to inject logic /// or behavior at different points during the AppConfig workflow of creating or deploying /// a configuration. /// /// /// <para> /// You can create your own extensions or use the Amazon Web Services authored extensions /// provided by AppConfig. For most use cases, to create your own extension, you must /// create an Lambda function to perform any computation and processing defined in the /// extension. For more information about extensions, see <a href="https://docs.aws.amazon.com/appconfig/latest/userguide/working-with-appconfig-extensions.html">Working /// with AppConfig extensions</a> in the <i>AppConfig User Guide</i>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateExtension service method.</param> /// /// <returns>The response from the CreateExtension service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ServiceQuotaExceededException"> /// The number of hosted configuration versions exceeds the limit for the AppConfig hosted /// configuration store. Delete one or more versions and try again. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateExtension">REST API Reference for CreateExtension Operation</seealso> public virtual CreateExtensionResponse CreateExtension(CreateExtensionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateExtensionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateExtensionResponseUnmarshaller.Instance; return Invoke<CreateExtensionResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the CreateExtension operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreateExtension operation on AmazonAppConfigClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateExtension /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateExtension">REST API Reference for CreateExtension Operation</seealso> public virtual IAsyncResult BeginCreateExtension(CreateExtensionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateExtensionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateExtensionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the CreateExtension operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateExtension.</param> /// /// <returns>Returns a CreateExtensionResult from AppConfig.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateExtension">REST API Reference for CreateExtension Operation</seealso> public virtual CreateExtensionResponse EndCreateExtension(IAsyncResult asyncResult) { return EndInvoke<CreateExtensionResponse>(asyncResult); } #endregion #region CreateExtensionAssociation /// <summary> /// When you create an extension or configure an Amazon Web Services authored extension, /// you associate the extension with an AppConfig application, environment, or configuration /// profile. For example, you can choose to run the <code>AppConfig deployment events /// to Amazon SNS</code> Amazon Web Services authored extension and receive notifications /// on an Amazon SNS topic anytime a configuration deployment is started for a specific /// application. Defining which extension to associate with an AppConfig resource is called /// an <i>extension association</i>. An extension association is a specified relationship /// between an extension and an AppConfig resource, such as an application or a configuration /// profile. For more information about extensions and associations, see <a href="https://docs.aws.amazon.com/appconfig/latest/userguide/working-with-appconfig-extensions.html">Working /// with AppConfig extensions</a> in the <i>AppConfig User Guide</i>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateExtensionAssociation service method.</param> /// /// <returns>The response from the CreateExtensionAssociation service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ServiceQuotaExceededException"> /// The number of hosted configuration versions exceeds the limit for the AppConfig hosted /// configuration store. Delete one or more versions and try again. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateExtensionAssociation">REST API Reference for CreateExtensionAssociation Operation</seealso> public virtual CreateExtensionAssociationResponse CreateExtensionAssociation(CreateExtensionAssociationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateExtensionAssociationRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateExtensionAssociationResponseUnmarshaller.Instance; return Invoke<CreateExtensionAssociationResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the CreateExtensionAssociation operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreateExtensionAssociation operation on AmazonAppConfigClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateExtensionAssociation /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateExtensionAssociation">REST API Reference for CreateExtensionAssociation Operation</seealso> public virtual IAsyncResult BeginCreateExtensionAssociation(CreateExtensionAssociationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateExtensionAssociationRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateExtensionAssociationResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the CreateExtensionAssociation operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateExtensionAssociation.</param> /// /// <returns>Returns a CreateExtensionAssociationResult from AppConfig.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateExtensionAssociation">REST API Reference for CreateExtensionAssociation Operation</seealso> public virtual CreateExtensionAssociationResponse EndCreateExtensionAssociation(IAsyncResult asyncResult) { return EndInvoke<CreateExtensionAssociationResponse>(asyncResult); } #endregion #region CreateHostedConfigurationVersion /// <summary> /// Creates a new configuration in the AppConfig hosted configuration store. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateHostedConfigurationVersion service method.</param> /// /// <returns>The response from the CreateHostedConfigurationVersion service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.PayloadTooLargeException"> /// The configuration size is too large. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ServiceQuotaExceededException"> /// The number of hosted configuration versions exceeds the limit for the AppConfig hosted /// configuration store. Delete one or more versions and try again. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateHostedConfigurationVersion">REST API Reference for CreateHostedConfigurationVersion Operation</seealso> public virtual CreateHostedConfigurationVersionResponse CreateHostedConfigurationVersion(CreateHostedConfigurationVersionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateHostedConfigurationVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateHostedConfigurationVersionResponseUnmarshaller.Instance; return Invoke<CreateHostedConfigurationVersionResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the CreateHostedConfigurationVersion operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreateHostedConfigurationVersion operation on AmazonAppConfigClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateHostedConfigurationVersion /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateHostedConfigurationVersion">REST API Reference for CreateHostedConfigurationVersion Operation</seealso> public virtual IAsyncResult BeginCreateHostedConfigurationVersion(CreateHostedConfigurationVersionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateHostedConfigurationVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateHostedConfigurationVersionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the CreateHostedConfigurationVersion operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateHostedConfigurationVersion.</param> /// /// <returns>Returns a CreateHostedConfigurationVersionResult from AppConfig.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateHostedConfigurationVersion">REST API Reference for CreateHostedConfigurationVersion Operation</seealso> public virtual CreateHostedConfigurationVersionResponse EndCreateHostedConfigurationVersion(IAsyncResult asyncResult) { return EndInvoke<CreateHostedConfigurationVersionResponse>(asyncResult); } #endregion #region DeleteApplication /// <summary> /// Deletes an application. Deleting an application does not delete a configuration from /// a host. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteApplication service method.</param> /// /// <returns>The response from the DeleteApplication service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteApplication">REST API Reference for DeleteApplication Operation</seealso> public virtual DeleteApplicationResponse DeleteApplication(DeleteApplicationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteApplicationRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteApplicationResponseUnmarshaller.Instance; return Invoke<DeleteApplicationResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the DeleteApplication operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteApplication operation on AmazonAppConfigClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteApplication /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteApplication">REST API Reference for DeleteApplication Operation</seealso> public virtual IAsyncResult BeginDeleteApplication(DeleteApplicationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteApplicationRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteApplicationResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the DeleteApplication operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteApplication.</param> /// /// <returns>Returns a DeleteApplicationResult from AppConfig.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteApplication">REST API Reference for DeleteApplication Operation</seealso> public virtual DeleteApplicationResponse EndDeleteApplication(IAsyncResult asyncResult) { return EndInvoke<DeleteApplicationResponse>(asyncResult); } #endregion #region DeleteConfigurationProfile /// <summary> /// Deletes a configuration profile. Deleting a configuration profile does not delete /// a configuration from a host. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteConfigurationProfile service method.</param> /// /// <returns>The response from the DeleteConfigurationProfile service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteConfigurationProfile">REST API Reference for DeleteConfigurationProfile Operation</seealso> public virtual DeleteConfigurationProfileResponse DeleteConfigurationProfile(DeleteConfigurationProfileRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteConfigurationProfileRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteConfigurationProfileResponseUnmarshaller.Instance; return Invoke<DeleteConfigurationProfileResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the DeleteConfigurationProfile operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteConfigurationProfile operation on AmazonAppConfigClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteConfigurationProfile /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteConfigurationProfile">REST API Reference for DeleteConfigurationProfile Operation</seealso> public virtual IAsyncResult BeginDeleteConfigurationProfile(DeleteConfigurationProfileRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteConfigurationProfileRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteConfigurationProfileResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the DeleteConfigurationProfile operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteConfigurationProfile.</param> /// /// <returns>Returns a DeleteConfigurationProfileResult from AppConfig.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteConfigurationProfile">REST API Reference for DeleteConfigurationProfile Operation</seealso> public virtual DeleteConfigurationProfileResponse EndDeleteConfigurationProfile(IAsyncResult asyncResult) { return EndInvoke<DeleteConfigurationProfileResponse>(asyncResult); } #endregion #region DeleteDeploymentStrategy /// <summary> /// Deletes a deployment strategy. Deleting a deployment strategy does not delete a configuration /// from a host. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteDeploymentStrategy service method.</param> /// /// <returns>The response from the DeleteDeploymentStrategy service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteDeploymentStrategy">REST API Reference for DeleteDeploymentStrategy Operation</seealso> public virtual DeleteDeploymentStrategyResponse DeleteDeploymentStrategy(DeleteDeploymentStrategyRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteDeploymentStrategyRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteDeploymentStrategyResponseUnmarshaller.Instance; return Invoke<DeleteDeploymentStrategyResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the DeleteDeploymentStrategy operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteDeploymentStrategy operation on AmazonAppConfigClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteDeploymentStrategy /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteDeploymentStrategy">REST API Reference for DeleteDeploymentStrategy Operation</seealso> public virtual IAsyncResult BeginDeleteDeploymentStrategy(DeleteDeploymentStrategyRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteDeploymentStrategyRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteDeploymentStrategyResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the DeleteDeploymentStrategy operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteDeploymentStrategy.</param> /// /// <returns>Returns a DeleteDeploymentStrategyResult from AppConfig.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteDeploymentStrategy">REST API Reference for DeleteDeploymentStrategy Operation</seealso> public virtual DeleteDeploymentStrategyResponse EndDeleteDeploymentStrategy(IAsyncResult asyncResult) { return EndInvoke<DeleteDeploymentStrategyResponse>(asyncResult); } #endregion #region DeleteEnvironment /// <summary> /// Deletes an environment. Deleting an environment does not delete a configuration from /// a host. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteEnvironment service method.</param> /// /// <returns>The response from the DeleteEnvironment service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteEnvironment">REST API Reference for DeleteEnvironment Operation</seealso> public virtual DeleteEnvironmentResponse DeleteEnvironment(DeleteEnvironmentRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteEnvironmentRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteEnvironmentResponseUnmarshaller.Instance; return Invoke<DeleteEnvironmentResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the DeleteEnvironment operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteEnvironment operation on AmazonAppConfigClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteEnvironment /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteEnvironment">REST API Reference for DeleteEnvironment Operation</seealso> public virtual IAsyncResult BeginDeleteEnvironment(DeleteEnvironmentRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteEnvironmentRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteEnvironmentResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the DeleteEnvironment operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteEnvironment.</param> /// /// <returns>Returns a DeleteEnvironmentResult from AppConfig.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteEnvironment">REST API Reference for DeleteEnvironment Operation</seealso> public virtual DeleteEnvironmentResponse EndDeleteEnvironment(IAsyncResult asyncResult) { return EndInvoke<DeleteEnvironmentResponse>(asyncResult); } #endregion #region DeleteExtension /// <summary> /// Deletes an AppConfig extension. You must delete all associations to an extension before /// you delete the extension. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteExtension service method.</param> /// /// <returns>The response from the DeleteExtension service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteExtension">REST API Reference for DeleteExtension Operation</seealso> public virtual DeleteExtensionResponse DeleteExtension(DeleteExtensionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteExtensionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteExtensionResponseUnmarshaller.Instance; return Invoke<DeleteExtensionResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the DeleteExtension operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteExtension operation on AmazonAppConfigClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteExtension /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteExtension">REST API Reference for DeleteExtension Operation</seealso> public virtual IAsyncResult BeginDeleteExtension(DeleteExtensionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteExtensionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteExtensionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the DeleteExtension operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteExtension.</param> /// /// <returns>Returns a DeleteExtensionResult from AppConfig.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteExtension">REST API Reference for DeleteExtension Operation</seealso> public virtual DeleteExtensionResponse EndDeleteExtension(IAsyncResult asyncResult) { return EndInvoke<DeleteExtensionResponse>(asyncResult); } #endregion #region DeleteExtensionAssociation /// <summary> /// Deletes an extension association. This action doesn't delete extensions defined in /// the association. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteExtensionAssociation service method.</param> /// /// <returns>The response from the DeleteExtensionAssociation service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteExtensionAssociation">REST API Reference for DeleteExtensionAssociation Operation</seealso> public virtual DeleteExtensionAssociationResponse DeleteExtensionAssociation(DeleteExtensionAssociationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteExtensionAssociationRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteExtensionAssociationResponseUnmarshaller.Instance; return Invoke<DeleteExtensionAssociationResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the DeleteExtensionAssociation operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteExtensionAssociation operation on AmazonAppConfigClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteExtensionAssociation /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteExtensionAssociation">REST API Reference for DeleteExtensionAssociation Operation</seealso> public virtual IAsyncResult BeginDeleteExtensionAssociation(DeleteExtensionAssociationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteExtensionAssociationRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteExtensionAssociationResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the DeleteExtensionAssociation operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteExtensionAssociation.</param> /// /// <returns>Returns a DeleteExtensionAssociationResult from AppConfig.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteExtensionAssociation">REST API Reference for DeleteExtensionAssociation Operation</seealso> public virtual DeleteExtensionAssociationResponse EndDeleteExtensionAssociation(IAsyncResult asyncResult) { return EndInvoke<DeleteExtensionAssociationResponse>(asyncResult); } #endregion #region DeleteHostedConfigurationVersion /// <summary> /// Deletes a version of a configuration from the AppConfig hosted configuration store. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteHostedConfigurationVersion service method.</param> /// /// <returns>The response from the DeleteHostedConfigurationVersion service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteHostedConfigurationVersion">REST API Reference for DeleteHostedConfigurationVersion Operation</seealso> public virtual DeleteHostedConfigurationVersionResponse DeleteHostedConfigurationVersion(DeleteHostedConfigurationVersionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteHostedConfigurationVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteHostedConfigurationVersionResponseUnmarshaller.Instance; return Invoke<DeleteHostedConfigurationVersionResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the DeleteHostedConfigurationVersion operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteHostedConfigurationVersion operation on AmazonAppConfigClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteHostedConfigurationVersion /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteHostedConfigurationVersion">REST API Reference for DeleteHostedConfigurationVersion Operation</seealso> public virtual IAsyncResult BeginDeleteHostedConfigurationVersion(DeleteHostedConfigurationVersionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteHostedConfigurationVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteHostedConfigurationVersionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the DeleteHostedConfigurationVersion operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteHostedConfigurationVersion.</param> /// /// <returns>Returns a DeleteHostedConfigurationVersionResult from AppConfig.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteHostedConfigurationVersion">REST API Reference for DeleteHostedConfigurationVersion Operation</seealso> public virtual DeleteHostedConfigurationVersionResponse EndDeleteHostedConfigurationVersion(IAsyncResult asyncResult) { return EndInvoke<DeleteHostedConfigurationVersionResponse>(asyncResult); } #endregion #region GetApplication /// <summary> /// Retrieves information about an application. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetApplication service method.</param> /// /// <returns>The response from the GetApplication service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetApplication">REST API Reference for GetApplication Operation</seealso> public virtual GetApplicationResponse GetApplication(GetApplicationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetApplicationRequestMarshaller.Instance; options.ResponseUnmarshaller = GetApplicationResponseUnmarshaller.Instance; return Invoke<GetApplicationResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the GetApplication operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the GetApplication operation on AmazonAppConfigClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetApplication /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetApplication">REST API Reference for GetApplication Operation</seealso> public virtual IAsyncResult BeginGetApplication(GetApplicationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetApplicationRequestMarshaller.Instance; options.ResponseUnmarshaller = GetApplicationResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the GetApplication operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetApplication.</param> /// /// <returns>Returns a GetApplicationResult from AppConfig.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetApplication">REST API Reference for GetApplication Operation</seealso> public virtual GetApplicationResponse EndGetApplication(IAsyncResult asyncResult) { return EndInvoke<GetApplicationResponse>(asyncResult); } #endregion #region GetConfiguration /// <summary> /// (Deprecated) Retrieves the latest deployed configuration. /// /// <important> /// <para> /// Note the following important information. /// </para> /// <ul> <li> /// <para> /// This API action is deprecated. Calls to receive configuration data should use the /// <a href="https://docs.aws.amazon.com/appconfig/2019-10-09/APIReference/API_appconfigdata_StartConfigurationSession.html">StartConfigurationSession</a> /// and <a href="https://docs.aws.amazon.com/appconfig/2019-10-09/APIReference/API_appconfigdata_GetLatestConfiguration.html">GetLatestConfiguration</a> /// APIs instead. /// </para> /// </li> <li> /// <para> /// <code>GetConfiguration</code> is a priced call. For more information, see <a href="https://aws.amazon.com/systems-manager/pricing/">Pricing</a>. /// </para> /// </li> </ul> </important> /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetConfiguration service method.</param> /// /// <returns>The response from the GetConfiguration service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetConfiguration">REST API Reference for GetConfiguration Operation</seealso> [Obsolete("This API has been deprecated in favor of the GetLatestConfiguration API used in conjunction with StartConfigurationSession.")] public virtual GetConfigurationResponse GetConfiguration(GetConfigurationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = GetConfigurationResponseUnmarshaller.Instance; return Invoke<GetConfigurationResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the GetConfiguration operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the GetConfiguration operation on AmazonAppConfigClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetConfiguration /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetConfiguration">REST API Reference for GetConfiguration Operation</seealso> [Obsolete("This API has been deprecated in favor of the GetLatestConfiguration API used in conjunction with StartConfigurationSession.")] public virtual IAsyncResult BeginGetConfiguration(GetConfigurationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = GetConfigurationResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the GetConfiguration operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetConfiguration.</param> /// /// <returns>Returns a GetConfigurationResult from AppConfig.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetConfiguration">REST API Reference for GetConfiguration Operation</seealso> [Obsolete("This API has been deprecated in favor of the GetLatestConfiguration API used in conjunction with StartConfigurationSession.")] public virtual GetConfigurationResponse EndGetConfiguration(IAsyncResult asyncResult) { return EndInvoke<GetConfigurationResponse>(asyncResult); } #endregion #region GetConfigurationProfile /// <summary> /// Retrieves information about a configuration profile. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetConfigurationProfile service method.</param> /// /// <returns>The response from the GetConfigurationProfile service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetConfigurationProfile">REST API Reference for GetConfigurationProfile Operation</seealso> public virtual GetConfigurationProfileResponse GetConfigurationProfile(GetConfigurationProfileRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetConfigurationProfileRequestMarshaller.Instance; options.ResponseUnmarshaller = GetConfigurationProfileResponseUnmarshaller.Instance; return Invoke<GetConfigurationProfileResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the GetConfigurationProfile operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the GetConfigurationProfile operation on AmazonAppConfigClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetConfigurationProfile /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetConfigurationProfile">REST API Reference for GetConfigurationProfile Operation</seealso> public virtual IAsyncResult BeginGetConfigurationProfile(GetConfigurationProfileRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetConfigurationProfileRequestMarshaller.Instance; options.ResponseUnmarshaller = GetConfigurationProfileResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the GetConfigurationProfile operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetConfigurationProfile.</param> /// /// <returns>Returns a GetConfigurationProfileResult from AppConfig.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetConfigurationProfile">REST API Reference for GetConfigurationProfile Operation</seealso> public virtual GetConfigurationProfileResponse EndGetConfigurationProfile(IAsyncResult asyncResult) { return EndInvoke<GetConfigurationProfileResponse>(asyncResult); } #endregion #region GetDeployment /// <summary> /// Retrieves information about a configuration deployment. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetDeployment service method.</param> /// /// <returns>The response from the GetDeployment service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetDeployment">REST API Reference for GetDeployment Operation</seealso> public virtual GetDeploymentResponse GetDeployment(GetDeploymentRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetDeploymentRequestMarshaller.Instance; options.ResponseUnmarshaller = GetDeploymentResponseUnmarshaller.Instance; return Invoke<GetDeploymentResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the GetDeployment operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the GetDeployment operation on AmazonAppConfigClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetDeployment /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetDeployment">REST API Reference for GetDeployment Operation</seealso> public virtual IAsyncResult BeginGetDeployment(GetDeploymentRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetDeploymentRequestMarshaller.Instance; options.ResponseUnmarshaller = GetDeploymentResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the GetDeployment operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetDeployment.</param> /// /// <returns>Returns a GetDeploymentResult from AppConfig.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetDeployment">REST API Reference for GetDeployment Operation</seealso> public virtual GetDeploymentResponse EndGetDeployment(IAsyncResult asyncResult) { return EndInvoke<GetDeploymentResponse>(asyncResult); } #endregion #region GetDeploymentStrategy /// <summary> /// Retrieves information about a deployment strategy. A deployment strategy defines important /// criteria for rolling out your configuration to the designated targets. A deployment /// strategy includes the overall duration required, a percentage of targets to receive /// the deployment during each interval, an algorithm that defines how percentage grows, /// and bake time. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetDeploymentStrategy service method.</param> /// /// <returns>The response from the GetDeploymentStrategy service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetDeploymentStrategy">REST API Reference for GetDeploymentStrategy Operation</seealso> public virtual GetDeploymentStrategyResponse GetDeploymentStrategy(GetDeploymentStrategyRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetDeploymentStrategyRequestMarshaller.Instance; options.ResponseUnmarshaller = GetDeploymentStrategyResponseUnmarshaller.Instance; return Invoke<GetDeploymentStrategyResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the GetDeploymentStrategy operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the GetDeploymentStrategy operation on AmazonAppConfigClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetDeploymentStrategy /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetDeploymentStrategy">REST API Reference for GetDeploymentStrategy Operation</seealso> public virtual IAsyncResult BeginGetDeploymentStrategy(GetDeploymentStrategyRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetDeploymentStrategyRequestMarshaller.Instance; options.ResponseUnmarshaller = GetDeploymentStrategyResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the GetDeploymentStrategy operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetDeploymentStrategy.</param> /// /// <returns>Returns a GetDeploymentStrategyResult from AppConfig.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetDeploymentStrategy">REST API Reference for GetDeploymentStrategy Operation</seealso> public virtual GetDeploymentStrategyResponse EndGetDeploymentStrategy(IAsyncResult asyncResult) { return EndInvoke<GetDeploymentStrategyResponse>(asyncResult); } #endregion #region GetEnvironment /// <summary> /// Retrieves information about an environment. An environment is a deployment group of /// AppConfig applications, such as applications in a <code>Production</code> environment /// or in an <code>EU_Region</code> environment. Each configuration deployment targets /// an environment. You can enable one or more Amazon CloudWatch alarms for an environment. /// If an alarm is triggered during a deployment, AppConfig roles back the configuration. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetEnvironment service method.</param> /// /// <returns>The response from the GetEnvironment service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetEnvironment">REST API Reference for GetEnvironment Operation</seealso> public virtual GetEnvironmentResponse GetEnvironment(GetEnvironmentRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetEnvironmentRequestMarshaller.Instance; options.ResponseUnmarshaller = GetEnvironmentResponseUnmarshaller.Instance; return Invoke<GetEnvironmentResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the GetEnvironment operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the GetEnvironment operation on AmazonAppConfigClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetEnvironment /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetEnvironment">REST API Reference for GetEnvironment Operation</seealso> public virtual IAsyncResult BeginGetEnvironment(GetEnvironmentRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetEnvironmentRequestMarshaller.Instance; options.ResponseUnmarshaller = GetEnvironmentResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the GetEnvironment operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetEnvironment.</param> /// /// <returns>Returns a GetEnvironmentResult from AppConfig.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetEnvironment">REST API Reference for GetEnvironment Operation</seealso> public virtual GetEnvironmentResponse EndGetEnvironment(IAsyncResult asyncResult) { return EndInvoke<GetEnvironmentResponse>(asyncResult); } #endregion #region GetExtension /// <summary> /// Returns information about an AppConfig extension. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetExtension service method.</param> /// /// <returns>The response from the GetExtension service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetExtension">REST API Reference for GetExtension Operation</seealso> public virtual GetExtensionResponse GetExtension(GetExtensionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetExtensionRequestMarshaller.Instance; options.ResponseUnmarshaller = GetExtensionResponseUnmarshaller.Instance; return Invoke<GetExtensionResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the GetExtension operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the GetExtension operation on AmazonAppConfigClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetExtension /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetExtension">REST API Reference for GetExtension Operation</seealso> public virtual IAsyncResult BeginGetExtension(GetExtensionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetExtensionRequestMarshaller.Instance; options.ResponseUnmarshaller = GetExtensionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the GetExtension operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetExtension.</param> /// /// <returns>Returns a GetExtensionResult from AppConfig.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetExtension">REST API Reference for GetExtension Operation</seealso> public virtual GetExtensionResponse EndGetExtension(IAsyncResult asyncResult) { return EndInvoke<GetExtensionResponse>(asyncResult); } #endregion #region GetExtensionAssociation /// <summary> /// Returns information about an AppConfig extension association. For more information /// about extensions and associations, see <a href="https://docs.aws.amazon.com/appconfig/latest/userguide/working-with-appconfig-extensions.html">Working /// with AppConfig extensions</a> in the <i>AppConfig User Guide</i>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetExtensionAssociation service method.</param> /// /// <returns>The response from the GetExtensionAssociation service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetExtensionAssociation">REST API Reference for GetExtensionAssociation Operation</seealso> public virtual GetExtensionAssociationResponse GetExtensionAssociation(GetExtensionAssociationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetExtensionAssociationRequestMarshaller.Instance; options.ResponseUnmarshaller = GetExtensionAssociationResponseUnmarshaller.Instance; return Invoke<GetExtensionAssociationResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the GetExtensionAssociation operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the GetExtensionAssociation operation on AmazonAppConfigClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetExtensionAssociation /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetExtensionAssociation">REST API Reference for GetExtensionAssociation Operation</seealso> public virtual IAsyncResult BeginGetExtensionAssociation(GetExtensionAssociationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetExtensionAssociationRequestMarshaller.Instance; options.ResponseUnmarshaller = GetExtensionAssociationResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the GetExtensionAssociation operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetExtensionAssociation.</param> /// /// <returns>Returns a GetExtensionAssociationResult from AppConfig.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetExtensionAssociation">REST API Reference for GetExtensionAssociation Operation</seealso> public virtual GetExtensionAssociationResponse EndGetExtensionAssociation(IAsyncResult asyncResult) { return EndInvoke<GetExtensionAssociationResponse>(asyncResult); } #endregion #region GetHostedConfigurationVersion /// <summary> /// Retrieves information about a specific configuration version. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetHostedConfigurationVersion service method.</param> /// /// <returns>The response from the GetHostedConfigurationVersion service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetHostedConfigurationVersion">REST API Reference for GetHostedConfigurationVersion Operation</seealso> public virtual GetHostedConfigurationVersionResponse GetHostedConfigurationVersion(GetHostedConfigurationVersionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetHostedConfigurationVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = GetHostedConfigurationVersionResponseUnmarshaller.Instance; return Invoke<GetHostedConfigurationVersionResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the GetHostedConfigurationVersion operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the GetHostedConfigurationVersion operation on AmazonAppConfigClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetHostedConfigurationVersion /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetHostedConfigurationVersion">REST API Reference for GetHostedConfigurationVersion Operation</seealso> public virtual IAsyncResult BeginGetHostedConfigurationVersion(GetHostedConfigurationVersionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetHostedConfigurationVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = GetHostedConfigurationVersionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the GetHostedConfigurationVersion operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetHostedConfigurationVersion.</param> /// /// <returns>Returns a GetHostedConfigurationVersionResult from AppConfig.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetHostedConfigurationVersion">REST API Reference for GetHostedConfigurationVersion Operation</seealso> public virtual GetHostedConfigurationVersionResponse EndGetHostedConfigurationVersion(IAsyncResult asyncResult) { return EndInvoke<GetHostedConfigurationVersionResponse>(asyncResult); } #endregion #region ListApplications /// <summary> /// Lists all applications in your Amazon Web Services account. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListApplications service method.</param> /// /// <returns>The response from the ListApplications service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListApplications">REST API Reference for ListApplications Operation</seealso> public virtual ListApplicationsResponse ListApplications(ListApplicationsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListApplicationsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListApplicationsResponseUnmarshaller.Instance; return Invoke<ListApplicationsResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the ListApplications operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ListApplications operation on AmazonAppConfigClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListApplications /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListApplications">REST API Reference for ListApplications Operation</seealso> public virtual IAsyncResult BeginListApplications(ListApplicationsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListApplicationsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListApplicationsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the ListApplications operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginListApplications.</param> /// /// <returns>Returns a ListApplicationsResult from AppConfig.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListApplications">REST API Reference for ListApplications Operation</seealso> public virtual ListApplicationsResponse EndListApplications(IAsyncResult asyncResult) { return EndInvoke<ListApplicationsResponse>(asyncResult); } #endregion #region ListConfigurationProfiles /// <summary> /// Lists the configuration profiles for an application. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListConfigurationProfiles service method.</param> /// /// <returns>The response from the ListConfigurationProfiles service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListConfigurationProfiles">REST API Reference for ListConfigurationProfiles Operation</seealso> public virtual ListConfigurationProfilesResponse ListConfigurationProfiles(ListConfigurationProfilesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListConfigurationProfilesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListConfigurationProfilesResponseUnmarshaller.Instance; return Invoke<ListConfigurationProfilesResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the ListConfigurationProfiles operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ListConfigurationProfiles operation on AmazonAppConfigClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListConfigurationProfiles /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListConfigurationProfiles">REST API Reference for ListConfigurationProfiles Operation</seealso> public virtual IAsyncResult BeginListConfigurationProfiles(ListConfigurationProfilesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListConfigurationProfilesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListConfigurationProfilesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the ListConfigurationProfiles operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginListConfigurationProfiles.</param> /// /// <returns>Returns a ListConfigurationProfilesResult from AppConfig.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListConfigurationProfiles">REST API Reference for ListConfigurationProfiles Operation</seealso> public virtual ListConfigurationProfilesResponse EndListConfigurationProfiles(IAsyncResult asyncResult) { return EndInvoke<ListConfigurationProfilesResponse>(asyncResult); } #endregion #region ListDeployments /// <summary> /// Lists the deployments for an environment in descending deployment number order. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListDeployments service method.</param> /// /// <returns>The response from the ListDeployments service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListDeployments">REST API Reference for ListDeployments Operation</seealso> public virtual ListDeploymentsResponse ListDeployments(ListDeploymentsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListDeploymentsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListDeploymentsResponseUnmarshaller.Instance; return Invoke<ListDeploymentsResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the ListDeployments operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ListDeployments operation on AmazonAppConfigClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListDeployments /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListDeployments">REST API Reference for ListDeployments Operation</seealso> public virtual IAsyncResult BeginListDeployments(ListDeploymentsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListDeploymentsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListDeploymentsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the ListDeployments operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginListDeployments.</param> /// /// <returns>Returns a ListDeploymentsResult from AppConfig.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListDeployments">REST API Reference for ListDeployments Operation</seealso> public virtual ListDeploymentsResponse EndListDeployments(IAsyncResult asyncResult) { return EndInvoke<ListDeploymentsResponse>(asyncResult); } #endregion #region ListDeploymentStrategies /// <summary> /// Lists deployment strategies. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListDeploymentStrategies service method.</param> /// /// <returns>The response from the ListDeploymentStrategies service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListDeploymentStrategies">REST API Reference for ListDeploymentStrategies Operation</seealso> public virtual ListDeploymentStrategiesResponse ListDeploymentStrategies(ListDeploymentStrategiesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListDeploymentStrategiesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListDeploymentStrategiesResponseUnmarshaller.Instance; return Invoke<ListDeploymentStrategiesResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the ListDeploymentStrategies operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ListDeploymentStrategies operation on AmazonAppConfigClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListDeploymentStrategies /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListDeploymentStrategies">REST API Reference for ListDeploymentStrategies Operation</seealso> public virtual IAsyncResult BeginListDeploymentStrategies(ListDeploymentStrategiesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListDeploymentStrategiesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListDeploymentStrategiesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the ListDeploymentStrategies operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginListDeploymentStrategies.</param> /// /// <returns>Returns a ListDeploymentStrategiesResult from AppConfig.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListDeploymentStrategies">REST API Reference for ListDeploymentStrategies Operation</seealso> public virtual ListDeploymentStrategiesResponse EndListDeploymentStrategies(IAsyncResult asyncResult) { return EndInvoke<ListDeploymentStrategiesResponse>(asyncResult); } #endregion #region ListEnvironments /// <summary> /// Lists the environments for an application. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListEnvironments service method.</param> /// /// <returns>The response from the ListEnvironments service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListEnvironments">REST API Reference for ListEnvironments Operation</seealso> public virtual ListEnvironmentsResponse ListEnvironments(ListEnvironmentsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListEnvironmentsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListEnvironmentsResponseUnmarshaller.Instance; return Invoke<ListEnvironmentsResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the ListEnvironments operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ListEnvironments operation on AmazonAppConfigClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListEnvironments /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListEnvironments">REST API Reference for ListEnvironments Operation</seealso> public virtual IAsyncResult BeginListEnvironments(ListEnvironmentsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListEnvironmentsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListEnvironmentsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the ListEnvironments operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginListEnvironments.</param> /// /// <returns>Returns a ListEnvironmentsResult from AppConfig.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListEnvironments">REST API Reference for ListEnvironments Operation</seealso> public virtual ListEnvironmentsResponse EndListEnvironments(IAsyncResult asyncResult) { return EndInvoke<ListEnvironmentsResponse>(asyncResult); } #endregion #region ListExtensionAssociations /// <summary> /// Lists all AppConfig extension associations in the account. For more information about /// extensions and associations, see <a href="https://docs.aws.amazon.com/appconfig/latest/userguide/working-with-appconfig-extensions.html">Working /// with AppConfig extensions</a> in the <i>AppConfig User Guide</i>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListExtensionAssociations service method.</param> /// /// <returns>The response from the ListExtensionAssociations service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListExtensionAssociations">REST API Reference for ListExtensionAssociations Operation</seealso> public virtual ListExtensionAssociationsResponse ListExtensionAssociations(ListExtensionAssociationsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListExtensionAssociationsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListExtensionAssociationsResponseUnmarshaller.Instance; return Invoke<ListExtensionAssociationsResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the ListExtensionAssociations operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ListExtensionAssociations operation on AmazonAppConfigClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListExtensionAssociations /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListExtensionAssociations">REST API Reference for ListExtensionAssociations Operation</seealso> public virtual IAsyncResult BeginListExtensionAssociations(ListExtensionAssociationsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListExtensionAssociationsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListExtensionAssociationsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the ListExtensionAssociations operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginListExtensionAssociations.</param> /// /// <returns>Returns a ListExtensionAssociationsResult from AppConfig.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListExtensionAssociations">REST API Reference for ListExtensionAssociations Operation</seealso> public virtual ListExtensionAssociationsResponse EndListExtensionAssociations(IAsyncResult asyncResult) { return EndInvoke<ListExtensionAssociationsResponse>(asyncResult); } #endregion #region ListExtensions /// <summary> /// Lists all custom and Amazon Web Services authored AppConfig extensions in the account. /// For more information about extensions, see <a href="https://docs.aws.amazon.com/appconfig/latest/userguide/working-with-appconfig-extensions.html">Working /// with AppConfig extensions</a> in the <i>AppConfig User Guide</i>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListExtensions service method.</param> /// /// <returns>The response from the ListExtensions service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListExtensions">REST API Reference for ListExtensions Operation</seealso> public virtual ListExtensionsResponse ListExtensions(ListExtensionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListExtensionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListExtensionsResponseUnmarshaller.Instance; return Invoke<ListExtensionsResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the ListExtensions operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ListExtensions operation on AmazonAppConfigClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListExtensions /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListExtensions">REST API Reference for ListExtensions Operation</seealso> public virtual IAsyncResult BeginListExtensions(ListExtensionsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListExtensionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListExtensionsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the ListExtensions operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginListExtensions.</param> /// /// <returns>Returns a ListExtensionsResult from AppConfig.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListExtensions">REST API Reference for ListExtensions Operation</seealso> public virtual ListExtensionsResponse EndListExtensions(IAsyncResult asyncResult) { return EndInvoke<ListExtensionsResponse>(asyncResult); } #endregion #region ListHostedConfigurationVersions /// <summary> /// Lists configurations stored in the AppConfig hosted configuration store by version. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListHostedConfigurationVersions service method.</param> /// /// <returns>The response from the ListHostedConfigurationVersions service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListHostedConfigurationVersions">REST API Reference for ListHostedConfigurationVersions Operation</seealso> public virtual ListHostedConfigurationVersionsResponse ListHostedConfigurationVersions(ListHostedConfigurationVersionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListHostedConfigurationVersionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListHostedConfigurationVersionsResponseUnmarshaller.Instance; return Invoke<ListHostedConfigurationVersionsResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the ListHostedConfigurationVersions operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ListHostedConfigurationVersions operation on AmazonAppConfigClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListHostedConfigurationVersions /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListHostedConfigurationVersions">REST API Reference for ListHostedConfigurationVersions Operation</seealso> public virtual IAsyncResult BeginListHostedConfigurationVersions(ListHostedConfigurationVersionsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListHostedConfigurationVersionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListHostedConfigurationVersionsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the ListHostedConfigurationVersions operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginListHostedConfigurationVersions.</param> /// /// <returns>Returns a ListHostedConfigurationVersionsResult from AppConfig.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListHostedConfigurationVersions">REST API Reference for ListHostedConfigurationVersions Operation</seealso> public virtual ListHostedConfigurationVersionsResponse EndListHostedConfigurationVersions(IAsyncResult asyncResult) { return EndInvoke<ListHostedConfigurationVersionsResponse>(asyncResult); } #endregion #region ListTagsForResource /// <summary> /// Retrieves the list of key-value tags assigned to the resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListTagsForResource service method.</param> /// /// <returns>The response from the ListTagsForResource service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso> public virtual ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance; return Invoke<ListTagsForResourceResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the ListTagsForResource operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ListTagsForResource operation on AmazonAppConfigClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListTagsForResource /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso> public virtual IAsyncResult BeginListTagsForResource(ListTagsForResourceRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the ListTagsForResource operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginListTagsForResource.</param> /// /// <returns>Returns a ListTagsForResourceResult from AppConfig.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso> public virtual ListTagsForResourceResponse EndListTagsForResource(IAsyncResult asyncResult) { return EndInvoke<ListTagsForResourceResponse>(asyncResult); } #endregion #region StartDeployment /// <summary> /// Starts a deployment. /// </summary> /// <param name="request">Container for the necessary parameters to execute the StartDeployment service method.</param> /// /// <returns>The response from the StartDeployment service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/StartDeployment">REST API Reference for StartDeployment Operation</seealso> public virtual StartDeploymentResponse StartDeployment(StartDeploymentRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = StartDeploymentRequestMarshaller.Instance; options.ResponseUnmarshaller = StartDeploymentResponseUnmarshaller.Instance; return Invoke<StartDeploymentResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the StartDeployment operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the StartDeployment operation on AmazonAppConfigClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndStartDeployment /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/StartDeployment">REST API Reference for StartDeployment Operation</seealso> public virtual IAsyncResult BeginStartDeployment(StartDeploymentRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = StartDeploymentRequestMarshaller.Instance; options.ResponseUnmarshaller = StartDeploymentResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the StartDeployment operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginStartDeployment.</param> /// /// <returns>Returns a StartDeploymentResult from AppConfig.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/StartDeployment">REST API Reference for StartDeployment Operation</seealso> public virtual StartDeploymentResponse EndStartDeployment(IAsyncResult asyncResult) { return EndInvoke<StartDeploymentResponse>(asyncResult); } #endregion #region StopDeployment /// <summary> /// Stops a deployment. This API action works only on deployments that have a status of /// <code>DEPLOYING</code>. This action moves the deployment to a status of <code>ROLLED_BACK</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the StopDeployment service method.</param> /// /// <returns>The response from the StopDeployment service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/StopDeployment">REST API Reference for StopDeployment Operation</seealso> public virtual StopDeploymentResponse StopDeployment(StopDeploymentRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = StopDeploymentRequestMarshaller.Instance; options.ResponseUnmarshaller = StopDeploymentResponseUnmarshaller.Instance; return Invoke<StopDeploymentResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the StopDeployment operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the StopDeployment operation on AmazonAppConfigClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndStopDeployment /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/StopDeployment">REST API Reference for StopDeployment Operation</seealso> public virtual IAsyncResult BeginStopDeployment(StopDeploymentRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = StopDeploymentRequestMarshaller.Instance; options.ResponseUnmarshaller = StopDeploymentResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the StopDeployment operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginStopDeployment.</param> /// /// <returns>Returns a StopDeploymentResult from AppConfig.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/StopDeployment">REST API Reference for StopDeployment Operation</seealso> public virtual StopDeploymentResponse EndStopDeployment(IAsyncResult asyncResult) { return EndInvoke<StopDeploymentResponse>(asyncResult); } #endregion #region TagResource /// <summary> /// Assigns metadata to an AppConfig resource. Tags help organize and categorize your /// AppConfig resources. Each tag consists of a key and an optional value, both of which /// you define. You can specify a maximum of 50 tags for a resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the TagResource service method.</param> /// /// <returns>The response from the TagResource service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/TagResource">REST API Reference for TagResource Operation</seealso> public virtual TagResourceResponse TagResource(TagResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = TagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance; return Invoke<TagResourceResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the TagResource operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the TagResource operation on AmazonAppConfigClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndTagResource /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/TagResource">REST API Reference for TagResource Operation</seealso> public virtual IAsyncResult BeginTagResource(TagResourceRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = TagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the TagResource operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginTagResource.</param> /// /// <returns>Returns a TagResourceResult from AppConfig.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/TagResource">REST API Reference for TagResource Operation</seealso> public virtual TagResourceResponse EndTagResource(IAsyncResult asyncResult) { return EndInvoke<TagResourceResponse>(asyncResult); } #endregion #region UntagResource /// <summary> /// Deletes a tag key and value from an AppConfig resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UntagResource service method.</param> /// /// <returns>The response from the UntagResource service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UntagResource">REST API Reference for UntagResource Operation</seealso> public virtual UntagResourceResponse UntagResource(UntagResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UntagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance; return Invoke<UntagResourceResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the UntagResource operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the UntagResource operation on AmazonAppConfigClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUntagResource /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UntagResource">REST API Reference for UntagResource Operation</seealso> public virtual IAsyncResult BeginUntagResource(UntagResourceRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UntagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the UntagResource operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginUntagResource.</param> /// /// <returns>Returns a UntagResourceResult from AppConfig.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UntagResource">REST API Reference for UntagResource Operation</seealso> public virtual UntagResourceResponse EndUntagResource(IAsyncResult asyncResult) { return EndInvoke<UntagResourceResponse>(asyncResult); } #endregion #region UpdateApplication /// <summary> /// Updates an application. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateApplication service method.</param> /// /// <returns>The response from the UpdateApplication service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UpdateApplication">REST API Reference for UpdateApplication Operation</seealso> public virtual UpdateApplicationResponse UpdateApplication(UpdateApplicationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateApplicationRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateApplicationResponseUnmarshaller.Instance; return Invoke<UpdateApplicationResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the UpdateApplication operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the UpdateApplication operation on AmazonAppConfigClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateApplication /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UpdateApplication">REST API Reference for UpdateApplication Operation</seealso> public virtual IAsyncResult BeginUpdateApplication(UpdateApplicationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateApplicationRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateApplicationResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the UpdateApplication operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateApplication.</param> /// /// <returns>Returns a UpdateApplicationResult from AppConfig.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UpdateApplication">REST API Reference for UpdateApplication Operation</seealso> public virtual UpdateApplicationResponse EndUpdateApplication(IAsyncResult asyncResult) { return EndInvoke<UpdateApplicationResponse>(asyncResult); } #endregion #region UpdateConfigurationProfile /// <summary> /// Updates a configuration profile. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateConfigurationProfile service method.</param> /// /// <returns>The response from the UpdateConfigurationProfile service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UpdateConfigurationProfile">REST API Reference for UpdateConfigurationProfile Operation</seealso> public virtual UpdateConfigurationProfileResponse UpdateConfigurationProfile(UpdateConfigurationProfileRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateConfigurationProfileRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateConfigurationProfileResponseUnmarshaller.Instance; return Invoke<UpdateConfigurationProfileResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the UpdateConfigurationProfile operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the UpdateConfigurationProfile operation on AmazonAppConfigClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateConfigurationProfile /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UpdateConfigurationProfile">REST API Reference for UpdateConfigurationProfile Operation</seealso> public virtual IAsyncResult BeginUpdateConfigurationProfile(UpdateConfigurationProfileRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateConfigurationProfileRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateConfigurationProfileResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the UpdateConfigurationProfile operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateConfigurationProfile.</param> /// /// <returns>Returns a UpdateConfigurationProfileResult from AppConfig.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UpdateConfigurationProfile">REST API Reference for UpdateConfigurationProfile Operation</seealso> public virtual UpdateConfigurationProfileResponse EndUpdateConfigurationProfile(IAsyncResult asyncResult) { return EndInvoke<UpdateConfigurationProfileResponse>(asyncResult); } #endregion #region UpdateDeploymentStrategy /// <summary> /// Updates a deployment strategy. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateDeploymentStrategy service method.</param> /// /// <returns>The response from the UpdateDeploymentStrategy service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UpdateDeploymentStrategy">REST API Reference for UpdateDeploymentStrategy Operation</seealso> public virtual UpdateDeploymentStrategyResponse UpdateDeploymentStrategy(UpdateDeploymentStrategyRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateDeploymentStrategyRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateDeploymentStrategyResponseUnmarshaller.Instance; return Invoke<UpdateDeploymentStrategyResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the UpdateDeploymentStrategy operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the UpdateDeploymentStrategy operation on AmazonAppConfigClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateDeploymentStrategy /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UpdateDeploymentStrategy">REST API Reference for UpdateDeploymentStrategy Operation</seealso> public virtual IAsyncResult BeginUpdateDeploymentStrategy(UpdateDeploymentStrategyRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateDeploymentStrategyRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateDeploymentStrategyResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the UpdateDeploymentStrategy operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateDeploymentStrategy.</param> /// /// <returns>Returns a UpdateDeploymentStrategyResult from AppConfig.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UpdateDeploymentStrategy">REST API Reference for UpdateDeploymentStrategy Operation</seealso> public virtual UpdateDeploymentStrategyResponse EndUpdateDeploymentStrategy(IAsyncResult asyncResult) { return EndInvoke<UpdateDeploymentStrategyResponse>(asyncResult); } #endregion #region UpdateEnvironment /// <summary> /// Updates an environment. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateEnvironment service method.</param> /// /// <returns>The response from the UpdateEnvironment service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UpdateEnvironment">REST API Reference for UpdateEnvironment Operation</seealso> public virtual UpdateEnvironmentResponse UpdateEnvironment(UpdateEnvironmentRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateEnvironmentRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateEnvironmentResponseUnmarshaller.Instance; return Invoke<UpdateEnvironmentResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the UpdateEnvironment operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the UpdateEnvironment operation on AmazonAppConfigClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateEnvironment /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UpdateEnvironment">REST API Reference for UpdateEnvironment Operation</seealso> public virtual IAsyncResult BeginUpdateEnvironment(UpdateEnvironmentRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateEnvironmentRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateEnvironmentResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the UpdateEnvironment operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateEnvironment.</param> /// /// <returns>Returns a UpdateEnvironmentResult from AppConfig.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UpdateEnvironment">REST API Reference for UpdateEnvironment Operation</seealso> public virtual UpdateEnvironmentResponse EndUpdateEnvironment(IAsyncResult asyncResult) { return EndInvoke<UpdateEnvironmentResponse>(asyncResult); } #endregion #region UpdateExtension /// <summary> /// Updates an AppConfig extension. For more information about extensions, see <a href="https://docs.aws.amazon.com/appconfig/latest/userguide/working-with-appconfig-extensions.html">Working /// with AppConfig extensions</a> in the <i>AppConfig User Guide</i>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateExtension service method.</param> /// /// <returns>The response from the UpdateExtension service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UpdateExtension">REST API Reference for UpdateExtension Operation</seealso> public virtual UpdateExtensionResponse UpdateExtension(UpdateExtensionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateExtensionRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateExtensionResponseUnmarshaller.Instance; return Invoke<UpdateExtensionResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the UpdateExtension operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the UpdateExtension operation on AmazonAppConfigClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateExtension /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UpdateExtension">REST API Reference for UpdateExtension Operation</seealso> public virtual IAsyncResult BeginUpdateExtension(UpdateExtensionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateExtensionRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateExtensionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the UpdateExtension operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateExtension.</param> /// /// <returns>Returns a UpdateExtensionResult from AppConfig.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UpdateExtension">REST API Reference for UpdateExtension Operation</seealso> public virtual UpdateExtensionResponse EndUpdateExtension(IAsyncResult asyncResult) { return EndInvoke<UpdateExtensionResponse>(asyncResult); } #endregion #region UpdateExtensionAssociation /// <summary> /// Updates an association. For more information about extensions and associations, see /// <a href="https://docs.aws.amazon.com/appconfig/latest/userguide/working-with-appconfig-extensions.html">Working /// with AppConfig extensions</a> in the <i>AppConfig User Guide</i>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateExtensionAssociation service method.</param> /// /// <returns>The response from the UpdateExtensionAssociation service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UpdateExtensionAssociation">REST API Reference for UpdateExtensionAssociation Operation</seealso> public virtual UpdateExtensionAssociationResponse UpdateExtensionAssociation(UpdateExtensionAssociationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateExtensionAssociationRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateExtensionAssociationResponseUnmarshaller.Instance; return Invoke<UpdateExtensionAssociationResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the UpdateExtensionAssociation operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the UpdateExtensionAssociation operation on AmazonAppConfigClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateExtensionAssociation /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UpdateExtensionAssociation">REST API Reference for UpdateExtensionAssociation Operation</seealso> public virtual IAsyncResult BeginUpdateExtensionAssociation(UpdateExtensionAssociationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateExtensionAssociationRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateExtensionAssociationResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the UpdateExtensionAssociation operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateExtensionAssociation.</param> /// /// <returns>Returns a UpdateExtensionAssociationResult from AppConfig.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UpdateExtensionAssociation">REST API Reference for UpdateExtensionAssociation Operation</seealso> public virtual UpdateExtensionAssociationResponse EndUpdateExtensionAssociation(IAsyncResult asyncResult) { return EndInvoke<UpdateExtensionAssociationResponse>(asyncResult); } #endregion #region ValidateConfiguration /// <summary> /// Uses the validators in a configuration profile to validate a configuration. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ValidateConfiguration service method.</param> /// /// <returns>The response from the ValidateConfiguration service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ValidateConfiguration">REST API Reference for ValidateConfiguration Operation</seealso> public virtual ValidateConfigurationResponse ValidateConfiguration(ValidateConfigurationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ValidateConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = ValidateConfigurationResponseUnmarshaller.Instance; return Invoke<ValidateConfigurationResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the ValidateConfiguration operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ValidateConfiguration operation on AmazonAppConfigClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndValidateConfiguration /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ValidateConfiguration">REST API Reference for ValidateConfiguration Operation</seealso> public virtual IAsyncResult BeginValidateConfiguration(ValidateConfigurationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ValidateConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = ValidateConfigurationResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the ValidateConfiguration operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginValidateConfiguration.</param> /// /// <returns>Returns a ValidateConfigurationResult from AppConfig.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ValidateConfiguration">REST API Reference for ValidateConfiguration Operation</seealso> public virtual ValidateConfigurationResponse EndValidateConfiguration(IAsyncResult asyncResult) { return EndInvoke<ValidateConfigurationResponse>(asyncResult); } #endregion } }
3,179
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appconfig-2019-10-09.normal.json service model. */ using System; using System.Collections.Generic; using Amazon.Runtime; using Amazon.AppConfig.Model; namespace Amazon.AppConfig { /// <summary> /// Interface for accessing AppConfig /// /// Use AppConfig, a capability of Amazon Web Services Systems Manager, to create, manage, /// and quickly deploy application configurations. AppConfig supports controlled deployments /// to applications of any size and includes built-in validation checks and monitoring. /// You can use AppConfig with applications hosted on Amazon EC2 instances, Lambda, containers, /// mobile applications, or IoT devices. /// /// /// <para> /// To prevent errors when deploying application configurations, especially for production /// systems where a simple typo could cause an unexpected outage, AppConfig includes validators. /// A validator provides a syntactic or semantic check to ensure that the configuration /// you want to deploy works as intended. To validate your application configuration data, /// you provide a schema or an Amazon Web Services Lambda function that runs against the /// configuration. The configuration deployment or update can only proceed when the configuration /// data is valid. /// </para> /// /// <para> /// During a configuration deployment, AppConfig monitors the application to ensure that /// the deployment is successful. If the system encounters an error, AppConfig rolls back /// the change to minimize impact for your application users. You can configure a deployment /// strategy for each application or environment that includes deployment criteria, including /// velocity, bake time, and alarms to monitor. Similar to error monitoring, if a deployment /// triggers an alarm, AppConfig automatically rolls back to the previous version. /// </para> /// /// <para> /// AppConfig supports multiple use cases. Here are some examples: /// </para> /// <ul> <li> /// <para> /// <b>Feature flags</b>: Use AppConfig to turn on new features that require a timely /// deployment, such as a product launch or announcement. /// </para> /// </li> <li> /// <para> /// <b>Application tuning</b>: Use AppConfig to carefully introduce changes to your application /// that can only be tested with production traffic. /// </para> /// </li> <li> /// <para> /// <b>Allow list</b>: Use AppConfig to allow premium subscribers to access paid content. /// /// </para> /// </li> <li> /// <para> /// <b>Operational issues</b>: Use AppConfig to reduce stress on your application when /// a dependency or other external factor impacts the system. /// </para> /// </li> </ul> /// <para> /// This reference is intended to be used with the <a href="http://docs.aws.amazon.com/appconfig/latest/userguide/what-is-appconfig.html">AppConfig /// User Guide</a>. /// </para> /// </summary> public partial interface IAmazonAppConfig : IAmazonService, IDisposable { #if BCL45 || AWS_ASYNC_ENUMERABLES_API /// <summary> /// Paginators for the service /// </summary> IAppConfigPaginatorFactory Paginators { get; } #endif #region CreateApplication /// <summary> /// Creates an application. In AppConfig, an application is simply an organizational construct /// like a folder. This organizational construct has a relationship with some unit of /// executable code. For example, you could create an application called MyMobileApp to /// organize and manage configuration data for a mobile application installed by your /// users. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateApplication service method.</param> /// /// <returns>The response from the CreateApplication service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateApplication">REST API Reference for CreateApplication Operation</seealso> CreateApplicationResponse CreateApplication(CreateApplicationRequest request); /// <summary> /// Initiates the asynchronous execution of the CreateApplication operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreateApplication operation on AmazonAppConfigClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateApplication /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateApplication">REST API Reference for CreateApplication Operation</seealso> IAsyncResult BeginCreateApplication(CreateApplicationRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the CreateApplication operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateApplication.</param> /// /// <returns>Returns a CreateApplicationResult from AppConfig.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateApplication">REST API Reference for CreateApplication Operation</seealso> CreateApplicationResponse EndCreateApplication(IAsyncResult asyncResult); #endregion #region CreateConfigurationProfile /// <summary> /// Creates a configuration profile, which is information that enables AppConfig to access /// the configuration source. Valid configuration sources include the following: /// /// <ul> <li> /// <para> /// Configuration data in YAML, JSON, and other formats stored in the AppConfig hosted /// configuration store /// </para> /// </li> <li> /// <para> /// Configuration data stored as objects in an Amazon Simple Storage Service (Amazon S3) /// bucket /// </para> /// </li> <li> /// <para> /// Pipelines stored in CodePipeline /// </para> /// </li> <li> /// <para> /// Secrets stored in Secrets Manager /// </para> /// </li> <li> /// <para> /// Standard and secure string parameters stored in Amazon Web Services Systems Manager /// Parameter Store /// </para> /// </li> <li> /// <para> /// Configuration data in SSM documents stored in the Systems Manager document store /// </para> /// </li> </ul> /// <para> /// A configuration profile includes the following information: /// </para> /// <ul> <li> /// <para> /// The URI location of the configuration data. /// </para> /// </li> <li> /// <para> /// The Identity and Access Management (IAM) role that provides access to the configuration /// data. /// </para> /// </li> <li> /// <para> /// A validator for the configuration data. Available validators include either a JSON /// Schema or an Amazon Web Services Lambda function. /// </para> /// </li> </ul> /// <para> /// For more information, see <a href="http://docs.aws.amazon.com/appconfig/latest/userguide/appconfig-creating-configuration-and-profile.html">Create /// a Configuration and a Configuration Profile</a> in the <i>AppConfig User Guide</i>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateConfigurationProfile service method.</param> /// /// <returns>The response from the CreateConfigurationProfile service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateConfigurationProfile">REST API Reference for CreateConfigurationProfile Operation</seealso> CreateConfigurationProfileResponse CreateConfigurationProfile(CreateConfigurationProfileRequest request); /// <summary> /// Initiates the asynchronous execution of the CreateConfigurationProfile operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreateConfigurationProfile operation on AmazonAppConfigClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateConfigurationProfile /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateConfigurationProfile">REST API Reference for CreateConfigurationProfile Operation</seealso> IAsyncResult BeginCreateConfigurationProfile(CreateConfigurationProfileRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the CreateConfigurationProfile operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateConfigurationProfile.</param> /// /// <returns>Returns a CreateConfigurationProfileResult from AppConfig.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateConfigurationProfile">REST API Reference for CreateConfigurationProfile Operation</seealso> CreateConfigurationProfileResponse EndCreateConfigurationProfile(IAsyncResult asyncResult); #endregion #region CreateDeploymentStrategy /// <summary> /// Creates a deployment strategy that defines important criteria for rolling out your /// configuration to the designated targets. A deployment strategy includes the overall /// duration required, a percentage of targets to receive the deployment during each interval, /// an algorithm that defines how percentage grows, and bake time. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateDeploymentStrategy service method.</param> /// /// <returns>The response from the CreateDeploymentStrategy service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateDeploymentStrategy">REST API Reference for CreateDeploymentStrategy Operation</seealso> CreateDeploymentStrategyResponse CreateDeploymentStrategy(CreateDeploymentStrategyRequest request); /// <summary> /// Initiates the asynchronous execution of the CreateDeploymentStrategy operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreateDeploymentStrategy operation on AmazonAppConfigClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateDeploymentStrategy /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateDeploymentStrategy">REST API Reference for CreateDeploymentStrategy Operation</seealso> IAsyncResult BeginCreateDeploymentStrategy(CreateDeploymentStrategyRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the CreateDeploymentStrategy operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateDeploymentStrategy.</param> /// /// <returns>Returns a CreateDeploymentStrategyResult from AppConfig.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateDeploymentStrategy">REST API Reference for CreateDeploymentStrategy Operation</seealso> CreateDeploymentStrategyResponse EndCreateDeploymentStrategy(IAsyncResult asyncResult); #endregion #region CreateEnvironment /// <summary> /// Creates an environment. For each application, you define one or more environments. /// An environment is a deployment group of AppConfig targets, such as applications in /// a <code>Beta</code> or <code>Production</code> environment. You can also define environments /// for application subcomponents such as the <code>Web</code>, <code>Mobile</code> and /// <code>Back-end</code> components for your application. You can configure Amazon CloudWatch /// alarms for each environment. The system monitors alarms during a configuration deployment. /// If an alarm is triggered, the system rolls back the configuration. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateEnvironment service method.</param> /// /// <returns>The response from the CreateEnvironment service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateEnvironment">REST API Reference for CreateEnvironment Operation</seealso> CreateEnvironmentResponse CreateEnvironment(CreateEnvironmentRequest request); /// <summary> /// Initiates the asynchronous execution of the CreateEnvironment operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreateEnvironment operation on AmazonAppConfigClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateEnvironment /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateEnvironment">REST API Reference for CreateEnvironment Operation</seealso> IAsyncResult BeginCreateEnvironment(CreateEnvironmentRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the CreateEnvironment operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateEnvironment.</param> /// /// <returns>Returns a CreateEnvironmentResult from AppConfig.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateEnvironment">REST API Reference for CreateEnvironment Operation</seealso> CreateEnvironmentResponse EndCreateEnvironment(IAsyncResult asyncResult); #endregion #region CreateExtension /// <summary> /// Creates an AppConfig extension. An extension augments your ability to inject logic /// or behavior at different points during the AppConfig workflow of creating or deploying /// a configuration. /// /// /// <para> /// You can create your own extensions or use the Amazon Web Services authored extensions /// provided by AppConfig. For most use cases, to create your own extension, you must /// create an Lambda function to perform any computation and processing defined in the /// extension. For more information about extensions, see <a href="https://docs.aws.amazon.com/appconfig/latest/userguide/working-with-appconfig-extensions.html">Working /// with AppConfig extensions</a> in the <i>AppConfig User Guide</i>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateExtension service method.</param> /// /// <returns>The response from the CreateExtension service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ServiceQuotaExceededException"> /// The number of hosted configuration versions exceeds the limit for the AppConfig hosted /// configuration store. Delete one or more versions and try again. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateExtension">REST API Reference for CreateExtension Operation</seealso> CreateExtensionResponse CreateExtension(CreateExtensionRequest request); /// <summary> /// Initiates the asynchronous execution of the CreateExtension operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreateExtension operation on AmazonAppConfigClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateExtension /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateExtension">REST API Reference for CreateExtension Operation</seealso> IAsyncResult BeginCreateExtension(CreateExtensionRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the CreateExtension operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateExtension.</param> /// /// <returns>Returns a CreateExtensionResult from AppConfig.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateExtension">REST API Reference for CreateExtension Operation</seealso> CreateExtensionResponse EndCreateExtension(IAsyncResult asyncResult); #endregion #region CreateExtensionAssociation /// <summary> /// When you create an extension or configure an Amazon Web Services authored extension, /// you associate the extension with an AppConfig application, environment, or configuration /// profile. For example, you can choose to run the <code>AppConfig deployment events /// to Amazon SNS</code> Amazon Web Services authored extension and receive notifications /// on an Amazon SNS topic anytime a configuration deployment is started for a specific /// application. Defining which extension to associate with an AppConfig resource is called /// an <i>extension association</i>. An extension association is a specified relationship /// between an extension and an AppConfig resource, such as an application or a configuration /// profile. For more information about extensions and associations, see <a href="https://docs.aws.amazon.com/appconfig/latest/userguide/working-with-appconfig-extensions.html">Working /// with AppConfig extensions</a> in the <i>AppConfig User Guide</i>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateExtensionAssociation service method.</param> /// /// <returns>The response from the CreateExtensionAssociation service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ServiceQuotaExceededException"> /// The number of hosted configuration versions exceeds the limit for the AppConfig hosted /// configuration store. Delete one or more versions and try again. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateExtensionAssociation">REST API Reference for CreateExtensionAssociation Operation</seealso> CreateExtensionAssociationResponse CreateExtensionAssociation(CreateExtensionAssociationRequest request); /// <summary> /// Initiates the asynchronous execution of the CreateExtensionAssociation operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreateExtensionAssociation operation on AmazonAppConfigClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateExtensionAssociation /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateExtensionAssociation">REST API Reference for CreateExtensionAssociation Operation</seealso> IAsyncResult BeginCreateExtensionAssociation(CreateExtensionAssociationRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the CreateExtensionAssociation operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateExtensionAssociation.</param> /// /// <returns>Returns a CreateExtensionAssociationResult from AppConfig.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateExtensionAssociation">REST API Reference for CreateExtensionAssociation Operation</seealso> CreateExtensionAssociationResponse EndCreateExtensionAssociation(IAsyncResult asyncResult); #endregion #region CreateHostedConfigurationVersion /// <summary> /// Creates a new configuration in the AppConfig hosted configuration store. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateHostedConfigurationVersion service method.</param> /// /// <returns>The response from the CreateHostedConfigurationVersion service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.PayloadTooLargeException"> /// The configuration size is too large. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ServiceQuotaExceededException"> /// The number of hosted configuration versions exceeds the limit for the AppConfig hosted /// configuration store. Delete one or more versions and try again. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateHostedConfigurationVersion">REST API Reference for CreateHostedConfigurationVersion Operation</seealso> CreateHostedConfigurationVersionResponse CreateHostedConfigurationVersion(CreateHostedConfigurationVersionRequest request); /// <summary> /// Initiates the asynchronous execution of the CreateHostedConfigurationVersion operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreateHostedConfigurationVersion operation on AmazonAppConfigClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateHostedConfigurationVersion /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateHostedConfigurationVersion">REST API Reference for CreateHostedConfigurationVersion Operation</seealso> IAsyncResult BeginCreateHostedConfigurationVersion(CreateHostedConfigurationVersionRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the CreateHostedConfigurationVersion operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateHostedConfigurationVersion.</param> /// /// <returns>Returns a CreateHostedConfigurationVersionResult from AppConfig.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateHostedConfigurationVersion">REST API Reference for CreateHostedConfigurationVersion Operation</seealso> CreateHostedConfigurationVersionResponse EndCreateHostedConfigurationVersion(IAsyncResult asyncResult); #endregion #region DeleteApplication /// <summary> /// Deletes an application. Deleting an application does not delete a configuration from /// a host. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteApplication service method.</param> /// /// <returns>The response from the DeleteApplication service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteApplication">REST API Reference for DeleteApplication Operation</seealso> DeleteApplicationResponse DeleteApplication(DeleteApplicationRequest request); /// <summary> /// Initiates the asynchronous execution of the DeleteApplication operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteApplication operation on AmazonAppConfigClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteApplication /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteApplication">REST API Reference for DeleteApplication Operation</seealso> IAsyncResult BeginDeleteApplication(DeleteApplicationRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the DeleteApplication operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteApplication.</param> /// /// <returns>Returns a DeleteApplicationResult from AppConfig.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteApplication">REST API Reference for DeleteApplication Operation</seealso> DeleteApplicationResponse EndDeleteApplication(IAsyncResult asyncResult); #endregion #region DeleteConfigurationProfile /// <summary> /// Deletes a configuration profile. Deleting a configuration profile does not delete /// a configuration from a host. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteConfigurationProfile service method.</param> /// /// <returns>The response from the DeleteConfigurationProfile service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteConfigurationProfile">REST API Reference for DeleteConfigurationProfile Operation</seealso> DeleteConfigurationProfileResponse DeleteConfigurationProfile(DeleteConfigurationProfileRequest request); /// <summary> /// Initiates the asynchronous execution of the DeleteConfigurationProfile operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteConfigurationProfile operation on AmazonAppConfigClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteConfigurationProfile /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteConfigurationProfile">REST API Reference for DeleteConfigurationProfile Operation</seealso> IAsyncResult BeginDeleteConfigurationProfile(DeleteConfigurationProfileRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the DeleteConfigurationProfile operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteConfigurationProfile.</param> /// /// <returns>Returns a DeleteConfigurationProfileResult from AppConfig.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteConfigurationProfile">REST API Reference for DeleteConfigurationProfile Operation</seealso> DeleteConfigurationProfileResponse EndDeleteConfigurationProfile(IAsyncResult asyncResult); #endregion #region DeleteDeploymentStrategy /// <summary> /// Deletes a deployment strategy. Deleting a deployment strategy does not delete a configuration /// from a host. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteDeploymentStrategy service method.</param> /// /// <returns>The response from the DeleteDeploymentStrategy service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteDeploymentStrategy">REST API Reference for DeleteDeploymentStrategy Operation</seealso> DeleteDeploymentStrategyResponse DeleteDeploymentStrategy(DeleteDeploymentStrategyRequest request); /// <summary> /// Initiates the asynchronous execution of the DeleteDeploymentStrategy operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteDeploymentStrategy operation on AmazonAppConfigClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteDeploymentStrategy /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteDeploymentStrategy">REST API Reference for DeleteDeploymentStrategy Operation</seealso> IAsyncResult BeginDeleteDeploymentStrategy(DeleteDeploymentStrategyRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the DeleteDeploymentStrategy operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteDeploymentStrategy.</param> /// /// <returns>Returns a DeleteDeploymentStrategyResult from AppConfig.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteDeploymentStrategy">REST API Reference for DeleteDeploymentStrategy Operation</seealso> DeleteDeploymentStrategyResponse EndDeleteDeploymentStrategy(IAsyncResult asyncResult); #endregion #region DeleteEnvironment /// <summary> /// Deletes an environment. Deleting an environment does not delete a configuration from /// a host. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteEnvironment service method.</param> /// /// <returns>The response from the DeleteEnvironment service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteEnvironment">REST API Reference for DeleteEnvironment Operation</seealso> DeleteEnvironmentResponse DeleteEnvironment(DeleteEnvironmentRequest request); /// <summary> /// Initiates the asynchronous execution of the DeleteEnvironment operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteEnvironment operation on AmazonAppConfigClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteEnvironment /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteEnvironment">REST API Reference for DeleteEnvironment Operation</seealso> IAsyncResult BeginDeleteEnvironment(DeleteEnvironmentRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the DeleteEnvironment operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteEnvironment.</param> /// /// <returns>Returns a DeleteEnvironmentResult from AppConfig.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteEnvironment">REST API Reference for DeleteEnvironment Operation</seealso> DeleteEnvironmentResponse EndDeleteEnvironment(IAsyncResult asyncResult); #endregion #region DeleteExtension /// <summary> /// Deletes an AppConfig extension. You must delete all associations to an extension before /// you delete the extension. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteExtension service method.</param> /// /// <returns>The response from the DeleteExtension service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteExtension">REST API Reference for DeleteExtension Operation</seealso> DeleteExtensionResponse DeleteExtension(DeleteExtensionRequest request); /// <summary> /// Initiates the asynchronous execution of the DeleteExtension operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteExtension operation on AmazonAppConfigClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteExtension /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteExtension">REST API Reference for DeleteExtension Operation</seealso> IAsyncResult BeginDeleteExtension(DeleteExtensionRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the DeleteExtension operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteExtension.</param> /// /// <returns>Returns a DeleteExtensionResult from AppConfig.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteExtension">REST API Reference for DeleteExtension Operation</seealso> DeleteExtensionResponse EndDeleteExtension(IAsyncResult asyncResult); #endregion #region DeleteExtensionAssociation /// <summary> /// Deletes an extension association. This action doesn't delete extensions defined in /// the association. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteExtensionAssociation service method.</param> /// /// <returns>The response from the DeleteExtensionAssociation service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteExtensionAssociation">REST API Reference for DeleteExtensionAssociation Operation</seealso> DeleteExtensionAssociationResponse DeleteExtensionAssociation(DeleteExtensionAssociationRequest request); /// <summary> /// Initiates the asynchronous execution of the DeleteExtensionAssociation operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteExtensionAssociation operation on AmazonAppConfigClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteExtensionAssociation /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteExtensionAssociation">REST API Reference for DeleteExtensionAssociation Operation</seealso> IAsyncResult BeginDeleteExtensionAssociation(DeleteExtensionAssociationRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the DeleteExtensionAssociation operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteExtensionAssociation.</param> /// /// <returns>Returns a DeleteExtensionAssociationResult from AppConfig.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteExtensionAssociation">REST API Reference for DeleteExtensionAssociation Operation</seealso> DeleteExtensionAssociationResponse EndDeleteExtensionAssociation(IAsyncResult asyncResult); #endregion #region DeleteHostedConfigurationVersion /// <summary> /// Deletes a version of a configuration from the AppConfig hosted configuration store. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteHostedConfigurationVersion service method.</param> /// /// <returns>The response from the DeleteHostedConfigurationVersion service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteHostedConfigurationVersion">REST API Reference for DeleteHostedConfigurationVersion Operation</seealso> DeleteHostedConfigurationVersionResponse DeleteHostedConfigurationVersion(DeleteHostedConfigurationVersionRequest request); /// <summary> /// Initiates the asynchronous execution of the DeleteHostedConfigurationVersion operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteHostedConfigurationVersion operation on AmazonAppConfigClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteHostedConfigurationVersion /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteHostedConfigurationVersion">REST API Reference for DeleteHostedConfigurationVersion Operation</seealso> IAsyncResult BeginDeleteHostedConfigurationVersion(DeleteHostedConfigurationVersionRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the DeleteHostedConfigurationVersion operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteHostedConfigurationVersion.</param> /// /// <returns>Returns a DeleteHostedConfigurationVersionResult from AppConfig.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteHostedConfigurationVersion">REST API Reference for DeleteHostedConfigurationVersion Operation</seealso> DeleteHostedConfigurationVersionResponse EndDeleteHostedConfigurationVersion(IAsyncResult asyncResult); #endregion #region GetApplication /// <summary> /// Retrieves information about an application. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetApplication service method.</param> /// /// <returns>The response from the GetApplication service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetApplication">REST API Reference for GetApplication Operation</seealso> GetApplicationResponse GetApplication(GetApplicationRequest request); /// <summary> /// Initiates the asynchronous execution of the GetApplication operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the GetApplication operation on AmazonAppConfigClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetApplication /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetApplication">REST API Reference for GetApplication Operation</seealso> IAsyncResult BeginGetApplication(GetApplicationRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the GetApplication operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetApplication.</param> /// /// <returns>Returns a GetApplicationResult from AppConfig.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetApplication">REST API Reference for GetApplication Operation</seealso> GetApplicationResponse EndGetApplication(IAsyncResult asyncResult); #endregion #region GetConfiguration /// <summary> /// (Deprecated) Retrieves the latest deployed configuration. /// /// <important> /// <para> /// Note the following important information. /// </para> /// <ul> <li> /// <para> /// This API action is deprecated. Calls to receive configuration data should use the /// <a href="https://docs.aws.amazon.com/appconfig/2019-10-09/APIReference/API_appconfigdata_StartConfigurationSession.html">StartConfigurationSession</a> /// and <a href="https://docs.aws.amazon.com/appconfig/2019-10-09/APIReference/API_appconfigdata_GetLatestConfiguration.html">GetLatestConfiguration</a> /// APIs instead. /// </para> /// </li> <li> /// <para> /// <code>GetConfiguration</code> is a priced call. For more information, see <a href="https://aws.amazon.com/systems-manager/pricing/">Pricing</a>. /// </para> /// </li> </ul> </important> /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetConfiguration service method.</param> /// /// <returns>The response from the GetConfiguration service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetConfiguration">REST API Reference for GetConfiguration Operation</seealso> [Obsolete("This API has been deprecated in favor of the GetLatestConfiguration API used in conjunction with StartConfigurationSession.")] GetConfigurationResponse GetConfiguration(GetConfigurationRequest request); /// <summary> /// Initiates the asynchronous execution of the GetConfiguration operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the GetConfiguration operation on AmazonAppConfigClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetConfiguration /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetConfiguration">REST API Reference for GetConfiguration Operation</seealso> [Obsolete("This API has been deprecated in favor of the GetLatestConfiguration API used in conjunction with StartConfigurationSession.")] IAsyncResult BeginGetConfiguration(GetConfigurationRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the GetConfiguration operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetConfiguration.</param> /// /// <returns>Returns a GetConfigurationResult from AppConfig.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetConfiguration">REST API Reference for GetConfiguration Operation</seealso> [Obsolete("This API has been deprecated in favor of the GetLatestConfiguration API used in conjunction with StartConfigurationSession.")] GetConfigurationResponse EndGetConfiguration(IAsyncResult asyncResult); #endregion #region GetConfigurationProfile /// <summary> /// Retrieves information about a configuration profile. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetConfigurationProfile service method.</param> /// /// <returns>The response from the GetConfigurationProfile service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetConfigurationProfile">REST API Reference for GetConfigurationProfile Operation</seealso> GetConfigurationProfileResponse GetConfigurationProfile(GetConfigurationProfileRequest request); /// <summary> /// Initiates the asynchronous execution of the GetConfigurationProfile operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the GetConfigurationProfile operation on AmazonAppConfigClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetConfigurationProfile /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetConfigurationProfile">REST API Reference for GetConfigurationProfile Operation</seealso> IAsyncResult BeginGetConfigurationProfile(GetConfigurationProfileRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the GetConfigurationProfile operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetConfigurationProfile.</param> /// /// <returns>Returns a GetConfigurationProfileResult from AppConfig.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetConfigurationProfile">REST API Reference for GetConfigurationProfile Operation</seealso> GetConfigurationProfileResponse EndGetConfigurationProfile(IAsyncResult asyncResult); #endregion #region GetDeployment /// <summary> /// Retrieves information about a configuration deployment. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetDeployment service method.</param> /// /// <returns>The response from the GetDeployment service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetDeployment">REST API Reference for GetDeployment Operation</seealso> GetDeploymentResponse GetDeployment(GetDeploymentRequest request); /// <summary> /// Initiates the asynchronous execution of the GetDeployment operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the GetDeployment operation on AmazonAppConfigClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetDeployment /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetDeployment">REST API Reference for GetDeployment Operation</seealso> IAsyncResult BeginGetDeployment(GetDeploymentRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the GetDeployment operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetDeployment.</param> /// /// <returns>Returns a GetDeploymentResult from AppConfig.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetDeployment">REST API Reference for GetDeployment Operation</seealso> GetDeploymentResponse EndGetDeployment(IAsyncResult asyncResult); #endregion #region GetDeploymentStrategy /// <summary> /// Retrieves information about a deployment strategy. A deployment strategy defines important /// criteria for rolling out your configuration to the designated targets. A deployment /// strategy includes the overall duration required, a percentage of targets to receive /// the deployment during each interval, an algorithm that defines how percentage grows, /// and bake time. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetDeploymentStrategy service method.</param> /// /// <returns>The response from the GetDeploymentStrategy service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetDeploymentStrategy">REST API Reference for GetDeploymentStrategy Operation</seealso> GetDeploymentStrategyResponse GetDeploymentStrategy(GetDeploymentStrategyRequest request); /// <summary> /// Initiates the asynchronous execution of the GetDeploymentStrategy operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the GetDeploymentStrategy operation on AmazonAppConfigClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetDeploymentStrategy /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetDeploymentStrategy">REST API Reference for GetDeploymentStrategy Operation</seealso> IAsyncResult BeginGetDeploymentStrategy(GetDeploymentStrategyRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the GetDeploymentStrategy operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetDeploymentStrategy.</param> /// /// <returns>Returns a GetDeploymentStrategyResult from AppConfig.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetDeploymentStrategy">REST API Reference for GetDeploymentStrategy Operation</seealso> GetDeploymentStrategyResponse EndGetDeploymentStrategy(IAsyncResult asyncResult); #endregion #region GetEnvironment /// <summary> /// Retrieves information about an environment. An environment is a deployment group of /// AppConfig applications, such as applications in a <code>Production</code> environment /// or in an <code>EU_Region</code> environment. Each configuration deployment targets /// an environment. You can enable one or more Amazon CloudWatch alarms for an environment. /// If an alarm is triggered during a deployment, AppConfig roles back the configuration. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetEnvironment service method.</param> /// /// <returns>The response from the GetEnvironment service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetEnvironment">REST API Reference for GetEnvironment Operation</seealso> GetEnvironmentResponse GetEnvironment(GetEnvironmentRequest request); /// <summary> /// Initiates the asynchronous execution of the GetEnvironment operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the GetEnvironment operation on AmazonAppConfigClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetEnvironment /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetEnvironment">REST API Reference for GetEnvironment Operation</seealso> IAsyncResult BeginGetEnvironment(GetEnvironmentRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the GetEnvironment operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetEnvironment.</param> /// /// <returns>Returns a GetEnvironmentResult from AppConfig.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetEnvironment">REST API Reference for GetEnvironment Operation</seealso> GetEnvironmentResponse EndGetEnvironment(IAsyncResult asyncResult); #endregion #region GetExtension /// <summary> /// Returns information about an AppConfig extension. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetExtension service method.</param> /// /// <returns>The response from the GetExtension service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetExtension">REST API Reference for GetExtension Operation</seealso> GetExtensionResponse GetExtension(GetExtensionRequest request); /// <summary> /// Initiates the asynchronous execution of the GetExtension operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the GetExtension operation on AmazonAppConfigClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetExtension /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetExtension">REST API Reference for GetExtension Operation</seealso> IAsyncResult BeginGetExtension(GetExtensionRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the GetExtension operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetExtension.</param> /// /// <returns>Returns a GetExtensionResult from AppConfig.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetExtension">REST API Reference for GetExtension Operation</seealso> GetExtensionResponse EndGetExtension(IAsyncResult asyncResult); #endregion #region GetExtensionAssociation /// <summary> /// Returns information about an AppConfig extension association. For more information /// about extensions and associations, see <a href="https://docs.aws.amazon.com/appconfig/latest/userguide/working-with-appconfig-extensions.html">Working /// with AppConfig extensions</a> in the <i>AppConfig User Guide</i>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetExtensionAssociation service method.</param> /// /// <returns>The response from the GetExtensionAssociation service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetExtensionAssociation">REST API Reference for GetExtensionAssociation Operation</seealso> GetExtensionAssociationResponse GetExtensionAssociation(GetExtensionAssociationRequest request); /// <summary> /// Initiates the asynchronous execution of the GetExtensionAssociation operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the GetExtensionAssociation operation on AmazonAppConfigClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetExtensionAssociation /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetExtensionAssociation">REST API Reference for GetExtensionAssociation Operation</seealso> IAsyncResult BeginGetExtensionAssociation(GetExtensionAssociationRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the GetExtensionAssociation operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetExtensionAssociation.</param> /// /// <returns>Returns a GetExtensionAssociationResult from AppConfig.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetExtensionAssociation">REST API Reference for GetExtensionAssociation Operation</seealso> GetExtensionAssociationResponse EndGetExtensionAssociation(IAsyncResult asyncResult); #endregion #region GetHostedConfigurationVersion /// <summary> /// Retrieves information about a specific configuration version. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetHostedConfigurationVersion service method.</param> /// /// <returns>The response from the GetHostedConfigurationVersion service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetHostedConfigurationVersion">REST API Reference for GetHostedConfigurationVersion Operation</seealso> GetHostedConfigurationVersionResponse GetHostedConfigurationVersion(GetHostedConfigurationVersionRequest request); /// <summary> /// Initiates the asynchronous execution of the GetHostedConfigurationVersion operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the GetHostedConfigurationVersion operation on AmazonAppConfigClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetHostedConfigurationVersion /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetHostedConfigurationVersion">REST API Reference for GetHostedConfigurationVersion Operation</seealso> IAsyncResult BeginGetHostedConfigurationVersion(GetHostedConfigurationVersionRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the GetHostedConfigurationVersion operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetHostedConfigurationVersion.</param> /// /// <returns>Returns a GetHostedConfigurationVersionResult from AppConfig.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetHostedConfigurationVersion">REST API Reference for GetHostedConfigurationVersion Operation</seealso> GetHostedConfigurationVersionResponse EndGetHostedConfigurationVersion(IAsyncResult asyncResult); #endregion #region ListApplications /// <summary> /// Lists all applications in your Amazon Web Services account. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListApplications service method.</param> /// /// <returns>The response from the ListApplications service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListApplications">REST API Reference for ListApplications Operation</seealso> ListApplicationsResponse ListApplications(ListApplicationsRequest request); /// <summary> /// Initiates the asynchronous execution of the ListApplications operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ListApplications operation on AmazonAppConfigClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListApplications /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListApplications">REST API Reference for ListApplications Operation</seealso> IAsyncResult BeginListApplications(ListApplicationsRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the ListApplications operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginListApplications.</param> /// /// <returns>Returns a ListApplicationsResult from AppConfig.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListApplications">REST API Reference for ListApplications Operation</seealso> ListApplicationsResponse EndListApplications(IAsyncResult asyncResult); #endregion #region ListConfigurationProfiles /// <summary> /// Lists the configuration profiles for an application. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListConfigurationProfiles service method.</param> /// /// <returns>The response from the ListConfigurationProfiles service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListConfigurationProfiles">REST API Reference for ListConfigurationProfiles Operation</seealso> ListConfigurationProfilesResponse ListConfigurationProfiles(ListConfigurationProfilesRequest request); /// <summary> /// Initiates the asynchronous execution of the ListConfigurationProfiles operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ListConfigurationProfiles operation on AmazonAppConfigClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListConfigurationProfiles /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListConfigurationProfiles">REST API Reference for ListConfigurationProfiles Operation</seealso> IAsyncResult BeginListConfigurationProfiles(ListConfigurationProfilesRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the ListConfigurationProfiles operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginListConfigurationProfiles.</param> /// /// <returns>Returns a ListConfigurationProfilesResult from AppConfig.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListConfigurationProfiles">REST API Reference for ListConfigurationProfiles Operation</seealso> ListConfigurationProfilesResponse EndListConfigurationProfiles(IAsyncResult asyncResult); #endregion #region ListDeployments /// <summary> /// Lists the deployments for an environment in descending deployment number order. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListDeployments service method.</param> /// /// <returns>The response from the ListDeployments service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListDeployments">REST API Reference for ListDeployments Operation</seealso> ListDeploymentsResponse ListDeployments(ListDeploymentsRequest request); /// <summary> /// Initiates the asynchronous execution of the ListDeployments operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ListDeployments operation on AmazonAppConfigClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListDeployments /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListDeployments">REST API Reference for ListDeployments Operation</seealso> IAsyncResult BeginListDeployments(ListDeploymentsRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the ListDeployments operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginListDeployments.</param> /// /// <returns>Returns a ListDeploymentsResult from AppConfig.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListDeployments">REST API Reference for ListDeployments Operation</seealso> ListDeploymentsResponse EndListDeployments(IAsyncResult asyncResult); #endregion #region ListDeploymentStrategies /// <summary> /// Lists deployment strategies. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListDeploymentStrategies service method.</param> /// /// <returns>The response from the ListDeploymentStrategies service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListDeploymentStrategies">REST API Reference for ListDeploymentStrategies Operation</seealso> ListDeploymentStrategiesResponse ListDeploymentStrategies(ListDeploymentStrategiesRequest request); /// <summary> /// Initiates the asynchronous execution of the ListDeploymentStrategies operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ListDeploymentStrategies operation on AmazonAppConfigClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListDeploymentStrategies /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListDeploymentStrategies">REST API Reference for ListDeploymentStrategies Operation</seealso> IAsyncResult BeginListDeploymentStrategies(ListDeploymentStrategiesRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the ListDeploymentStrategies operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginListDeploymentStrategies.</param> /// /// <returns>Returns a ListDeploymentStrategiesResult from AppConfig.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListDeploymentStrategies">REST API Reference for ListDeploymentStrategies Operation</seealso> ListDeploymentStrategiesResponse EndListDeploymentStrategies(IAsyncResult asyncResult); #endregion #region ListEnvironments /// <summary> /// Lists the environments for an application. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListEnvironments service method.</param> /// /// <returns>The response from the ListEnvironments service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListEnvironments">REST API Reference for ListEnvironments Operation</seealso> ListEnvironmentsResponse ListEnvironments(ListEnvironmentsRequest request); /// <summary> /// Initiates the asynchronous execution of the ListEnvironments operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ListEnvironments operation on AmazonAppConfigClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListEnvironments /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListEnvironments">REST API Reference for ListEnvironments Operation</seealso> IAsyncResult BeginListEnvironments(ListEnvironmentsRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the ListEnvironments operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginListEnvironments.</param> /// /// <returns>Returns a ListEnvironmentsResult from AppConfig.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListEnvironments">REST API Reference for ListEnvironments Operation</seealso> ListEnvironmentsResponse EndListEnvironments(IAsyncResult asyncResult); #endregion #region ListExtensionAssociations /// <summary> /// Lists all AppConfig extension associations in the account. For more information about /// extensions and associations, see <a href="https://docs.aws.amazon.com/appconfig/latest/userguide/working-with-appconfig-extensions.html">Working /// with AppConfig extensions</a> in the <i>AppConfig User Guide</i>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListExtensionAssociations service method.</param> /// /// <returns>The response from the ListExtensionAssociations service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListExtensionAssociations">REST API Reference for ListExtensionAssociations Operation</seealso> ListExtensionAssociationsResponse ListExtensionAssociations(ListExtensionAssociationsRequest request); /// <summary> /// Initiates the asynchronous execution of the ListExtensionAssociations operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ListExtensionAssociations operation on AmazonAppConfigClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListExtensionAssociations /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListExtensionAssociations">REST API Reference for ListExtensionAssociations Operation</seealso> IAsyncResult BeginListExtensionAssociations(ListExtensionAssociationsRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the ListExtensionAssociations operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginListExtensionAssociations.</param> /// /// <returns>Returns a ListExtensionAssociationsResult from AppConfig.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListExtensionAssociations">REST API Reference for ListExtensionAssociations Operation</seealso> ListExtensionAssociationsResponse EndListExtensionAssociations(IAsyncResult asyncResult); #endregion #region ListExtensions /// <summary> /// Lists all custom and Amazon Web Services authored AppConfig extensions in the account. /// For more information about extensions, see <a href="https://docs.aws.amazon.com/appconfig/latest/userguide/working-with-appconfig-extensions.html">Working /// with AppConfig extensions</a> in the <i>AppConfig User Guide</i>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListExtensions service method.</param> /// /// <returns>The response from the ListExtensions service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListExtensions">REST API Reference for ListExtensions Operation</seealso> ListExtensionsResponse ListExtensions(ListExtensionsRequest request); /// <summary> /// Initiates the asynchronous execution of the ListExtensions operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ListExtensions operation on AmazonAppConfigClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListExtensions /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListExtensions">REST API Reference for ListExtensions Operation</seealso> IAsyncResult BeginListExtensions(ListExtensionsRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the ListExtensions operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginListExtensions.</param> /// /// <returns>Returns a ListExtensionsResult from AppConfig.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListExtensions">REST API Reference for ListExtensions Operation</seealso> ListExtensionsResponse EndListExtensions(IAsyncResult asyncResult); #endregion #region ListHostedConfigurationVersions /// <summary> /// Lists configurations stored in the AppConfig hosted configuration store by version. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListHostedConfigurationVersions service method.</param> /// /// <returns>The response from the ListHostedConfigurationVersions service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListHostedConfigurationVersions">REST API Reference for ListHostedConfigurationVersions Operation</seealso> ListHostedConfigurationVersionsResponse ListHostedConfigurationVersions(ListHostedConfigurationVersionsRequest request); /// <summary> /// Initiates the asynchronous execution of the ListHostedConfigurationVersions operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ListHostedConfigurationVersions operation on AmazonAppConfigClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListHostedConfigurationVersions /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListHostedConfigurationVersions">REST API Reference for ListHostedConfigurationVersions Operation</seealso> IAsyncResult BeginListHostedConfigurationVersions(ListHostedConfigurationVersionsRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the ListHostedConfigurationVersions operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginListHostedConfigurationVersions.</param> /// /// <returns>Returns a ListHostedConfigurationVersionsResult from AppConfig.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListHostedConfigurationVersions">REST API Reference for ListHostedConfigurationVersions Operation</seealso> ListHostedConfigurationVersionsResponse EndListHostedConfigurationVersions(IAsyncResult asyncResult); #endregion #region ListTagsForResource /// <summary> /// Retrieves the list of key-value tags assigned to the resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListTagsForResource service method.</param> /// /// <returns>The response from the ListTagsForResource service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso> ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request); /// <summary> /// Initiates the asynchronous execution of the ListTagsForResource operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ListTagsForResource operation on AmazonAppConfigClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListTagsForResource /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso> IAsyncResult BeginListTagsForResource(ListTagsForResourceRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the ListTagsForResource operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginListTagsForResource.</param> /// /// <returns>Returns a ListTagsForResourceResult from AppConfig.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso> ListTagsForResourceResponse EndListTagsForResource(IAsyncResult asyncResult); #endregion #region StartDeployment /// <summary> /// Starts a deployment. /// </summary> /// <param name="request">Container for the necessary parameters to execute the StartDeployment service method.</param> /// /// <returns>The response from the StartDeployment service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/StartDeployment">REST API Reference for StartDeployment Operation</seealso> StartDeploymentResponse StartDeployment(StartDeploymentRequest request); /// <summary> /// Initiates the asynchronous execution of the StartDeployment operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the StartDeployment operation on AmazonAppConfigClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndStartDeployment /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/StartDeployment">REST API Reference for StartDeployment Operation</seealso> IAsyncResult BeginStartDeployment(StartDeploymentRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the StartDeployment operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginStartDeployment.</param> /// /// <returns>Returns a StartDeploymentResult from AppConfig.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/StartDeployment">REST API Reference for StartDeployment Operation</seealso> StartDeploymentResponse EndStartDeployment(IAsyncResult asyncResult); #endregion #region StopDeployment /// <summary> /// Stops a deployment. This API action works only on deployments that have a status of /// <code>DEPLOYING</code>. This action moves the deployment to a status of <code>ROLLED_BACK</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the StopDeployment service method.</param> /// /// <returns>The response from the StopDeployment service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/StopDeployment">REST API Reference for StopDeployment Operation</seealso> StopDeploymentResponse StopDeployment(StopDeploymentRequest request); /// <summary> /// Initiates the asynchronous execution of the StopDeployment operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the StopDeployment operation on AmazonAppConfigClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndStopDeployment /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/StopDeployment">REST API Reference for StopDeployment Operation</seealso> IAsyncResult BeginStopDeployment(StopDeploymentRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the StopDeployment operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginStopDeployment.</param> /// /// <returns>Returns a StopDeploymentResult from AppConfig.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/StopDeployment">REST API Reference for StopDeployment Operation</seealso> StopDeploymentResponse EndStopDeployment(IAsyncResult asyncResult); #endregion #region TagResource /// <summary> /// Assigns metadata to an AppConfig resource. Tags help organize and categorize your /// AppConfig resources. Each tag consists of a key and an optional value, both of which /// you define. You can specify a maximum of 50 tags for a resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the TagResource service method.</param> /// /// <returns>The response from the TagResource service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/TagResource">REST API Reference for TagResource Operation</seealso> TagResourceResponse TagResource(TagResourceRequest request); /// <summary> /// Initiates the asynchronous execution of the TagResource operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the TagResource operation on AmazonAppConfigClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndTagResource /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/TagResource">REST API Reference for TagResource Operation</seealso> IAsyncResult BeginTagResource(TagResourceRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the TagResource operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginTagResource.</param> /// /// <returns>Returns a TagResourceResult from AppConfig.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/TagResource">REST API Reference for TagResource Operation</seealso> TagResourceResponse EndTagResource(IAsyncResult asyncResult); #endregion #region UntagResource /// <summary> /// Deletes a tag key and value from an AppConfig resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UntagResource service method.</param> /// /// <returns>The response from the UntagResource service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UntagResource">REST API Reference for UntagResource Operation</seealso> UntagResourceResponse UntagResource(UntagResourceRequest request); /// <summary> /// Initiates the asynchronous execution of the UntagResource operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the UntagResource operation on AmazonAppConfigClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUntagResource /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UntagResource">REST API Reference for UntagResource Operation</seealso> IAsyncResult BeginUntagResource(UntagResourceRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the UntagResource operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginUntagResource.</param> /// /// <returns>Returns a UntagResourceResult from AppConfig.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UntagResource">REST API Reference for UntagResource Operation</seealso> UntagResourceResponse EndUntagResource(IAsyncResult asyncResult); #endregion #region UpdateApplication /// <summary> /// Updates an application. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateApplication service method.</param> /// /// <returns>The response from the UpdateApplication service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UpdateApplication">REST API Reference for UpdateApplication Operation</seealso> UpdateApplicationResponse UpdateApplication(UpdateApplicationRequest request); /// <summary> /// Initiates the asynchronous execution of the UpdateApplication operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the UpdateApplication operation on AmazonAppConfigClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateApplication /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UpdateApplication">REST API Reference for UpdateApplication Operation</seealso> IAsyncResult BeginUpdateApplication(UpdateApplicationRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the UpdateApplication operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateApplication.</param> /// /// <returns>Returns a UpdateApplicationResult from AppConfig.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UpdateApplication">REST API Reference for UpdateApplication Operation</seealso> UpdateApplicationResponse EndUpdateApplication(IAsyncResult asyncResult); #endregion #region UpdateConfigurationProfile /// <summary> /// Updates a configuration profile. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateConfigurationProfile service method.</param> /// /// <returns>The response from the UpdateConfigurationProfile service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UpdateConfigurationProfile">REST API Reference for UpdateConfigurationProfile Operation</seealso> UpdateConfigurationProfileResponse UpdateConfigurationProfile(UpdateConfigurationProfileRequest request); /// <summary> /// Initiates the asynchronous execution of the UpdateConfigurationProfile operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the UpdateConfigurationProfile operation on AmazonAppConfigClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateConfigurationProfile /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UpdateConfigurationProfile">REST API Reference for UpdateConfigurationProfile Operation</seealso> IAsyncResult BeginUpdateConfigurationProfile(UpdateConfigurationProfileRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the UpdateConfigurationProfile operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateConfigurationProfile.</param> /// /// <returns>Returns a UpdateConfigurationProfileResult from AppConfig.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UpdateConfigurationProfile">REST API Reference for UpdateConfigurationProfile Operation</seealso> UpdateConfigurationProfileResponse EndUpdateConfigurationProfile(IAsyncResult asyncResult); #endregion #region UpdateDeploymentStrategy /// <summary> /// Updates a deployment strategy. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateDeploymentStrategy service method.</param> /// /// <returns>The response from the UpdateDeploymentStrategy service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UpdateDeploymentStrategy">REST API Reference for UpdateDeploymentStrategy Operation</seealso> UpdateDeploymentStrategyResponse UpdateDeploymentStrategy(UpdateDeploymentStrategyRequest request); /// <summary> /// Initiates the asynchronous execution of the UpdateDeploymentStrategy operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the UpdateDeploymentStrategy operation on AmazonAppConfigClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateDeploymentStrategy /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UpdateDeploymentStrategy">REST API Reference for UpdateDeploymentStrategy Operation</seealso> IAsyncResult BeginUpdateDeploymentStrategy(UpdateDeploymentStrategyRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the UpdateDeploymentStrategy operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateDeploymentStrategy.</param> /// /// <returns>Returns a UpdateDeploymentStrategyResult from AppConfig.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UpdateDeploymentStrategy">REST API Reference for UpdateDeploymentStrategy Operation</seealso> UpdateDeploymentStrategyResponse EndUpdateDeploymentStrategy(IAsyncResult asyncResult); #endregion #region UpdateEnvironment /// <summary> /// Updates an environment. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateEnvironment service method.</param> /// /// <returns>The response from the UpdateEnvironment service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UpdateEnvironment">REST API Reference for UpdateEnvironment Operation</seealso> UpdateEnvironmentResponse UpdateEnvironment(UpdateEnvironmentRequest request); /// <summary> /// Initiates the asynchronous execution of the UpdateEnvironment operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the UpdateEnvironment operation on AmazonAppConfigClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateEnvironment /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UpdateEnvironment">REST API Reference for UpdateEnvironment Operation</seealso> IAsyncResult BeginUpdateEnvironment(UpdateEnvironmentRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the UpdateEnvironment operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateEnvironment.</param> /// /// <returns>Returns a UpdateEnvironmentResult from AppConfig.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UpdateEnvironment">REST API Reference for UpdateEnvironment Operation</seealso> UpdateEnvironmentResponse EndUpdateEnvironment(IAsyncResult asyncResult); #endregion #region UpdateExtension /// <summary> /// Updates an AppConfig extension. For more information about extensions, see <a href="https://docs.aws.amazon.com/appconfig/latest/userguide/working-with-appconfig-extensions.html">Working /// with AppConfig extensions</a> in the <i>AppConfig User Guide</i>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateExtension service method.</param> /// /// <returns>The response from the UpdateExtension service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UpdateExtension">REST API Reference for UpdateExtension Operation</seealso> UpdateExtensionResponse UpdateExtension(UpdateExtensionRequest request); /// <summary> /// Initiates the asynchronous execution of the UpdateExtension operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the UpdateExtension operation on AmazonAppConfigClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateExtension /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UpdateExtension">REST API Reference for UpdateExtension Operation</seealso> IAsyncResult BeginUpdateExtension(UpdateExtensionRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the UpdateExtension operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateExtension.</param> /// /// <returns>Returns a UpdateExtensionResult from AppConfig.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UpdateExtension">REST API Reference for UpdateExtension Operation</seealso> UpdateExtensionResponse EndUpdateExtension(IAsyncResult asyncResult); #endregion #region UpdateExtensionAssociation /// <summary> /// Updates an association. For more information about extensions and associations, see /// <a href="https://docs.aws.amazon.com/appconfig/latest/userguide/working-with-appconfig-extensions.html">Working /// with AppConfig extensions</a> in the <i>AppConfig User Guide</i>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateExtensionAssociation service method.</param> /// /// <returns>The response from the UpdateExtensionAssociation service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UpdateExtensionAssociation">REST API Reference for UpdateExtensionAssociation Operation</seealso> UpdateExtensionAssociationResponse UpdateExtensionAssociation(UpdateExtensionAssociationRequest request); /// <summary> /// Initiates the asynchronous execution of the UpdateExtensionAssociation operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the UpdateExtensionAssociation operation on AmazonAppConfigClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateExtensionAssociation /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UpdateExtensionAssociation">REST API Reference for UpdateExtensionAssociation Operation</seealso> IAsyncResult BeginUpdateExtensionAssociation(UpdateExtensionAssociationRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the UpdateExtensionAssociation operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateExtensionAssociation.</param> /// /// <returns>Returns a UpdateExtensionAssociationResult from AppConfig.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UpdateExtensionAssociation">REST API Reference for UpdateExtensionAssociation Operation</seealso> UpdateExtensionAssociationResponse EndUpdateExtensionAssociation(IAsyncResult asyncResult); #endregion #region ValidateConfiguration /// <summary> /// Uses the validators in a configuration profile to validate a configuration. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ValidateConfiguration service method.</param> /// /// <returns>The response from the ValidateConfiguration service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ValidateConfiguration">REST API Reference for ValidateConfiguration Operation</seealso> ValidateConfigurationResponse ValidateConfiguration(ValidateConfigurationRequest request); /// <summary> /// Initiates the asynchronous execution of the ValidateConfiguration operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ValidateConfiguration operation on AmazonAppConfigClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndValidateConfiguration /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ValidateConfiguration">REST API Reference for ValidateConfiguration Operation</seealso> IAsyncResult BeginValidateConfiguration(ValidateConfigurationRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the ValidateConfiguration operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginValidateConfiguration.</param> /// /// <returns>Returns a ValidateConfigurationResult from AppConfig.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ValidateConfiguration">REST API Reference for ValidateConfiguration Operation</seealso> ValidateConfigurationResponse EndValidateConfiguration(IAsyncResult asyncResult); #endregion } }
2,357
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appconfig-2019-10-09.normal.json service model. */ using System; using System.Runtime.ExceptionServices; using System.Threading; using System.Threading.Tasks; using System.Collections.Generic; using System.Net; using Amazon.AppConfig.Model; using Amazon.AppConfig.Model.Internal.MarshallTransformations; using Amazon.AppConfig.Internal; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Auth; using Amazon.Runtime.Internal.Transform; namespace Amazon.AppConfig { /// <summary> /// Implementation for accessing AppConfig /// /// Use AppConfig, a capability of Amazon Web Services Systems Manager, to create, manage, /// and quickly deploy application configurations. AppConfig supports controlled deployments /// to applications of any size and includes built-in validation checks and monitoring. /// You can use AppConfig with applications hosted on Amazon EC2 instances, Lambda, containers, /// mobile applications, or IoT devices. /// /// /// <para> /// To prevent errors when deploying application configurations, especially for production /// systems where a simple typo could cause an unexpected outage, AppConfig includes validators. /// A validator provides a syntactic or semantic check to ensure that the configuration /// you want to deploy works as intended. To validate your application configuration data, /// you provide a schema or an Amazon Web Services Lambda function that runs against the /// configuration. The configuration deployment or update can only proceed when the configuration /// data is valid. /// </para> /// /// <para> /// During a configuration deployment, AppConfig monitors the application to ensure that /// the deployment is successful. If the system encounters an error, AppConfig rolls back /// the change to minimize impact for your application users. You can configure a deployment /// strategy for each application or environment that includes deployment criteria, including /// velocity, bake time, and alarms to monitor. Similar to error monitoring, if a deployment /// triggers an alarm, AppConfig automatically rolls back to the previous version. /// </para> /// /// <para> /// AppConfig supports multiple use cases. Here are some examples: /// </para> /// <ul> <li> /// <para> /// <b>Feature flags</b>: Use AppConfig to turn on new features that require a timely /// deployment, such as a product launch or announcement. /// </para> /// </li> <li> /// <para> /// <b>Application tuning</b>: Use AppConfig to carefully introduce changes to your application /// that can only be tested with production traffic. /// </para> /// </li> <li> /// <para> /// <b>Allow list</b>: Use AppConfig to allow premium subscribers to access paid content. /// /// </para> /// </li> <li> /// <para> /// <b>Operational issues</b>: Use AppConfig to reduce stress on your application when /// a dependency or other external factor impacts the system. /// </para> /// </li> </ul> /// <para> /// This reference is intended to be used with the <a href="http://docs.aws.amazon.com/appconfig/latest/userguide/what-is-appconfig.html">AppConfig /// User Guide</a>. /// </para> /// </summary> public partial class AmazonAppConfigClient : AmazonServiceClient, IAmazonAppConfig { private static IServiceMetadata serviceMetadata = new AmazonAppConfigMetadata(); private IAppConfigPaginatorFactory _paginators; /// <summary> /// Paginators for the service /// </summary> public IAppConfigPaginatorFactory Paginators { get { if (this._paginators == null) { this._paginators = new AppConfigPaginatorFactory(this); } return this._paginators; } } #region Constructors /// <summary> /// Constructs AmazonAppConfigClient with the credentials loaded from the application's /// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. /// /// Example App.config with credentials set. /// <code> /// &lt;?xml version="1.0" encoding="utf-8" ?&gt; /// &lt;configuration&gt; /// &lt;appSettings&gt; /// &lt;add key="AWSProfileName" value="AWS Default"/&gt; /// &lt;/appSettings&gt; /// &lt;/configuration&gt; /// </code> /// /// </summary> public AmazonAppConfigClient() : base(FallbackCredentialsFactory.GetCredentials(), new AmazonAppConfigConfig()) { } /// <summary> /// Constructs AmazonAppConfigClient with the credentials loaded from the application's /// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. /// /// Example App.config with credentials set. /// <code> /// &lt;?xml version="1.0" encoding="utf-8" ?&gt; /// &lt;configuration&gt; /// &lt;appSettings&gt; /// &lt;add key="AWSProfileName" value="AWS Default"/&gt; /// &lt;/appSettings&gt; /// &lt;/configuration&gt; /// </code> /// /// </summary> /// <param name="region">The region to connect.</param> public AmazonAppConfigClient(RegionEndpoint region) : base(FallbackCredentialsFactory.GetCredentials(), new AmazonAppConfigConfig{RegionEndpoint = region}) { } /// <summary> /// Constructs AmazonAppConfigClient with the credentials loaded from the application's /// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. /// /// Example App.config with credentials set. /// <code> /// &lt;?xml version="1.0" encoding="utf-8" ?&gt; /// &lt;configuration&gt; /// &lt;appSettings&gt; /// &lt;add key="AWSProfileName" value="AWS Default"/&gt; /// &lt;/appSettings&gt; /// &lt;/configuration&gt; /// </code> /// /// </summary> /// <param name="config">The AmazonAppConfigClient Configuration Object</param> public AmazonAppConfigClient(AmazonAppConfigConfig config) : base(FallbackCredentialsFactory.GetCredentials(), config) { } /// <summary> /// Constructs AmazonAppConfigClient with AWS Credentials /// </summary> /// <param name="credentials">AWS Credentials</param> public AmazonAppConfigClient(AWSCredentials credentials) : this(credentials, new AmazonAppConfigConfig()) { } /// <summary> /// Constructs AmazonAppConfigClient with AWS Credentials /// </summary> /// <param name="credentials">AWS Credentials</param> /// <param name="region">The region to connect.</param> public AmazonAppConfigClient(AWSCredentials credentials, RegionEndpoint region) : this(credentials, new AmazonAppConfigConfig{RegionEndpoint = region}) { } /// <summary> /// Constructs AmazonAppConfigClient with AWS Credentials and an /// AmazonAppConfigClient Configuration object. /// </summary> /// <param name="credentials">AWS Credentials</param> /// <param name="clientConfig">The AmazonAppConfigClient Configuration Object</param> public AmazonAppConfigClient(AWSCredentials credentials, AmazonAppConfigConfig clientConfig) : base(credentials, clientConfig) { } /// <summary> /// Constructs AmazonAppConfigClient with AWS Access Key ID and AWS Secret Key /// </summary> /// <param name="awsAccessKeyId">AWS Access Key ID</param> /// <param name="awsSecretAccessKey">AWS Secret Access Key</param> public AmazonAppConfigClient(string awsAccessKeyId, string awsSecretAccessKey) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonAppConfigConfig()) { } /// <summary> /// Constructs AmazonAppConfigClient with AWS Access Key ID and AWS Secret Key /// </summary> /// <param name="awsAccessKeyId">AWS Access Key ID</param> /// <param name="awsSecretAccessKey">AWS Secret Access Key</param> /// <param name="region">The region to connect.</param> public AmazonAppConfigClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonAppConfigConfig() {RegionEndpoint=region}) { } /// <summary> /// Constructs AmazonAppConfigClient with AWS Access Key ID, AWS Secret Key and an /// AmazonAppConfigClient Configuration object. /// </summary> /// <param name="awsAccessKeyId">AWS Access Key ID</param> /// <param name="awsSecretAccessKey">AWS Secret Access Key</param> /// <param name="clientConfig">The AmazonAppConfigClient Configuration Object</param> public AmazonAppConfigClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonAppConfigConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, clientConfig) { } /// <summary> /// Constructs AmazonAppConfigClient with AWS Access Key ID and AWS Secret Key /// </summary> /// <param name="awsAccessKeyId">AWS Access Key ID</param> /// <param name="awsSecretAccessKey">AWS Secret Access Key</param> /// <param name="awsSessionToken">AWS Session Token</param> public AmazonAppConfigClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonAppConfigConfig()) { } /// <summary> /// Constructs AmazonAppConfigClient with AWS Access Key ID and AWS Secret Key /// </summary> /// <param name="awsAccessKeyId">AWS Access Key ID</param> /// <param name="awsSecretAccessKey">AWS Secret Access Key</param> /// <param name="awsSessionToken">AWS Session Token</param> /// <param name="region">The region to connect.</param> public AmazonAppConfigClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonAppConfigConfig{RegionEndpoint = region}) { } /// <summary> /// Constructs AmazonAppConfigClient with AWS Access Key ID, AWS Secret Key and an /// AmazonAppConfigClient Configuration object. /// </summary> /// <param name="awsAccessKeyId">AWS Access Key ID</param> /// <param name="awsSecretAccessKey">AWS Secret Access Key</param> /// <param name="awsSessionToken">AWS Session Token</param> /// <param name="clientConfig">The AmazonAppConfigClient Configuration Object</param> public AmazonAppConfigClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonAppConfigConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig) { } #endregion #region Overrides /// <summary> /// Creates the signer for the service. /// </summary> protected override AbstractAWSSigner CreateSigner() { return new AWS4Signer(); } /// <summary> /// Customize the pipeline /// </summary> /// <param name="pipeline"></param> protected override void CustomizeRuntimePipeline(RuntimePipeline pipeline) { pipeline.RemoveHandler<Amazon.Runtime.Internal.EndpointResolver>(); pipeline.AddHandlerAfter<Amazon.Runtime.Internal.Marshaller>(new AmazonAppConfigEndpointResolver()); } /// <summary> /// Capture metadata for the service. /// </summary> protected override IServiceMetadata ServiceMetadata { get { return serviceMetadata; } } #endregion #region Dispose /// <summary> /// Disposes the service client. /// </summary> protected override void Dispose(bool disposing) { base.Dispose(disposing); } #endregion #region CreateApplication /// <summary> /// Creates an application. In AppConfig, an application is simply an organizational construct /// like a folder. This organizational construct has a relationship with some unit of /// executable code. For example, you could create an application called MyMobileApp to /// organize and manage configuration data for a mobile application installed by your /// users. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateApplication service method.</param> /// /// <returns>The response from the CreateApplication service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateApplication">REST API Reference for CreateApplication Operation</seealso> public virtual CreateApplicationResponse CreateApplication(CreateApplicationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateApplicationRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateApplicationResponseUnmarshaller.Instance; return Invoke<CreateApplicationResponse>(request, options); } /// <summary> /// Creates an application. In AppConfig, an application is simply an organizational construct /// like a folder. This organizational construct has a relationship with some unit of /// executable code. For example, you could create an application called MyMobileApp to /// organize and manage configuration data for a mobile application installed by your /// users. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateApplication service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateApplication service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateApplication">REST API Reference for CreateApplication Operation</seealso> public virtual Task<CreateApplicationResponse> CreateApplicationAsync(CreateApplicationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateApplicationRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateApplicationResponseUnmarshaller.Instance; return InvokeAsync<CreateApplicationResponse>(request, options, cancellationToken); } #endregion #region CreateConfigurationProfile /// <summary> /// Creates a configuration profile, which is information that enables AppConfig to access /// the configuration source. Valid configuration sources include the following: /// /// <ul> <li> /// <para> /// Configuration data in YAML, JSON, and other formats stored in the AppConfig hosted /// configuration store /// </para> /// </li> <li> /// <para> /// Configuration data stored as objects in an Amazon Simple Storage Service (Amazon S3) /// bucket /// </para> /// </li> <li> /// <para> /// Pipelines stored in CodePipeline /// </para> /// </li> <li> /// <para> /// Secrets stored in Secrets Manager /// </para> /// </li> <li> /// <para> /// Standard and secure string parameters stored in Amazon Web Services Systems Manager /// Parameter Store /// </para> /// </li> <li> /// <para> /// Configuration data in SSM documents stored in the Systems Manager document store /// </para> /// </li> </ul> /// <para> /// A configuration profile includes the following information: /// </para> /// <ul> <li> /// <para> /// The URI location of the configuration data. /// </para> /// </li> <li> /// <para> /// The Identity and Access Management (IAM) role that provides access to the configuration /// data. /// </para> /// </li> <li> /// <para> /// A validator for the configuration data. Available validators include either a JSON /// Schema or an Amazon Web Services Lambda function. /// </para> /// </li> </ul> /// <para> /// For more information, see <a href="http://docs.aws.amazon.com/appconfig/latest/userguide/appconfig-creating-configuration-and-profile.html">Create /// a Configuration and a Configuration Profile</a> in the <i>AppConfig User Guide</i>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateConfigurationProfile service method.</param> /// /// <returns>The response from the CreateConfigurationProfile service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateConfigurationProfile">REST API Reference for CreateConfigurationProfile Operation</seealso> public virtual CreateConfigurationProfileResponse CreateConfigurationProfile(CreateConfigurationProfileRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateConfigurationProfileRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateConfigurationProfileResponseUnmarshaller.Instance; return Invoke<CreateConfigurationProfileResponse>(request, options); } /// <summary> /// Creates a configuration profile, which is information that enables AppConfig to access /// the configuration source. Valid configuration sources include the following: /// /// <ul> <li> /// <para> /// Configuration data in YAML, JSON, and other formats stored in the AppConfig hosted /// configuration store /// </para> /// </li> <li> /// <para> /// Configuration data stored as objects in an Amazon Simple Storage Service (Amazon S3) /// bucket /// </para> /// </li> <li> /// <para> /// Pipelines stored in CodePipeline /// </para> /// </li> <li> /// <para> /// Secrets stored in Secrets Manager /// </para> /// </li> <li> /// <para> /// Standard and secure string parameters stored in Amazon Web Services Systems Manager /// Parameter Store /// </para> /// </li> <li> /// <para> /// Configuration data in SSM documents stored in the Systems Manager document store /// </para> /// </li> </ul> /// <para> /// A configuration profile includes the following information: /// </para> /// <ul> <li> /// <para> /// The URI location of the configuration data. /// </para> /// </li> <li> /// <para> /// The Identity and Access Management (IAM) role that provides access to the configuration /// data. /// </para> /// </li> <li> /// <para> /// A validator for the configuration data. Available validators include either a JSON /// Schema or an Amazon Web Services Lambda function. /// </para> /// </li> </ul> /// <para> /// For more information, see <a href="http://docs.aws.amazon.com/appconfig/latest/userguide/appconfig-creating-configuration-and-profile.html">Create /// a Configuration and a Configuration Profile</a> in the <i>AppConfig User Guide</i>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateConfigurationProfile service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateConfigurationProfile service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateConfigurationProfile">REST API Reference for CreateConfigurationProfile Operation</seealso> public virtual Task<CreateConfigurationProfileResponse> CreateConfigurationProfileAsync(CreateConfigurationProfileRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateConfigurationProfileRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateConfigurationProfileResponseUnmarshaller.Instance; return InvokeAsync<CreateConfigurationProfileResponse>(request, options, cancellationToken); } #endregion #region CreateDeploymentStrategy /// <summary> /// Creates a deployment strategy that defines important criteria for rolling out your /// configuration to the designated targets. A deployment strategy includes the overall /// duration required, a percentage of targets to receive the deployment during each interval, /// an algorithm that defines how percentage grows, and bake time. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateDeploymentStrategy service method.</param> /// /// <returns>The response from the CreateDeploymentStrategy service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateDeploymentStrategy">REST API Reference for CreateDeploymentStrategy Operation</seealso> public virtual CreateDeploymentStrategyResponse CreateDeploymentStrategy(CreateDeploymentStrategyRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateDeploymentStrategyRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateDeploymentStrategyResponseUnmarshaller.Instance; return Invoke<CreateDeploymentStrategyResponse>(request, options); } /// <summary> /// Creates a deployment strategy that defines important criteria for rolling out your /// configuration to the designated targets. A deployment strategy includes the overall /// duration required, a percentage of targets to receive the deployment during each interval, /// an algorithm that defines how percentage grows, and bake time. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateDeploymentStrategy service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateDeploymentStrategy service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateDeploymentStrategy">REST API Reference for CreateDeploymentStrategy Operation</seealso> public virtual Task<CreateDeploymentStrategyResponse> CreateDeploymentStrategyAsync(CreateDeploymentStrategyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateDeploymentStrategyRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateDeploymentStrategyResponseUnmarshaller.Instance; return InvokeAsync<CreateDeploymentStrategyResponse>(request, options, cancellationToken); } #endregion #region CreateEnvironment /// <summary> /// Creates an environment. For each application, you define one or more environments. /// An environment is a deployment group of AppConfig targets, such as applications in /// a <code>Beta</code> or <code>Production</code> environment. You can also define environments /// for application subcomponents such as the <code>Web</code>, <code>Mobile</code> and /// <code>Back-end</code> components for your application. You can configure Amazon CloudWatch /// alarms for each environment. The system monitors alarms during a configuration deployment. /// If an alarm is triggered, the system rolls back the configuration. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateEnvironment service method.</param> /// /// <returns>The response from the CreateEnvironment service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateEnvironment">REST API Reference for CreateEnvironment Operation</seealso> public virtual CreateEnvironmentResponse CreateEnvironment(CreateEnvironmentRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateEnvironmentRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateEnvironmentResponseUnmarshaller.Instance; return Invoke<CreateEnvironmentResponse>(request, options); } /// <summary> /// Creates an environment. For each application, you define one or more environments. /// An environment is a deployment group of AppConfig targets, such as applications in /// a <code>Beta</code> or <code>Production</code> environment. You can also define environments /// for application subcomponents such as the <code>Web</code>, <code>Mobile</code> and /// <code>Back-end</code> components for your application. You can configure Amazon CloudWatch /// alarms for each environment. The system monitors alarms during a configuration deployment. /// If an alarm is triggered, the system rolls back the configuration. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateEnvironment service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateEnvironment service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateEnvironment">REST API Reference for CreateEnvironment Operation</seealso> public virtual Task<CreateEnvironmentResponse> CreateEnvironmentAsync(CreateEnvironmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateEnvironmentRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateEnvironmentResponseUnmarshaller.Instance; return InvokeAsync<CreateEnvironmentResponse>(request, options, cancellationToken); } #endregion #region CreateExtension /// <summary> /// Creates an AppConfig extension. An extension augments your ability to inject logic /// or behavior at different points during the AppConfig workflow of creating or deploying /// a configuration. /// /// /// <para> /// You can create your own extensions or use the Amazon Web Services authored extensions /// provided by AppConfig. For most use cases, to create your own extension, you must /// create an Lambda function to perform any computation and processing defined in the /// extension. For more information about extensions, see <a href="https://docs.aws.amazon.com/appconfig/latest/userguide/working-with-appconfig-extensions.html">Working /// with AppConfig extensions</a> in the <i>AppConfig User Guide</i>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateExtension service method.</param> /// /// <returns>The response from the CreateExtension service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ServiceQuotaExceededException"> /// The number of hosted configuration versions exceeds the limit for the AppConfig hosted /// configuration store. Delete one or more versions and try again. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateExtension">REST API Reference for CreateExtension Operation</seealso> public virtual CreateExtensionResponse CreateExtension(CreateExtensionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateExtensionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateExtensionResponseUnmarshaller.Instance; return Invoke<CreateExtensionResponse>(request, options); } /// <summary> /// Creates an AppConfig extension. An extension augments your ability to inject logic /// or behavior at different points during the AppConfig workflow of creating or deploying /// a configuration. /// /// /// <para> /// You can create your own extensions or use the Amazon Web Services authored extensions /// provided by AppConfig. For most use cases, to create your own extension, you must /// create an Lambda function to perform any computation and processing defined in the /// extension. For more information about extensions, see <a href="https://docs.aws.amazon.com/appconfig/latest/userguide/working-with-appconfig-extensions.html">Working /// with AppConfig extensions</a> in the <i>AppConfig User Guide</i>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateExtension service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateExtension service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ServiceQuotaExceededException"> /// The number of hosted configuration versions exceeds the limit for the AppConfig hosted /// configuration store. Delete one or more versions and try again. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateExtension">REST API Reference for CreateExtension Operation</seealso> public virtual Task<CreateExtensionResponse> CreateExtensionAsync(CreateExtensionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateExtensionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateExtensionResponseUnmarshaller.Instance; return InvokeAsync<CreateExtensionResponse>(request, options, cancellationToken); } #endregion #region CreateExtensionAssociation /// <summary> /// When you create an extension or configure an Amazon Web Services authored extension, /// you associate the extension with an AppConfig application, environment, or configuration /// profile. For example, you can choose to run the <code>AppConfig deployment events /// to Amazon SNS</code> Amazon Web Services authored extension and receive notifications /// on an Amazon SNS topic anytime a configuration deployment is started for a specific /// application. Defining which extension to associate with an AppConfig resource is called /// an <i>extension association</i>. An extension association is a specified relationship /// between an extension and an AppConfig resource, such as an application or a configuration /// profile. For more information about extensions and associations, see <a href="https://docs.aws.amazon.com/appconfig/latest/userguide/working-with-appconfig-extensions.html">Working /// with AppConfig extensions</a> in the <i>AppConfig User Guide</i>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateExtensionAssociation service method.</param> /// /// <returns>The response from the CreateExtensionAssociation service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ServiceQuotaExceededException"> /// The number of hosted configuration versions exceeds the limit for the AppConfig hosted /// configuration store. Delete one or more versions and try again. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateExtensionAssociation">REST API Reference for CreateExtensionAssociation Operation</seealso> public virtual CreateExtensionAssociationResponse CreateExtensionAssociation(CreateExtensionAssociationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateExtensionAssociationRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateExtensionAssociationResponseUnmarshaller.Instance; return Invoke<CreateExtensionAssociationResponse>(request, options); } /// <summary> /// When you create an extension or configure an Amazon Web Services authored extension, /// you associate the extension with an AppConfig application, environment, or configuration /// profile. For example, you can choose to run the <code>AppConfig deployment events /// to Amazon SNS</code> Amazon Web Services authored extension and receive notifications /// on an Amazon SNS topic anytime a configuration deployment is started for a specific /// application. Defining which extension to associate with an AppConfig resource is called /// an <i>extension association</i>. An extension association is a specified relationship /// between an extension and an AppConfig resource, such as an application or a configuration /// profile. For more information about extensions and associations, see <a href="https://docs.aws.amazon.com/appconfig/latest/userguide/working-with-appconfig-extensions.html">Working /// with AppConfig extensions</a> in the <i>AppConfig User Guide</i>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateExtensionAssociation service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateExtensionAssociation service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ServiceQuotaExceededException"> /// The number of hosted configuration versions exceeds the limit for the AppConfig hosted /// configuration store. Delete one or more versions and try again. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateExtensionAssociation">REST API Reference for CreateExtensionAssociation Operation</seealso> public virtual Task<CreateExtensionAssociationResponse> CreateExtensionAssociationAsync(CreateExtensionAssociationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateExtensionAssociationRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateExtensionAssociationResponseUnmarshaller.Instance; return InvokeAsync<CreateExtensionAssociationResponse>(request, options, cancellationToken); } #endregion #region CreateHostedConfigurationVersion /// <summary> /// Creates a new configuration in the AppConfig hosted configuration store. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateHostedConfigurationVersion service method.</param> /// /// <returns>The response from the CreateHostedConfigurationVersion service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.PayloadTooLargeException"> /// The configuration size is too large. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ServiceQuotaExceededException"> /// The number of hosted configuration versions exceeds the limit for the AppConfig hosted /// configuration store. Delete one or more versions and try again. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateHostedConfigurationVersion">REST API Reference for CreateHostedConfigurationVersion Operation</seealso> public virtual CreateHostedConfigurationVersionResponse CreateHostedConfigurationVersion(CreateHostedConfigurationVersionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateHostedConfigurationVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateHostedConfigurationVersionResponseUnmarshaller.Instance; return Invoke<CreateHostedConfigurationVersionResponse>(request, options); } /// <summary> /// Creates a new configuration in the AppConfig hosted configuration store. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateHostedConfigurationVersion service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateHostedConfigurationVersion service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.PayloadTooLargeException"> /// The configuration size is too large. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ServiceQuotaExceededException"> /// The number of hosted configuration versions exceeds the limit for the AppConfig hosted /// configuration store. Delete one or more versions and try again. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateHostedConfigurationVersion">REST API Reference for CreateHostedConfigurationVersion Operation</seealso> public virtual Task<CreateHostedConfigurationVersionResponse> CreateHostedConfigurationVersionAsync(CreateHostedConfigurationVersionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateHostedConfigurationVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateHostedConfigurationVersionResponseUnmarshaller.Instance; return InvokeAsync<CreateHostedConfigurationVersionResponse>(request, options, cancellationToken); } #endregion #region DeleteApplication /// <summary> /// Deletes an application. Deleting an application does not delete a configuration from /// a host. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteApplication service method.</param> /// /// <returns>The response from the DeleteApplication service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteApplication">REST API Reference for DeleteApplication Operation</seealso> public virtual DeleteApplicationResponse DeleteApplication(DeleteApplicationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteApplicationRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteApplicationResponseUnmarshaller.Instance; return Invoke<DeleteApplicationResponse>(request, options); } /// <summary> /// Deletes an application. Deleting an application does not delete a configuration from /// a host. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteApplication service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteApplication service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteApplication">REST API Reference for DeleteApplication Operation</seealso> public virtual Task<DeleteApplicationResponse> DeleteApplicationAsync(DeleteApplicationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteApplicationRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteApplicationResponseUnmarshaller.Instance; return InvokeAsync<DeleteApplicationResponse>(request, options, cancellationToken); } #endregion #region DeleteConfigurationProfile /// <summary> /// Deletes a configuration profile. Deleting a configuration profile does not delete /// a configuration from a host. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteConfigurationProfile service method.</param> /// /// <returns>The response from the DeleteConfigurationProfile service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteConfigurationProfile">REST API Reference for DeleteConfigurationProfile Operation</seealso> public virtual DeleteConfigurationProfileResponse DeleteConfigurationProfile(DeleteConfigurationProfileRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteConfigurationProfileRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteConfigurationProfileResponseUnmarshaller.Instance; return Invoke<DeleteConfigurationProfileResponse>(request, options); } /// <summary> /// Deletes a configuration profile. Deleting a configuration profile does not delete /// a configuration from a host. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteConfigurationProfile service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteConfigurationProfile service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteConfigurationProfile">REST API Reference for DeleteConfigurationProfile Operation</seealso> public virtual Task<DeleteConfigurationProfileResponse> DeleteConfigurationProfileAsync(DeleteConfigurationProfileRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteConfigurationProfileRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteConfigurationProfileResponseUnmarshaller.Instance; return InvokeAsync<DeleteConfigurationProfileResponse>(request, options, cancellationToken); } #endregion #region DeleteDeploymentStrategy /// <summary> /// Deletes a deployment strategy. Deleting a deployment strategy does not delete a configuration /// from a host. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteDeploymentStrategy service method.</param> /// /// <returns>The response from the DeleteDeploymentStrategy service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteDeploymentStrategy">REST API Reference for DeleteDeploymentStrategy Operation</seealso> public virtual DeleteDeploymentStrategyResponse DeleteDeploymentStrategy(DeleteDeploymentStrategyRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteDeploymentStrategyRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteDeploymentStrategyResponseUnmarshaller.Instance; return Invoke<DeleteDeploymentStrategyResponse>(request, options); } /// <summary> /// Deletes a deployment strategy. Deleting a deployment strategy does not delete a configuration /// from a host. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteDeploymentStrategy service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteDeploymentStrategy service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteDeploymentStrategy">REST API Reference for DeleteDeploymentStrategy Operation</seealso> public virtual Task<DeleteDeploymentStrategyResponse> DeleteDeploymentStrategyAsync(DeleteDeploymentStrategyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteDeploymentStrategyRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteDeploymentStrategyResponseUnmarshaller.Instance; return InvokeAsync<DeleteDeploymentStrategyResponse>(request, options, cancellationToken); } #endregion #region DeleteEnvironment /// <summary> /// Deletes an environment. Deleting an environment does not delete a configuration from /// a host. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteEnvironment service method.</param> /// /// <returns>The response from the DeleteEnvironment service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteEnvironment">REST API Reference for DeleteEnvironment Operation</seealso> public virtual DeleteEnvironmentResponse DeleteEnvironment(DeleteEnvironmentRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteEnvironmentRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteEnvironmentResponseUnmarshaller.Instance; return Invoke<DeleteEnvironmentResponse>(request, options); } /// <summary> /// Deletes an environment. Deleting an environment does not delete a configuration from /// a host. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteEnvironment service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteEnvironment service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteEnvironment">REST API Reference for DeleteEnvironment Operation</seealso> public virtual Task<DeleteEnvironmentResponse> DeleteEnvironmentAsync(DeleteEnvironmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteEnvironmentRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteEnvironmentResponseUnmarshaller.Instance; return InvokeAsync<DeleteEnvironmentResponse>(request, options, cancellationToken); } #endregion #region DeleteExtension /// <summary> /// Deletes an AppConfig extension. You must delete all associations to an extension before /// you delete the extension. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteExtension service method.</param> /// /// <returns>The response from the DeleteExtension service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteExtension">REST API Reference for DeleteExtension Operation</seealso> public virtual DeleteExtensionResponse DeleteExtension(DeleteExtensionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteExtensionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteExtensionResponseUnmarshaller.Instance; return Invoke<DeleteExtensionResponse>(request, options); } /// <summary> /// Deletes an AppConfig extension. You must delete all associations to an extension before /// you delete the extension. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteExtension service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteExtension service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteExtension">REST API Reference for DeleteExtension Operation</seealso> public virtual Task<DeleteExtensionResponse> DeleteExtensionAsync(DeleteExtensionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteExtensionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteExtensionResponseUnmarshaller.Instance; return InvokeAsync<DeleteExtensionResponse>(request, options, cancellationToken); } #endregion #region DeleteExtensionAssociation /// <summary> /// Deletes an extension association. This action doesn't delete extensions defined in /// the association. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteExtensionAssociation service method.</param> /// /// <returns>The response from the DeleteExtensionAssociation service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteExtensionAssociation">REST API Reference for DeleteExtensionAssociation Operation</seealso> public virtual DeleteExtensionAssociationResponse DeleteExtensionAssociation(DeleteExtensionAssociationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteExtensionAssociationRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteExtensionAssociationResponseUnmarshaller.Instance; return Invoke<DeleteExtensionAssociationResponse>(request, options); } /// <summary> /// Deletes an extension association. This action doesn't delete extensions defined in /// the association. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteExtensionAssociation service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteExtensionAssociation service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteExtensionAssociation">REST API Reference for DeleteExtensionAssociation Operation</seealso> public virtual Task<DeleteExtensionAssociationResponse> DeleteExtensionAssociationAsync(DeleteExtensionAssociationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteExtensionAssociationRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteExtensionAssociationResponseUnmarshaller.Instance; return InvokeAsync<DeleteExtensionAssociationResponse>(request, options, cancellationToken); } #endregion #region DeleteHostedConfigurationVersion /// <summary> /// Deletes a version of a configuration from the AppConfig hosted configuration store. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteHostedConfigurationVersion service method.</param> /// /// <returns>The response from the DeleteHostedConfigurationVersion service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteHostedConfigurationVersion">REST API Reference for DeleteHostedConfigurationVersion Operation</seealso> public virtual DeleteHostedConfigurationVersionResponse DeleteHostedConfigurationVersion(DeleteHostedConfigurationVersionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteHostedConfigurationVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteHostedConfigurationVersionResponseUnmarshaller.Instance; return Invoke<DeleteHostedConfigurationVersionResponse>(request, options); } /// <summary> /// Deletes a version of a configuration from the AppConfig hosted configuration store. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteHostedConfigurationVersion service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteHostedConfigurationVersion service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteHostedConfigurationVersion">REST API Reference for DeleteHostedConfigurationVersion Operation</seealso> public virtual Task<DeleteHostedConfigurationVersionResponse> DeleteHostedConfigurationVersionAsync(DeleteHostedConfigurationVersionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteHostedConfigurationVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteHostedConfigurationVersionResponseUnmarshaller.Instance; return InvokeAsync<DeleteHostedConfigurationVersionResponse>(request, options, cancellationToken); } #endregion #region GetApplication /// <summary> /// Retrieves information about an application. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetApplication service method.</param> /// /// <returns>The response from the GetApplication service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetApplication">REST API Reference for GetApplication Operation</seealso> public virtual GetApplicationResponse GetApplication(GetApplicationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetApplicationRequestMarshaller.Instance; options.ResponseUnmarshaller = GetApplicationResponseUnmarshaller.Instance; return Invoke<GetApplicationResponse>(request, options); } /// <summary> /// Retrieves information about an application. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetApplication service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetApplication service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetApplication">REST API Reference for GetApplication Operation</seealso> public virtual Task<GetApplicationResponse> GetApplicationAsync(GetApplicationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetApplicationRequestMarshaller.Instance; options.ResponseUnmarshaller = GetApplicationResponseUnmarshaller.Instance; return InvokeAsync<GetApplicationResponse>(request, options, cancellationToken); } #endregion #region GetConfiguration /// <summary> /// (Deprecated) Retrieves the latest deployed configuration. /// /// <important> /// <para> /// Note the following important information. /// </para> /// <ul> <li> /// <para> /// This API action is deprecated. Calls to receive configuration data should use the /// <a href="https://docs.aws.amazon.com/appconfig/2019-10-09/APIReference/API_appconfigdata_StartConfigurationSession.html">StartConfigurationSession</a> /// and <a href="https://docs.aws.amazon.com/appconfig/2019-10-09/APIReference/API_appconfigdata_GetLatestConfiguration.html">GetLatestConfiguration</a> /// APIs instead. /// </para> /// </li> <li> /// <para> /// <code>GetConfiguration</code> is a priced call. For more information, see <a href="https://aws.amazon.com/systems-manager/pricing/">Pricing</a>. /// </para> /// </li> </ul> </important> /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetConfiguration service method.</param> /// /// <returns>The response from the GetConfiguration service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetConfiguration">REST API Reference for GetConfiguration Operation</seealso> [Obsolete("This API has been deprecated in favor of the GetLatestConfiguration API used in conjunction with StartConfigurationSession.")] public virtual GetConfigurationResponse GetConfiguration(GetConfigurationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = GetConfigurationResponseUnmarshaller.Instance; return Invoke<GetConfigurationResponse>(request, options); } /// <summary> /// (Deprecated) Retrieves the latest deployed configuration. /// /// <important> /// <para> /// Note the following important information. /// </para> /// <ul> <li> /// <para> /// This API action is deprecated. Calls to receive configuration data should use the /// <a href="https://docs.aws.amazon.com/appconfig/2019-10-09/APIReference/API_appconfigdata_StartConfigurationSession.html">StartConfigurationSession</a> /// and <a href="https://docs.aws.amazon.com/appconfig/2019-10-09/APIReference/API_appconfigdata_GetLatestConfiguration.html">GetLatestConfiguration</a> /// APIs instead. /// </para> /// </li> <li> /// <para> /// <code>GetConfiguration</code> is a priced call. For more information, see <a href="https://aws.amazon.com/systems-manager/pricing/">Pricing</a>. /// </para> /// </li> </ul> </important> /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetConfiguration service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetConfiguration service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetConfiguration">REST API Reference for GetConfiguration Operation</seealso> [Obsolete("This API has been deprecated in favor of the GetLatestConfiguration API used in conjunction with StartConfigurationSession.")] public virtual Task<GetConfigurationResponse> GetConfigurationAsync(GetConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = GetConfigurationResponseUnmarshaller.Instance; return InvokeAsync<GetConfigurationResponse>(request, options, cancellationToken); } #endregion #region GetConfigurationProfile /// <summary> /// Retrieves information about a configuration profile. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetConfigurationProfile service method.</param> /// /// <returns>The response from the GetConfigurationProfile service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetConfigurationProfile">REST API Reference for GetConfigurationProfile Operation</seealso> public virtual GetConfigurationProfileResponse GetConfigurationProfile(GetConfigurationProfileRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetConfigurationProfileRequestMarshaller.Instance; options.ResponseUnmarshaller = GetConfigurationProfileResponseUnmarshaller.Instance; return Invoke<GetConfigurationProfileResponse>(request, options); } /// <summary> /// Retrieves information about a configuration profile. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetConfigurationProfile service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetConfigurationProfile service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetConfigurationProfile">REST API Reference for GetConfigurationProfile Operation</seealso> public virtual Task<GetConfigurationProfileResponse> GetConfigurationProfileAsync(GetConfigurationProfileRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetConfigurationProfileRequestMarshaller.Instance; options.ResponseUnmarshaller = GetConfigurationProfileResponseUnmarshaller.Instance; return InvokeAsync<GetConfigurationProfileResponse>(request, options, cancellationToken); } #endregion #region GetDeployment /// <summary> /// Retrieves information about a configuration deployment. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetDeployment service method.</param> /// /// <returns>The response from the GetDeployment service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetDeployment">REST API Reference for GetDeployment Operation</seealso> public virtual GetDeploymentResponse GetDeployment(GetDeploymentRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetDeploymentRequestMarshaller.Instance; options.ResponseUnmarshaller = GetDeploymentResponseUnmarshaller.Instance; return Invoke<GetDeploymentResponse>(request, options); } /// <summary> /// Retrieves information about a configuration deployment. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetDeployment service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetDeployment service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetDeployment">REST API Reference for GetDeployment Operation</seealso> public virtual Task<GetDeploymentResponse> GetDeploymentAsync(GetDeploymentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetDeploymentRequestMarshaller.Instance; options.ResponseUnmarshaller = GetDeploymentResponseUnmarshaller.Instance; return InvokeAsync<GetDeploymentResponse>(request, options, cancellationToken); } #endregion #region GetDeploymentStrategy /// <summary> /// Retrieves information about a deployment strategy. A deployment strategy defines important /// criteria for rolling out your configuration to the designated targets. A deployment /// strategy includes the overall duration required, a percentage of targets to receive /// the deployment during each interval, an algorithm that defines how percentage grows, /// and bake time. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetDeploymentStrategy service method.</param> /// /// <returns>The response from the GetDeploymentStrategy service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetDeploymentStrategy">REST API Reference for GetDeploymentStrategy Operation</seealso> public virtual GetDeploymentStrategyResponse GetDeploymentStrategy(GetDeploymentStrategyRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetDeploymentStrategyRequestMarshaller.Instance; options.ResponseUnmarshaller = GetDeploymentStrategyResponseUnmarshaller.Instance; return Invoke<GetDeploymentStrategyResponse>(request, options); } /// <summary> /// Retrieves information about a deployment strategy. A deployment strategy defines important /// criteria for rolling out your configuration to the designated targets. A deployment /// strategy includes the overall duration required, a percentage of targets to receive /// the deployment during each interval, an algorithm that defines how percentage grows, /// and bake time. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetDeploymentStrategy service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetDeploymentStrategy service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetDeploymentStrategy">REST API Reference for GetDeploymentStrategy Operation</seealso> public virtual Task<GetDeploymentStrategyResponse> GetDeploymentStrategyAsync(GetDeploymentStrategyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetDeploymentStrategyRequestMarshaller.Instance; options.ResponseUnmarshaller = GetDeploymentStrategyResponseUnmarshaller.Instance; return InvokeAsync<GetDeploymentStrategyResponse>(request, options, cancellationToken); } #endregion #region GetEnvironment /// <summary> /// Retrieves information about an environment. An environment is a deployment group of /// AppConfig applications, such as applications in a <code>Production</code> environment /// or in an <code>EU_Region</code> environment. Each configuration deployment targets /// an environment. You can enable one or more Amazon CloudWatch alarms for an environment. /// If an alarm is triggered during a deployment, AppConfig roles back the configuration. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetEnvironment service method.</param> /// /// <returns>The response from the GetEnvironment service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetEnvironment">REST API Reference for GetEnvironment Operation</seealso> public virtual GetEnvironmentResponse GetEnvironment(GetEnvironmentRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetEnvironmentRequestMarshaller.Instance; options.ResponseUnmarshaller = GetEnvironmentResponseUnmarshaller.Instance; return Invoke<GetEnvironmentResponse>(request, options); } /// <summary> /// Retrieves information about an environment. An environment is a deployment group of /// AppConfig applications, such as applications in a <code>Production</code> environment /// or in an <code>EU_Region</code> environment. Each configuration deployment targets /// an environment. You can enable one or more Amazon CloudWatch alarms for an environment. /// If an alarm is triggered during a deployment, AppConfig roles back the configuration. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetEnvironment service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetEnvironment service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetEnvironment">REST API Reference for GetEnvironment Operation</seealso> public virtual Task<GetEnvironmentResponse> GetEnvironmentAsync(GetEnvironmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetEnvironmentRequestMarshaller.Instance; options.ResponseUnmarshaller = GetEnvironmentResponseUnmarshaller.Instance; return InvokeAsync<GetEnvironmentResponse>(request, options, cancellationToken); } #endregion #region GetExtension /// <summary> /// Returns information about an AppConfig extension. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetExtension service method.</param> /// /// <returns>The response from the GetExtension service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetExtension">REST API Reference for GetExtension Operation</seealso> public virtual GetExtensionResponse GetExtension(GetExtensionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetExtensionRequestMarshaller.Instance; options.ResponseUnmarshaller = GetExtensionResponseUnmarshaller.Instance; return Invoke<GetExtensionResponse>(request, options); } /// <summary> /// Returns information about an AppConfig extension. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetExtension service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetExtension service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetExtension">REST API Reference for GetExtension Operation</seealso> public virtual Task<GetExtensionResponse> GetExtensionAsync(GetExtensionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetExtensionRequestMarshaller.Instance; options.ResponseUnmarshaller = GetExtensionResponseUnmarshaller.Instance; return InvokeAsync<GetExtensionResponse>(request, options, cancellationToken); } #endregion #region GetExtensionAssociation /// <summary> /// Returns information about an AppConfig extension association. For more information /// about extensions and associations, see <a href="https://docs.aws.amazon.com/appconfig/latest/userguide/working-with-appconfig-extensions.html">Working /// with AppConfig extensions</a> in the <i>AppConfig User Guide</i>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetExtensionAssociation service method.</param> /// /// <returns>The response from the GetExtensionAssociation service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetExtensionAssociation">REST API Reference for GetExtensionAssociation Operation</seealso> public virtual GetExtensionAssociationResponse GetExtensionAssociation(GetExtensionAssociationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetExtensionAssociationRequestMarshaller.Instance; options.ResponseUnmarshaller = GetExtensionAssociationResponseUnmarshaller.Instance; return Invoke<GetExtensionAssociationResponse>(request, options); } /// <summary> /// Returns information about an AppConfig extension association. For more information /// about extensions and associations, see <a href="https://docs.aws.amazon.com/appconfig/latest/userguide/working-with-appconfig-extensions.html">Working /// with AppConfig extensions</a> in the <i>AppConfig User Guide</i>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetExtensionAssociation service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetExtensionAssociation service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetExtensionAssociation">REST API Reference for GetExtensionAssociation Operation</seealso> public virtual Task<GetExtensionAssociationResponse> GetExtensionAssociationAsync(GetExtensionAssociationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetExtensionAssociationRequestMarshaller.Instance; options.ResponseUnmarshaller = GetExtensionAssociationResponseUnmarshaller.Instance; return InvokeAsync<GetExtensionAssociationResponse>(request, options, cancellationToken); } #endregion #region GetHostedConfigurationVersion /// <summary> /// Retrieves information about a specific configuration version. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetHostedConfigurationVersion service method.</param> /// /// <returns>The response from the GetHostedConfigurationVersion service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetHostedConfigurationVersion">REST API Reference for GetHostedConfigurationVersion Operation</seealso> public virtual GetHostedConfigurationVersionResponse GetHostedConfigurationVersion(GetHostedConfigurationVersionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetHostedConfigurationVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = GetHostedConfigurationVersionResponseUnmarshaller.Instance; return Invoke<GetHostedConfigurationVersionResponse>(request, options); } /// <summary> /// Retrieves information about a specific configuration version. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetHostedConfigurationVersion service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetHostedConfigurationVersion service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetHostedConfigurationVersion">REST API Reference for GetHostedConfigurationVersion Operation</seealso> public virtual Task<GetHostedConfigurationVersionResponse> GetHostedConfigurationVersionAsync(GetHostedConfigurationVersionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetHostedConfigurationVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = GetHostedConfigurationVersionResponseUnmarshaller.Instance; return InvokeAsync<GetHostedConfigurationVersionResponse>(request, options, cancellationToken); } #endregion #region ListApplications /// <summary> /// Lists all applications in your Amazon Web Services account. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListApplications service method.</param> /// /// <returns>The response from the ListApplications service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListApplications">REST API Reference for ListApplications Operation</seealso> public virtual ListApplicationsResponse ListApplications(ListApplicationsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListApplicationsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListApplicationsResponseUnmarshaller.Instance; return Invoke<ListApplicationsResponse>(request, options); } /// <summary> /// Lists all applications in your Amazon Web Services account. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListApplications service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListApplications service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListApplications">REST API Reference for ListApplications Operation</seealso> public virtual Task<ListApplicationsResponse> ListApplicationsAsync(ListApplicationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListApplicationsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListApplicationsResponseUnmarshaller.Instance; return InvokeAsync<ListApplicationsResponse>(request, options, cancellationToken); } #endregion #region ListConfigurationProfiles /// <summary> /// Lists the configuration profiles for an application. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListConfigurationProfiles service method.</param> /// /// <returns>The response from the ListConfigurationProfiles service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListConfigurationProfiles">REST API Reference for ListConfigurationProfiles Operation</seealso> public virtual ListConfigurationProfilesResponse ListConfigurationProfiles(ListConfigurationProfilesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListConfigurationProfilesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListConfigurationProfilesResponseUnmarshaller.Instance; return Invoke<ListConfigurationProfilesResponse>(request, options); } /// <summary> /// Lists the configuration profiles for an application. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListConfigurationProfiles service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListConfigurationProfiles service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListConfigurationProfiles">REST API Reference for ListConfigurationProfiles Operation</seealso> public virtual Task<ListConfigurationProfilesResponse> ListConfigurationProfilesAsync(ListConfigurationProfilesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListConfigurationProfilesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListConfigurationProfilesResponseUnmarshaller.Instance; return InvokeAsync<ListConfigurationProfilesResponse>(request, options, cancellationToken); } #endregion #region ListDeployments /// <summary> /// Lists the deployments for an environment in descending deployment number order. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListDeployments service method.</param> /// /// <returns>The response from the ListDeployments service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListDeployments">REST API Reference for ListDeployments Operation</seealso> public virtual ListDeploymentsResponse ListDeployments(ListDeploymentsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListDeploymentsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListDeploymentsResponseUnmarshaller.Instance; return Invoke<ListDeploymentsResponse>(request, options); } /// <summary> /// Lists the deployments for an environment in descending deployment number order. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListDeployments service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListDeployments service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListDeployments">REST API Reference for ListDeployments Operation</seealso> public virtual Task<ListDeploymentsResponse> ListDeploymentsAsync(ListDeploymentsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListDeploymentsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListDeploymentsResponseUnmarshaller.Instance; return InvokeAsync<ListDeploymentsResponse>(request, options, cancellationToken); } #endregion #region ListDeploymentStrategies /// <summary> /// Lists deployment strategies. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListDeploymentStrategies service method.</param> /// /// <returns>The response from the ListDeploymentStrategies service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListDeploymentStrategies">REST API Reference for ListDeploymentStrategies Operation</seealso> public virtual ListDeploymentStrategiesResponse ListDeploymentStrategies(ListDeploymentStrategiesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListDeploymentStrategiesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListDeploymentStrategiesResponseUnmarshaller.Instance; return Invoke<ListDeploymentStrategiesResponse>(request, options); } /// <summary> /// Lists deployment strategies. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListDeploymentStrategies service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListDeploymentStrategies service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListDeploymentStrategies">REST API Reference for ListDeploymentStrategies Operation</seealso> public virtual Task<ListDeploymentStrategiesResponse> ListDeploymentStrategiesAsync(ListDeploymentStrategiesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListDeploymentStrategiesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListDeploymentStrategiesResponseUnmarshaller.Instance; return InvokeAsync<ListDeploymentStrategiesResponse>(request, options, cancellationToken); } #endregion #region ListEnvironments /// <summary> /// Lists the environments for an application. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListEnvironments service method.</param> /// /// <returns>The response from the ListEnvironments service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListEnvironments">REST API Reference for ListEnvironments Operation</seealso> public virtual ListEnvironmentsResponse ListEnvironments(ListEnvironmentsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListEnvironmentsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListEnvironmentsResponseUnmarshaller.Instance; return Invoke<ListEnvironmentsResponse>(request, options); } /// <summary> /// Lists the environments for an application. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListEnvironments service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListEnvironments service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListEnvironments">REST API Reference for ListEnvironments Operation</seealso> public virtual Task<ListEnvironmentsResponse> ListEnvironmentsAsync(ListEnvironmentsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListEnvironmentsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListEnvironmentsResponseUnmarshaller.Instance; return InvokeAsync<ListEnvironmentsResponse>(request, options, cancellationToken); } #endregion #region ListExtensionAssociations /// <summary> /// Lists all AppConfig extension associations in the account. For more information about /// extensions and associations, see <a href="https://docs.aws.amazon.com/appconfig/latest/userguide/working-with-appconfig-extensions.html">Working /// with AppConfig extensions</a> in the <i>AppConfig User Guide</i>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListExtensionAssociations service method.</param> /// /// <returns>The response from the ListExtensionAssociations service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListExtensionAssociations">REST API Reference for ListExtensionAssociations Operation</seealso> public virtual ListExtensionAssociationsResponse ListExtensionAssociations(ListExtensionAssociationsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListExtensionAssociationsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListExtensionAssociationsResponseUnmarshaller.Instance; return Invoke<ListExtensionAssociationsResponse>(request, options); } /// <summary> /// Lists all AppConfig extension associations in the account. For more information about /// extensions and associations, see <a href="https://docs.aws.amazon.com/appconfig/latest/userguide/working-with-appconfig-extensions.html">Working /// with AppConfig extensions</a> in the <i>AppConfig User Guide</i>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListExtensionAssociations service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListExtensionAssociations service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListExtensionAssociations">REST API Reference for ListExtensionAssociations Operation</seealso> public virtual Task<ListExtensionAssociationsResponse> ListExtensionAssociationsAsync(ListExtensionAssociationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListExtensionAssociationsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListExtensionAssociationsResponseUnmarshaller.Instance; return InvokeAsync<ListExtensionAssociationsResponse>(request, options, cancellationToken); } #endregion #region ListExtensions /// <summary> /// Lists all custom and Amazon Web Services authored AppConfig extensions in the account. /// For more information about extensions, see <a href="https://docs.aws.amazon.com/appconfig/latest/userguide/working-with-appconfig-extensions.html">Working /// with AppConfig extensions</a> in the <i>AppConfig User Guide</i>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListExtensions service method.</param> /// /// <returns>The response from the ListExtensions service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListExtensions">REST API Reference for ListExtensions Operation</seealso> public virtual ListExtensionsResponse ListExtensions(ListExtensionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListExtensionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListExtensionsResponseUnmarshaller.Instance; return Invoke<ListExtensionsResponse>(request, options); } /// <summary> /// Lists all custom and Amazon Web Services authored AppConfig extensions in the account. /// For more information about extensions, see <a href="https://docs.aws.amazon.com/appconfig/latest/userguide/working-with-appconfig-extensions.html">Working /// with AppConfig extensions</a> in the <i>AppConfig User Guide</i>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListExtensions service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListExtensions service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListExtensions">REST API Reference for ListExtensions Operation</seealso> public virtual Task<ListExtensionsResponse> ListExtensionsAsync(ListExtensionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListExtensionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListExtensionsResponseUnmarshaller.Instance; return InvokeAsync<ListExtensionsResponse>(request, options, cancellationToken); } #endregion #region ListHostedConfigurationVersions /// <summary> /// Lists configurations stored in the AppConfig hosted configuration store by version. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListHostedConfigurationVersions service method.</param> /// /// <returns>The response from the ListHostedConfigurationVersions service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListHostedConfigurationVersions">REST API Reference for ListHostedConfigurationVersions Operation</seealso> public virtual ListHostedConfigurationVersionsResponse ListHostedConfigurationVersions(ListHostedConfigurationVersionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListHostedConfigurationVersionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListHostedConfigurationVersionsResponseUnmarshaller.Instance; return Invoke<ListHostedConfigurationVersionsResponse>(request, options); } /// <summary> /// Lists configurations stored in the AppConfig hosted configuration store by version. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListHostedConfigurationVersions service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListHostedConfigurationVersions service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListHostedConfigurationVersions">REST API Reference for ListHostedConfigurationVersions Operation</seealso> public virtual Task<ListHostedConfigurationVersionsResponse> ListHostedConfigurationVersionsAsync(ListHostedConfigurationVersionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListHostedConfigurationVersionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListHostedConfigurationVersionsResponseUnmarshaller.Instance; return InvokeAsync<ListHostedConfigurationVersionsResponse>(request, options, cancellationToken); } #endregion #region ListTagsForResource /// <summary> /// Retrieves the list of key-value tags assigned to the resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListTagsForResource service method.</param> /// /// <returns>The response from the ListTagsForResource service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso> public virtual ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance; return Invoke<ListTagsForResourceResponse>(request, options); } /// <summary> /// Retrieves the list of key-value tags assigned to the resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListTagsForResource service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListTagsForResource service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso> public virtual Task<ListTagsForResourceResponse> ListTagsForResourceAsync(ListTagsForResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance; return InvokeAsync<ListTagsForResourceResponse>(request, options, cancellationToken); } #endregion #region StartDeployment /// <summary> /// Starts a deployment. /// </summary> /// <param name="request">Container for the necessary parameters to execute the StartDeployment service method.</param> /// /// <returns>The response from the StartDeployment service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/StartDeployment">REST API Reference for StartDeployment Operation</seealso> public virtual StartDeploymentResponse StartDeployment(StartDeploymentRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = StartDeploymentRequestMarshaller.Instance; options.ResponseUnmarshaller = StartDeploymentResponseUnmarshaller.Instance; return Invoke<StartDeploymentResponse>(request, options); } /// <summary> /// Starts a deployment. /// </summary> /// <param name="request">Container for the necessary parameters to execute the StartDeployment service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the StartDeployment service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/StartDeployment">REST API Reference for StartDeployment Operation</seealso> public virtual Task<StartDeploymentResponse> StartDeploymentAsync(StartDeploymentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = StartDeploymentRequestMarshaller.Instance; options.ResponseUnmarshaller = StartDeploymentResponseUnmarshaller.Instance; return InvokeAsync<StartDeploymentResponse>(request, options, cancellationToken); } #endregion #region StopDeployment /// <summary> /// Stops a deployment. This API action works only on deployments that have a status of /// <code>DEPLOYING</code>. This action moves the deployment to a status of <code>ROLLED_BACK</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the StopDeployment service method.</param> /// /// <returns>The response from the StopDeployment service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/StopDeployment">REST API Reference for StopDeployment Operation</seealso> public virtual StopDeploymentResponse StopDeployment(StopDeploymentRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = StopDeploymentRequestMarshaller.Instance; options.ResponseUnmarshaller = StopDeploymentResponseUnmarshaller.Instance; return Invoke<StopDeploymentResponse>(request, options); } /// <summary> /// Stops a deployment. This API action works only on deployments that have a status of /// <code>DEPLOYING</code>. This action moves the deployment to a status of <code>ROLLED_BACK</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the StopDeployment service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the StopDeployment service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/StopDeployment">REST API Reference for StopDeployment Operation</seealso> public virtual Task<StopDeploymentResponse> StopDeploymentAsync(StopDeploymentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = StopDeploymentRequestMarshaller.Instance; options.ResponseUnmarshaller = StopDeploymentResponseUnmarshaller.Instance; return InvokeAsync<StopDeploymentResponse>(request, options, cancellationToken); } #endregion #region TagResource /// <summary> /// Assigns metadata to an AppConfig resource. Tags help organize and categorize your /// AppConfig resources. Each tag consists of a key and an optional value, both of which /// you define. You can specify a maximum of 50 tags for a resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the TagResource service method.</param> /// /// <returns>The response from the TagResource service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/TagResource">REST API Reference for TagResource Operation</seealso> public virtual TagResourceResponse TagResource(TagResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = TagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance; return Invoke<TagResourceResponse>(request, options); } /// <summary> /// Assigns metadata to an AppConfig resource. Tags help organize and categorize your /// AppConfig resources. Each tag consists of a key and an optional value, both of which /// you define. You can specify a maximum of 50 tags for a resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the TagResource service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the TagResource service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/TagResource">REST API Reference for TagResource Operation</seealso> public virtual Task<TagResourceResponse> TagResourceAsync(TagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = TagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance; return InvokeAsync<TagResourceResponse>(request, options, cancellationToken); } #endregion #region UntagResource /// <summary> /// Deletes a tag key and value from an AppConfig resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UntagResource service method.</param> /// /// <returns>The response from the UntagResource service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UntagResource">REST API Reference for UntagResource Operation</seealso> public virtual UntagResourceResponse UntagResource(UntagResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UntagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance; return Invoke<UntagResourceResponse>(request, options); } /// <summary> /// Deletes a tag key and value from an AppConfig resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UntagResource service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UntagResource service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UntagResource">REST API Reference for UntagResource Operation</seealso> public virtual Task<UntagResourceResponse> UntagResourceAsync(UntagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UntagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance; return InvokeAsync<UntagResourceResponse>(request, options, cancellationToken); } #endregion #region UpdateApplication /// <summary> /// Updates an application. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateApplication service method.</param> /// /// <returns>The response from the UpdateApplication service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UpdateApplication">REST API Reference for UpdateApplication Operation</seealso> public virtual UpdateApplicationResponse UpdateApplication(UpdateApplicationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateApplicationRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateApplicationResponseUnmarshaller.Instance; return Invoke<UpdateApplicationResponse>(request, options); } /// <summary> /// Updates an application. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateApplication service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateApplication service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UpdateApplication">REST API Reference for UpdateApplication Operation</seealso> public virtual Task<UpdateApplicationResponse> UpdateApplicationAsync(UpdateApplicationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateApplicationRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateApplicationResponseUnmarshaller.Instance; return InvokeAsync<UpdateApplicationResponse>(request, options, cancellationToken); } #endregion #region UpdateConfigurationProfile /// <summary> /// Updates a configuration profile. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateConfigurationProfile service method.</param> /// /// <returns>The response from the UpdateConfigurationProfile service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UpdateConfigurationProfile">REST API Reference for UpdateConfigurationProfile Operation</seealso> public virtual UpdateConfigurationProfileResponse UpdateConfigurationProfile(UpdateConfigurationProfileRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateConfigurationProfileRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateConfigurationProfileResponseUnmarshaller.Instance; return Invoke<UpdateConfigurationProfileResponse>(request, options); } /// <summary> /// Updates a configuration profile. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateConfigurationProfile service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateConfigurationProfile service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UpdateConfigurationProfile">REST API Reference for UpdateConfigurationProfile Operation</seealso> public virtual Task<UpdateConfigurationProfileResponse> UpdateConfigurationProfileAsync(UpdateConfigurationProfileRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateConfigurationProfileRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateConfigurationProfileResponseUnmarshaller.Instance; return InvokeAsync<UpdateConfigurationProfileResponse>(request, options, cancellationToken); } #endregion #region UpdateDeploymentStrategy /// <summary> /// Updates a deployment strategy. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateDeploymentStrategy service method.</param> /// /// <returns>The response from the UpdateDeploymentStrategy service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UpdateDeploymentStrategy">REST API Reference for UpdateDeploymentStrategy Operation</seealso> public virtual UpdateDeploymentStrategyResponse UpdateDeploymentStrategy(UpdateDeploymentStrategyRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateDeploymentStrategyRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateDeploymentStrategyResponseUnmarshaller.Instance; return Invoke<UpdateDeploymentStrategyResponse>(request, options); } /// <summary> /// Updates a deployment strategy. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateDeploymentStrategy service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateDeploymentStrategy service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UpdateDeploymentStrategy">REST API Reference for UpdateDeploymentStrategy Operation</seealso> public virtual Task<UpdateDeploymentStrategyResponse> UpdateDeploymentStrategyAsync(UpdateDeploymentStrategyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateDeploymentStrategyRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateDeploymentStrategyResponseUnmarshaller.Instance; return InvokeAsync<UpdateDeploymentStrategyResponse>(request, options, cancellationToken); } #endregion #region UpdateEnvironment /// <summary> /// Updates an environment. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateEnvironment service method.</param> /// /// <returns>The response from the UpdateEnvironment service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UpdateEnvironment">REST API Reference for UpdateEnvironment Operation</seealso> public virtual UpdateEnvironmentResponse UpdateEnvironment(UpdateEnvironmentRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateEnvironmentRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateEnvironmentResponseUnmarshaller.Instance; return Invoke<UpdateEnvironmentResponse>(request, options); } /// <summary> /// Updates an environment. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateEnvironment service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateEnvironment service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UpdateEnvironment">REST API Reference for UpdateEnvironment Operation</seealso> public virtual Task<UpdateEnvironmentResponse> UpdateEnvironmentAsync(UpdateEnvironmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateEnvironmentRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateEnvironmentResponseUnmarshaller.Instance; return InvokeAsync<UpdateEnvironmentResponse>(request, options, cancellationToken); } #endregion #region UpdateExtension /// <summary> /// Updates an AppConfig extension. For more information about extensions, see <a href="https://docs.aws.amazon.com/appconfig/latest/userguide/working-with-appconfig-extensions.html">Working /// with AppConfig extensions</a> in the <i>AppConfig User Guide</i>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateExtension service method.</param> /// /// <returns>The response from the UpdateExtension service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UpdateExtension">REST API Reference for UpdateExtension Operation</seealso> public virtual UpdateExtensionResponse UpdateExtension(UpdateExtensionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateExtensionRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateExtensionResponseUnmarshaller.Instance; return Invoke<UpdateExtensionResponse>(request, options); } /// <summary> /// Updates an AppConfig extension. For more information about extensions, see <a href="https://docs.aws.amazon.com/appconfig/latest/userguide/working-with-appconfig-extensions.html">Working /// with AppConfig extensions</a> in the <i>AppConfig User Guide</i>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateExtension service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateExtension service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UpdateExtension">REST API Reference for UpdateExtension Operation</seealso> public virtual Task<UpdateExtensionResponse> UpdateExtensionAsync(UpdateExtensionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateExtensionRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateExtensionResponseUnmarshaller.Instance; return InvokeAsync<UpdateExtensionResponse>(request, options, cancellationToken); } #endregion #region UpdateExtensionAssociation /// <summary> /// Updates an association. For more information about extensions and associations, see /// <a href="https://docs.aws.amazon.com/appconfig/latest/userguide/working-with-appconfig-extensions.html">Working /// with AppConfig extensions</a> in the <i>AppConfig User Guide</i>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateExtensionAssociation service method.</param> /// /// <returns>The response from the UpdateExtensionAssociation service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UpdateExtensionAssociation">REST API Reference for UpdateExtensionAssociation Operation</seealso> public virtual UpdateExtensionAssociationResponse UpdateExtensionAssociation(UpdateExtensionAssociationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateExtensionAssociationRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateExtensionAssociationResponseUnmarshaller.Instance; return Invoke<UpdateExtensionAssociationResponse>(request, options); } /// <summary> /// Updates an association. For more information about extensions and associations, see /// <a href="https://docs.aws.amazon.com/appconfig/latest/userguide/working-with-appconfig-extensions.html">Working /// with AppConfig extensions</a> in the <i>AppConfig User Guide</i>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateExtensionAssociation service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateExtensionAssociation service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UpdateExtensionAssociation">REST API Reference for UpdateExtensionAssociation Operation</seealso> public virtual Task<UpdateExtensionAssociationResponse> UpdateExtensionAssociationAsync(UpdateExtensionAssociationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateExtensionAssociationRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateExtensionAssociationResponseUnmarshaller.Instance; return InvokeAsync<UpdateExtensionAssociationResponse>(request, options, cancellationToken); } #endregion #region ValidateConfiguration /// <summary> /// Uses the validators in a configuration profile to validate a configuration. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ValidateConfiguration service method.</param> /// /// <returns>The response from the ValidateConfiguration service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ValidateConfiguration">REST API Reference for ValidateConfiguration Operation</seealso> public virtual ValidateConfigurationResponse ValidateConfiguration(ValidateConfigurationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ValidateConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = ValidateConfigurationResponseUnmarshaller.Instance; return Invoke<ValidateConfigurationResponse>(request, options); } /// <summary> /// Uses the validators in a configuration profile to validate a configuration. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ValidateConfiguration service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ValidateConfiguration service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ValidateConfiguration">REST API Reference for ValidateConfiguration Operation</seealso> public virtual Task<ValidateConfigurationResponse> ValidateConfigurationAsync(ValidateConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ValidateConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = ValidateConfigurationResponseUnmarshaller.Instance; return InvokeAsync<ValidateConfigurationResponse>(request, options, cancellationToken); } #endregion } }
3,151
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appconfig-2019-10-09.normal.json service model. */ using System; using System.Threading; using System.Threading.Tasks; using System.Collections.Generic; using Amazon.Runtime; using Amazon.AppConfig.Model; namespace Amazon.AppConfig { /// <summary> /// Interface for accessing AppConfig /// /// Use AppConfig, a capability of Amazon Web Services Systems Manager, to create, manage, /// and quickly deploy application configurations. AppConfig supports controlled deployments /// to applications of any size and includes built-in validation checks and monitoring. /// You can use AppConfig with applications hosted on Amazon EC2 instances, Lambda, containers, /// mobile applications, or IoT devices. /// /// /// <para> /// To prevent errors when deploying application configurations, especially for production /// systems where a simple typo could cause an unexpected outage, AppConfig includes validators. /// A validator provides a syntactic or semantic check to ensure that the configuration /// you want to deploy works as intended. To validate your application configuration data, /// you provide a schema or an Amazon Web Services Lambda function that runs against the /// configuration. The configuration deployment or update can only proceed when the configuration /// data is valid. /// </para> /// /// <para> /// During a configuration deployment, AppConfig monitors the application to ensure that /// the deployment is successful. If the system encounters an error, AppConfig rolls back /// the change to minimize impact for your application users. You can configure a deployment /// strategy for each application or environment that includes deployment criteria, including /// velocity, bake time, and alarms to monitor. Similar to error monitoring, if a deployment /// triggers an alarm, AppConfig automatically rolls back to the previous version. /// </para> /// /// <para> /// AppConfig supports multiple use cases. Here are some examples: /// </para> /// <ul> <li> /// <para> /// <b>Feature flags</b>: Use AppConfig to turn on new features that require a timely /// deployment, such as a product launch or announcement. /// </para> /// </li> <li> /// <para> /// <b>Application tuning</b>: Use AppConfig to carefully introduce changes to your application /// that can only be tested with production traffic. /// </para> /// </li> <li> /// <para> /// <b>Allow list</b>: Use AppConfig to allow premium subscribers to access paid content. /// /// </para> /// </li> <li> /// <para> /// <b>Operational issues</b>: Use AppConfig to reduce stress on your application when /// a dependency or other external factor impacts the system. /// </para> /// </li> </ul> /// <para> /// This reference is intended to be used with the <a href="http://docs.aws.amazon.com/appconfig/latest/userguide/what-is-appconfig.html">AppConfig /// User Guide</a>. /// </para> /// </summary> public partial interface IAmazonAppConfig : IAmazonService, IDisposable { /// <summary> /// Paginators for the service /// </summary> IAppConfigPaginatorFactory Paginators { get; } #region CreateApplication /// <summary> /// Creates an application. In AppConfig, an application is simply an organizational construct /// like a folder. This organizational construct has a relationship with some unit of /// executable code. For example, you could create an application called MyMobileApp to /// organize and manage configuration data for a mobile application installed by your /// users. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateApplication service method.</param> /// /// <returns>The response from the CreateApplication service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateApplication">REST API Reference for CreateApplication Operation</seealso> CreateApplicationResponse CreateApplication(CreateApplicationRequest request); /// <summary> /// Creates an application. In AppConfig, an application is simply an organizational construct /// like a folder. This organizational construct has a relationship with some unit of /// executable code. For example, you could create an application called MyMobileApp to /// organize and manage configuration data for a mobile application installed by your /// users. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateApplication service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateApplication service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateApplication">REST API Reference for CreateApplication Operation</seealso> Task<CreateApplicationResponse> CreateApplicationAsync(CreateApplicationRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateConfigurationProfile /// <summary> /// Creates a configuration profile, which is information that enables AppConfig to access /// the configuration source. Valid configuration sources include the following: /// /// <ul> <li> /// <para> /// Configuration data in YAML, JSON, and other formats stored in the AppConfig hosted /// configuration store /// </para> /// </li> <li> /// <para> /// Configuration data stored as objects in an Amazon Simple Storage Service (Amazon S3) /// bucket /// </para> /// </li> <li> /// <para> /// Pipelines stored in CodePipeline /// </para> /// </li> <li> /// <para> /// Secrets stored in Secrets Manager /// </para> /// </li> <li> /// <para> /// Standard and secure string parameters stored in Amazon Web Services Systems Manager /// Parameter Store /// </para> /// </li> <li> /// <para> /// Configuration data in SSM documents stored in the Systems Manager document store /// </para> /// </li> </ul> /// <para> /// A configuration profile includes the following information: /// </para> /// <ul> <li> /// <para> /// The URI location of the configuration data. /// </para> /// </li> <li> /// <para> /// The Identity and Access Management (IAM) role that provides access to the configuration /// data. /// </para> /// </li> <li> /// <para> /// A validator for the configuration data. Available validators include either a JSON /// Schema or an Amazon Web Services Lambda function. /// </para> /// </li> </ul> /// <para> /// For more information, see <a href="http://docs.aws.amazon.com/appconfig/latest/userguide/appconfig-creating-configuration-and-profile.html">Create /// a Configuration and a Configuration Profile</a> in the <i>AppConfig User Guide</i>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateConfigurationProfile service method.</param> /// /// <returns>The response from the CreateConfigurationProfile service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateConfigurationProfile">REST API Reference for CreateConfigurationProfile Operation</seealso> CreateConfigurationProfileResponse CreateConfigurationProfile(CreateConfigurationProfileRequest request); /// <summary> /// Creates a configuration profile, which is information that enables AppConfig to access /// the configuration source. Valid configuration sources include the following: /// /// <ul> <li> /// <para> /// Configuration data in YAML, JSON, and other formats stored in the AppConfig hosted /// configuration store /// </para> /// </li> <li> /// <para> /// Configuration data stored as objects in an Amazon Simple Storage Service (Amazon S3) /// bucket /// </para> /// </li> <li> /// <para> /// Pipelines stored in CodePipeline /// </para> /// </li> <li> /// <para> /// Secrets stored in Secrets Manager /// </para> /// </li> <li> /// <para> /// Standard and secure string parameters stored in Amazon Web Services Systems Manager /// Parameter Store /// </para> /// </li> <li> /// <para> /// Configuration data in SSM documents stored in the Systems Manager document store /// </para> /// </li> </ul> /// <para> /// A configuration profile includes the following information: /// </para> /// <ul> <li> /// <para> /// The URI location of the configuration data. /// </para> /// </li> <li> /// <para> /// The Identity and Access Management (IAM) role that provides access to the configuration /// data. /// </para> /// </li> <li> /// <para> /// A validator for the configuration data. Available validators include either a JSON /// Schema or an Amazon Web Services Lambda function. /// </para> /// </li> </ul> /// <para> /// For more information, see <a href="http://docs.aws.amazon.com/appconfig/latest/userguide/appconfig-creating-configuration-and-profile.html">Create /// a Configuration and a Configuration Profile</a> in the <i>AppConfig User Guide</i>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateConfigurationProfile service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateConfigurationProfile service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateConfigurationProfile">REST API Reference for CreateConfigurationProfile Operation</seealso> Task<CreateConfigurationProfileResponse> CreateConfigurationProfileAsync(CreateConfigurationProfileRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateDeploymentStrategy /// <summary> /// Creates a deployment strategy that defines important criteria for rolling out your /// configuration to the designated targets. A deployment strategy includes the overall /// duration required, a percentage of targets to receive the deployment during each interval, /// an algorithm that defines how percentage grows, and bake time. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateDeploymentStrategy service method.</param> /// /// <returns>The response from the CreateDeploymentStrategy service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateDeploymentStrategy">REST API Reference for CreateDeploymentStrategy Operation</seealso> CreateDeploymentStrategyResponse CreateDeploymentStrategy(CreateDeploymentStrategyRequest request); /// <summary> /// Creates a deployment strategy that defines important criteria for rolling out your /// configuration to the designated targets. A deployment strategy includes the overall /// duration required, a percentage of targets to receive the deployment during each interval, /// an algorithm that defines how percentage grows, and bake time. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateDeploymentStrategy service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateDeploymentStrategy service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateDeploymentStrategy">REST API Reference for CreateDeploymentStrategy Operation</seealso> Task<CreateDeploymentStrategyResponse> CreateDeploymentStrategyAsync(CreateDeploymentStrategyRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateEnvironment /// <summary> /// Creates an environment. For each application, you define one or more environments. /// An environment is a deployment group of AppConfig targets, such as applications in /// a <code>Beta</code> or <code>Production</code> environment. You can also define environments /// for application subcomponents such as the <code>Web</code>, <code>Mobile</code> and /// <code>Back-end</code> components for your application. You can configure Amazon CloudWatch /// alarms for each environment. The system monitors alarms during a configuration deployment. /// If an alarm is triggered, the system rolls back the configuration. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateEnvironment service method.</param> /// /// <returns>The response from the CreateEnvironment service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateEnvironment">REST API Reference for CreateEnvironment Operation</seealso> CreateEnvironmentResponse CreateEnvironment(CreateEnvironmentRequest request); /// <summary> /// Creates an environment. For each application, you define one or more environments. /// An environment is a deployment group of AppConfig targets, such as applications in /// a <code>Beta</code> or <code>Production</code> environment. You can also define environments /// for application subcomponents such as the <code>Web</code>, <code>Mobile</code> and /// <code>Back-end</code> components for your application. You can configure Amazon CloudWatch /// alarms for each environment. The system monitors alarms during a configuration deployment. /// If an alarm is triggered, the system rolls back the configuration. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateEnvironment service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateEnvironment service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateEnvironment">REST API Reference for CreateEnvironment Operation</seealso> Task<CreateEnvironmentResponse> CreateEnvironmentAsync(CreateEnvironmentRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateExtension /// <summary> /// Creates an AppConfig extension. An extension augments your ability to inject logic /// or behavior at different points during the AppConfig workflow of creating or deploying /// a configuration. /// /// /// <para> /// You can create your own extensions or use the Amazon Web Services authored extensions /// provided by AppConfig. For most use cases, to create your own extension, you must /// create an Lambda function to perform any computation and processing defined in the /// extension. For more information about extensions, see <a href="https://docs.aws.amazon.com/appconfig/latest/userguide/working-with-appconfig-extensions.html">Working /// with AppConfig extensions</a> in the <i>AppConfig User Guide</i>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateExtension service method.</param> /// /// <returns>The response from the CreateExtension service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ServiceQuotaExceededException"> /// The number of hosted configuration versions exceeds the limit for the AppConfig hosted /// configuration store. Delete one or more versions and try again. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateExtension">REST API Reference for CreateExtension Operation</seealso> CreateExtensionResponse CreateExtension(CreateExtensionRequest request); /// <summary> /// Creates an AppConfig extension. An extension augments your ability to inject logic /// or behavior at different points during the AppConfig workflow of creating or deploying /// a configuration. /// /// /// <para> /// You can create your own extensions or use the Amazon Web Services authored extensions /// provided by AppConfig. For most use cases, to create your own extension, you must /// create an Lambda function to perform any computation and processing defined in the /// extension. For more information about extensions, see <a href="https://docs.aws.amazon.com/appconfig/latest/userguide/working-with-appconfig-extensions.html">Working /// with AppConfig extensions</a> in the <i>AppConfig User Guide</i>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateExtension service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateExtension service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ServiceQuotaExceededException"> /// The number of hosted configuration versions exceeds the limit for the AppConfig hosted /// configuration store. Delete one or more versions and try again. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateExtension">REST API Reference for CreateExtension Operation</seealso> Task<CreateExtensionResponse> CreateExtensionAsync(CreateExtensionRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateExtensionAssociation /// <summary> /// When you create an extension or configure an Amazon Web Services authored extension, /// you associate the extension with an AppConfig application, environment, or configuration /// profile. For example, you can choose to run the <code>AppConfig deployment events /// to Amazon SNS</code> Amazon Web Services authored extension and receive notifications /// on an Amazon SNS topic anytime a configuration deployment is started for a specific /// application. Defining which extension to associate with an AppConfig resource is called /// an <i>extension association</i>. An extension association is a specified relationship /// between an extension and an AppConfig resource, such as an application or a configuration /// profile. For more information about extensions and associations, see <a href="https://docs.aws.amazon.com/appconfig/latest/userguide/working-with-appconfig-extensions.html">Working /// with AppConfig extensions</a> in the <i>AppConfig User Guide</i>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateExtensionAssociation service method.</param> /// /// <returns>The response from the CreateExtensionAssociation service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ServiceQuotaExceededException"> /// The number of hosted configuration versions exceeds the limit for the AppConfig hosted /// configuration store. Delete one or more versions and try again. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateExtensionAssociation">REST API Reference for CreateExtensionAssociation Operation</seealso> CreateExtensionAssociationResponse CreateExtensionAssociation(CreateExtensionAssociationRequest request); /// <summary> /// When you create an extension or configure an Amazon Web Services authored extension, /// you associate the extension with an AppConfig application, environment, or configuration /// profile. For example, you can choose to run the <code>AppConfig deployment events /// to Amazon SNS</code> Amazon Web Services authored extension and receive notifications /// on an Amazon SNS topic anytime a configuration deployment is started for a specific /// application. Defining which extension to associate with an AppConfig resource is called /// an <i>extension association</i>. An extension association is a specified relationship /// between an extension and an AppConfig resource, such as an application or a configuration /// profile. For more information about extensions and associations, see <a href="https://docs.aws.amazon.com/appconfig/latest/userguide/working-with-appconfig-extensions.html">Working /// with AppConfig extensions</a> in the <i>AppConfig User Guide</i>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateExtensionAssociation service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateExtensionAssociation service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ServiceQuotaExceededException"> /// The number of hosted configuration versions exceeds the limit for the AppConfig hosted /// configuration store. Delete one or more versions and try again. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateExtensionAssociation">REST API Reference for CreateExtensionAssociation Operation</seealso> Task<CreateExtensionAssociationResponse> CreateExtensionAssociationAsync(CreateExtensionAssociationRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateHostedConfigurationVersion /// <summary> /// Creates a new configuration in the AppConfig hosted configuration store. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateHostedConfigurationVersion service method.</param> /// /// <returns>The response from the CreateHostedConfigurationVersion service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.PayloadTooLargeException"> /// The configuration size is too large. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ServiceQuotaExceededException"> /// The number of hosted configuration versions exceeds the limit for the AppConfig hosted /// configuration store. Delete one or more versions and try again. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateHostedConfigurationVersion">REST API Reference for CreateHostedConfigurationVersion Operation</seealso> CreateHostedConfigurationVersionResponse CreateHostedConfigurationVersion(CreateHostedConfigurationVersionRequest request); /// <summary> /// Creates a new configuration in the AppConfig hosted configuration store. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateHostedConfigurationVersion service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateHostedConfigurationVersion service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.PayloadTooLargeException"> /// The configuration size is too large. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ServiceQuotaExceededException"> /// The number of hosted configuration versions exceeds the limit for the AppConfig hosted /// configuration store. Delete one or more versions and try again. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateHostedConfigurationVersion">REST API Reference for CreateHostedConfigurationVersion Operation</seealso> Task<CreateHostedConfigurationVersionResponse> CreateHostedConfigurationVersionAsync(CreateHostedConfigurationVersionRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteApplication /// <summary> /// Deletes an application. Deleting an application does not delete a configuration from /// a host. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteApplication service method.</param> /// /// <returns>The response from the DeleteApplication service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteApplication">REST API Reference for DeleteApplication Operation</seealso> DeleteApplicationResponse DeleteApplication(DeleteApplicationRequest request); /// <summary> /// Deletes an application. Deleting an application does not delete a configuration from /// a host. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteApplication service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteApplication service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteApplication">REST API Reference for DeleteApplication Operation</seealso> Task<DeleteApplicationResponse> DeleteApplicationAsync(DeleteApplicationRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteConfigurationProfile /// <summary> /// Deletes a configuration profile. Deleting a configuration profile does not delete /// a configuration from a host. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteConfigurationProfile service method.</param> /// /// <returns>The response from the DeleteConfigurationProfile service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteConfigurationProfile">REST API Reference for DeleteConfigurationProfile Operation</seealso> DeleteConfigurationProfileResponse DeleteConfigurationProfile(DeleteConfigurationProfileRequest request); /// <summary> /// Deletes a configuration profile. Deleting a configuration profile does not delete /// a configuration from a host. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteConfigurationProfile service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteConfigurationProfile service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteConfigurationProfile">REST API Reference for DeleteConfigurationProfile Operation</seealso> Task<DeleteConfigurationProfileResponse> DeleteConfigurationProfileAsync(DeleteConfigurationProfileRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteDeploymentStrategy /// <summary> /// Deletes a deployment strategy. Deleting a deployment strategy does not delete a configuration /// from a host. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteDeploymentStrategy service method.</param> /// /// <returns>The response from the DeleteDeploymentStrategy service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteDeploymentStrategy">REST API Reference for DeleteDeploymentStrategy Operation</seealso> DeleteDeploymentStrategyResponse DeleteDeploymentStrategy(DeleteDeploymentStrategyRequest request); /// <summary> /// Deletes a deployment strategy. Deleting a deployment strategy does not delete a configuration /// from a host. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteDeploymentStrategy service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteDeploymentStrategy service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteDeploymentStrategy">REST API Reference for DeleteDeploymentStrategy Operation</seealso> Task<DeleteDeploymentStrategyResponse> DeleteDeploymentStrategyAsync(DeleteDeploymentStrategyRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteEnvironment /// <summary> /// Deletes an environment. Deleting an environment does not delete a configuration from /// a host. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteEnvironment service method.</param> /// /// <returns>The response from the DeleteEnvironment service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteEnvironment">REST API Reference for DeleteEnvironment Operation</seealso> DeleteEnvironmentResponse DeleteEnvironment(DeleteEnvironmentRequest request); /// <summary> /// Deletes an environment. Deleting an environment does not delete a configuration from /// a host. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteEnvironment service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteEnvironment service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteEnvironment">REST API Reference for DeleteEnvironment Operation</seealso> Task<DeleteEnvironmentResponse> DeleteEnvironmentAsync(DeleteEnvironmentRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteExtension /// <summary> /// Deletes an AppConfig extension. You must delete all associations to an extension before /// you delete the extension. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteExtension service method.</param> /// /// <returns>The response from the DeleteExtension service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteExtension">REST API Reference for DeleteExtension Operation</seealso> DeleteExtensionResponse DeleteExtension(DeleteExtensionRequest request); /// <summary> /// Deletes an AppConfig extension. You must delete all associations to an extension before /// you delete the extension. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteExtension service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteExtension service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteExtension">REST API Reference for DeleteExtension Operation</seealso> Task<DeleteExtensionResponse> DeleteExtensionAsync(DeleteExtensionRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteExtensionAssociation /// <summary> /// Deletes an extension association. This action doesn't delete extensions defined in /// the association. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteExtensionAssociation service method.</param> /// /// <returns>The response from the DeleteExtensionAssociation service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteExtensionAssociation">REST API Reference for DeleteExtensionAssociation Operation</seealso> DeleteExtensionAssociationResponse DeleteExtensionAssociation(DeleteExtensionAssociationRequest request); /// <summary> /// Deletes an extension association. This action doesn't delete extensions defined in /// the association. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteExtensionAssociation service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteExtensionAssociation service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteExtensionAssociation">REST API Reference for DeleteExtensionAssociation Operation</seealso> Task<DeleteExtensionAssociationResponse> DeleteExtensionAssociationAsync(DeleteExtensionAssociationRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteHostedConfigurationVersion /// <summary> /// Deletes a version of a configuration from the AppConfig hosted configuration store. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteHostedConfigurationVersion service method.</param> /// /// <returns>The response from the DeleteHostedConfigurationVersion service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteHostedConfigurationVersion">REST API Reference for DeleteHostedConfigurationVersion Operation</seealso> DeleteHostedConfigurationVersionResponse DeleteHostedConfigurationVersion(DeleteHostedConfigurationVersionRequest request); /// <summary> /// Deletes a version of a configuration from the AppConfig hosted configuration store. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteHostedConfigurationVersion service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteHostedConfigurationVersion service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteHostedConfigurationVersion">REST API Reference for DeleteHostedConfigurationVersion Operation</seealso> Task<DeleteHostedConfigurationVersionResponse> DeleteHostedConfigurationVersionAsync(DeleteHostedConfigurationVersionRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetApplication /// <summary> /// Retrieves information about an application. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetApplication service method.</param> /// /// <returns>The response from the GetApplication service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetApplication">REST API Reference for GetApplication Operation</seealso> GetApplicationResponse GetApplication(GetApplicationRequest request); /// <summary> /// Retrieves information about an application. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetApplication service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetApplication service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetApplication">REST API Reference for GetApplication Operation</seealso> Task<GetApplicationResponse> GetApplicationAsync(GetApplicationRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetConfiguration /// <summary> /// (Deprecated) Retrieves the latest deployed configuration. /// /// <important> /// <para> /// Note the following important information. /// </para> /// <ul> <li> /// <para> /// This API action is deprecated. Calls to receive configuration data should use the /// <a href="https://docs.aws.amazon.com/appconfig/2019-10-09/APIReference/API_appconfigdata_StartConfigurationSession.html">StartConfigurationSession</a> /// and <a href="https://docs.aws.amazon.com/appconfig/2019-10-09/APIReference/API_appconfigdata_GetLatestConfiguration.html">GetLatestConfiguration</a> /// APIs instead. /// </para> /// </li> <li> /// <para> /// <code>GetConfiguration</code> is a priced call. For more information, see <a href="https://aws.amazon.com/systems-manager/pricing/">Pricing</a>. /// </para> /// </li> </ul> </important> /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetConfiguration service method.</param> /// /// <returns>The response from the GetConfiguration service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetConfiguration">REST API Reference for GetConfiguration Operation</seealso> [Obsolete("This API has been deprecated in favor of the GetLatestConfiguration API used in conjunction with StartConfigurationSession.")] GetConfigurationResponse GetConfiguration(GetConfigurationRequest request); /// <summary> /// (Deprecated) Retrieves the latest deployed configuration. /// /// <important> /// <para> /// Note the following important information. /// </para> /// <ul> <li> /// <para> /// This API action is deprecated. Calls to receive configuration data should use the /// <a href="https://docs.aws.amazon.com/appconfig/2019-10-09/APIReference/API_appconfigdata_StartConfigurationSession.html">StartConfigurationSession</a> /// and <a href="https://docs.aws.amazon.com/appconfig/2019-10-09/APIReference/API_appconfigdata_GetLatestConfiguration.html">GetLatestConfiguration</a> /// APIs instead. /// </para> /// </li> <li> /// <para> /// <code>GetConfiguration</code> is a priced call. For more information, see <a href="https://aws.amazon.com/systems-manager/pricing/">Pricing</a>. /// </para> /// </li> </ul> </important> /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetConfiguration service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetConfiguration service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetConfiguration">REST API Reference for GetConfiguration Operation</seealso> [Obsolete("This API has been deprecated in favor of the GetLatestConfiguration API used in conjunction with StartConfigurationSession.")] Task<GetConfigurationResponse> GetConfigurationAsync(GetConfigurationRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetConfigurationProfile /// <summary> /// Retrieves information about a configuration profile. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetConfigurationProfile service method.</param> /// /// <returns>The response from the GetConfigurationProfile service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetConfigurationProfile">REST API Reference for GetConfigurationProfile Operation</seealso> GetConfigurationProfileResponse GetConfigurationProfile(GetConfigurationProfileRequest request); /// <summary> /// Retrieves information about a configuration profile. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetConfigurationProfile service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetConfigurationProfile service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetConfigurationProfile">REST API Reference for GetConfigurationProfile Operation</seealso> Task<GetConfigurationProfileResponse> GetConfigurationProfileAsync(GetConfigurationProfileRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetDeployment /// <summary> /// Retrieves information about a configuration deployment. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetDeployment service method.</param> /// /// <returns>The response from the GetDeployment service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetDeployment">REST API Reference for GetDeployment Operation</seealso> GetDeploymentResponse GetDeployment(GetDeploymentRequest request); /// <summary> /// Retrieves information about a configuration deployment. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetDeployment service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetDeployment service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetDeployment">REST API Reference for GetDeployment Operation</seealso> Task<GetDeploymentResponse> GetDeploymentAsync(GetDeploymentRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetDeploymentStrategy /// <summary> /// Retrieves information about a deployment strategy. A deployment strategy defines important /// criteria for rolling out your configuration to the designated targets. A deployment /// strategy includes the overall duration required, a percentage of targets to receive /// the deployment during each interval, an algorithm that defines how percentage grows, /// and bake time. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetDeploymentStrategy service method.</param> /// /// <returns>The response from the GetDeploymentStrategy service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetDeploymentStrategy">REST API Reference for GetDeploymentStrategy Operation</seealso> GetDeploymentStrategyResponse GetDeploymentStrategy(GetDeploymentStrategyRequest request); /// <summary> /// Retrieves information about a deployment strategy. A deployment strategy defines important /// criteria for rolling out your configuration to the designated targets. A deployment /// strategy includes the overall duration required, a percentage of targets to receive /// the deployment during each interval, an algorithm that defines how percentage grows, /// and bake time. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetDeploymentStrategy service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetDeploymentStrategy service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetDeploymentStrategy">REST API Reference for GetDeploymentStrategy Operation</seealso> Task<GetDeploymentStrategyResponse> GetDeploymentStrategyAsync(GetDeploymentStrategyRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetEnvironment /// <summary> /// Retrieves information about an environment. An environment is a deployment group of /// AppConfig applications, such as applications in a <code>Production</code> environment /// or in an <code>EU_Region</code> environment. Each configuration deployment targets /// an environment. You can enable one or more Amazon CloudWatch alarms for an environment. /// If an alarm is triggered during a deployment, AppConfig roles back the configuration. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetEnvironment service method.</param> /// /// <returns>The response from the GetEnvironment service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetEnvironment">REST API Reference for GetEnvironment Operation</seealso> GetEnvironmentResponse GetEnvironment(GetEnvironmentRequest request); /// <summary> /// Retrieves information about an environment. An environment is a deployment group of /// AppConfig applications, such as applications in a <code>Production</code> environment /// or in an <code>EU_Region</code> environment. Each configuration deployment targets /// an environment. You can enable one or more Amazon CloudWatch alarms for an environment. /// If an alarm is triggered during a deployment, AppConfig roles back the configuration. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetEnvironment service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetEnvironment service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetEnvironment">REST API Reference for GetEnvironment Operation</seealso> Task<GetEnvironmentResponse> GetEnvironmentAsync(GetEnvironmentRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetExtension /// <summary> /// Returns information about an AppConfig extension. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetExtension service method.</param> /// /// <returns>The response from the GetExtension service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetExtension">REST API Reference for GetExtension Operation</seealso> GetExtensionResponse GetExtension(GetExtensionRequest request); /// <summary> /// Returns information about an AppConfig extension. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetExtension service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetExtension service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetExtension">REST API Reference for GetExtension Operation</seealso> Task<GetExtensionResponse> GetExtensionAsync(GetExtensionRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetExtensionAssociation /// <summary> /// Returns information about an AppConfig extension association. For more information /// about extensions and associations, see <a href="https://docs.aws.amazon.com/appconfig/latest/userguide/working-with-appconfig-extensions.html">Working /// with AppConfig extensions</a> in the <i>AppConfig User Guide</i>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetExtensionAssociation service method.</param> /// /// <returns>The response from the GetExtensionAssociation service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetExtensionAssociation">REST API Reference for GetExtensionAssociation Operation</seealso> GetExtensionAssociationResponse GetExtensionAssociation(GetExtensionAssociationRequest request); /// <summary> /// Returns information about an AppConfig extension association. For more information /// about extensions and associations, see <a href="https://docs.aws.amazon.com/appconfig/latest/userguide/working-with-appconfig-extensions.html">Working /// with AppConfig extensions</a> in the <i>AppConfig User Guide</i>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetExtensionAssociation service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetExtensionAssociation service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetExtensionAssociation">REST API Reference for GetExtensionAssociation Operation</seealso> Task<GetExtensionAssociationResponse> GetExtensionAssociationAsync(GetExtensionAssociationRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetHostedConfigurationVersion /// <summary> /// Retrieves information about a specific configuration version. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetHostedConfigurationVersion service method.</param> /// /// <returns>The response from the GetHostedConfigurationVersion service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetHostedConfigurationVersion">REST API Reference for GetHostedConfigurationVersion Operation</seealso> GetHostedConfigurationVersionResponse GetHostedConfigurationVersion(GetHostedConfigurationVersionRequest request); /// <summary> /// Retrieves information about a specific configuration version. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetHostedConfigurationVersion service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetHostedConfigurationVersion service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetHostedConfigurationVersion">REST API Reference for GetHostedConfigurationVersion Operation</seealso> Task<GetHostedConfigurationVersionResponse> GetHostedConfigurationVersionAsync(GetHostedConfigurationVersionRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListApplications /// <summary> /// Lists all applications in your Amazon Web Services account. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListApplications service method.</param> /// /// <returns>The response from the ListApplications service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListApplications">REST API Reference for ListApplications Operation</seealso> ListApplicationsResponse ListApplications(ListApplicationsRequest request); /// <summary> /// Lists all applications in your Amazon Web Services account. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListApplications service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListApplications service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListApplications">REST API Reference for ListApplications Operation</seealso> Task<ListApplicationsResponse> ListApplicationsAsync(ListApplicationsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListConfigurationProfiles /// <summary> /// Lists the configuration profiles for an application. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListConfigurationProfiles service method.</param> /// /// <returns>The response from the ListConfigurationProfiles service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListConfigurationProfiles">REST API Reference for ListConfigurationProfiles Operation</seealso> ListConfigurationProfilesResponse ListConfigurationProfiles(ListConfigurationProfilesRequest request); /// <summary> /// Lists the configuration profiles for an application. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListConfigurationProfiles service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListConfigurationProfiles service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListConfigurationProfiles">REST API Reference for ListConfigurationProfiles Operation</seealso> Task<ListConfigurationProfilesResponse> ListConfigurationProfilesAsync(ListConfigurationProfilesRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListDeployments /// <summary> /// Lists the deployments for an environment in descending deployment number order. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListDeployments service method.</param> /// /// <returns>The response from the ListDeployments service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListDeployments">REST API Reference for ListDeployments Operation</seealso> ListDeploymentsResponse ListDeployments(ListDeploymentsRequest request); /// <summary> /// Lists the deployments for an environment in descending deployment number order. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListDeployments service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListDeployments service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListDeployments">REST API Reference for ListDeployments Operation</seealso> Task<ListDeploymentsResponse> ListDeploymentsAsync(ListDeploymentsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListDeploymentStrategies /// <summary> /// Lists deployment strategies. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListDeploymentStrategies service method.</param> /// /// <returns>The response from the ListDeploymentStrategies service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListDeploymentStrategies">REST API Reference for ListDeploymentStrategies Operation</seealso> ListDeploymentStrategiesResponse ListDeploymentStrategies(ListDeploymentStrategiesRequest request); /// <summary> /// Lists deployment strategies. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListDeploymentStrategies service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListDeploymentStrategies service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListDeploymentStrategies">REST API Reference for ListDeploymentStrategies Operation</seealso> Task<ListDeploymentStrategiesResponse> ListDeploymentStrategiesAsync(ListDeploymentStrategiesRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListEnvironments /// <summary> /// Lists the environments for an application. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListEnvironments service method.</param> /// /// <returns>The response from the ListEnvironments service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListEnvironments">REST API Reference for ListEnvironments Operation</seealso> ListEnvironmentsResponse ListEnvironments(ListEnvironmentsRequest request); /// <summary> /// Lists the environments for an application. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListEnvironments service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListEnvironments service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListEnvironments">REST API Reference for ListEnvironments Operation</seealso> Task<ListEnvironmentsResponse> ListEnvironmentsAsync(ListEnvironmentsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListExtensionAssociations /// <summary> /// Lists all AppConfig extension associations in the account. For more information about /// extensions and associations, see <a href="https://docs.aws.amazon.com/appconfig/latest/userguide/working-with-appconfig-extensions.html">Working /// with AppConfig extensions</a> in the <i>AppConfig User Guide</i>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListExtensionAssociations service method.</param> /// /// <returns>The response from the ListExtensionAssociations service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListExtensionAssociations">REST API Reference for ListExtensionAssociations Operation</seealso> ListExtensionAssociationsResponse ListExtensionAssociations(ListExtensionAssociationsRequest request); /// <summary> /// Lists all AppConfig extension associations in the account. For more information about /// extensions and associations, see <a href="https://docs.aws.amazon.com/appconfig/latest/userguide/working-with-appconfig-extensions.html">Working /// with AppConfig extensions</a> in the <i>AppConfig User Guide</i>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListExtensionAssociations service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListExtensionAssociations service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListExtensionAssociations">REST API Reference for ListExtensionAssociations Operation</seealso> Task<ListExtensionAssociationsResponse> ListExtensionAssociationsAsync(ListExtensionAssociationsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListExtensions /// <summary> /// Lists all custom and Amazon Web Services authored AppConfig extensions in the account. /// For more information about extensions, see <a href="https://docs.aws.amazon.com/appconfig/latest/userguide/working-with-appconfig-extensions.html">Working /// with AppConfig extensions</a> in the <i>AppConfig User Guide</i>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListExtensions service method.</param> /// /// <returns>The response from the ListExtensions service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListExtensions">REST API Reference for ListExtensions Operation</seealso> ListExtensionsResponse ListExtensions(ListExtensionsRequest request); /// <summary> /// Lists all custom and Amazon Web Services authored AppConfig extensions in the account. /// For more information about extensions, see <a href="https://docs.aws.amazon.com/appconfig/latest/userguide/working-with-appconfig-extensions.html">Working /// with AppConfig extensions</a> in the <i>AppConfig User Guide</i>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListExtensions service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListExtensions service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListExtensions">REST API Reference for ListExtensions Operation</seealso> Task<ListExtensionsResponse> ListExtensionsAsync(ListExtensionsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListHostedConfigurationVersions /// <summary> /// Lists configurations stored in the AppConfig hosted configuration store by version. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListHostedConfigurationVersions service method.</param> /// /// <returns>The response from the ListHostedConfigurationVersions service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListHostedConfigurationVersions">REST API Reference for ListHostedConfigurationVersions Operation</seealso> ListHostedConfigurationVersionsResponse ListHostedConfigurationVersions(ListHostedConfigurationVersionsRequest request); /// <summary> /// Lists configurations stored in the AppConfig hosted configuration store by version. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListHostedConfigurationVersions service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListHostedConfigurationVersions service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListHostedConfigurationVersions">REST API Reference for ListHostedConfigurationVersions Operation</seealso> Task<ListHostedConfigurationVersionsResponse> ListHostedConfigurationVersionsAsync(ListHostedConfigurationVersionsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListTagsForResource /// <summary> /// Retrieves the list of key-value tags assigned to the resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListTagsForResource service method.</param> /// /// <returns>The response from the ListTagsForResource service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso> ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request); /// <summary> /// Retrieves the list of key-value tags assigned to the resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListTagsForResource service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListTagsForResource service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso> Task<ListTagsForResourceResponse> ListTagsForResourceAsync(ListTagsForResourceRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region StartDeployment /// <summary> /// Starts a deployment. /// </summary> /// <param name="request">Container for the necessary parameters to execute the StartDeployment service method.</param> /// /// <returns>The response from the StartDeployment service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/StartDeployment">REST API Reference for StartDeployment Operation</seealso> StartDeploymentResponse StartDeployment(StartDeploymentRequest request); /// <summary> /// Starts a deployment. /// </summary> /// <param name="request">Container for the necessary parameters to execute the StartDeployment service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the StartDeployment service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/StartDeployment">REST API Reference for StartDeployment Operation</seealso> Task<StartDeploymentResponse> StartDeploymentAsync(StartDeploymentRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region StopDeployment /// <summary> /// Stops a deployment. This API action works only on deployments that have a status of /// <code>DEPLOYING</code>. This action moves the deployment to a status of <code>ROLLED_BACK</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the StopDeployment service method.</param> /// /// <returns>The response from the StopDeployment service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/StopDeployment">REST API Reference for StopDeployment Operation</seealso> StopDeploymentResponse StopDeployment(StopDeploymentRequest request); /// <summary> /// Stops a deployment. This API action works only on deployments that have a status of /// <code>DEPLOYING</code>. This action moves the deployment to a status of <code>ROLLED_BACK</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the StopDeployment service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the StopDeployment service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/StopDeployment">REST API Reference for StopDeployment Operation</seealso> Task<StopDeploymentResponse> StopDeploymentAsync(StopDeploymentRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region TagResource /// <summary> /// Assigns metadata to an AppConfig resource. Tags help organize and categorize your /// AppConfig resources. Each tag consists of a key and an optional value, both of which /// you define. You can specify a maximum of 50 tags for a resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the TagResource service method.</param> /// /// <returns>The response from the TagResource service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/TagResource">REST API Reference for TagResource Operation</seealso> TagResourceResponse TagResource(TagResourceRequest request); /// <summary> /// Assigns metadata to an AppConfig resource. Tags help organize and categorize your /// AppConfig resources. Each tag consists of a key and an optional value, both of which /// you define. You can specify a maximum of 50 tags for a resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the TagResource service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the TagResource service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/TagResource">REST API Reference for TagResource Operation</seealso> Task<TagResourceResponse> TagResourceAsync(TagResourceRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UntagResource /// <summary> /// Deletes a tag key and value from an AppConfig resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UntagResource service method.</param> /// /// <returns>The response from the UntagResource service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UntagResource">REST API Reference for UntagResource Operation</seealso> UntagResourceResponse UntagResource(UntagResourceRequest request); /// <summary> /// Deletes a tag key and value from an AppConfig resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UntagResource service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UntagResource service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UntagResource">REST API Reference for UntagResource Operation</seealso> Task<UntagResourceResponse> UntagResourceAsync(UntagResourceRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateApplication /// <summary> /// Updates an application. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateApplication service method.</param> /// /// <returns>The response from the UpdateApplication service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UpdateApplication">REST API Reference for UpdateApplication Operation</seealso> UpdateApplicationResponse UpdateApplication(UpdateApplicationRequest request); /// <summary> /// Updates an application. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateApplication service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateApplication service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UpdateApplication">REST API Reference for UpdateApplication Operation</seealso> Task<UpdateApplicationResponse> UpdateApplicationAsync(UpdateApplicationRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateConfigurationProfile /// <summary> /// Updates a configuration profile. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateConfigurationProfile service method.</param> /// /// <returns>The response from the UpdateConfigurationProfile service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UpdateConfigurationProfile">REST API Reference for UpdateConfigurationProfile Operation</seealso> UpdateConfigurationProfileResponse UpdateConfigurationProfile(UpdateConfigurationProfileRequest request); /// <summary> /// Updates a configuration profile. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateConfigurationProfile service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateConfigurationProfile service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UpdateConfigurationProfile">REST API Reference for UpdateConfigurationProfile Operation</seealso> Task<UpdateConfigurationProfileResponse> UpdateConfigurationProfileAsync(UpdateConfigurationProfileRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateDeploymentStrategy /// <summary> /// Updates a deployment strategy. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateDeploymentStrategy service method.</param> /// /// <returns>The response from the UpdateDeploymentStrategy service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UpdateDeploymentStrategy">REST API Reference for UpdateDeploymentStrategy Operation</seealso> UpdateDeploymentStrategyResponse UpdateDeploymentStrategy(UpdateDeploymentStrategyRequest request); /// <summary> /// Updates a deployment strategy. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateDeploymentStrategy service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateDeploymentStrategy service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UpdateDeploymentStrategy">REST API Reference for UpdateDeploymentStrategy Operation</seealso> Task<UpdateDeploymentStrategyResponse> UpdateDeploymentStrategyAsync(UpdateDeploymentStrategyRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateEnvironment /// <summary> /// Updates an environment. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateEnvironment service method.</param> /// /// <returns>The response from the UpdateEnvironment service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UpdateEnvironment">REST API Reference for UpdateEnvironment Operation</seealso> UpdateEnvironmentResponse UpdateEnvironment(UpdateEnvironmentRequest request); /// <summary> /// Updates an environment. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateEnvironment service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateEnvironment service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UpdateEnvironment">REST API Reference for UpdateEnvironment Operation</seealso> Task<UpdateEnvironmentResponse> UpdateEnvironmentAsync(UpdateEnvironmentRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateExtension /// <summary> /// Updates an AppConfig extension. For more information about extensions, see <a href="https://docs.aws.amazon.com/appconfig/latest/userguide/working-with-appconfig-extensions.html">Working /// with AppConfig extensions</a> in the <i>AppConfig User Guide</i>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateExtension service method.</param> /// /// <returns>The response from the UpdateExtension service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UpdateExtension">REST API Reference for UpdateExtension Operation</seealso> UpdateExtensionResponse UpdateExtension(UpdateExtensionRequest request); /// <summary> /// Updates an AppConfig extension. For more information about extensions, see <a href="https://docs.aws.amazon.com/appconfig/latest/userguide/working-with-appconfig-extensions.html">Working /// with AppConfig extensions</a> in the <i>AppConfig User Guide</i>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateExtension service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateExtension service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UpdateExtension">REST API Reference for UpdateExtension Operation</seealso> Task<UpdateExtensionResponse> UpdateExtensionAsync(UpdateExtensionRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateExtensionAssociation /// <summary> /// Updates an association. For more information about extensions and associations, see /// <a href="https://docs.aws.amazon.com/appconfig/latest/userguide/working-with-appconfig-extensions.html">Working /// with AppConfig extensions</a> in the <i>AppConfig User Guide</i>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateExtensionAssociation service method.</param> /// /// <returns>The response from the UpdateExtensionAssociation service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UpdateExtensionAssociation">REST API Reference for UpdateExtensionAssociation Operation</seealso> UpdateExtensionAssociationResponse UpdateExtensionAssociation(UpdateExtensionAssociationRequest request); /// <summary> /// Updates an association. For more information about extensions and associations, see /// <a href="https://docs.aws.amazon.com/appconfig/latest/userguide/working-with-appconfig-extensions.html">Working /// with AppConfig extensions</a> in the <i>AppConfig User Guide</i>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateExtensionAssociation service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateExtensionAssociation service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UpdateExtensionAssociation">REST API Reference for UpdateExtensionAssociation Operation</seealso> Task<UpdateExtensionAssociationResponse> UpdateExtensionAssociationAsync(UpdateExtensionAssociationRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ValidateConfiguration /// <summary> /// Uses the validators in a configuration profile to validate a configuration. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ValidateConfiguration service method.</param> /// /// <returns>The response from the ValidateConfiguration service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ValidateConfiguration">REST API Reference for ValidateConfiguration Operation</seealso> ValidateConfigurationResponse ValidateConfiguration(ValidateConfigurationRequest request); /// <summary> /// Uses the validators in a configuration profile to validate a configuration. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ValidateConfiguration service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ValidateConfiguration service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ValidateConfiguration">REST API Reference for ValidateConfiguration Operation</seealso> Task<ValidateConfigurationResponse> ValidateConfigurationAsync(ValidateConfigurationRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion } }
2,371
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appconfig-2019-10-09.normal.json service model. */ using System; using System.Runtime.ExceptionServices; using System.Threading; using System.Threading.Tasks; using System.Collections.Generic; using System.Net; using Amazon.AppConfig.Model; using Amazon.AppConfig.Model.Internal.MarshallTransformations; using Amazon.AppConfig.Internal; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Auth; using Amazon.Runtime.Internal.Transform; namespace Amazon.AppConfig { /// <summary> /// Implementation for accessing AppConfig /// /// Use AppConfig, a capability of Amazon Web Services Systems Manager, to create, manage, /// and quickly deploy application configurations. AppConfig supports controlled deployments /// to applications of any size and includes built-in validation checks and monitoring. /// You can use AppConfig with applications hosted on Amazon EC2 instances, Lambda, containers, /// mobile applications, or IoT devices. /// /// /// <para> /// To prevent errors when deploying application configurations, especially for production /// systems where a simple typo could cause an unexpected outage, AppConfig includes validators. /// A validator provides a syntactic or semantic check to ensure that the configuration /// you want to deploy works as intended. To validate your application configuration data, /// you provide a schema or an Amazon Web Services Lambda function that runs against the /// configuration. The configuration deployment or update can only proceed when the configuration /// data is valid. /// </para> /// /// <para> /// During a configuration deployment, AppConfig monitors the application to ensure that /// the deployment is successful. If the system encounters an error, AppConfig rolls back /// the change to minimize impact for your application users. You can configure a deployment /// strategy for each application or environment that includes deployment criteria, including /// velocity, bake time, and alarms to monitor. Similar to error monitoring, if a deployment /// triggers an alarm, AppConfig automatically rolls back to the previous version. /// </para> /// /// <para> /// AppConfig supports multiple use cases. Here are some examples: /// </para> /// <ul> <li> /// <para> /// <b>Feature flags</b>: Use AppConfig to turn on new features that require a timely /// deployment, such as a product launch or announcement. /// </para> /// </li> <li> /// <para> /// <b>Application tuning</b>: Use AppConfig to carefully introduce changes to your application /// that can only be tested with production traffic. /// </para> /// </li> <li> /// <para> /// <b>Allow list</b>: Use AppConfig to allow premium subscribers to access paid content. /// /// </para> /// </li> <li> /// <para> /// <b>Operational issues</b>: Use AppConfig to reduce stress on your application when /// a dependency or other external factor impacts the system. /// </para> /// </li> </ul> /// <para> /// This reference is intended to be used with the <a href="http://docs.aws.amazon.com/appconfig/latest/userguide/what-is-appconfig.html">AppConfig /// User Guide</a>. /// </para> /// </summary> public partial class AmazonAppConfigClient : AmazonServiceClient, IAmazonAppConfig { private static IServiceMetadata serviceMetadata = new AmazonAppConfigMetadata(); #region Constructors /// <summary> /// Constructs AmazonAppConfigClient with the credentials loaded from the application's /// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. /// /// Example App.config with credentials set. /// <code> /// &lt;?xml version="1.0" encoding="utf-8" ?&gt; /// &lt;configuration&gt; /// &lt;appSettings&gt; /// &lt;add key="AWSProfileName" value="AWS Default"/&gt; /// &lt;/appSettings&gt; /// &lt;/configuration&gt; /// </code> /// /// </summary> public AmazonAppConfigClient() : base(FallbackCredentialsFactory.GetCredentials(), new AmazonAppConfigConfig()) { } /// <summary> /// Constructs AmazonAppConfigClient with the credentials loaded from the application's /// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. /// /// Example App.config with credentials set. /// <code> /// &lt;?xml version="1.0" encoding="utf-8" ?&gt; /// &lt;configuration&gt; /// &lt;appSettings&gt; /// &lt;add key="AWSProfileName" value="AWS Default"/&gt; /// &lt;/appSettings&gt; /// &lt;/configuration&gt; /// </code> /// /// </summary> /// <param name="region">The region to connect.</param> public AmazonAppConfigClient(RegionEndpoint region) : base(FallbackCredentialsFactory.GetCredentials(), new AmazonAppConfigConfig{RegionEndpoint = region}) { } /// <summary> /// Constructs AmazonAppConfigClient with the credentials loaded from the application's /// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. /// /// Example App.config with credentials set. /// <code> /// &lt;?xml version="1.0" encoding="utf-8" ?&gt; /// &lt;configuration&gt; /// &lt;appSettings&gt; /// &lt;add key="AWSProfileName" value="AWS Default"/&gt; /// &lt;/appSettings&gt; /// &lt;/configuration&gt; /// </code> /// /// </summary> /// <param name="config">The AmazonAppConfigClient Configuration Object</param> public AmazonAppConfigClient(AmazonAppConfigConfig config) : base(FallbackCredentialsFactory.GetCredentials(), config) { } /// <summary> /// Constructs AmazonAppConfigClient with AWS Credentials /// </summary> /// <param name="credentials">AWS Credentials</param> public AmazonAppConfigClient(AWSCredentials credentials) : this(credentials, new AmazonAppConfigConfig()) { } /// <summary> /// Constructs AmazonAppConfigClient with AWS Credentials /// </summary> /// <param name="credentials">AWS Credentials</param> /// <param name="region">The region to connect.</param> public AmazonAppConfigClient(AWSCredentials credentials, RegionEndpoint region) : this(credentials, new AmazonAppConfigConfig{RegionEndpoint = region}) { } /// <summary> /// Constructs AmazonAppConfigClient with AWS Credentials and an /// AmazonAppConfigClient Configuration object. /// </summary> /// <param name="credentials">AWS Credentials</param> /// <param name="clientConfig">The AmazonAppConfigClient Configuration Object</param> public AmazonAppConfigClient(AWSCredentials credentials, AmazonAppConfigConfig clientConfig) : base(credentials, clientConfig) { } /// <summary> /// Constructs AmazonAppConfigClient with AWS Access Key ID and AWS Secret Key /// </summary> /// <param name="awsAccessKeyId">AWS Access Key ID</param> /// <param name="awsSecretAccessKey">AWS Secret Access Key</param> public AmazonAppConfigClient(string awsAccessKeyId, string awsSecretAccessKey) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonAppConfigConfig()) { } /// <summary> /// Constructs AmazonAppConfigClient with AWS Access Key ID and AWS Secret Key /// </summary> /// <param name="awsAccessKeyId">AWS Access Key ID</param> /// <param name="awsSecretAccessKey">AWS Secret Access Key</param> /// <param name="region">The region to connect.</param> public AmazonAppConfigClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonAppConfigConfig() {RegionEndpoint=region}) { } /// <summary> /// Constructs AmazonAppConfigClient with AWS Access Key ID, AWS Secret Key and an /// AmazonAppConfigClient Configuration object. /// </summary> /// <param name="awsAccessKeyId">AWS Access Key ID</param> /// <param name="awsSecretAccessKey">AWS Secret Access Key</param> /// <param name="clientConfig">The AmazonAppConfigClient Configuration Object</param> public AmazonAppConfigClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonAppConfigConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, clientConfig) { } /// <summary> /// Constructs AmazonAppConfigClient with AWS Access Key ID and AWS Secret Key /// </summary> /// <param name="awsAccessKeyId">AWS Access Key ID</param> /// <param name="awsSecretAccessKey">AWS Secret Access Key</param> /// <param name="awsSessionToken">AWS Session Token</param> public AmazonAppConfigClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonAppConfigConfig()) { } /// <summary> /// Constructs AmazonAppConfigClient with AWS Access Key ID and AWS Secret Key /// </summary> /// <param name="awsAccessKeyId">AWS Access Key ID</param> /// <param name="awsSecretAccessKey">AWS Secret Access Key</param> /// <param name="awsSessionToken">AWS Session Token</param> /// <param name="region">The region to connect.</param> public AmazonAppConfigClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonAppConfigConfig{RegionEndpoint = region}) { } /// <summary> /// Constructs AmazonAppConfigClient with AWS Access Key ID, AWS Secret Key and an /// AmazonAppConfigClient Configuration object. /// </summary> /// <param name="awsAccessKeyId">AWS Access Key ID</param> /// <param name="awsSecretAccessKey">AWS Secret Access Key</param> /// <param name="awsSessionToken">AWS Session Token</param> /// <param name="clientConfig">The AmazonAppConfigClient Configuration Object</param> public AmazonAppConfigClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonAppConfigConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig) { } #endregion #if AWS_ASYNC_ENUMERABLES_API private IAppConfigPaginatorFactory _paginators; /// <summary> /// Paginators for the service /// </summary> public IAppConfigPaginatorFactory Paginators { get { if (this._paginators == null) { this._paginators = new AppConfigPaginatorFactory(this); } return this._paginators; } } #endif #region Overrides /// <summary> /// Creates the signer for the service. /// </summary> protected override AbstractAWSSigner CreateSigner() { return new AWS4Signer(); } /// <summary> /// Customizes the runtime pipeline. /// </summary> /// <param name="pipeline">Runtime pipeline for the current client.</param> protected override void CustomizeRuntimePipeline(RuntimePipeline pipeline) { pipeline.RemoveHandler<Amazon.Runtime.Internal.EndpointResolver>(); pipeline.AddHandlerAfter<Amazon.Runtime.Internal.Marshaller>(new AmazonAppConfigEndpointResolver()); } /// <summary> /// Capture metadata for the service. /// </summary> protected override IServiceMetadata ServiceMetadata { get { return serviceMetadata; } } #endregion #region Dispose /// <summary> /// Disposes the service client. /// </summary> protected override void Dispose(bool disposing) { base.Dispose(disposing); } #endregion #region CreateApplication internal virtual CreateApplicationResponse CreateApplication(CreateApplicationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateApplicationRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateApplicationResponseUnmarshaller.Instance; return Invoke<CreateApplicationResponse>(request, options); } /// <summary> /// Creates an application. In AppConfig, an application is simply an organizational construct /// like a folder. This organizational construct has a relationship with some unit of /// executable code. For example, you could create an application called MyMobileApp to /// organize and manage configuration data for a mobile application installed by your /// users. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateApplication service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateApplication service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateApplication">REST API Reference for CreateApplication Operation</seealso> public virtual Task<CreateApplicationResponse> CreateApplicationAsync(CreateApplicationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateApplicationRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateApplicationResponseUnmarshaller.Instance; return InvokeAsync<CreateApplicationResponse>(request, options, cancellationToken); } #endregion #region CreateConfigurationProfile internal virtual CreateConfigurationProfileResponse CreateConfigurationProfile(CreateConfigurationProfileRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateConfigurationProfileRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateConfigurationProfileResponseUnmarshaller.Instance; return Invoke<CreateConfigurationProfileResponse>(request, options); } /// <summary> /// Creates a configuration profile, which is information that enables AppConfig to access /// the configuration source. Valid configuration sources include the following: /// /// <ul> <li> /// <para> /// Configuration data in YAML, JSON, and other formats stored in the AppConfig hosted /// configuration store /// </para> /// </li> <li> /// <para> /// Configuration data stored as objects in an Amazon Simple Storage Service (Amazon S3) /// bucket /// </para> /// </li> <li> /// <para> /// Pipelines stored in CodePipeline /// </para> /// </li> <li> /// <para> /// Secrets stored in Secrets Manager /// </para> /// </li> <li> /// <para> /// Standard and secure string parameters stored in Amazon Web Services Systems Manager /// Parameter Store /// </para> /// </li> <li> /// <para> /// Configuration data in SSM documents stored in the Systems Manager document store /// </para> /// </li> </ul> /// <para> /// A configuration profile includes the following information: /// </para> /// <ul> <li> /// <para> /// The URI location of the configuration data. /// </para> /// </li> <li> /// <para> /// The Identity and Access Management (IAM) role that provides access to the configuration /// data. /// </para> /// </li> <li> /// <para> /// A validator for the configuration data. Available validators include either a JSON /// Schema or an Amazon Web Services Lambda function. /// </para> /// </li> </ul> /// <para> /// For more information, see <a href="http://docs.aws.amazon.com/appconfig/latest/userguide/appconfig-creating-configuration-and-profile.html">Create /// a Configuration and a Configuration Profile</a> in the <i>AppConfig User Guide</i>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateConfigurationProfile service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateConfigurationProfile service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateConfigurationProfile">REST API Reference for CreateConfigurationProfile Operation</seealso> public virtual Task<CreateConfigurationProfileResponse> CreateConfigurationProfileAsync(CreateConfigurationProfileRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateConfigurationProfileRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateConfigurationProfileResponseUnmarshaller.Instance; return InvokeAsync<CreateConfigurationProfileResponse>(request, options, cancellationToken); } #endregion #region CreateDeploymentStrategy internal virtual CreateDeploymentStrategyResponse CreateDeploymentStrategy(CreateDeploymentStrategyRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateDeploymentStrategyRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateDeploymentStrategyResponseUnmarshaller.Instance; return Invoke<CreateDeploymentStrategyResponse>(request, options); } /// <summary> /// Creates a deployment strategy that defines important criteria for rolling out your /// configuration to the designated targets. A deployment strategy includes the overall /// duration required, a percentage of targets to receive the deployment during each interval, /// an algorithm that defines how percentage grows, and bake time. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateDeploymentStrategy service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateDeploymentStrategy service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateDeploymentStrategy">REST API Reference for CreateDeploymentStrategy Operation</seealso> public virtual Task<CreateDeploymentStrategyResponse> CreateDeploymentStrategyAsync(CreateDeploymentStrategyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateDeploymentStrategyRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateDeploymentStrategyResponseUnmarshaller.Instance; return InvokeAsync<CreateDeploymentStrategyResponse>(request, options, cancellationToken); } #endregion #region CreateEnvironment internal virtual CreateEnvironmentResponse CreateEnvironment(CreateEnvironmentRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateEnvironmentRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateEnvironmentResponseUnmarshaller.Instance; return Invoke<CreateEnvironmentResponse>(request, options); } /// <summary> /// Creates an environment. For each application, you define one or more environments. /// An environment is a deployment group of AppConfig targets, such as applications in /// a <code>Beta</code> or <code>Production</code> environment. You can also define environments /// for application subcomponents such as the <code>Web</code>, <code>Mobile</code> and /// <code>Back-end</code> components for your application. You can configure Amazon CloudWatch /// alarms for each environment. The system monitors alarms during a configuration deployment. /// If an alarm is triggered, the system rolls back the configuration. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateEnvironment service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateEnvironment service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateEnvironment">REST API Reference for CreateEnvironment Operation</seealso> public virtual Task<CreateEnvironmentResponse> CreateEnvironmentAsync(CreateEnvironmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateEnvironmentRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateEnvironmentResponseUnmarshaller.Instance; return InvokeAsync<CreateEnvironmentResponse>(request, options, cancellationToken); } #endregion #region CreateExtension internal virtual CreateExtensionResponse CreateExtension(CreateExtensionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateExtensionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateExtensionResponseUnmarshaller.Instance; return Invoke<CreateExtensionResponse>(request, options); } /// <summary> /// Creates an AppConfig extension. An extension augments your ability to inject logic /// or behavior at different points during the AppConfig workflow of creating or deploying /// a configuration. /// /// /// <para> /// You can create your own extensions or use the Amazon Web Services authored extensions /// provided by AppConfig. For most use cases, to create your own extension, you must /// create an Lambda function to perform any computation and processing defined in the /// extension. For more information about extensions, see <a href="https://docs.aws.amazon.com/appconfig/latest/userguide/working-with-appconfig-extensions.html">Working /// with AppConfig extensions</a> in the <i>AppConfig User Guide</i>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateExtension service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateExtension service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ServiceQuotaExceededException"> /// The number of hosted configuration versions exceeds the limit for the AppConfig hosted /// configuration store. Delete one or more versions and try again. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateExtension">REST API Reference for CreateExtension Operation</seealso> public virtual Task<CreateExtensionResponse> CreateExtensionAsync(CreateExtensionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateExtensionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateExtensionResponseUnmarshaller.Instance; return InvokeAsync<CreateExtensionResponse>(request, options, cancellationToken); } #endregion #region CreateExtensionAssociation internal virtual CreateExtensionAssociationResponse CreateExtensionAssociation(CreateExtensionAssociationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateExtensionAssociationRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateExtensionAssociationResponseUnmarshaller.Instance; return Invoke<CreateExtensionAssociationResponse>(request, options); } /// <summary> /// When you create an extension or configure an Amazon Web Services authored extension, /// you associate the extension with an AppConfig application, environment, or configuration /// profile. For example, you can choose to run the <code>AppConfig deployment events /// to Amazon SNS</code> Amazon Web Services authored extension and receive notifications /// on an Amazon SNS topic anytime a configuration deployment is started for a specific /// application. Defining which extension to associate with an AppConfig resource is called /// an <i>extension association</i>. An extension association is a specified relationship /// between an extension and an AppConfig resource, such as an application or a configuration /// profile. For more information about extensions and associations, see <a href="https://docs.aws.amazon.com/appconfig/latest/userguide/working-with-appconfig-extensions.html">Working /// with AppConfig extensions</a> in the <i>AppConfig User Guide</i>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateExtensionAssociation service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateExtensionAssociation service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ServiceQuotaExceededException"> /// The number of hosted configuration versions exceeds the limit for the AppConfig hosted /// configuration store. Delete one or more versions and try again. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateExtensionAssociation">REST API Reference for CreateExtensionAssociation Operation</seealso> public virtual Task<CreateExtensionAssociationResponse> CreateExtensionAssociationAsync(CreateExtensionAssociationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateExtensionAssociationRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateExtensionAssociationResponseUnmarshaller.Instance; return InvokeAsync<CreateExtensionAssociationResponse>(request, options, cancellationToken); } #endregion #region CreateHostedConfigurationVersion internal virtual CreateHostedConfigurationVersionResponse CreateHostedConfigurationVersion(CreateHostedConfigurationVersionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateHostedConfigurationVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateHostedConfigurationVersionResponseUnmarshaller.Instance; return Invoke<CreateHostedConfigurationVersionResponse>(request, options); } /// <summary> /// Creates a new configuration in the AppConfig hosted configuration store. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateHostedConfigurationVersion service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateHostedConfigurationVersion service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.PayloadTooLargeException"> /// The configuration size is too large. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ServiceQuotaExceededException"> /// The number of hosted configuration versions exceeds the limit for the AppConfig hosted /// configuration store. Delete one or more versions and try again. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateHostedConfigurationVersion">REST API Reference for CreateHostedConfigurationVersion Operation</seealso> public virtual Task<CreateHostedConfigurationVersionResponse> CreateHostedConfigurationVersionAsync(CreateHostedConfigurationVersionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateHostedConfigurationVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateHostedConfigurationVersionResponseUnmarshaller.Instance; return InvokeAsync<CreateHostedConfigurationVersionResponse>(request, options, cancellationToken); } #endregion #region DeleteApplication internal virtual DeleteApplicationResponse DeleteApplication(DeleteApplicationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteApplicationRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteApplicationResponseUnmarshaller.Instance; return Invoke<DeleteApplicationResponse>(request, options); } /// <summary> /// Deletes an application. Deleting an application does not delete a configuration from /// a host. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteApplication service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteApplication service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteApplication">REST API Reference for DeleteApplication Operation</seealso> public virtual Task<DeleteApplicationResponse> DeleteApplicationAsync(DeleteApplicationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteApplicationRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteApplicationResponseUnmarshaller.Instance; return InvokeAsync<DeleteApplicationResponse>(request, options, cancellationToken); } #endregion #region DeleteConfigurationProfile internal virtual DeleteConfigurationProfileResponse DeleteConfigurationProfile(DeleteConfigurationProfileRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteConfigurationProfileRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteConfigurationProfileResponseUnmarshaller.Instance; return Invoke<DeleteConfigurationProfileResponse>(request, options); } /// <summary> /// Deletes a configuration profile. Deleting a configuration profile does not delete /// a configuration from a host. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteConfigurationProfile service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteConfigurationProfile service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteConfigurationProfile">REST API Reference for DeleteConfigurationProfile Operation</seealso> public virtual Task<DeleteConfigurationProfileResponse> DeleteConfigurationProfileAsync(DeleteConfigurationProfileRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteConfigurationProfileRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteConfigurationProfileResponseUnmarshaller.Instance; return InvokeAsync<DeleteConfigurationProfileResponse>(request, options, cancellationToken); } #endregion #region DeleteDeploymentStrategy internal virtual DeleteDeploymentStrategyResponse DeleteDeploymentStrategy(DeleteDeploymentStrategyRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteDeploymentStrategyRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteDeploymentStrategyResponseUnmarshaller.Instance; return Invoke<DeleteDeploymentStrategyResponse>(request, options); } /// <summary> /// Deletes a deployment strategy. Deleting a deployment strategy does not delete a configuration /// from a host. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteDeploymentStrategy service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteDeploymentStrategy service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteDeploymentStrategy">REST API Reference for DeleteDeploymentStrategy Operation</seealso> public virtual Task<DeleteDeploymentStrategyResponse> DeleteDeploymentStrategyAsync(DeleteDeploymentStrategyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteDeploymentStrategyRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteDeploymentStrategyResponseUnmarshaller.Instance; return InvokeAsync<DeleteDeploymentStrategyResponse>(request, options, cancellationToken); } #endregion #region DeleteEnvironment internal virtual DeleteEnvironmentResponse DeleteEnvironment(DeleteEnvironmentRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteEnvironmentRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteEnvironmentResponseUnmarshaller.Instance; return Invoke<DeleteEnvironmentResponse>(request, options); } /// <summary> /// Deletes an environment. Deleting an environment does not delete a configuration from /// a host. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteEnvironment service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteEnvironment service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteEnvironment">REST API Reference for DeleteEnvironment Operation</seealso> public virtual Task<DeleteEnvironmentResponse> DeleteEnvironmentAsync(DeleteEnvironmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteEnvironmentRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteEnvironmentResponseUnmarshaller.Instance; return InvokeAsync<DeleteEnvironmentResponse>(request, options, cancellationToken); } #endregion #region DeleteExtension internal virtual DeleteExtensionResponse DeleteExtension(DeleteExtensionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteExtensionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteExtensionResponseUnmarshaller.Instance; return Invoke<DeleteExtensionResponse>(request, options); } /// <summary> /// Deletes an AppConfig extension. You must delete all associations to an extension before /// you delete the extension. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteExtension service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteExtension service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteExtension">REST API Reference for DeleteExtension Operation</seealso> public virtual Task<DeleteExtensionResponse> DeleteExtensionAsync(DeleteExtensionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteExtensionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteExtensionResponseUnmarshaller.Instance; return InvokeAsync<DeleteExtensionResponse>(request, options, cancellationToken); } #endregion #region DeleteExtensionAssociation internal virtual DeleteExtensionAssociationResponse DeleteExtensionAssociation(DeleteExtensionAssociationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteExtensionAssociationRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteExtensionAssociationResponseUnmarshaller.Instance; return Invoke<DeleteExtensionAssociationResponse>(request, options); } /// <summary> /// Deletes an extension association. This action doesn't delete extensions defined in /// the association. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteExtensionAssociation service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteExtensionAssociation service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteExtensionAssociation">REST API Reference for DeleteExtensionAssociation Operation</seealso> public virtual Task<DeleteExtensionAssociationResponse> DeleteExtensionAssociationAsync(DeleteExtensionAssociationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteExtensionAssociationRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteExtensionAssociationResponseUnmarshaller.Instance; return InvokeAsync<DeleteExtensionAssociationResponse>(request, options, cancellationToken); } #endregion #region DeleteHostedConfigurationVersion internal virtual DeleteHostedConfigurationVersionResponse DeleteHostedConfigurationVersion(DeleteHostedConfigurationVersionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteHostedConfigurationVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteHostedConfigurationVersionResponseUnmarshaller.Instance; return Invoke<DeleteHostedConfigurationVersionResponse>(request, options); } /// <summary> /// Deletes a version of a configuration from the AppConfig hosted configuration store. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteHostedConfigurationVersion service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteHostedConfigurationVersion service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteHostedConfigurationVersion">REST API Reference for DeleteHostedConfigurationVersion Operation</seealso> public virtual Task<DeleteHostedConfigurationVersionResponse> DeleteHostedConfigurationVersionAsync(DeleteHostedConfigurationVersionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteHostedConfigurationVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteHostedConfigurationVersionResponseUnmarshaller.Instance; return InvokeAsync<DeleteHostedConfigurationVersionResponse>(request, options, cancellationToken); } #endregion #region GetApplication internal virtual GetApplicationResponse GetApplication(GetApplicationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetApplicationRequestMarshaller.Instance; options.ResponseUnmarshaller = GetApplicationResponseUnmarshaller.Instance; return Invoke<GetApplicationResponse>(request, options); } /// <summary> /// Retrieves information about an application. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetApplication service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetApplication service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetApplication">REST API Reference for GetApplication Operation</seealso> public virtual Task<GetApplicationResponse> GetApplicationAsync(GetApplicationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetApplicationRequestMarshaller.Instance; options.ResponseUnmarshaller = GetApplicationResponseUnmarshaller.Instance; return InvokeAsync<GetApplicationResponse>(request, options, cancellationToken); } #endregion #region GetConfiguration [Obsolete("This API has been deprecated in favor of the GetLatestConfiguration API used in conjunction with StartConfigurationSession.")] internal virtual GetConfigurationResponse GetConfiguration(GetConfigurationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = GetConfigurationResponseUnmarshaller.Instance; return Invoke<GetConfigurationResponse>(request, options); } /// <summary> /// (Deprecated) Retrieves the latest deployed configuration. /// /// <important> /// <para> /// Note the following important information. /// </para> /// <ul> <li> /// <para> /// This API action is deprecated. Calls to receive configuration data should use the /// <a href="https://docs.aws.amazon.com/appconfig/2019-10-09/APIReference/API_appconfigdata_StartConfigurationSession.html">StartConfigurationSession</a> /// and <a href="https://docs.aws.amazon.com/appconfig/2019-10-09/APIReference/API_appconfigdata_GetLatestConfiguration.html">GetLatestConfiguration</a> /// APIs instead. /// </para> /// </li> <li> /// <para> /// <code>GetConfiguration</code> is a priced call. For more information, see <a href="https://aws.amazon.com/systems-manager/pricing/">Pricing</a>. /// </para> /// </li> </ul> </important> /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetConfiguration service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetConfiguration service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetConfiguration">REST API Reference for GetConfiguration Operation</seealso> [Obsolete("This API has been deprecated in favor of the GetLatestConfiguration API used in conjunction with StartConfigurationSession.")] public virtual Task<GetConfigurationResponse> GetConfigurationAsync(GetConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = GetConfigurationResponseUnmarshaller.Instance; return InvokeAsync<GetConfigurationResponse>(request, options, cancellationToken); } #endregion #region GetConfigurationProfile internal virtual GetConfigurationProfileResponse GetConfigurationProfile(GetConfigurationProfileRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetConfigurationProfileRequestMarshaller.Instance; options.ResponseUnmarshaller = GetConfigurationProfileResponseUnmarshaller.Instance; return Invoke<GetConfigurationProfileResponse>(request, options); } /// <summary> /// Retrieves information about a configuration profile. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetConfigurationProfile service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetConfigurationProfile service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetConfigurationProfile">REST API Reference for GetConfigurationProfile Operation</seealso> public virtual Task<GetConfigurationProfileResponse> GetConfigurationProfileAsync(GetConfigurationProfileRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetConfigurationProfileRequestMarshaller.Instance; options.ResponseUnmarshaller = GetConfigurationProfileResponseUnmarshaller.Instance; return InvokeAsync<GetConfigurationProfileResponse>(request, options, cancellationToken); } #endregion #region GetDeployment internal virtual GetDeploymentResponse GetDeployment(GetDeploymentRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetDeploymentRequestMarshaller.Instance; options.ResponseUnmarshaller = GetDeploymentResponseUnmarshaller.Instance; return Invoke<GetDeploymentResponse>(request, options); } /// <summary> /// Retrieves information about a configuration deployment. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetDeployment service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetDeployment service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetDeployment">REST API Reference for GetDeployment Operation</seealso> public virtual Task<GetDeploymentResponse> GetDeploymentAsync(GetDeploymentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetDeploymentRequestMarshaller.Instance; options.ResponseUnmarshaller = GetDeploymentResponseUnmarshaller.Instance; return InvokeAsync<GetDeploymentResponse>(request, options, cancellationToken); } #endregion #region GetDeploymentStrategy internal virtual GetDeploymentStrategyResponse GetDeploymentStrategy(GetDeploymentStrategyRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetDeploymentStrategyRequestMarshaller.Instance; options.ResponseUnmarshaller = GetDeploymentStrategyResponseUnmarshaller.Instance; return Invoke<GetDeploymentStrategyResponse>(request, options); } /// <summary> /// Retrieves information about a deployment strategy. A deployment strategy defines important /// criteria for rolling out your configuration to the designated targets. A deployment /// strategy includes the overall duration required, a percentage of targets to receive /// the deployment during each interval, an algorithm that defines how percentage grows, /// and bake time. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetDeploymentStrategy service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetDeploymentStrategy service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetDeploymentStrategy">REST API Reference for GetDeploymentStrategy Operation</seealso> public virtual Task<GetDeploymentStrategyResponse> GetDeploymentStrategyAsync(GetDeploymentStrategyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetDeploymentStrategyRequestMarshaller.Instance; options.ResponseUnmarshaller = GetDeploymentStrategyResponseUnmarshaller.Instance; return InvokeAsync<GetDeploymentStrategyResponse>(request, options, cancellationToken); } #endregion #region GetEnvironment internal virtual GetEnvironmentResponse GetEnvironment(GetEnvironmentRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetEnvironmentRequestMarshaller.Instance; options.ResponseUnmarshaller = GetEnvironmentResponseUnmarshaller.Instance; return Invoke<GetEnvironmentResponse>(request, options); } /// <summary> /// Retrieves information about an environment. An environment is a deployment group of /// AppConfig applications, such as applications in a <code>Production</code> environment /// or in an <code>EU_Region</code> environment. Each configuration deployment targets /// an environment. You can enable one or more Amazon CloudWatch alarms for an environment. /// If an alarm is triggered during a deployment, AppConfig roles back the configuration. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetEnvironment service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetEnvironment service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetEnvironment">REST API Reference for GetEnvironment Operation</seealso> public virtual Task<GetEnvironmentResponse> GetEnvironmentAsync(GetEnvironmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetEnvironmentRequestMarshaller.Instance; options.ResponseUnmarshaller = GetEnvironmentResponseUnmarshaller.Instance; return InvokeAsync<GetEnvironmentResponse>(request, options, cancellationToken); } #endregion #region GetExtension internal virtual GetExtensionResponse GetExtension(GetExtensionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetExtensionRequestMarshaller.Instance; options.ResponseUnmarshaller = GetExtensionResponseUnmarshaller.Instance; return Invoke<GetExtensionResponse>(request, options); } /// <summary> /// Returns information about an AppConfig extension. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetExtension service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetExtension service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetExtension">REST API Reference for GetExtension Operation</seealso> public virtual Task<GetExtensionResponse> GetExtensionAsync(GetExtensionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetExtensionRequestMarshaller.Instance; options.ResponseUnmarshaller = GetExtensionResponseUnmarshaller.Instance; return InvokeAsync<GetExtensionResponse>(request, options, cancellationToken); } #endregion #region GetExtensionAssociation internal virtual GetExtensionAssociationResponse GetExtensionAssociation(GetExtensionAssociationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetExtensionAssociationRequestMarshaller.Instance; options.ResponseUnmarshaller = GetExtensionAssociationResponseUnmarshaller.Instance; return Invoke<GetExtensionAssociationResponse>(request, options); } /// <summary> /// Returns information about an AppConfig extension association. For more information /// about extensions and associations, see <a href="https://docs.aws.amazon.com/appconfig/latest/userguide/working-with-appconfig-extensions.html">Working /// with AppConfig extensions</a> in the <i>AppConfig User Guide</i>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetExtensionAssociation service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetExtensionAssociation service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetExtensionAssociation">REST API Reference for GetExtensionAssociation Operation</seealso> public virtual Task<GetExtensionAssociationResponse> GetExtensionAssociationAsync(GetExtensionAssociationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetExtensionAssociationRequestMarshaller.Instance; options.ResponseUnmarshaller = GetExtensionAssociationResponseUnmarshaller.Instance; return InvokeAsync<GetExtensionAssociationResponse>(request, options, cancellationToken); } #endregion #region GetHostedConfigurationVersion internal virtual GetHostedConfigurationVersionResponse GetHostedConfigurationVersion(GetHostedConfigurationVersionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetHostedConfigurationVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = GetHostedConfigurationVersionResponseUnmarshaller.Instance; return Invoke<GetHostedConfigurationVersionResponse>(request, options); } /// <summary> /// Retrieves information about a specific configuration version. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetHostedConfigurationVersion service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetHostedConfigurationVersion service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetHostedConfigurationVersion">REST API Reference for GetHostedConfigurationVersion Operation</seealso> public virtual Task<GetHostedConfigurationVersionResponse> GetHostedConfigurationVersionAsync(GetHostedConfigurationVersionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetHostedConfigurationVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = GetHostedConfigurationVersionResponseUnmarshaller.Instance; return InvokeAsync<GetHostedConfigurationVersionResponse>(request, options, cancellationToken); } #endregion #region ListApplications internal virtual ListApplicationsResponse ListApplications(ListApplicationsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListApplicationsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListApplicationsResponseUnmarshaller.Instance; return Invoke<ListApplicationsResponse>(request, options); } /// <summary> /// Lists all applications in your Amazon Web Services account. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListApplications service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListApplications service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListApplications">REST API Reference for ListApplications Operation</seealso> public virtual Task<ListApplicationsResponse> ListApplicationsAsync(ListApplicationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListApplicationsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListApplicationsResponseUnmarshaller.Instance; return InvokeAsync<ListApplicationsResponse>(request, options, cancellationToken); } #endregion #region ListConfigurationProfiles internal virtual ListConfigurationProfilesResponse ListConfigurationProfiles(ListConfigurationProfilesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListConfigurationProfilesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListConfigurationProfilesResponseUnmarshaller.Instance; return Invoke<ListConfigurationProfilesResponse>(request, options); } /// <summary> /// Lists the configuration profiles for an application. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListConfigurationProfiles service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListConfigurationProfiles service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListConfigurationProfiles">REST API Reference for ListConfigurationProfiles Operation</seealso> public virtual Task<ListConfigurationProfilesResponse> ListConfigurationProfilesAsync(ListConfigurationProfilesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListConfigurationProfilesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListConfigurationProfilesResponseUnmarshaller.Instance; return InvokeAsync<ListConfigurationProfilesResponse>(request, options, cancellationToken); } #endregion #region ListDeployments internal virtual ListDeploymentsResponse ListDeployments(ListDeploymentsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListDeploymentsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListDeploymentsResponseUnmarshaller.Instance; return Invoke<ListDeploymentsResponse>(request, options); } /// <summary> /// Lists the deployments for an environment in descending deployment number order. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListDeployments service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListDeployments service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListDeployments">REST API Reference for ListDeployments Operation</seealso> public virtual Task<ListDeploymentsResponse> ListDeploymentsAsync(ListDeploymentsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListDeploymentsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListDeploymentsResponseUnmarshaller.Instance; return InvokeAsync<ListDeploymentsResponse>(request, options, cancellationToken); } #endregion #region ListDeploymentStrategies internal virtual ListDeploymentStrategiesResponse ListDeploymentStrategies(ListDeploymentStrategiesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListDeploymentStrategiesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListDeploymentStrategiesResponseUnmarshaller.Instance; return Invoke<ListDeploymentStrategiesResponse>(request, options); } /// <summary> /// Lists deployment strategies. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListDeploymentStrategies service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListDeploymentStrategies service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListDeploymentStrategies">REST API Reference for ListDeploymentStrategies Operation</seealso> public virtual Task<ListDeploymentStrategiesResponse> ListDeploymentStrategiesAsync(ListDeploymentStrategiesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListDeploymentStrategiesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListDeploymentStrategiesResponseUnmarshaller.Instance; return InvokeAsync<ListDeploymentStrategiesResponse>(request, options, cancellationToken); } #endregion #region ListEnvironments internal virtual ListEnvironmentsResponse ListEnvironments(ListEnvironmentsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListEnvironmentsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListEnvironmentsResponseUnmarshaller.Instance; return Invoke<ListEnvironmentsResponse>(request, options); } /// <summary> /// Lists the environments for an application. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListEnvironments service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListEnvironments service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListEnvironments">REST API Reference for ListEnvironments Operation</seealso> public virtual Task<ListEnvironmentsResponse> ListEnvironmentsAsync(ListEnvironmentsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListEnvironmentsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListEnvironmentsResponseUnmarshaller.Instance; return InvokeAsync<ListEnvironmentsResponse>(request, options, cancellationToken); } #endregion #region ListExtensionAssociations internal virtual ListExtensionAssociationsResponse ListExtensionAssociations(ListExtensionAssociationsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListExtensionAssociationsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListExtensionAssociationsResponseUnmarshaller.Instance; return Invoke<ListExtensionAssociationsResponse>(request, options); } /// <summary> /// Lists all AppConfig extension associations in the account. For more information about /// extensions and associations, see <a href="https://docs.aws.amazon.com/appconfig/latest/userguide/working-with-appconfig-extensions.html">Working /// with AppConfig extensions</a> in the <i>AppConfig User Guide</i>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListExtensionAssociations service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListExtensionAssociations service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListExtensionAssociations">REST API Reference for ListExtensionAssociations Operation</seealso> public virtual Task<ListExtensionAssociationsResponse> ListExtensionAssociationsAsync(ListExtensionAssociationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListExtensionAssociationsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListExtensionAssociationsResponseUnmarshaller.Instance; return InvokeAsync<ListExtensionAssociationsResponse>(request, options, cancellationToken); } #endregion #region ListExtensions internal virtual ListExtensionsResponse ListExtensions(ListExtensionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListExtensionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListExtensionsResponseUnmarshaller.Instance; return Invoke<ListExtensionsResponse>(request, options); } /// <summary> /// Lists all custom and Amazon Web Services authored AppConfig extensions in the account. /// For more information about extensions, see <a href="https://docs.aws.amazon.com/appconfig/latest/userguide/working-with-appconfig-extensions.html">Working /// with AppConfig extensions</a> in the <i>AppConfig User Guide</i>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListExtensions service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListExtensions service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListExtensions">REST API Reference for ListExtensions Operation</seealso> public virtual Task<ListExtensionsResponse> ListExtensionsAsync(ListExtensionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListExtensionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListExtensionsResponseUnmarshaller.Instance; return InvokeAsync<ListExtensionsResponse>(request, options, cancellationToken); } #endregion #region ListHostedConfigurationVersions internal virtual ListHostedConfigurationVersionsResponse ListHostedConfigurationVersions(ListHostedConfigurationVersionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListHostedConfigurationVersionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListHostedConfigurationVersionsResponseUnmarshaller.Instance; return Invoke<ListHostedConfigurationVersionsResponse>(request, options); } /// <summary> /// Lists configurations stored in the AppConfig hosted configuration store by version. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListHostedConfigurationVersions service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListHostedConfigurationVersions service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListHostedConfigurationVersions">REST API Reference for ListHostedConfigurationVersions Operation</seealso> public virtual Task<ListHostedConfigurationVersionsResponse> ListHostedConfigurationVersionsAsync(ListHostedConfigurationVersionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListHostedConfigurationVersionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListHostedConfigurationVersionsResponseUnmarshaller.Instance; return InvokeAsync<ListHostedConfigurationVersionsResponse>(request, options, cancellationToken); } #endregion #region ListTagsForResource internal virtual ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance; return Invoke<ListTagsForResourceResponse>(request, options); } /// <summary> /// Retrieves the list of key-value tags assigned to the resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListTagsForResource service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListTagsForResource service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso> public virtual Task<ListTagsForResourceResponse> ListTagsForResourceAsync(ListTagsForResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance; return InvokeAsync<ListTagsForResourceResponse>(request, options, cancellationToken); } #endregion #region StartDeployment internal virtual StartDeploymentResponse StartDeployment(StartDeploymentRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = StartDeploymentRequestMarshaller.Instance; options.ResponseUnmarshaller = StartDeploymentResponseUnmarshaller.Instance; return Invoke<StartDeploymentResponse>(request, options); } /// <summary> /// Starts a deployment. /// </summary> /// <param name="request">Container for the necessary parameters to execute the StartDeployment service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the StartDeployment service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/StartDeployment">REST API Reference for StartDeployment Operation</seealso> public virtual Task<StartDeploymentResponse> StartDeploymentAsync(StartDeploymentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = StartDeploymentRequestMarshaller.Instance; options.ResponseUnmarshaller = StartDeploymentResponseUnmarshaller.Instance; return InvokeAsync<StartDeploymentResponse>(request, options, cancellationToken); } #endregion #region StopDeployment internal virtual StopDeploymentResponse StopDeployment(StopDeploymentRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = StopDeploymentRequestMarshaller.Instance; options.ResponseUnmarshaller = StopDeploymentResponseUnmarshaller.Instance; return Invoke<StopDeploymentResponse>(request, options); } /// <summary> /// Stops a deployment. This API action works only on deployments that have a status of /// <code>DEPLOYING</code>. This action moves the deployment to a status of <code>ROLLED_BACK</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the StopDeployment service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the StopDeployment service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/StopDeployment">REST API Reference for StopDeployment Operation</seealso> public virtual Task<StopDeploymentResponse> StopDeploymentAsync(StopDeploymentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = StopDeploymentRequestMarshaller.Instance; options.ResponseUnmarshaller = StopDeploymentResponseUnmarshaller.Instance; return InvokeAsync<StopDeploymentResponse>(request, options, cancellationToken); } #endregion #region TagResource internal virtual TagResourceResponse TagResource(TagResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = TagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance; return Invoke<TagResourceResponse>(request, options); } /// <summary> /// Assigns metadata to an AppConfig resource. Tags help organize and categorize your /// AppConfig resources. Each tag consists of a key and an optional value, both of which /// you define. You can specify a maximum of 50 tags for a resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the TagResource service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the TagResource service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/TagResource">REST API Reference for TagResource Operation</seealso> public virtual Task<TagResourceResponse> TagResourceAsync(TagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = TagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance; return InvokeAsync<TagResourceResponse>(request, options, cancellationToken); } #endregion #region UntagResource internal virtual UntagResourceResponse UntagResource(UntagResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UntagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance; return Invoke<UntagResourceResponse>(request, options); } /// <summary> /// Deletes a tag key and value from an AppConfig resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UntagResource service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UntagResource service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UntagResource">REST API Reference for UntagResource Operation</seealso> public virtual Task<UntagResourceResponse> UntagResourceAsync(UntagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UntagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance; return InvokeAsync<UntagResourceResponse>(request, options, cancellationToken); } #endregion #region UpdateApplication internal virtual UpdateApplicationResponse UpdateApplication(UpdateApplicationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateApplicationRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateApplicationResponseUnmarshaller.Instance; return Invoke<UpdateApplicationResponse>(request, options); } /// <summary> /// Updates an application. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateApplication service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateApplication service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UpdateApplication">REST API Reference for UpdateApplication Operation</seealso> public virtual Task<UpdateApplicationResponse> UpdateApplicationAsync(UpdateApplicationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateApplicationRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateApplicationResponseUnmarshaller.Instance; return InvokeAsync<UpdateApplicationResponse>(request, options, cancellationToken); } #endregion #region UpdateConfigurationProfile internal virtual UpdateConfigurationProfileResponse UpdateConfigurationProfile(UpdateConfigurationProfileRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateConfigurationProfileRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateConfigurationProfileResponseUnmarshaller.Instance; return Invoke<UpdateConfigurationProfileResponse>(request, options); } /// <summary> /// Updates a configuration profile. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateConfigurationProfile service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateConfigurationProfile service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UpdateConfigurationProfile">REST API Reference for UpdateConfigurationProfile Operation</seealso> public virtual Task<UpdateConfigurationProfileResponse> UpdateConfigurationProfileAsync(UpdateConfigurationProfileRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateConfigurationProfileRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateConfigurationProfileResponseUnmarshaller.Instance; return InvokeAsync<UpdateConfigurationProfileResponse>(request, options, cancellationToken); } #endregion #region UpdateDeploymentStrategy internal virtual UpdateDeploymentStrategyResponse UpdateDeploymentStrategy(UpdateDeploymentStrategyRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateDeploymentStrategyRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateDeploymentStrategyResponseUnmarshaller.Instance; return Invoke<UpdateDeploymentStrategyResponse>(request, options); } /// <summary> /// Updates a deployment strategy. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateDeploymentStrategy service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateDeploymentStrategy service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UpdateDeploymentStrategy">REST API Reference for UpdateDeploymentStrategy Operation</seealso> public virtual Task<UpdateDeploymentStrategyResponse> UpdateDeploymentStrategyAsync(UpdateDeploymentStrategyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateDeploymentStrategyRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateDeploymentStrategyResponseUnmarshaller.Instance; return InvokeAsync<UpdateDeploymentStrategyResponse>(request, options, cancellationToken); } #endregion #region UpdateEnvironment internal virtual UpdateEnvironmentResponse UpdateEnvironment(UpdateEnvironmentRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateEnvironmentRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateEnvironmentResponseUnmarshaller.Instance; return Invoke<UpdateEnvironmentResponse>(request, options); } /// <summary> /// Updates an environment. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateEnvironment service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateEnvironment service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UpdateEnvironment">REST API Reference for UpdateEnvironment Operation</seealso> public virtual Task<UpdateEnvironmentResponse> UpdateEnvironmentAsync(UpdateEnvironmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateEnvironmentRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateEnvironmentResponseUnmarshaller.Instance; return InvokeAsync<UpdateEnvironmentResponse>(request, options, cancellationToken); } #endregion #region UpdateExtension internal virtual UpdateExtensionResponse UpdateExtension(UpdateExtensionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateExtensionRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateExtensionResponseUnmarshaller.Instance; return Invoke<UpdateExtensionResponse>(request, options); } /// <summary> /// Updates an AppConfig extension. For more information about extensions, see <a href="https://docs.aws.amazon.com/appconfig/latest/userguide/working-with-appconfig-extensions.html">Working /// with AppConfig extensions</a> in the <i>AppConfig User Guide</i>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateExtension service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateExtension service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UpdateExtension">REST API Reference for UpdateExtension Operation</seealso> public virtual Task<UpdateExtensionResponse> UpdateExtensionAsync(UpdateExtensionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateExtensionRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateExtensionResponseUnmarshaller.Instance; return InvokeAsync<UpdateExtensionResponse>(request, options, cancellationToken); } #endregion #region UpdateExtensionAssociation internal virtual UpdateExtensionAssociationResponse UpdateExtensionAssociation(UpdateExtensionAssociationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateExtensionAssociationRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateExtensionAssociationResponseUnmarshaller.Instance; return Invoke<UpdateExtensionAssociationResponse>(request, options); } /// <summary> /// Updates an association. For more information about extensions and associations, see /// <a href="https://docs.aws.amazon.com/appconfig/latest/userguide/working-with-appconfig-extensions.html">Working /// with AppConfig extensions</a> in the <i>AppConfig User Guide</i>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateExtensionAssociation service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateExtensionAssociation service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UpdateExtensionAssociation">REST API Reference for UpdateExtensionAssociation Operation</seealso> public virtual Task<UpdateExtensionAssociationResponse> UpdateExtensionAssociationAsync(UpdateExtensionAssociationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateExtensionAssociationRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateExtensionAssociationResponseUnmarshaller.Instance; return InvokeAsync<UpdateExtensionAssociationResponse>(request, options, cancellationToken); } #endregion #region ValidateConfiguration internal virtual ValidateConfigurationResponse ValidateConfiguration(ValidateConfigurationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ValidateConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = ValidateConfigurationResponseUnmarshaller.Instance; return Invoke<ValidateConfigurationResponse>(request, options); } /// <summary> /// Uses the validators in a configuration profile to validate a configuration. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ValidateConfiguration service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ValidateConfiguration service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ValidateConfiguration">REST API Reference for ValidateConfiguration Operation</seealso> public virtual Task<ValidateConfigurationResponse> ValidateConfigurationAsync(ValidateConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ValidateConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = ValidateConfigurationResponseUnmarshaller.Instance; return InvokeAsync<ValidateConfigurationResponse>(request, options, cancellationToken); } #endregion } }
2,321
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appconfig-2019-10-09.normal.json service model. */ using System; using System.Threading; using System.Threading.Tasks; using System.Collections.Generic; using Amazon.Runtime; using Amazon.AppConfig.Model; namespace Amazon.AppConfig { /// <summary> /// Interface for accessing AppConfig /// /// Use AppConfig, a capability of Amazon Web Services Systems Manager, to create, manage, /// and quickly deploy application configurations. AppConfig supports controlled deployments /// to applications of any size and includes built-in validation checks and monitoring. /// You can use AppConfig with applications hosted on Amazon EC2 instances, Lambda, containers, /// mobile applications, or IoT devices. /// /// /// <para> /// To prevent errors when deploying application configurations, especially for production /// systems where a simple typo could cause an unexpected outage, AppConfig includes validators. /// A validator provides a syntactic or semantic check to ensure that the configuration /// you want to deploy works as intended. To validate your application configuration data, /// you provide a schema or an Amazon Web Services Lambda function that runs against the /// configuration. The configuration deployment or update can only proceed when the configuration /// data is valid. /// </para> /// /// <para> /// During a configuration deployment, AppConfig monitors the application to ensure that /// the deployment is successful. If the system encounters an error, AppConfig rolls back /// the change to minimize impact for your application users. You can configure a deployment /// strategy for each application or environment that includes deployment criteria, including /// velocity, bake time, and alarms to monitor. Similar to error monitoring, if a deployment /// triggers an alarm, AppConfig automatically rolls back to the previous version. /// </para> /// /// <para> /// AppConfig supports multiple use cases. Here are some examples: /// </para> /// <ul> <li> /// <para> /// <b>Feature flags</b>: Use AppConfig to turn on new features that require a timely /// deployment, such as a product launch or announcement. /// </para> /// </li> <li> /// <para> /// <b>Application tuning</b>: Use AppConfig to carefully introduce changes to your application /// that can only be tested with production traffic. /// </para> /// </li> <li> /// <para> /// <b>Allow list</b>: Use AppConfig to allow premium subscribers to access paid content. /// /// </para> /// </li> <li> /// <para> /// <b>Operational issues</b>: Use AppConfig to reduce stress on your application when /// a dependency or other external factor impacts the system. /// </para> /// </li> </ul> /// <para> /// This reference is intended to be used with the <a href="http://docs.aws.amazon.com/appconfig/latest/userguide/what-is-appconfig.html">AppConfig /// User Guide</a>. /// </para> /// </summary> public partial interface IAmazonAppConfig : IAmazonService, IDisposable { #if AWS_ASYNC_ENUMERABLES_API /// <summary> /// Paginators for the service /// </summary> IAppConfigPaginatorFactory Paginators { get; } #endif #region CreateApplication /// <summary> /// Creates an application. In AppConfig, an application is simply an organizational construct /// like a folder. This organizational construct has a relationship with some unit of /// executable code. For example, you could create an application called MyMobileApp to /// organize and manage configuration data for a mobile application installed by your /// users. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateApplication service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateApplication service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateApplication">REST API Reference for CreateApplication Operation</seealso> Task<CreateApplicationResponse> CreateApplicationAsync(CreateApplicationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateConfigurationProfile /// <summary> /// Creates a configuration profile, which is information that enables AppConfig to access /// the configuration source. Valid configuration sources include the following: /// /// <ul> <li> /// <para> /// Configuration data in YAML, JSON, and other formats stored in the AppConfig hosted /// configuration store /// </para> /// </li> <li> /// <para> /// Configuration data stored as objects in an Amazon Simple Storage Service (Amazon S3) /// bucket /// </para> /// </li> <li> /// <para> /// Pipelines stored in CodePipeline /// </para> /// </li> <li> /// <para> /// Secrets stored in Secrets Manager /// </para> /// </li> <li> /// <para> /// Standard and secure string parameters stored in Amazon Web Services Systems Manager /// Parameter Store /// </para> /// </li> <li> /// <para> /// Configuration data in SSM documents stored in the Systems Manager document store /// </para> /// </li> </ul> /// <para> /// A configuration profile includes the following information: /// </para> /// <ul> <li> /// <para> /// The URI location of the configuration data. /// </para> /// </li> <li> /// <para> /// The Identity and Access Management (IAM) role that provides access to the configuration /// data. /// </para> /// </li> <li> /// <para> /// A validator for the configuration data. Available validators include either a JSON /// Schema or an Amazon Web Services Lambda function. /// </para> /// </li> </ul> /// <para> /// For more information, see <a href="http://docs.aws.amazon.com/appconfig/latest/userguide/appconfig-creating-configuration-and-profile.html">Create /// a Configuration and a Configuration Profile</a> in the <i>AppConfig User Guide</i>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateConfigurationProfile service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateConfigurationProfile service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateConfigurationProfile">REST API Reference for CreateConfigurationProfile Operation</seealso> Task<CreateConfigurationProfileResponse> CreateConfigurationProfileAsync(CreateConfigurationProfileRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateDeploymentStrategy /// <summary> /// Creates a deployment strategy that defines important criteria for rolling out your /// configuration to the designated targets. A deployment strategy includes the overall /// duration required, a percentage of targets to receive the deployment during each interval, /// an algorithm that defines how percentage grows, and bake time. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateDeploymentStrategy service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateDeploymentStrategy service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateDeploymentStrategy">REST API Reference for CreateDeploymentStrategy Operation</seealso> Task<CreateDeploymentStrategyResponse> CreateDeploymentStrategyAsync(CreateDeploymentStrategyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateEnvironment /// <summary> /// Creates an environment. For each application, you define one or more environments. /// An environment is a deployment group of AppConfig targets, such as applications in /// a <code>Beta</code> or <code>Production</code> environment. You can also define environments /// for application subcomponents such as the <code>Web</code>, <code>Mobile</code> and /// <code>Back-end</code> components for your application. You can configure Amazon CloudWatch /// alarms for each environment. The system monitors alarms during a configuration deployment. /// If an alarm is triggered, the system rolls back the configuration. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateEnvironment service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateEnvironment service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateEnvironment">REST API Reference for CreateEnvironment Operation</seealso> Task<CreateEnvironmentResponse> CreateEnvironmentAsync(CreateEnvironmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateExtension /// <summary> /// Creates an AppConfig extension. An extension augments your ability to inject logic /// or behavior at different points during the AppConfig workflow of creating or deploying /// a configuration. /// /// /// <para> /// You can create your own extensions or use the Amazon Web Services authored extensions /// provided by AppConfig. For most use cases, to create your own extension, you must /// create an Lambda function to perform any computation and processing defined in the /// extension. For more information about extensions, see <a href="https://docs.aws.amazon.com/appconfig/latest/userguide/working-with-appconfig-extensions.html">Working /// with AppConfig extensions</a> in the <i>AppConfig User Guide</i>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateExtension service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateExtension service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ServiceQuotaExceededException"> /// The number of hosted configuration versions exceeds the limit for the AppConfig hosted /// configuration store. Delete one or more versions and try again. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateExtension">REST API Reference for CreateExtension Operation</seealso> Task<CreateExtensionResponse> CreateExtensionAsync(CreateExtensionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateExtensionAssociation /// <summary> /// When you create an extension or configure an Amazon Web Services authored extension, /// you associate the extension with an AppConfig application, environment, or configuration /// profile. For example, you can choose to run the <code>AppConfig deployment events /// to Amazon SNS</code> Amazon Web Services authored extension and receive notifications /// on an Amazon SNS topic anytime a configuration deployment is started for a specific /// application. Defining which extension to associate with an AppConfig resource is called /// an <i>extension association</i>. An extension association is a specified relationship /// between an extension and an AppConfig resource, such as an application or a configuration /// profile. For more information about extensions and associations, see <a href="https://docs.aws.amazon.com/appconfig/latest/userguide/working-with-appconfig-extensions.html">Working /// with AppConfig extensions</a> in the <i>AppConfig User Guide</i>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateExtensionAssociation service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateExtensionAssociation service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ServiceQuotaExceededException"> /// The number of hosted configuration versions exceeds the limit for the AppConfig hosted /// configuration store. Delete one or more versions and try again. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateExtensionAssociation">REST API Reference for CreateExtensionAssociation Operation</seealso> Task<CreateExtensionAssociationResponse> CreateExtensionAssociationAsync(CreateExtensionAssociationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateHostedConfigurationVersion /// <summary> /// Creates a new configuration in the AppConfig hosted configuration store. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateHostedConfigurationVersion service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateHostedConfigurationVersion service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.PayloadTooLargeException"> /// The configuration size is too large. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ServiceQuotaExceededException"> /// The number of hosted configuration versions exceeds the limit for the AppConfig hosted /// configuration store. Delete one or more versions and try again. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateHostedConfigurationVersion">REST API Reference for CreateHostedConfigurationVersion Operation</seealso> Task<CreateHostedConfigurationVersionResponse> CreateHostedConfigurationVersionAsync(CreateHostedConfigurationVersionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteApplication /// <summary> /// Deletes an application. Deleting an application does not delete a configuration from /// a host. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteApplication service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteApplication service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteApplication">REST API Reference for DeleteApplication Operation</seealso> Task<DeleteApplicationResponse> DeleteApplicationAsync(DeleteApplicationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteConfigurationProfile /// <summary> /// Deletes a configuration profile. Deleting a configuration profile does not delete /// a configuration from a host. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteConfigurationProfile service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteConfigurationProfile service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteConfigurationProfile">REST API Reference for DeleteConfigurationProfile Operation</seealso> Task<DeleteConfigurationProfileResponse> DeleteConfigurationProfileAsync(DeleteConfigurationProfileRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteDeploymentStrategy /// <summary> /// Deletes a deployment strategy. Deleting a deployment strategy does not delete a configuration /// from a host. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteDeploymentStrategy service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteDeploymentStrategy service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteDeploymentStrategy">REST API Reference for DeleteDeploymentStrategy Operation</seealso> Task<DeleteDeploymentStrategyResponse> DeleteDeploymentStrategyAsync(DeleteDeploymentStrategyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteEnvironment /// <summary> /// Deletes an environment. Deleting an environment does not delete a configuration from /// a host. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteEnvironment service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteEnvironment service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteEnvironment">REST API Reference for DeleteEnvironment Operation</seealso> Task<DeleteEnvironmentResponse> DeleteEnvironmentAsync(DeleteEnvironmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteExtension /// <summary> /// Deletes an AppConfig extension. You must delete all associations to an extension before /// you delete the extension. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteExtension service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteExtension service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteExtension">REST API Reference for DeleteExtension Operation</seealso> Task<DeleteExtensionResponse> DeleteExtensionAsync(DeleteExtensionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteExtensionAssociation /// <summary> /// Deletes an extension association. This action doesn't delete extensions defined in /// the association. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteExtensionAssociation service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteExtensionAssociation service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteExtensionAssociation">REST API Reference for DeleteExtensionAssociation Operation</seealso> Task<DeleteExtensionAssociationResponse> DeleteExtensionAssociationAsync(DeleteExtensionAssociationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteHostedConfigurationVersion /// <summary> /// Deletes a version of a configuration from the AppConfig hosted configuration store. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteHostedConfigurationVersion service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteHostedConfigurationVersion service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteHostedConfigurationVersion">REST API Reference for DeleteHostedConfigurationVersion Operation</seealso> Task<DeleteHostedConfigurationVersionResponse> DeleteHostedConfigurationVersionAsync(DeleteHostedConfigurationVersionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetApplication /// <summary> /// Retrieves information about an application. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetApplication service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetApplication service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetApplication">REST API Reference for GetApplication Operation</seealso> Task<GetApplicationResponse> GetApplicationAsync(GetApplicationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetConfiguration /// <summary> /// (Deprecated) Retrieves the latest deployed configuration. /// /// <important> /// <para> /// Note the following important information. /// </para> /// <ul> <li> /// <para> /// This API action is deprecated. Calls to receive configuration data should use the /// <a href="https://docs.aws.amazon.com/appconfig/2019-10-09/APIReference/API_appconfigdata_StartConfigurationSession.html">StartConfigurationSession</a> /// and <a href="https://docs.aws.amazon.com/appconfig/2019-10-09/APIReference/API_appconfigdata_GetLatestConfiguration.html">GetLatestConfiguration</a> /// APIs instead. /// </para> /// </li> <li> /// <para> /// <code>GetConfiguration</code> is a priced call. For more information, see <a href="https://aws.amazon.com/systems-manager/pricing/">Pricing</a>. /// </para> /// </li> </ul> </important> /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetConfiguration service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetConfiguration service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetConfiguration">REST API Reference for GetConfiguration Operation</seealso> [Obsolete("This API has been deprecated in favor of the GetLatestConfiguration API used in conjunction with StartConfigurationSession.")] Task<GetConfigurationResponse> GetConfigurationAsync(GetConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetConfigurationProfile /// <summary> /// Retrieves information about a configuration profile. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetConfigurationProfile service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetConfigurationProfile service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetConfigurationProfile">REST API Reference for GetConfigurationProfile Operation</seealso> Task<GetConfigurationProfileResponse> GetConfigurationProfileAsync(GetConfigurationProfileRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetDeployment /// <summary> /// Retrieves information about a configuration deployment. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetDeployment service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetDeployment service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetDeployment">REST API Reference for GetDeployment Operation</seealso> Task<GetDeploymentResponse> GetDeploymentAsync(GetDeploymentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetDeploymentStrategy /// <summary> /// Retrieves information about a deployment strategy. A deployment strategy defines important /// criteria for rolling out your configuration to the designated targets. A deployment /// strategy includes the overall duration required, a percentage of targets to receive /// the deployment during each interval, an algorithm that defines how percentage grows, /// and bake time. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetDeploymentStrategy service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetDeploymentStrategy service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetDeploymentStrategy">REST API Reference for GetDeploymentStrategy Operation</seealso> Task<GetDeploymentStrategyResponse> GetDeploymentStrategyAsync(GetDeploymentStrategyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetEnvironment /// <summary> /// Retrieves information about an environment. An environment is a deployment group of /// AppConfig applications, such as applications in a <code>Production</code> environment /// or in an <code>EU_Region</code> environment. Each configuration deployment targets /// an environment. You can enable one or more Amazon CloudWatch alarms for an environment. /// If an alarm is triggered during a deployment, AppConfig roles back the configuration. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetEnvironment service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetEnvironment service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetEnvironment">REST API Reference for GetEnvironment Operation</seealso> Task<GetEnvironmentResponse> GetEnvironmentAsync(GetEnvironmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetExtension /// <summary> /// Returns information about an AppConfig extension. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetExtension service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetExtension service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetExtension">REST API Reference for GetExtension Operation</seealso> Task<GetExtensionResponse> GetExtensionAsync(GetExtensionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetExtensionAssociation /// <summary> /// Returns information about an AppConfig extension association. For more information /// about extensions and associations, see <a href="https://docs.aws.amazon.com/appconfig/latest/userguide/working-with-appconfig-extensions.html">Working /// with AppConfig extensions</a> in the <i>AppConfig User Guide</i>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetExtensionAssociation service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetExtensionAssociation service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetExtensionAssociation">REST API Reference for GetExtensionAssociation Operation</seealso> Task<GetExtensionAssociationResponse> GetExtensionAssociationAsync(GetExtensionAssociationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetHostedConfigurationVersion /// <summary> /// Retrieves information about a specific configuration version. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetHostedConfigurationVersion service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetHostedConfigurationVersion service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetHostedConfigurationVersion">REST API Reference for GetHostedConfigurationVersion Operation</seealso> Task<GetHostedConfigurationVersionResponse> GetHostedConfigurationVersionAsync(GetHostedConfigurationVersionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListApplications /// <summary> /// Lists all applications in your Amazon Web Services account. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListApplications service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListApplications service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListApplications">REST API Reference for ListApplications Operation</seealso> Task<ListApplicationsResponse> ListApplicationsAsync(ListApplicationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListConfigurationProfiles /// <summary> /// Lists the configuration profiles for an application. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListConfigurationProfiles service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListConfigurationProfiles service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListConfigurationProfiles">REST API Reference for ListConfigurationProfiles Operation</seealso> Task<ListConfigurationProfilesResponse> ListConfigurationProfilesAsync(ListConfigurationProfilesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListDeployments /// <summary> /// Lists the deployments for an environment in descending deployment number order. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListDeployments service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListDeployments service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListDeployments">REST API Reference for ListDeployments Operation</seealso> Task<ListDeploymentsResponse> ListDeploymentsAsync(ListDeploymentsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListDeploymentStrategies /// <summary> /// Lists deployment strategies. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListDeploymentStrategies service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListDeploymentStrategies service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListDeploymentStrategies">REST API Reference for ListDeploymentStrategies Operation</seealso> Task<ListDeploymentStrategiesResponse> ListDeploymentStrategiesAsync(ListDeploymentStrategiesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListEnvironments /// <summary> /// Lists the environments for an application. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListEnvironments service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListEnvironments service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListEnvironments">REST API Reference for ListEnvironments Operation</seealso> Task<ListEnvironmentsResponse> ListEnvironmentsAsync(ListEnvironmentsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListExtensionAssociations /// <summary> /// Lists all AppConfig extension associations in the account. For more information about /// extensions and associations, see <a href="https://docs.aws.amazon.com/appconfig/latest/userguide/working-with-appconfig-extensions.html">Working /// with AppConfig extensions</a> in the <i>AppConfig User Guide</i>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListExtensionAssociations service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListExtensionAssociations service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListExtensionAssociations">REST API Reference for ListExtensionAssociations Operation</seealso> Task<ListExtensionAssociationsResponse> ListExtensionAssociationsAsync(ListExtensionAssociationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListExtensions /// <summary> /// Lists all custom and Amazon Web Services authored AppConfig extensions in the account. /// For more information about extensions, see <a href="https://docs.aws.amazon.com/appconfig/latest/userguide/working-with-appconfig-extensions.html">Working /// with AppConfig extensions</a> in the <i>AppConfig User Guide</i>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListExtensions service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListExtensions service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListExtensions">REST API Reference for ListExtensions Operation</seealso> Task<ListExtensionsResponse> ListExtensionsAsync(ListExtensionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListHostedConfigurationVersions /// <summary> /// Lists configurations stored in the AppConfig hosted configuration store by version. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListHostedConfigurationVersions service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListHostedConfigurationVersions service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListHostedConfigurationVersions">REST API Reference for ListHostedConfigurationVersions Operation</seealso> Task<ListHostedConfigurationVersionsResponse> ListHostedConfigurationVersionsAsync(ListHostedConfigurationVersionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListTagsForResource /// <summary> /// Retrieves the list of key-value tags assigned to the resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListTagsForResource service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListTagsForResource service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso> Task<ListTagsForResourceResponse> ListTagsForResourceAsync(ListTagsForResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region StartDeployment /// <summary> /// Starts a deployment. /// </summary> /// <param name="request">Container for the necessary parameters to execute the StartDeployment service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the StartDeployment service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/StartDeployment">REST API Reference for StartDeployment Operation</seealso> Task<StartDeploymentResponse> StartDeploymentAsync(StartDeploymentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region StopDeployment /// <summary> /// Stops a deployment. This API action works only on deployments that have a status of /// <code>DEPLOYING</code>. This action moves the deployment to a status of <code>ROLLED_BACK</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the StopDeployment service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the StopDeployment service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/StopDeployment">REST API Reference for StopDeployment Operation</seealso> Task<StopDeploymentResponse> StopDeploymentAsync(StopDeploymentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region TagResource /// <summary> /// Assigns metadata to an AppConfig resource. Tags help organize and categorize your /// AppConfig resources. Each tag consists of a key and an optional value, both of which /// you define. You can specify a maximum of 50 tags for a resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the TagResource service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the TagResource service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/TagResource">REST API Reference for TagResource Operation</seealso> Task<TagResourceResponse> TagResourceAsync(TagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UntagResource /// <summary> /// Deletes a tag key and value from an AppConfig resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UntagResource service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UntagResource service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UntagResource">REST API Reference for UntagResource Operation</seealso> Task<UntagResourceResponse> UntagResourceAsync(UntagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateApplication /// <summary> /// Updates an application. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateApplication service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateApplication service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UpdateApplication">REST API Reference for UpdateApplication Operation</seealso> Task<UpdateApplicationResponse> UpdateApplicationAsync(UpdateApplicationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateConfigurationProfile /// <summary> /// Updates a configuration profile. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateConfigurationProfile service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateConfigurationProfile service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UpdateConfigurationProfile">REST API Reference for UpdateConfigurationProfile Operation</seealso> Task<UpdateConfigurationProfileResponse> UpdateConfigurationProfileAsync(UpdateConfigurationProfileRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateDeploymentStrategy /// <summary> /// Updates a deployment strategy. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateDeploymentStrategy service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateDeploymentStrategy service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UpdateDeploymentStrategy">REST API Reference for UpdateDeploymentStrategy Operation</seealso> Task<UpdateDeploymentStrategyResponse> UpdateDeploymentStrategyAsync(UpdateDeploymentStrategyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateEnvironment /// <summary> /// Updates an environment. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateEnvironment service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateEnvironment service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UpdateEnvironment">REST API Reference for UpdateEnvironment Operation</seealso> Task<UpdateEnvironmentResponse> UpdateEnvironmentAsync(UpdateEnvironmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateExtension /// <summary> /// Updates an AppConfig extension. For more information about extensions, see <a href="https://docs.aws.amazon.com/appconfig/latest/userguide/working-with-appconfig-extensions.html">Working /// with AppConfig extensions</a> in the <i>AppConfig User Guide</i>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateExtension service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateExtension service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UpdateExtension">REST API Reference for UpdateExtension Operation</seealso> Task<UpdateExtensionResponse> UpdateExtensionAsync(UpdateExtensionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateExtensionAssociation /// <summary> /// Updates an association. For more information about extensions and associations, see /// <a href="https://docs.aws.amazon.com/appconfig/latest/userguide/working-with-appconfig-extensions.html">Working /// with AppConfig extensions</a> in the <i>AppConfig User Guide</i>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateExtensionAssociation service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateExtensionAssociation service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UpdateExtensionAssociation">REST API Reference for UpdateExtensionAssociation Operation</seealso> Task<UpdateExtensionAssociationResponse> UpdateExtensionAssociationAsync(UpdateExtensionAssociationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ValidateConfiguration /// <summary> /// Uses the validators in a configuration profile to validate a configuration. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ValidateConfiguration service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ValidateConfiguration service method, as returned by AppConfig.</returns> /// <exception cref="Amazon.AppConfig.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by an Amazon Web Services service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.InternalServerException"> /// There was an internal failure in the AppConfig service. /// </exception> /// <exception cref="Amazon.AppConfig.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ValidateConfiguration">REST API Reference for ValidateConfiguration Operation</seealso> Task<ValidateConfigurationResponse> ValidateConfigurationAsync(ValidateConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion } }
1,407
aws-sdk-net
aws
C#
using System; using System.Reflection; using System.Runtime.InteropServices; using System.Runtime.CompilerServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("AWSSDK.AppConfig")] #if BCL35 [assembly: AssemblyDescription("The Amazon Web Services SDK for .NET (3.5) - Amazon AppConfig. Introducing AWS AppConfig, a new service that enables customers to quickly deploy validated configurations to applications of any size in a controlled and monitored fashion.")] #elif BCL45 [assembly: AssemblyDescription("The Amazon Web Services SDK for .NET (4.5) - Amazon AppConfig. Introducing AWS AppConfig, a new service that enables customers to quickly deploy validated configurations to applications of any size in a controlled and monitored fashion.")] #elif NETSTANDARD20 [assembly: AssemblyDescription("The Amazon Web Services SDK for .NET (NetStandard 2.0) - Amazon AppConfig. Introducing AWS AppConfig, a new service that enables customers to quickly deploy validated configurations to applications of any size in a controlled and monitored fashion.")] #elif NETCOREAPP3_1 [assembly: AssemblyDescription("The Amazon Web Services SDK for .NET (.NET Core 3.1) - Amazon AppConfig. Introducing AWS AppConfig, a new service that enables customers to quickly deploy validated configurations to applications of any size in a controlled and monitored fashion.")] #else #error Unknown platform constant - unable to set correct AssemblyDescription #endif [assembly: AssemblyConfiguration("")] [assembly: AssemblyProduct("Amazon Web Services SDK for .NET")] [assembly: AssemblyCompany("Amazon.com, Inc")] [assembly: AssemblyCopyright("Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] // Setting ComVisible to false makes the types in this assembly not visible // to COM components. If you need to access a type in this assembly from // COM, set the ComVisible attribute to true on that type. [assembly: ComVisible(false)] // Version information for an assembly consists of the following four values: // // Major Version // Minor Version // Build Number // Revision // // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] [assembly: AssemblyVersion("3.3")] [assembly: AssemblyFileVersion("3.7.102.74")] [assembly: System.CLSCompliant(true)] #if BCL [assembly: System.Security.AllowPartiallyTrustedCallers] #endif
51
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appconfigdata-2021-11-11.normal.json service model. */ using System; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Util.Internal; using Amazon.AppConfigData.Internal; namespace Amazon.AppConfigData { /// <summary> /// Configuration for accessing Amazon AppConfigData service /// </summary> [AWSSignerType("v4")] public partial class AmazonAppConfigDataConfig : ClientConfig { private static readonly string UserAgentString = InternalSDKUtils.BuildUserAgentString("3.7.101.74"); private string _userAgent = UserAgentString; /// <summary> /// Default constructor /// </summary> public AmazonAppConfigDataConfig() : base(new Amazon.Runtime.Internal.DefaultConfigurationProvider(AmazonAppConfigDataDefaultConfiguration.GetAllConfigurations())) { this.AuthenticationServiceName = "appconfig"; this.EndpointProvider = new AmazonAppConfigDataEndpointProvider(); } /// <summary> /// The constant used to lookup in the region hash the endpoint. /// </summary> public override string RegionEndpointServiceName { get { return "appconfigdata"; } } /// <summary> /// Gets the ServiceVersion property. /// </summary> public override string ServiceVersion { get { return "2021-11-11"; } } /// <summary> /// Gets the value of UserAgent property. /// </summary> public override string UserAgent { get { return _userAgent; } } } }
83
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appconfigdata-2021-11-11.normal.json service model. */ using System; using System.Collections.Generic; using System.Collections.ObjectModel; using Amazon.Runtime; namespace Amazon.AppConfigData { /// <summary> /// Configuration for accessing Amazon AppConfigData service /// </summary> public static class AmazonAppConfigDataDefaultConfiguration { /// <summary> /// Collection of all <see cref="DefaultConfiguration"/>s supported by /// AppConfigData /// </summary> public static ReadOnlyCollection<IDefaultConfiguration> GetAllConfigurations() { return new ReadOnlyCollection<IDefaultConfiguration>(new List<IDefaultConfiguration> { Standard, InRegion, CrossRegion, Mobile, Auto, Legacy }); } /// <summary> /// <p>The STANDARD mode provides the latest recommended default values that should be safe to run in most scenarios</p><p>Note that the default values vended from this mode might change as best practices may evolve. As a result, it is encouraged to perform tests when upgrading the SDK</p> /// </summary> public static IDefaultConfiguration Standard {get;} = new DefaultConfiguration { Name = DefaultConfigurationMode.Standard, RetryMode = RequestRetryMode.Standard, StsRegionalEndpoints = StsRegionalEndpointsValue.Regional, S3UsEast1RegionalEndpoint = S3UsEast1RegionalEndpointValue.Regional, // 0:00:03.1 ConnectTimeout = TimeSpan.FromMilliseconds(3100L), // 0:00:03.1 TlsNegotiationTimeout = TimeSpan.FromMilliseconds(3100L), TimeToFirstByteTimeout = null, HttpRequestTimeout = null }; /// <summary> /// <p>The IN_REGION mode builds on the standard mode and includes optimization tailored for applications which call AWS services from within the same AWS region</p><p>Note that the default values vended from this mode might change as best practices may evolve. As a result, it is encouraged to perform tests when upgrading the SDK</p> /// </summary> public static IDefaultConfiguration InRegion {get;} = new DefaultConfiguration { Name = DefaultConfigurationMode.InRegion, RetryMode = RequestRetryMode.Standard, StsRegionalEndpoints = StsRegionalEndpointsValue.Regional, S3UsEast1RegionalEndpoint = S3UsEast1RegionalEndpointValue.Regional, // 0:00:01.1 ConnectTimeout = TimeSpan.FromMilliseconds(1100L), // 0:00:01.1 TlsNegotiationTimeout = TimeSpan.FromMilliseconds(1100L), TimeToFirstByteTimeout = null, HttpRequestTimeout = null }; /// <summary> /// <p>The CROSS_REGION mode builds on the standard mode and includes optimization tailored for applications which call AWS services in a different region</p><p>Note that the default values vended from this mode might change as best practices may evolve. As a result, it is encouraged to perform tests when upgrading the SDK</p> /// </summary> public static IDefaultConfiguration CrossRegion {get;} = new DefaultConfiguration { Name = DefaultConfigurationMode.CrossRegion, RetryMode = RequestRetryMode.Standard, StsRegionalEndpoints = StsRegionalEndpointsValue.Regional, S3UsEast1RegionalEndpoint = S3UsEast1RegionalEndpointValue.Regional, // 0:00:03.1 ConnectTimeout = TimeSpan.FromMilliseconds(3100L), // 0:00:03.1 TlsNegotiationTimeout = TimeSpan.FromMilliseconds(3100L), TimeToFirstByteTimeout = null, HttpRequestTimeout = null }; /// <summary> /// <p>The MOBILE mode builds on the standard mode and includes optimization tailored for mobile applications</p><p>Note that the default values vended from this mode might change as best practices may evolve. As a result, it is encouraged to perform tests when upgrading the SDK</p> /// </summary> public static IDefaultConfiguration Mobile {get;} = new DefaultConfiguration { Name = DefaultConfigurationMode.Mobile, RetryMode = RequestRetryMode.Standard, StsRegionalEndpoints = StsRegionalEndpointsValue.Regional, S3UsEast1RegionalEndpoint = S3UsEast1RegionalEndpointValue.Regional, // 0:00:30 ConnectTimeout = TimeSpan.FromMilliseconds(30000L), // 0:00:30 TlsNegotiationTimeout = TimeSpan.FromMilliseconds(30000L), TimeToFirstByteTimeout = null, HttpRequestTimeout = null }; /// <summary> /// <p>The AUTO mode is an experimental mode that builds on the standard mode. The SDK will attempt to discover the execution environment to determine the appropriate settings automatically.</p><p>Note that the auto detection is heuristics-based and does not guarantee 100% accuracy. STANDARD mode will be used if the execution environment cannot be determined. The auto detection might query <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html">EC2 Instance Metadata service</a>, which might introduce latency. Therefore we recommend choosing an explicit defaults_mode instead if startup latency is critical to your application</p> /// </summary> public static IDefaultConfiguration Auto {get;} = new DefaultConfiguration { Name = DefaultConfigurationMode.Auto, RetryMode = RequestRetryMode.Standard, StsRegionalEndpoints = StsRegionalEndpointsValue.Regional, S3UsEast1RegionalEndpoint = S3UsEast1RegionalEndpointValue.Regional, // 0:00:01.1 ConnectTimeout = TimeSpan.FromMilliseconds(1100L), // 0:00:01.1 TlsNegotiationTimeout = TimeSpan.FromMilliseconds(1100L), TimeToFirstByteTimeout = null, HttpRequestTimeout = null }; /// <summary> /// <p>The LEGACY mode provides default settings that vary per SDK and were used prior to establishment of defaults_mode</p> /// </summary> public static IDefaultConfiguration Legacy {get;} = new DefaultConfiguration { Name = DefaultConfigurationMode.Legacy, RetryMode = RequestRetryMode.Legacy, StsRegionalEndpoints = StsRegionalEndpointsValue.Legacy, S3UsEast1RegionalEndpoint = S3UsEast1RegionalEndpointValue.Legacy, ConnectTimeout = null, TlsNegotiationTimeout = null, TimeToFirstByteTimeout = null, HttpRequestTimeout = null }; } }
146
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appconfigdata-2021-11-11.normal.json service model. */ using Amazon.Runtime; using Amazon.Runtime.Endpoints; namespace Amazon.AppConfigData.Endpoints { /// <summary> /// Contains parameters used for resolving AppConfigData endpoints /// Parameters can be sourced from client config and service operations /// Used by internal AppConfigDataEndpointProvider and AppConfigDataEndpointResolver /// Can be used by custom EndpointProvider, see ClientConfig.EndpointProvider /// </summary> public class AppConfigDataEndpointParameters : EndpointParameters { /// <summary> /// AppConfigDataEndpointParameters constructor /// </summary> public AppConfigDataEndpointParameters() { UseDualStack = false; UseFIPS = false; } /// <summary> /// Region parameter /// </summary> public string Region { get { return (string)this["Region"]; } set { this["Region"] = value; } } /// <summary> /// UseDualStack parameter /// </summary> public bool? UseDualStack { get { return (bool?)this["UseDualStack"]; } set { this["UseDualStack"] = value; } } /// <summary> /// UseFIPS parameter /// </summary> public bool? UseFIPS { get { return (bool?)this["UseFIPS"]; } set { this["UseFIPS"] = value; } } /// <summary> /// Endpoint parameter /// </summary> public string Endpoint { get { return (string)this["Endpoint"]; } set { this["Endpoint"] = value; } } } }
78
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appconfigdata-2021-11-11.normal.json service model. */ using System; using System.Collections.Generic; using System.Net; using System.Text; using Amazon.Runtime; namespace Amazon.AppConfigData { ///<summary> /// Common exception for the AppConfigData service. /// </summary> #if !NETSTANDARD [Serializable] #endif public partial class AmazonAppConfigDataException : AmazonServiceException { /// <summary> /// Construct instance of AmazonAppConfigDataException /// </summary> /// <param name="message"></param> public AmazonAppConfigDataException(string message) : base(message) { } /// <summary> /// Construct instance of AmazonAppConfigDataException /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> public AmazonAppConfigDataException(string message, Exception innerException) : base(message, innerException) { } /// <summary> /// Construct instance of AmazonAppConfigDataException /// </summary> /// <param name="innerException"></param> public AmazonAppConfigDataException(Exception innerException) : base(innerException.Message, innerException) { } /// <summary> /// Construct instance of AmazonAppConfigDataException /// </summary> /// <param name="message"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public AmazonAppConfigDataException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, errorType, errorCode, requestId, statusCode) { } /// <summary> /// Construct instance of AmazonAppConfigDataException /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public AmazonAppConfigDataException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, innerException, errorType, errorCode, requestId, statusCode) { } #if !NETSTANDARD /// <summary> /// Constructs a new instance of the AmazonAppConfigDataException class with serialized data. /// </summary> /// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param> /// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param> /// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception> /// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception> protected AmazonAppConfigDataException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : base(info, context) { } #endif } }
105
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appconfigdata-2021-11-11.normal.json service model. */ using System; using Amazon.Runtime; namespace Amazon.AppConfigData { /// <summary> /// Constants used for properties of type BadRequestReason. /// </summary> public class BadRequestReason : ConstantClass { /// <summary> /// Constant InvalidParameters for BadRequestReason /// </summary> public static readonly BadRequestReason InvalidParameters = new BadRequestReason("InvalidParameters"); /// <summary> /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// </summary> public BadRequestReason(string value) : base(value) { } /// <summary> /// Finds the constant for the unique value. /// </summary> /// <param name="value">The unique value for the constant</param> /// <returns>The constant for the unique value</returns> public static BadRequestReason FindValue(string value) { return FindValue<BadRequestReason>(value); } /// <summary> /// Utility method to convert strings to the constant class. /// </summary> /// <param name="value">The string value to convert to the constant class.</param> /// <returns></returns> public static implicit operator BadRequestReason(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type InvalidParameterProblem. /// </summary> public class InvalidParameterProblem : ConstantClass { /// <summary> /// Constant Corrupted for InvalidParameterProblem /// </summary> public static readonly InvalidParameterProblem Corrupted = new InvalidParameterProblem("Corrupted"); /// <summary> /// Constant Expired for InvalidParameterProblem /// </summary> public static readonly InvalidParameterProblem Expired = new InvalidParameterProblem("Expired"); /// <summary> /// Constant PollIntervalNotSatisfied for InvalidParameterProblem /// </summary> public static readonly InvalidParameterProblem PollIntervalNotSatisfied = new InvalidParameterProblem("PollIntervalNotSatisfied"); /// <summary> /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// </summary> public InvalidParameterProblem(string value) : base(value) { } /// <summary> /// Finds the constant for the unique value. /// </summary> /// <param name="value">The unique value for the constant</param> /// <returns>The constant for the unique value</returns> public static InvalidParameterProblem FindValue(string value) { return FindValue<InvalidParameterProblem>(value); } /// <summary> /// Utility method to convert strings to the constant class. /// </summary> /// <param name="value">The string value to convert to the constant class.</param> /// <returns></returns> public static implicit operator InvalidParameterProblem(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type ResourceType. /// </summary> public class ResourceType : ConstantClass { /// <summary> /// Constant Application for ResourceType /// </summary> public static readonly ResourceType Application = new ResourceType("Application"); /// <summary> /// Constant Configuration for ResourceType /// </summary> public static readonly ResourceType Configuration = new ResourceType("Configuration"); /// <summary> /// Constant ConfigurationProfile for ResourceType /// </summary> public static readonly ResourceType ConfigurationProfile = new ResourceType("ConfigurationProfile"); /// <summary> /// Constant Deployment for ResourceType /// </summary> public static readonly ResourceType Deployment = new ResourceType("Deployment"); /// <summary> /// Constant Environment for ResourceType /// </summary> public static readonly ResourceType Environment = new ResourceType("Environment"); /// <summary> /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// </summary> public ResourceType(string value) : base(value) { } /// <summary> /// Finds the constant for the unique value. /// </summary> /// <param name="value">The unique value for the constant</param> /// <returns>The constant for the unique value</returns> public static ResourceType FindValue(string value) { return FindValue<ResourceType>(value); } /// <summary> /// Utility method to convert strings to the constant class. /// </summary> /// <param name="value">The string value to convert to the constant class.</param> /// <returns></returns> public static implicit operator ResourceType(string value) { return FindValue(value); } } }
188
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appconfigdata-2021-11-11.normal.json service model. */ using System; using System.Collections.Generic; using Amazon.Runtime; using Amazon.Runtime.Endpoints; using static Amazon.Runtime.Internal.Endpoints.StandardLibrary.Fn; namespace Amazon.AppConfigData.Internal { /// <summary> /// Amazon AppConfigData endpoint provider. /// Resolves endpoint for given set of AppConfigDataEndpointParameters. /// Can throw AmazonClientException if endpoint resolution is unsuccessful. /// </summary> public class AmazonAppConfigDataEndpointProvider : IEndpointProvider { /// <summary> /// Resolve endpoint for AppConfigDataEndpointParameters /// </summary> public Endpoint ResolveEndpoint(EndpointParameters parameters) { if (parameters == null) throw new ArgumentNullException("parameters"); if (parameters["UseDualStack"] == null) throw new AmazonClientException("UseDualStack parameter must be set for endpoint resolution"); if (parameters["UseFIPS"] == null) throw new AmazonClientException("UseFIPS parameter must be set for endpoint resolution"); var refs = new Dictionary<string, object>() { ["Region"] = parameters["Region"], ["UseDualStack"] = parameters["UseDualStack"], ["UseFIPS"] = parameters["UseFIPS"], ["Endpoint"] = parameters["Endpoint"], }; if (IsSet(refs["Endpoint"])) { if (Equals(refs["UseFIPS"], true)) { throw new AmazonClientException("Invalid Configuration: FIPS and custom endpoint are not supported"); } if (Equals(refs["UseDualStack"], true)) { throw new AmazonClientException("Invalid Configuration: Dualstack and custom endpoint are not supported"); } return new Endpoint((string)refs["Endpoint"], InterpolateJson(@"", refs), InterpolateJson(@"", refs)); } if (IsSet(refs["Region"])) { if ((refs["PartitionResult"] = Partition((string)refs["Region"])) != null) { if (Equals(refs["UseFIPS"], true) && Equals(refs["UseDualStack"], true)) { if (Equals(true, GetAttr(refs["PartitionResult"], "supportsFIPS")) && Equals(true, GetAttr(refs["PartitionResult"], "supportsDualStack"))) { return new Endpoint(Interpolate(@"https://appconfigdata-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", refs), InterpolateJson(@"", refs), InterpolateJson(@"", refs)); } throw new AmazonClientException("FIPS and DualStack are enabled, but this partition does not support one or both"); } if (Equals(refs["UseFIPS"], true)) { if (Equals(true, GetAttr(refs["PartitionResult"], "supportsFIPS"))) { return new Endpoint(Interpolate(@"https://appconfigdata-fips.{Region}.{PartitionResult#dnsSuffix}", refs), InterpolateJson(@"", refs), InterpolateJson(@"", refs)); } throw new AmazonClientException("FIPS is enabled but this partition does not support FIPS"); } if (Equals(refs["UseDualStack"], true)) { if (Equals(true, GetAttr(refs["PartitionResult"], "supportsDualStack"))) { return new Endpoint(Interpolate(@"https://appconfigdata.{Region}.{PartitionResult#dualStackDnsSuffix}", refs), InterpolateJson(@"", refs), InterpolateJson(@"", refs)); } throw new AmazonClientException("DualStack is enabled but this partition does not support DualStack"); } return new Endpoint(Interpolate(@"https://appconfigdata.{Region}.{PartitionResult#dnsSuffix}", refs), InterpolateJson(@"", refs), InterpolateJson(@"", refs)); } } throw new AmazonClientException("Invalid Configuration: Missing Region"); throw new AmazonClientException("Cannot resolve endpoint"); } } }
103
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appconfigdata-2021-11-11.normal.json service model. */ using System; using Amazon.AppConfigData.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Endpoints; using Amazon.Util; using Amazon.AppConfigData.Endpoints; #pragma warning disable 1591 namespace Amazon.AppConfigData.Internal { /// <summary> /// Amazon AppConfigData endpoint resolver. /// Custom PipelineHandler responsible for resolving endpoint and setting authentication parameters for AppConfigData service requests. /// Collects values for AppConfigDataEndpointParameters and then tries to resolve endpoint by calling /// ResolveEndpoint method on GlobalEndpoints.Provider if present, otherwise uses AppConfigDataEndpointProvider. /// Responsible for setting authentication and http headers provided by resolved endpoint. /// </summary> public class AmazonAppConfigDataEndpointResolver : BaseEndpointResolver { protected override void ServiceSpecificHandler(IExecutionContext executionContext, EndpointParameters parameters) { InjectHostPrefix(executionContext.RequestContext); } protected override EndpointParameters MapEndpointsParameters(IRequestContext requestContext) { var config = (AmazonAppConfigDataConfig)requestContext.ClientConfig; var result = new AppConfigDataEndpointParameters(); result.Region = config.RegionEndpoint?.SystemName; result.UseDualStack = config.UseDualstackEndpoint; result.UseFIPS = config.UseFIPSEndpoint; result.Endpoint = config.ServiceURL; // The region needs to be determined from the ServiceURL if not set. var regionEndpoint = config.RegionEndpoint; if (regionEndpoint == null && !string.IsNullOrEmpty(config.ServiceURL)) { var regionName = AWSSDKUtils.DetermineRegion(config.ServiceURL); result.Region = RegionEndpoint.GetBySystemName(regionName).SystemName; } // To support legacy endpoint overridding rules in the endpoints.json if (result.Region == "us-east-1-regional") { result.Region = "us-east-1"; } // Use AlternateEndpoint region override if set if (requestContext.Request.AlternateEndpoint != null) { result.Region = requestContext.Request.AlternateEndpoint.SystemName; } // Assign staticContextParams and contextParam per operation return result; } } }
83
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appconfigdata-2021-11-11.normal.json service model. */ using Amazon.Runtime.Internal; namespace Amazon.AppConfigData.Internal { /// <summary> /// Service metadata for Amazon AppConfigData service /// </summary> public partial class AmazonAppConfigDataMetadata : IServiceMetadata { /// <summary> /// Gets the value of the Service Id. /// </summary> public string ServiceId { get { return "AppConfigData"; } } /// <summary> /// Gets the dictionary that gives mapping of renamed operations /// </summary> public System.Collections.Generic.IDictionary<string, string> OperationNameMapping { get { return new System.Collections.Generic.Dictionary<string, string>(0) { }; } } } }
55
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appconfigdata-2021-11-11.normal.json service model. */ using Amazon.Runtime; namespace Amazon.AppConfigData { /// <summary> /// Base class for AppConfigData operation requests. /// </summary> public partial class AmazonAppConfigDataRequest : AmazonWebServiceRequest { } }
30
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appconfigdata-2021-11-11.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppConfigData.Model { /// <summary> /// Detailed information about the input that failed to satisfy the constraints specified /// by a call. /// </summary> public partial class BadRequestDetails { private Dictionary<string, InvalidParameterDetail> _invalidParameters = new Dictionary<string, InvalidParameterDetail>(); /// <summary> /// Gets and sets the property InvalidParameters. /// <para> /// One or more specified parameters are not valid for the call. /// </para> /// </summary> public Dictionary<string, InvalidParameterDetail> InvalidParameters { get { return this._invalidParameters; } set { this._invalidParameters = value; } } // Check to see if InvalidParameters property is set internal bool IsSetInvalidParameters() { return this._invalidParameters != null && this._invalidParameters.Count > 0; } } }
58
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appconfigdata-2021-11-11.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppConfigData.Model { /// <summary> /// The input fails to satisfy the constraints specified by the service. /// </summary> #if !NETSTANDARD [Serializable] #endif public partial class BadRequestException : AmazonAppConfigDataException { private BadRequestDetails _details; private BadRequestReason _reason; /// <summary> /// Constructs a new BadRequestException with the specified error /// message. /// </summary> /// <param name="message"> /// Describes the error encountered. /// </param> public BadRequestException(string message) : base(message) {} /// <summary> /// Construct instance of BadRequestException /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> public BadRequestException(string message, Exception innerException) : base(message, innerException) {} /// <summary> /// Construct instance of BadRequestException /// </summary> /// <param name="innerException"></param> public BadRequestException(Exception innerException) : base(innerException) {} /// <summary> /// Construct instance of BadRequestException /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public BadRequestException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, innerException, errorType, errorCode, requestId, statusCode) {} /// <summary> /// Construct instance of BadRequestException /// </summary> /// <param name="message"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public BadRequestException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, errorType, errorCode, requestId, statusCode) {} #if !NETSTANDARD /// <summary> /// Constructs a new instance of the BadRequestException class with serialized data. /// </summary> /// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param> /// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param> /// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception> /// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception> protected BadRequestException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : base(info, context) { this.Details = (BadRequestDetails)info.GetValue("Details", typeof(BadRequestDetails)); this.Reason = (BadRequestReason)info.GetValue("Reason", typeof(BadRequestReason)); } /// <summary> /// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception. /// </summary> /// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param> /// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param> /// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception> #if BCL35 [System.Security.Permissions.SecurityPermission( System.Security.Permissions.SecurityAction.LinkDemand, Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)] #endif [System.Security.SecurityCritical] // These FxCop rules are giving false-positives for this method [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")] [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")] public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { base.GetObjectData(info, context); info.AddValue("Details", this.Details); info.AddValue("Reason", this.Reason); } #endif /// <summary> /// Gets and sets the property Details. /// <para> /// Details describing why the request was invalid. /// </para> /// </summary> public BadRequestDetails Details { get { return this._details; } set { this._details = value; } } // Check to see if Details property is set internal bool IsSetDetails() { return this._details != null; } /// <summary> /// Gets and sets the property Reason. /// <para> /// Code indicating the reason the request was invalid. /// </para> /// </summary> public BadRequestReason Reason { get { return this._reason; } set { this._reason = value; } } // Check to see if Reason property is set internal bool IsSetReason() { return this._reason != null; } } }
166
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appconfigdata-2021-11-11.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppConfigData.Model { /// <summary> /// Container for the parameters to the GetLatestConfiguration operation. /// Retrieves the latest deployed configuration. This API may return empty configuration /// data if the client already has the latest version. For more information about this /// API action and to view example CLI commands that show how to use it with the <a>StartConfigurationSession</a> /// API action, see <a href="http://docs.aws.amazon.com/appconfig/latest/userguide/appconfig-retrieving-the-configuration">Retrieving /// the configuration</a> in the <i>AppConfig User Guide</i>. /// /// <important> /// <para> /// Note the following important information. /// </para> /// <ul> <li> /// <para> /// Each configuration token is only valid for one call to <code>GetLatestConfiguration</code>. /// The <code>GetLatestConfiguration</code> response includes a <code>NextPollConfigurationToken</code> /// that should always replace the token used for the just-completed call in preparation /// for the next one. /// </para> /// </li> <li> /// <para> /// <code>GetLatestConfiguration</code> is a priced call. For more information, see <a /// href="https://aws.amazon.com/systems-manager/pricing/">Pricing</a>. /// </para> /// </li> </ul> </important> /// </summary> public partial class GetLatestConfigurationRequest : AmazonAppConfigDataRequest { private string _configurationToken; /// <summary> /// Gets and sets the property ConfigurationToken. /// <para> /// Token describing the current state of the configuration session. To obtain a token, /// first call the <a>StartConfigurationSession</a> API. Note that every call to <code>GetLatestConfiguration</code> /// will return a new <code>ConfigurationToken</code> (<code>NextPollConfigurationToken</code> /// in the response) and <i>must</i> be provided to subsequent <code>GetLatestConfiguration</code> /// API calls. /// </para> /// <important> /// <para> /// This token should only be used once. To support long poll use cases, the token is /// valid for up to 24 hours. If a <code>GetLatestConfiguration</code> call uses an expired /// token, the system returns <code>BadRequestException</code>. /// </para> /// </important> /// </summary> [AWSProperty(Required=true)] public string ConfigurationToken { get { return this._configurationToken; } set { this._configurationToken = value; } } // Check to see if ConfigurationToken property is set internal bool IsSetConfigurationToken() { return this._configurationToken != null; } } }
92
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appconfigdata-2021-11-11.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppConfigData.Model { /// <summary> /// This is the response object from the GetLatestConfiguration operation. /// </summary> public partial class GetLatestConfigurationResponse : AmazonWebServiceResponse { private MemoryStream _configuration; private string _contentType; private string _nextPollConfigurationToken; private int? _nextPollIntervalInSeconds; private string _versionLabel; /// <summary> /// Gets and sets the property Configuration. /// <para> /// The data of the configuration. This may be empty if the client already has the latest /// version of configuration. /// </para> /// </summary> [AWSProperty(Sensitive=true)] public MemoryStream Configuration { get { return this._configuration; } set { this._configuration = value; } } // Check to see if Configuration property is set internal bool IsSetConfiguration() { return this._configuration != null; } /// <summary> /// Gets and sets the property ContentType. /// <para> /// A standard MIME type describing the format of the configuration content. /// </para> /// </summary> public string ContentType { get { return this._contentType; } set { this._contentType = value; } } // Check to see if ContentType property is set internal bool IsSetContentType() { return this._contentType != null; } /// <summary> /// Gets and sets the property NextPollConfigurationToken. /// <para> /// The latest token describing the current state of the configuration session. This <i>must</i> /// be provided to the next call to <code>GetLatestConfiguration.</code> /// </para> /// <important> /// <para> /// This token should only be used once. To support long poll use cases, the token is /// valid for up to 24 hours. If a <code>GetLatestConfiguration</code> call uses an expired /// token, the system returns <code>BadRequestException</code>. /// </para> /// </important> /// </summary> public string NextPollConfigurationToken { get { return this._nextPollConfigurationToken; } set { this._nextPollConfigurationToken = value; } } // Check to see if NextPollConfigurationToken property is set internal bool IsSetNextPollConfigurationToken() { return this._nextPollConfigurationToken != null; } /// <summary> /// Gets and sets the property NextPollIntervalInSeconds. /// <para> /// The amount of time the client should wait before polling for configuration updates /// again. Use <code>RequiredMinimumPollIntervalInSeconds</code> to set the desired poll /// interval. /// </para> /// </summary> public int NextPollIntervalInSeconds { get { return this._nextPollIntervalInSeconds.GetValueOrDefault(); } set { this._nextPollIntervalInSeconds = value; } } // Check to see if NextPollIntervalInSeconds property is set internal bool IsSetNextPollIntervalInSeconds() { return this._nextPollIntervalInSeconds.HasValue; } /// <summary> /// Gets and sets the property VersionLabel. /// <para> /// The user-defined label for the AppConfig hosted configuration version. This attribute /// doesn't apply if the configuration is not from an AppConfig hosted configuration version. /// If the client already has the latest version of the configuration data, this value /// is empty. /// </para> /// </summary> public string VersionLabel { get { return this._versionLabel; } set { this._versionLabel = value; } } // Check to see if VersionLabel property is set internal bool IsSetVersionLabel() { return this._versionLabel != null; } } }
148
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appconfigdata-2021-11-11.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppConfigData.Model { /// <summary> /// There was an internal failure in the service. /// </summary> #if !NETSTANDARD [Serializable] #endif public partial class InternalServerException : AmazonAppConfigDataException { /// <summary> /// Constructs a new InternalServerException with the specified error /// message. /// </summary> /// <param name="message"> /// Describes the error encountered. /// </param> public InternalServerException(string message) : base(message) {} /// <summary> /// Construct instance of InternalServerException /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> public InternalServerException(string message, Exception innerException) : base(message, innerException) {} /// <summary> /// Construct instance of InternalServerException /// </summary> /// <param name="innerException"></param> public InternalServerException(Exception innerException) : base(innerException) {} /// <summary> /// Construct instance of InternalServerException /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public InternalServerException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, innerException, errorType, errorCode, requestId, statusCode) {} /// <summary> /// Construct instance of InternalServerException /// </summary> /// <param name="message"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public InternalServerException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, errorType, errorCode, requestId, statusCode) {} #if !NETSTANDARD /// <summary> /// Constructs a new instance of the InternalServerException class with serialized data. /// </summary> /// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param> /// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param> /// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception> /// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception> protected InternalServerException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : base(info, context) { } /// <summary> /// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception. /// </summary> /// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param> /// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param> /// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception> #if BCL35 [System.Security.Permissions.SecurityPermission( System.Security.Permissions.SecurityAction.LinkDemand, Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)] #endif [System.Security.SecurityCritical] // These FxCop rules are giving false-positives for this method [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")] [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")] public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { base.GetObjectData(info, context); } #endif } }
124
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appconfigdata-2021-11-11.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppConfigData.Model { /// <summary> /// Information about an invalid parameter. /// </summary> public partial class InvalidParameterDetail { private InvalidParameterProblem _problem; /// <summary> /// Gets and sets the property Problem. /// <para> /// The reason the parameter is invalid. /// </para> /// </summary> public InvalidParameterProblem Problem { get { return this._problem; } set { this._problem = value; } } // Check to see if Problem property is set internal bool IsSetProblem() { return this._problem != null; } } }
57
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appconfigdata-2021-11-11.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppConfigData.Model { /// <summary> /// The requested resource could not be found. /// </summary> #if !NETSTANDARD [Serializable] #endif public partial class ResourceNotFoundException : AmazonAppConfigDataException { private Dictionary<string, string> _referencedBy = new Dictionary<string, string>(); private ResourceType _resourceType; /// <summary> /// Constructs a new ResourceNotFoundException with the specified error /// message. /// </summary> /// <param name="message"> /// Describes the error encountered. /// </param> public ResourceNotFoundException(string message) : base(message) {} /// <summary> /// Construct instance of ResourceNotFoundException /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> public ResourceNotFoundException(string message, Exception innerException) : base(message, innerException) {} /// <summary> /// Construct instance of ResourceNotFoundException /// </summary> /// <param name="innerException"></param> public ResourceNotFoundException(Exception innerException) : base(innerException) {} /// <summary> /// Construct instance of ResourceNotFoundException /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public ResourceNotFoundException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, innerException, errorType, errorCode, requestId, statusCode) {} /// <summary> /// Construct instance of ResourceNotFoundException /// </summary> /// <param name="message"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public ResourceNotFoundException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, errorType, errorCode, requestId, statusCode) {} #if !NETSTANDARD /// <summary> /// Constructs a new instance of the ResourceNotFoundException class with serialized data. /// </summary> /// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param> /// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param> /// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception> /// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception> protected ResourceNotFoundException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : base(info, context) { this.ReferencedBy = (Dictionary<string, string>)info.GetValue("ReferencedBy", typeof(Dictionary<string, string>)); this.ResourceType = (ResourceType)info.GetValue("ResourceType", typeof(ResourceType)); } /// <summary> /// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception. /// </summary> /// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param> /// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param> /// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception> #if BCL35 [System.Security.Permissions.SecurityPermission( System.Security.Permissions.SecurityAction.LinkDemand, Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)] #endif [System.Security.SecurityCritical] // These FxCop rules are giving false-positives for this method [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")] [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")] public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { base.GetObjectData(info, context); info.AddValue("ReferencedBy", this.ReferencedBy); info.AddValue("ResourceType", this.ResourceType); } #endif /// <summary> /// Gets and sets the property ReferencedBy. /// <para> /// A map indicating which parameters in the request reference the resource that was not /// found. /// </para> /// </summary> public Dictionary<string, string> ReferencedBy { get { return this._referencedBy; } set { this._referencedBy = value; } } // Check to see if ReferencedBy property is set internal bool IsSetReferencedBy() { return this._referencedBy != null && this._referencedBy.Count > 0; } /// <summary> /// Gets and sets the property ResourceType. /// <para> /// The type of resource that was not found. /// </para> /// </summary> public ResourceType ResourceType { get { return this._resourceType; } set { this._resourceType = value; } } // Check to see if ResourceType property is set internal bool IsSetResourceType() { return this._resourceType != null; } } }
167
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appconfigdata-2021-11-11.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppConfigData.Model { /// <summary> /// Container for the parameters to the StartConfigurationSession operation. /// Starts a configuration session used to retrieve a deployed configuration. For more /// information about this API action and to view example CLI commands that show how to /// use it with the <a>GetLatestConfiguration</a> API action, see <a href="http://docs.aws.amazon.com/appconfig/latest/userguide/appconfig-retrieving-the-configuration">Retrieving /// the configuration</a> in the <i>AppConfig User Guide</i>. /// </summary> public partial class StartConfigurationSessionRequest : AmazonAppConfigDataRequest { private string _applicationIdentifier; private string _configurationProfileIdentifier; private string _environmentIdentifier; private int? _requiredMinimumPollIntervalInSeconds; /// <summary> /// Gets and sets the property ApplicationIdentifier. /// <para> /// The application ID or the application name. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=128)] public string ApplicationIdentifier { get { return this._applicationIdentifier; } set { this._applicationIdentifier = value; } } // Check to see if ApplicationIdentifier property is set internal bool IsSetApplicationIdentifier() { return this._applicationIdentifier != null; } /// <summary> /// Gets and sets the property ConfigurationProfileIdentifier. /// <para> /// The configuration profile ID or the configuration profile name. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=128)] public string ConfigurationProfileIdentifier { get { return this._configurationProfileIdentifier; } set { this._configurationProfileIdentifier = value; } } // Check to see if ConfigurationProfileIdentifier property is set internal bool IsSetConfigurationProfileIdentifier() { return this._configurationProfileIdentifier != null; } /// <summary> /// Gets and sets the property EnvironmentIdentifier. /// <para> /// The environment ID or the environment name. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=128)] public string EnvironmentIdentifier { get { return this._environmentIdentifier; } set { this._environmentIdentifier = value; } } // Check to see if EnvironmentIdentifier property is set internal bool IsSetEnvironmentIdentifier() { return this._environmentIdentifier != null; } /// <summary> /// Gets and sets the property RequiredMinimumPollIntervalInSeconds. /// <para> /// Sets a constraint on a session. If you specify a value of, for example, 60 seconds, /// then the client that established the session can't call <a>GetLatestConfiguration</a> /// more frequently than every 60 seconds. /// </para> /// </summary> [AWSProperty(Min=15, Max=86400)] public int RequiredMinimumPollIntervalInSeconds { get { return this._requiredMinimumPollIntervalInSeconds.GetValueOrDefault(); } set { this._requiredMinimumPollIntervalInSeconds = value; } } // Check to see if RequiredMinimumPollIntervalInSeconds property is set internal bool IsSetRequiredMinimumPollIntervalInSeconds() { return this._requiredMinimumPollIntervalInSeconds.HasValue; } } }
124
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appconfigdata-2021-11-11.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppConfigData.Model { /// <summary> /// This is the response object from the StartConfigurationSession operation. /// </summary> public partial class StartConfigurationSessionResponse : AmazonWebServiceResponse { private string _initialConfigurationToken; /// <summary> /// Gets and sets the property InitialConfigurationToken. /// <para> /// Token encapsulating state about the configuration session. Provide this token to the /// <code>GetLatestConfiguration</code> API to retrieve configuration data. /// </para> /// <important> /// <para> /// This token should only be used once in your first call to <code>GetLatestConfiguration</code>. /// You <i>must</i> use the new token in the <code>GetLatestConfiguration</code> response /// (<code>NextPollConfigurationToken</code>) in each subsequent call to <code>GetLatestConfiguration</code>. /// </para> /// /// <para> /// The <code>InitialConfigurationToken</code> and <code>NextPollConfigurationToken</code> /// should only be used once. To support long poll use cases, the tokens are valid for /// up to 24 hours. If a <code>GetLatestConfiguration</code> call uses an expired token, /// the system returns <code>BadRequestException</code>. /// </para> /// </important> /// </summary> public string InitialConfigurationToken { get { return this._initialConfigurationToken; } set { this._initialConfigurationToken = value; } } // Check to see if InitialConfigurationToken property is set internal bool IsSetInitialConfigurationToken() { return this._initialConfigurationToken != null; } } }
72
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appconfigdata-2021-11-11.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppConfigData.Model { /// <summary> /// The request was denied due to request throttling. /// </summary> #if !NETSTANDARD [Serializable] #endif public partial class ThrottlingException : AmazonAppConfigDataException { /// <summary> /// Constructs a new ThrottlingException with the specified error /// message. /// </summary> /// <param name="message"> /// Describes the error encountered. /// </param> public ThrottlingException(string message) : base(message) {} /// <summary> /// Construct instance of ThrottlingException /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> public ThrottlingException(string message, Exception innerException) : base(message, innerException) {} /// <summary> /// Construct instance of ThrottlingException /// </summary> /// <param name="innerException"></param> public ThrottlingException(Exception innerException) : base(innerException) {} /// <summary> /// Construct instance of ThrottlingException /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public ThrottlingException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, innerException, errorType, errorCode, requestId, statusCode) {} /// <summary> /// Construct instance of ThrottlingException /// </summary> /// <param name="message"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public ThrottlingException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, errorType, errorCode, requestId, statusCode) {} #if !NETSTANDARD /// <summary> /// Constructs a new instance of the ThrottlingException class with serialized data. /// </summary> /// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param> /// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param> /// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception> /// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception> protected ThrottlingException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : base(info, context) { } /// <summary> /// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception. /// </summary> /// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param> /// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param> /// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception> #if BCL35 [System.Security.Permissions.SecurityPermission( System.Security.Permissions.SecurityAction.LinkDemand, Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)] #endif [System.Security.SecurityCritical] // These FxCop rules are giving false-positives for this method [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")] [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")] public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { base.GetObjectData(info, context); } #endif } }
124
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appconfigdata-2021-11-11.normal.json service model. */ using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Net; using System.Text; using System.Xml.Serialization; using Amazon.AppConfigData.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AppConfigData.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for BadRequestDetails Object /// </summary> public class BadRequestDetailsUnmarshaller : IUnmarshaller<BadRequestDetails, XmlUnmarshallerContext>, IUnmarshaller<BadRequestDetails, JsonUnmarshallerContext> { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> BadRequestDetails IUnmarshaller<BadRequestDetails, XmlUnmarshallerContext>.Unmarshall(XmlUnmarshallerContext context) { throw new NotImplementedException(); } /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> public BadRequestDetails Unmarshall(JsonUnmarshallerContext context) { context.Read(); if (context.CurrentTokenType == JsonToken.Null) return null; BadRequestDetails unmarshalledObject = new BadRequestDetails(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("InvalidParameters", targetDepth)) { var unmarshaller = new DictionaryUnmarshaller<string, InvalidParameterDetail, StringUnmarshaller, InvalidParameterDetailUnmarshaller>(StringUnmarshaller.Instance, InvalidParameterDetailUnmarshaller.Instance); unmarshalledObject.InvalidParameters = unmarshaller.Unmarshall(context); continue; } } return unmarshalledObject; } private static BadRequestDetailsUnmarshaller _instance = new BadRequestDetailsUnmarshaller(); /// <summary> /// Gets the singleton. /// </summary> public static BadRequestDetailsUnmarshaller Instance { get { return _instance; } } } }
92
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appconfigdata-2021-11-11.normal.json service model. */ using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Net; using System.Text; using System.Xml.Serialization; using Amazon.AppConfigData.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AppConfigData.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for BadRequestException Object /// </summary> public class BadRequestExceptionUnmarshaller : IErrorResponseUnmarshaller<BadRequestException, JsonUnmarshallerContext> { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> public BadRequestException Unmarshall(JsonUnmarshallerContext context) { return this.Unmarshall(context, new Amazon.Runtime.Internal.ErrorResponse()); } /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <param name="errorResponse"></param> /// <returns></returns> public BadRequestException Unmarshall(JsonUnmarshallerContext context, Amazon.Runtime.Internal.ErrorResponse errorResponse) { context.Read(); BadRequestException unmarshalledObject = new BadRequestException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("Details", targetDepth)) { var unmarshaller = BadRequestDetailsUnmarshaller.Instance; unmarshalledObject.Details = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("Reason", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.Reason = unmarshaller.Unmarshall(context); continue; } } return unmarshalledObject; } private static BadRequestExceptionUnmarshaller _instance = new BadRequestExceptionUnmarshaller(); /// <summary> /// Gets the singleton. /// </summary> public static BadRequestExceptionUnmarshaller Instance { get { return _instance; } } } }
97
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appconfigdata-2021-11-11.normal.json service model. */ using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Text; using System.Xml.Serialization; using Amazon.AppConfigData.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AppConfigData.Model.Internal.MarshallTransformations { /// <summary> /// GetLatestConfiguration Request Marshaller /// </summary> public class GetLatestConfigurationRequestMarshaller : IMarshaller<IRequest, GetLatestConfigurationRequest> , IMarshaller<IRequest,AmazonWebServiceRequest> { /// <summary> /// Marshaller the request object to the HTTP request. /// </summary> /// <param name="input"></param> /// <returns></returns> public IRequest Marshall(AmazonWebServiceRequest input) { return this.Marshall((GetLatestConfigurationRequest)input); } /// <summary> /// Marshaller the request object to the HTTP request. /// </summary> /// <param name="publicRequest"></param> /// <returns></returns> public IRequest Marshall(GetLatestConfigurationRequest publicRequest) { IRequest request = new DefaultRequest(publicRequest, "Amazon.AppConfigData"); request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2021-11-11"; request.HttpMethod = "GET"; if (publicRequest.IsSetConfigurationToken()) request.Parameters.Add("configuration_token", StringUtils.FromString(publicRequest.ConfigurationToken)); request.ResourcePath = "/configuration"; request.UseQueryString = true; return request; } private static GetLatestConfigurationRequestMarshaller _instance = new GetLatestConfigurationRequestMarshaller(); internal static GetLatestConfigurationRequestMarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static GetLatestConfigurationRequestMarshaller Instance { get { return _instance; } } } }
88
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appconfigdata-2021-11-11.normal.json service model. */ using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Net; using System.Text; using System.Xml.Serialization; using Amazon.AppConfigData.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AppConfigData.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for GetLatestConfiguration operation /// </summary> public class GetLatestConfigurationResponseUnmarshaller : JsonResponseUnmarshaller { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context) { GetLatestConfigurationResponse response = new GetLatestConfigurationResponse(); var ms = new MemoryStream(); Amazon.Util.AWSSDKUtils.CopyStream(context.Stream, ms); ms.Seek(0, SeekOrigin.Begin); response.Configuration = ms; if (context.ResponseData.IsHeaderPresent("Content-Type")) response.ContentType = context.ResponseData.GetHeaderValue("Content-Type"); if (context.ResponseData.IsHeaderPresent("Next-Poll-Configuration-Token")) response.NextPollConfigurationToken = context.ResponseData.GetHeaderValue("Next-Poll-Configuration-Token"); if (context.ResponseData.IsHeaderPresent("Next-Poll-Interval-In-Seconds")) response.NextPollIntervalInSeconds = int.Parse(context.ResponseData.GetHeaderValue("Next-Poll-Interval-In-Seconds"), CultureInfo.InvariantCulture); if (context.ResponseData.IsHeaderPresent("Version-Label")) response.VersionLabel = context.ResponseData.GetHeaderValue("Version-Label"); return response; } /// <summary> /// Unmarshaller error response to exception. /// </summary> /// <param name="context"></param> /// <param name="innerException"></param> /// <param name="statusCode"></param> /// <returns></returns> public override AmazonServiceException UnmarshallException(JsonUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode) { var errorResponse = JsonErrorResponseUnmarshaller.GetInstance().Unmarshall(context); errorResponse.InnerException = innerException; errorResponse.StatusCode = statusCode; var responseBodyBytes = context.GetResponseBodyBytes(); using (var streamCopy = new MemoryStream(responseBodyBytes)) using (var contextCopy = new JsonUnmarshallerContext(streamCopy, false, null)) { if (errorResponse.Code != null && errorResponse.Code.Equals("BadRequestException")) { return BadRequestExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("InternalServerException")) { return InternalServerExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ResourceNotFoundException")) { return ResourceNotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ThrottlingException")) { return ThrottlingExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } } return new AmazonAppConfigDataException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode); } private static GetLatestConfigurationResponseUnmarshaller _instance = new GetLatestConfigurationResponseUnmarshaller(); internal static GetLatestConfigurationResponseUnmarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static GetLatestConfigurationResponseUnmarshaller Instance { get { return _instance; } } } }
123
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appconfigdata-2021-11-11.normal.json service model. */ using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Net; using System.Text; using System.Xml.Serialization; using Amazon.AppConfigData.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AppConfigData.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for InternalServerException Object /// </summary> public class InternalServerExceptionUnmarshaller : IErrorResponseUnmarshaller<InternalServerException, JsonUnmarshallerContext> { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> public InternalServerException Unmarshall(JsonUnmarshallerContext context) { return this.Unmarshall(context, new Amazon.Runtime.Internal.ErrorResponse()); } /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <param name="errorResponse"></param> /// <returns></returns> public InternalServerException Unmarshall(JsonUnmarshallerContext context, Amazon.Runtime.Internal.ErrorResponse errorResponse) { context.Read(); InternalServerException unmarshalledObject = new InternalServerException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { } return unmarshalledObject; } private static InternalServerExceptionUnmarshaller _instance = new InternalServerExceptionUnmarshaller(); /// <summary> /// Gets the singleton. /// </summary> public static InternalServerExceptionUnmarshaller Instance { get { return _instance; } } } }
85
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appconfigdata-2021-11-11.normal.json service model. */ using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Net; using System.Text; using System.Xml.Serialization; using Amazon.AppConfigData.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AppConfigData.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for InvalidParameterDetail Object /// </summary> public class InvalidParameterDetailUnmarshaller : IUnmarshaller<InvalidParameterDetail, XmlUnmarshallerContext>, IUnmarshaller<InvalidParameterDetail, JsonUnmarshallerContext> { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> InvalidParameterDetail IUnmarshaller<InvalidParameterDetail, XmlUnmarshallerContext>.Unmarshall(XmlUnmarshallerContext context) { throw new NotImplementedException(); } /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> public InvalidParameterDetail Unmarshall(JsonUnmarshallerContext context) { context.Read(); if (context.CurrentTokenType == JsonToken.Null) return null; InvalidParameterDetail unmarshalledObject = new InvalidParameterDetail(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("Problem", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.Problem = unmarshaller.Unmarshall(context); continue; } } return unmarshalledObject; } private static InvalidParameterDetailUnmarshaller _instance = new InvalidParameterDetailUnmarshaller(); /// <summary> /// Gets the singleton. /// </summary> public static InvalidParameterDetailUnmarshaller Instance { get { return _instance; } } } }
92
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appconfigdata-2021-11-11.normal.json service model. */ using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Net; using System.Text; using System.Xml.Serialization; using Amazon.AppConfigData.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AppConfigData.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for ResourceNotFoundException Object /// </summary> public class ResourceNotFoundExceptionUnmarshaller : IErrorResponseUnmarshaller<ResourceNotFoundException, JsonUnmarshallerContext> { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> public ResourceNotFoundException Unmarshall(JsonUnmarshallerContext context) { return this.Unmarshall(context, new Amazon.Runtime.Internal.ErrorResponse()); } /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <param name="errorResponse"></param> /// <returns></returns> public ResourceNotFoundException Unmarshall(JsonUnmarshallerContext context, Amazon.Runtime.Internal.ErrorResponse errorResponse) { context.Read(); ResourceNotFoundException unmarshalledObject = new ResourceNotFoundException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("ReferencedBy", targetDepth)) { var unmarshaller = new DictionaryUnmarshaller<string, string, StringUnmarshaller, StringUnmarshaller>(StringUnmarshaller.Instance, StringUnmarshaller.Instance); unmarshalledObject.ReferencedBy = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("ResourceType", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.ResourceType = unmarshaller.Unmarshall(context); continue; } } return unmarshalledObject; } private static ResourceNotFoundExceptionUnmarshaller _instance = new ResourceNotFoundExceptionUnmarshaller(); /// <summary> /// Gets the singleton. /// </summary> public static ResourceNotFoundExceptionUnmarshaller Instance { get { return _instance; } } } }
97
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appconfigdata-2021-11-11.normal.json service model. */ using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Text; using System.Xml.Serialization; using Amazon.AppConfigData.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AppConfigData.Model.Internal.MarshallTransformations { /// <summary> /// StartConfigurationSession Request Marshaller /// </summary> public class StartConfigurationSessionRequestMarshaller : IMarshaller<IRequest, StartConfigurationSessionRequest> , IMarshaller<IRequest,AmazonWebServiceRequest> { /// <summary> /// Marshaller the request object to the HTTP request. /// </summary> /// <param name="input"></param> /// <returns></returns> public IRequest Marshall(AmazonWebServiceRequest input) { return this.Marshall((StartConfigurationSessionRequest)input); } /// <summary> /// Marshaller the request object to the HTTP request. /// </summary> /// <param name="publicRequest"></param> /// <returns></returns> public IRequest Marshall(StartConfigurationSessionRequest publicRequest) { IRequest request = new DefaultRequest(publicRequest, "Amazon.AppConfigData"); request.Headers["Content-Type"] = "application/json"; request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2021-11-11"; request.HttpMethod = "POST"; request.ResourcePath = "/configurationsessions"; using (StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture)) { JsonWriter writer = new JsonWriter(stringWriter); writer.WriteObjectStart(); var context = new JsonMarshallerContext(request, writer); if(publicRequest.IsSetApplicationIdentifier()) { context.Writer.WritePropertyName("ApplicationIdentifier"); context.Writer.Write(publicRequest.ApplicationIdentifier); } if(publicRequest.IsSetConfigurationProfileIdentifier()) { context.Writer.WritePropertyName("ConfigurationProfileIdentifier"); context.Writer.Write(publicRequest.ConfigurationProfileIdentifier); } if(publicRequest.IsSetEnvironmentIdentifier()) { context.Writer.WritePropertyName("EnvironmentIdentifier"); context.Writer.Write(publicRequest.EnvironmentIdentifier); } if(publicRequest.IsSetRequiredMinimumPollIntervalInSeconds()) { context.Writer.WritePropertyName("RequiredMinimumPollIntervalInSeconds"); context.Writer.Write(publicRequest.RequiredMinimumPollIntervalInSeconds); } writer.WriteObjectEnd(); string snippet = stringWriter.ToString(); request.Content = System.Text.Encoding.UTF8.GetBytes(snippet); } return request; } private static StartConfigurationSessionRequestMarshaller _instance = new StartConfigurationSessionRequestMarshaller(); internal static StartConfigurationSessionRequestMarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static StartConfigurationSessionRequestMarshaller Instance { get { return _instance; } } } }
119
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appconfigdata-2021-11-11.normal.json service model. */ using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Net; using System.Text; using System.Xml.Serialization; using Amazon.AppConfigData.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AppConfigData.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for StartConfigurationSession operation /// </summary> public class StartConfigurationSessionResponseUnmarshaller : JsonResponseUnmarshaller { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context) { StartConfigurationSessionResponse response = new StartConfigurationSessionResponse(); context.Read(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("InitialConfigurationToken", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; response.InitialConfigurationToken = unmarshaller.Unmarshall(context); continue; } } return response; } /// <summary> /// Unmarshaller error response to exception. /// </summary> /// <param name="context"></param> /// <param name="innerException"></param> /// <param name="statusCode"></param> /// <returns></returns> public override AmazonServiceException UnmarshallException(JsonUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode) { var errorResponse = JsonErrorResponseUnmarshaller.GetInstance().Unmarshall(context); errorResponse.InnerException = innerException; errorResponse.StatusCode = statusCode; var responseBodyBytes = context.GetResponseBodyBytes(); using (var streamCopy = new MemoryStream(responseBodyBytes)) using (var contextCopy = new JsonUnmarshallerContext(streamCopy, false, null)) { if (errorResponse.Code != null && errorResponse.Code.Equals("BadRequestException")) { return BadRequestExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("InternalServerException")) { return InternalServerExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ResourceNotFoundException")) { return ResourceNotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ThrottlingException")) { return ThrottlingExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } } return new AmazonAppConfigDataException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode); } private static StartConfigurationSessionResponseUnmarshaller _instance = new StartConfigurationSessionResponseUnmarshaller(); internal static StartConfigurationSessionResponseUnmarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static StartConfigurationSessionResponseUnmarshaller Instance { get { return _instance; } } } }
122
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appconfigdata-2021-11-11.normal.json service model. */ using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Net; using System.Text; using System.Xml.Serialization; using Amazon.AppConfigData.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AppConfigData.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for ThrottlingException Object /// </summary> public class ThrottlingExceptionUnmarshaller : IErrorResponseUnmarshaller<ThrottlingException, JsonUnmarshallerContext> { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> public ThrottlingException Unmarshall(JsonUnmarshallerContext context) { return this.Unmarshall(context, new Amazon.Runtime.Internal.ErrorResponse()); } /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <param name="errorResponse"></param> /// <returns></returns> public ThrottlingException Unmarshall(JsonUnmarshallerContext context, Amazon.Runtime.Internal.ErrorResponse errorResponse) { context.Read(); ThrottlingException unmarshalledObject = new ThrottlingException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { } return unmarshalledObject; } private static ThrottlingExceptionUnmarshaller _instance = new ThrottlingExceptionUnmarshaller(); /// <summary> /// Gets the singleton. /// </summary> public static ThrottlingExceptionUnmarshaller Instance { get { return _instance; } } } }
85
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appconfigdata-2021-11-11.normal.json service model. */ using System; using System.Collections.Generic; using System.Net; using Amazon.AppConfigData.Model; using Amazon.AppConfigData.Model.Internal.MarshallTransformations; using Amazon.AppConfigData.Internal; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Auth; using Amazon.Runtime.Internal.Transform; namespace Amazon.AppConfigData { /// <summary> /// Implementation for accessing AppConfigData /// /// AppConfig Data provides the data plane APIs your application uses to retrieve configuration /// data. Here's how it works: /// /// /// <para> /// Your application retrieves configuration data by first establishing a configuration /// session using the AppConfig Data <a>StartConfigurationSession</a> API action. Your /// session's client then makes periodic calls to <a>GetLatestConfiguration</a> to check /// for and retrieve the latest data available. /// </para> /// /// <para> /// When calling <code>StartConfigurationSession</code>, your code sends the following /// information: /// </para> /// <ul> <li> /// <para> /// Identifiers (ID or name) of an AppConfig application, environment, and configuration /// profile that the session tracks. /// </para> /// </li> <li> /// <para> /// (Optional) The minimum amount of time the session's client must wait between calls /// to <code>GetLatestConfiguration</code>. /// </para> /// </li> </ul> /// <para> /// In response, AppConfig provides an <code>InitialConfigurationToken</code> to be given /// to the session's client and used the first time it calls <code>GetLatestConfiguration</code> /// for that session. /// </para> /// <important> /// <para> /// This token should only be used once in your first call to <code>GetLatestConfiguration</code>. /// You <i>must</i> use the new token in the <code>GetLatestConfiguration</code> response /// (<code>NextPollConfigurationToken</code>) in each subsequent call to <code>GetLatestConfiguration</code>. /// </para> /// </important> /// <para> /// When calling <code>GetLatestConfiguration</code>, your client code sends the most /// recent <code>ConfigurationToken</code> value it has and receives in response: /// </para> /// <ul> <li> /// <para> /// <code>NextPollConfigurationToken</code>: the <code>ConfigurationToken</code> value /// to use on the next call to <code>GetLatestConfiguration</code>. /// </para> /// </li> <li> /// <para> /// <code>NextPollIntervalInSeconds</code>: the duration the client should wait before /// making its next call to <code>GetLatestConfiguration</code>. This duration may vary /// over the course of the session, so it should be used instead of the value sent on /// the <code>StartConfigurationSession</code> call. /// </para> /// </li> <li> /// <para> /// The configuration: the latest data intended for the session. This may be empty if /// the client already has the latest version of the configuration. /// </para> /// </li> </ul> <important> /// <para> /// The <code>InitialConfigurationToken</code> and <code>NextPollConfigurationToken</code> /// should only be used once. To support long poll use cases, the tokens are valid for /// up to 24 hours. If a <code>GetLatestConfiguration</code> call uses an expired token, /// the system returns <code>BadRequestException</code>. /// </para> /// </important> /// <para> /// For more information and to view example CLI commands that show how to retrieve a /// configuration using the AppConfig Data <code>StartConfigurationSession</code> and /// <code>GetLatestConfiguration</code> API actions, see <a href="http://docs.aws.amazon.com/appconfig/latest/userguide/appconfig-retrieving-the-configuration">Retrieving /// the configuration</a> in the <i>AppConfig User Guide</i>. /// </para> /// </summary> public partial class AmazonAppConfigDataClient : AmazonServiceClient, IAmazonAppConfigData { private static IServiceMetadata serviceMetadata = new AmazonAppConfigDataMetadata(); #region Constructors /// <summary> /// Constructs AmazonAppConfigDataClient with the credentials loaded from the application's /// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. /// /// Example App.config with credentials set. /// <code> /// &lt;?xml version="1.0" encoding="utf-8" ?&gt; /// &lt;configuration&gt; /// &lt;appSettings&gt; /// &lt;add key="AWSProfileName" value="AWS Default"/&gt; /// &lt;/appSettings&gt; /// &lt;/configuration&gt; /// </code> /// /// </summary> public AmazonAppConfigDataClient() : base(FallbackCredentialsFactory.GetCredentials(), new AmazonAppConfigDataConfig()) { } /// <summary> /// Constructs AmazonAppConfigDataClient with the credentials loaded from the application's /// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. /// /// Example App.config with credentials set. /// <code> /// &lt;?xml version="1.0" encoding="utf-8" ?&gt; /// &lt;configuration&gt; /// &lt;appSettings&gt; /// &lt;add key="AWSProfileName" value="AWS Default"/&gt; /// &lt;/appSettings&gt; /// &lt;/configuration&gt; /// </code> /// /// </summary> /// <param name="region">The region to connect.</param> public AmazonAppConfigDataClient(RegionEndpoint region) : base(FallbackCredentialsFactory.GetCredentials(), new AmazonAppConfigDataConfig{RegionEndpoint = region}) { } /// <summary> /// Constructs AmazonAppConfigDataClient with the credentials loaded from the application's /// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. /// /// Example App.config with credentials set. /// <code> /// &lt;?xml version="1.0" encoding="utf-8" ?&gt; /// &lt;configuration&gt; /// &lt;appSettings&gt; /// &lt;add key="AWSProfileName" value="AWS Default"/&gt; /// &lt;/appSettings&gt; /// &lt;/configuration&gt; /// </code> /// /// </summary> /// <param name="config">The AmazonAppConfigDataClient Configuration Object</param> public AmazonAppConfigDataClient(AmazonAppConfigDataConfig config) : base(FallbackCredentialsFactory.GetCredentials(), config) { } /// <summary> /// Constructs AmazonAppConfigDataClient with AWS Credentials /// </summary> /// <param name="credentials">AWS Credentials</param> public AmazonAppConfigDataClient(AWSCredentials credentials) : this(credentials, new AmazonAppConfigDataConfig()) { } /// <summary> /// Constructs AmazonAppConfigDataClient with AWS Credentials /// </summary> /// <param name="credentials">AWS Credentials</param> /// <param name="region">The region to connect.</param> public AmazonAppConfigDataClient(AWSCredentials credentials, RegionEndpoint region) : this(credentials, new AmazonAppConfigDataConfig{RegionEndpoint = region}) { } /// <summary> /// Constructs AmazonAppConfigDataClient with AWS Credentials and an /// AmazonAppConfigDataClient Configuration object. /// </summary> /// <param name="credentials">AWS Credentials</param> /// <param name="clientConfig">The AmazonAppConfigDataClient Configuration Object</param> public AmazonAppConfigDataClient(AWSCredentials credentials, AmazonAppConfigDataConfig clientConfig) : base(credentials, clientConfig) { } /// <summary> /// Constructs AmazonAppConfigDataClient with AWS Access Key ID and AWS Secret Key /// </summary> /// <param name="awsAccessKeyId">AWS Access Key ID</param> /// <param name="awsSecretAccessKey">AWS Secret Access Key</param> public AmazonAppConfigDataClient(string awsAccessKeyId, string awsSecretAccessKey) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonAppConfigDataConfig()) { } /// <summary> /// Constructs AmazonAppConfigDataClient with AWS Access Key ID and AWS Secret Key /// </summary> /// <param name="awsAccessKeyId">AWS Access Key ID</param> /// <param name="awsSecretAccessKey">AWS Secret Access Key</param> /// <param name="region">The region to connect.</param> public AmazonAppConfigDataClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonAppConfigDataConfig() {RegionEndpoint=region}) { } /// <summary> /// Constructs AmazonAppConfigDataClient with AWS Access Key ID, AWS Secret Key and an /// AmazonAppConfigDataClient Configuration object. /// </summary> /// <param name="awsAccessKeyId">AWS Access Key ID</param> /// <param name="awsSecretAccessKey">AWS Secret Access Key</param> /// <param name="clientConfig">The AmazonAppConfigDataClient Configuration Object</param> public AmazonAppConfigDataClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonAppConfigDataConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, clientConfig) { } /// <summary> /// Constructs AmazonAppConfigDataClient with AWS Access Key ID and AWS Secret Key /// </summary> /// <param name="awsAccessKeyId">AWS Access Key ID</param> /// <param name="awsSecretAccessKey">AWS Secret Access Key</param> /// <param name="awsSessionToken">AWS Session Token</param> public AmazonAppConfigDataClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonAppConfigDataConfig()) { } /// <summary> /// Constructs AmazonAppConfigDataClient with AWS Access Key ID and AWS Secret Key /// </summary> /// <param name="awsAccessKeyId">AWS Access Key ID</param> /// <param name="awsSecretAccessKey">AWS Secret Access Key</param> /// <param name="awsSessionToken">AWS Session Token</param> /// <param name="region">The region to connect.</param> public AmazonAppConfigDataClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonAppConfigDataConfig{RegionEndpoint = region}) { } /// <summary> /// Constructs AmazonAppConfigDataClient with AWS Access Key ID, AWS Secret Key and an /// AmazonAppConfigDataClient Configuration object. /// </summary> /// <param name="awsAccessKeyId">AWS Access Key ID</param> /// <param name="awsSecretAccessKey">AWS Secret Access Key</param> /// <param name="awsSessionToken">AWS Session Token</param> /// <param name="clientConfig">The AmazonAppConfigDataClient Configuration Object</param> public AmazonAppConfigDataClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonAppConfigDataConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig) { } #endregion #region Overrides /// <summary> /// Creates the signer for the service. /// </summary> protected override AbstractAWSSigner CreateSigner() { return new AWS4Signer(); } /// <summary> /// Customize the pipeline /// </summary> /// <param name="pipeline"></param> protected override void CustomizeRuntimePipeline(RuntimePipeline pipeline) { pipeline.RemoveHandler<Amazon.Runtime.Internal.EndpointResolver>(); pipeline.AddHandlerAfter<Amazon.Runtime.Internal.Marshaller>(new AmazonAppConfigDataEndpointResolver()); } /// <summary> /// Capture metadata for the service. /// </summary> protected override IServiceMetadata ServiceMetadata { get { return serviceMetadata; } } #endregion #region Dispose /// <summary> /// Disposes the service client. /// </summary> protected override void Dispose(bool disposing) { base.Dispose(disposing); } #endregion #region GetLatestConfiguration /// <summary> /// Retrieves the latest deployed configuration. This API may return empty configuration /// data if the client already has the latest version. For more information about this /// API action and to view example CLI commands that show how to use it with the <a>StartConfigurationSession</a> /// API action, see <a href="http://docs.aws.amazon.com/appconfig/latest/userguide/appconfig-retrieving-the-configuration">Retrieving /// the configuration</a> in the <i>AppConfig User Guide</i>. /// /// <important> /// <para> /// Note the following important information. /// </para> /// <ul> <li> /// <para> /// Each configuration token is only valid for one call to <code>GetLatestConfiguration</code>. /// The <code>GetLatestConfiguration</code> response includes a <code>NextPollConfigurationToken</code> /// that should always replace the token used for the just-completed call in preparation /// for the next one. /// </para> /// </li> <li> /// <para> /// <code>GetLatestConfiguration</code> is a priced call. For more information, see <a /// href="https://aws.amazon.com/systems-manager/pricing/">Pricing</a>. /// </para> /// </li> </ul> </important> /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetLatestConfiguration service method.</param> /// /// <returns>The response from the GetLatestConfiguration service method, as returned by AppConfigData.</returns> /// <exception cref="Amazon.AppConfigData.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by the service. /// </exception> /// <exception cref="Amazon.AppConfigData.Model.InternalServerException"> /// There was an internal failure in the service. /// </exception> /// <exception cref="Amazon.AppConfigData.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <exception cref="Amazon.AppConfigData.Model.ThrottlingException"> /// The request was denied due to request throttling. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfigdata-2021-11-11/GetLatestConfiguration">REST API Reference for GetLatestConfiguration Operation</seealso> public virtual GetLatestConfigurationResponse GetLatestConfiguration(GetLatestConfigurationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetLatestConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = GetLatestConfigurationResponseUnmarshaller.Instance; return Invoke<GetLatestConfigurationResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the GetLatestConfiguration operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the GetLatestConfiguration operation on AmazonAppConfigDataClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetLatestConfiguration /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfigdata-2021-11-11/GetLatestConfiguration">REST API Reference for GetLatestConfiguration Operation</seealso> public virtual IAsyncResult BeginGetLatestConfiguration(GetLatestConfigurationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetLatestConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = GetLatestConfigurationResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the GetLatestConfiguration operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetLatestConfiguration.</param> /// /// <returns>Returns a GetLatestConfigurationResult from AppConfigData.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfigdata-2021-11-11/GetLatestConfiguration">REST API Reference for GetLatestConfiguration Operation</seealso> public virtual GetLatestConfigurationResponse EndGetLatestConfiguration(IAsyncResult asyncResult) { return EndInvoke<GetLatestConfigurationResponse>(asyncResult); } #endregion #region StartConfigurationSession /// <summary> /// Starts a configuration session used to retrieve a deployed configuration. For more /// information about this API action and to view example CLI commands that show how to /// use it with the <a>GetLatestConfiguration</a> API action, see <a href="http://docs.aws.amazon.com/appconfig/latest/userguide/appconfig-retrieving-the-configuration">Retrieving /// the configuration</a> in the <i>AppConfig User Guide</i>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the StartConfigurationSession service method.</param> /// /// <returns>The response from the StartConfigurationSession service method, as returned by AppConfigData.</returns> /// <exception cref="Amazon.AppConfigData.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by the service. /// </exception> /// <exception cref="Amazon.AppConfigData.Model.InternalServerException"> /// There was an internal failure in the service. /// </exception> /// <exception cref="Amazon.AppConfigData.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <exception cref="Amazon.AppConfigData.Model.ThrottlingException"> /// The request was denied due to request throttling. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfigdata-2021-11-11/StartConfigurationSession">REST API Reference for StartConfigurationSession Operation</seealso> public virtual StartConfigurationSessionResponse StartConfigurationSession(StartConfigurationSessionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = StartConfigurationSessionRequestMarshaller.Instance; options.ResponseUnmarshaller = StartConfigurationSessionResponseUnmarshaller.Instance; return Invoke<StartConfigurationSessionResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the StartConfigurationSession operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the StartConfigurationSession operation on AmazonAppConfigDataClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndStartConfigurationSession /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfigdata-2021-11-11/StartConfigurationSession">REST API Reference for StartConfigurationSession Operation</seealso> public virtual IAsyncResult BeginStartConfigurationSession(StartConfigurationSessionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = StartConfigurationSessionRequestMarshaller.Instance; options.ResponseUnmarshaller = StartConfigurationSessionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the StartConfigurationSession operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginStartConfigurationSession.</param> /// /// <returns>Returns a StartConfigurationSessionResult from AppConfigData.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfigdata-2021-11-11/StartConfigurationSession">REST API Reference for StartConfigurationSession Operation</seealso> public virtual StartConfigurationSessionResponse EndStartConfigurationSession(IAsyncResult asyncResult) { return EndInvoke<StartConfigurationSessionResponse>(asyncResult); } #endregion } }
479
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appconfigdata-2021-11-11.normal.json service model. */ using System; using System.Collections.Generic; using Amazon.Runtime; using Amazon.AppConfigData.Model; namespace Amazon.AppConfigData { /// <summary> /// Interface for accessing AppConfigData /// /// AppConfig Data provides the data plane APIs your application uses to retrieve configuration /// data. Here's how it works: /// /// /// <para> /// Your application retrieves configuration data by first establishing a configuration /// session using the AppConfig Data <a>StartConfigurationSession</a> API action. Your /// session's client then makes periodic calls to <a>GetLatestConfiguration</a> to check /// for and retrieve the latest data available. /// </para> /// /// <para> /// When calling <code>StartConfigurationSession</code>, your code sends the following /// information: /// </para> /// <ul> <li> /// <para> /// Identifiers (ID or name) of an AppConfig application, environment, and configuration /// profile that the session tracks. /// </para> /// </li> <li> /// <para> /// (Optional) The minimum amount of time the session's client must wait between calls /// to <code>GetLatestConfiguration</code>. /// </para> /// </li> </ul> /// <para> /// In response, AppConfig provides an <code>InitialConfigurationToken</code> to be given /// to the session's client and used the first time it calls <code>GetLatestConfiguration</code> /// for that session. /// </para> /// <important> /// <para> /// This token should only be used once in your first call to <code>GetLatestConfiguration</code>. /// You <i>must</i> use the new token in the <code>GetLatestConfiguration</code> response /// (<code>NextPollConfigurationToken</code>) in each subsequent call to <code>GetLatestConfiguration</code>. /// </para> /// </important> /// <para> /// When calling <code>GetLatestConfiguration</code>, your client code sends the most /// recent <code>ConfigurationToken</code> value it has and receives in response: /// </para> /// <ul> <li> /// <para> /// <code>NextPollConfigurationToken</code>: the <code>ConfigurationToken</code> value /// to use on the next call to <code>GetLatestConfiguration</code>. /// </para> /// </li> <li> /// <para> /// <code>NextPollIntervalInSeconds</code>: the duration the client should wait before /// making its next call to <code>GetLatestConfiguration</code>. This duration may vary /// over the course of the session, so it should be used instead of the value sent on /// the <code>StartConfigurationSession</code> call. /// </para> /// </li> <li> /// <para> /// The configuration: the latest data intended for the session. This may be empty if /// the client already has the latest version of the configuration. /// </para> /// </li> </ul> <important> /// <para> /// The <code>InitialConfigurationToken</code> and <code>NextPollConfigurationToken</code> /// should only be used once. To support long poll use cases, the tokens are valid for /// up to 24 hours. If a <code>GetLatestConfiguration</code> call uses an expired token, /// the system returns <code>BadRequestException</code>. /// </para> /// </important> /// <para> /// For more information and to view example CLI commands that show how to retrieve a /// configuration using the AppConfig Data <code>StartConfigurationSession</code> and /// <code>GetLatestConfiguration</code> API actions, see <a href="http://docs.aws.amazon.com/appconfig/latest/userguide/appconfig-retrieving-the-configuration">Retrieving /// the configuration</a> in the <i>AppConfig User Guide</i>. /// </para> /// </summary> public partial interface IAmazonAppConfigData : IAmazonService, IDisposable { #region GetLatestConfiguration /// <summary> /// Retrieves the latest deployed configuration. This API may return empty configuration /// data if the client already has the latest version. For more information about this /// API action and to view example CLI commands that show how to use it with the <a>StartConfigurationSession</a> /// API action, see <a href="http://docs.aws.amazon.com/appconfig/latest/userguide/appconfig-retrieving-the-configuration">Retrieving /// the configuration</a> in the <i>AppConfig User Guide</i>. /// /// <important> /// <para> /// Note the following important information. /// </para> /// <ul> <li> /// <para> /// Each configuration token is only valid for one call to <code>GetLatestConfiguration</code>. /// The <code>GetLatestConfiguration</code> response includes a <code>NextPollConfigurationToken</code> /// that should always replace the token used for the just-completed call in preparation /// for the next one. /// </para> /// </li> <li> /// <para> /// <code>GetLatestConfiguration</code> is a priced call. For more information, see <a /// href="https://aws.amazon.com/systems-manager/pricing/">Pricing</a>. /// </para> /// </li> </ul> </important> /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetLatestConfiguration service method.</param> /// /// <returns>The response from the GetLatestConfiguration service method, as returned by AppConfigData.</returns> /// <exception cref="Amazon.AppConfigData.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by the service. /// </exception> /// <exception cref="Amazon.AppConfigData.Model.InternalServerException"> /// There was an internal failure in the service. /// </exception> /// <exception cref="Amazon.AppConfigData.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <exception cref="Amazon.AppConfigData.Model.ThrottlingException"> /// The request was denied due to request throttling. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfigdata-2021-11-11/GetLatestConfiguration">REST API Reference for GetLatestConfiguration Operation</seealso> GetLatestConfigurationResponse GetLatestConfiguration(GetLatestConfigurationRequest request); /// <summary> /// Initiates the asynchronous execution of the GetLatestConfiguration operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the GetLatestConfiguration operation on AmazonAppConfigDataClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetLatestConfiguration /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfigdata-2021-11-11/GetLatestConfiguration">REST API Reference for GetLatestConfiguration Operation</seealso> IAsyncResult BeginGetLatestConfiguration(GetLatestConfigurationRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the GetLatestConfiguration operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetLatestConfiguration.</param> /// /// <returns>Returns a GetLatestConfigurationResult from AppConfigData.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfigdata-2021-11-11/GetLatestConfiguration">REST API Reference for GetLatestConfiguration Operation</seealso> GetLatestConfigurationResponse EndGetLatestConfiguration(IAsyncResult asyncResult); #endregion #region StartConfigurationSession /// <summary> /// Starts a configuration session used to retrieve a deployed configuration. For more /// information about this API action and to view example CLI commands that show how to /// use it with the <a>GetLatestConfiguration</a> API action, see <a href="http://docs.aws.amazon.com/appconfig/latest/userguide/appconfig-retrieving-the-configuration">Retrieving /// the configuration</a> in the <i>AppConfig User Guide</i>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the StartConfigurationSession service method.</param> /// /// <returns>The response from the StartConfigurationSession service method, as returned by AppConfigData.</returns> /// <exception cref="Amazon.AppConfigData.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by the service. /// </exception> /// <exception cref="Amazon.AppConfigData.Model.InternalServerException"> /// There was an internal failure in the service. /// </exception> /// <exception cref="Amazon.AppConfigData.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <exception cref="Amazon.AppConfigData.Model.ThrottlingException"> /// The request was denied due to request throttling. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfigdata-2021-11-11/StartConfigurationSession">REST API Reference for StartConfigurationSession Operation</seealso> StartConfigurationSessionResponse StartConfigurationSession(StartConfigurationSessionRequest request); /// <summary> /// Initiates the asynchronous execution of the StartConfigurationSession operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the StartConfigurationSession operation on AmazonAppConfigDataClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndStartConfigurationSession /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfigdata-2021-11-11/StartConfigurationSession">REST API Reference for StartConfigurationSession Operation</seealso> IAsyncResult BeginStartConfigurationSession(StartConfigurationSessionRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the StartConfigurationSession operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginStartConfigurationSession.</param> /// /// <returns>Returns a StartConfigurationSessionResult from AppConfigData.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfigdata-2021-11-11/StartConfigurationSession">REST API Reference for StartConfigurationSession Operation</seealso> StartConfigurationSessionResponse EndStartConfigurationSession(IAsyncResult asyncResult); #endregion } }
243
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appconfigdata-2021-11-11.normal.json service model. */ using System; using System.Runtime.ExceptionServices; using System.Threading; using System.Threading.Tasks; using System.Collections.Generic; using System.Net; using Amazon.AppConfigData.Model; using Amazon.AppConfigData.Model.Internal.MarshallTransformations; using Amazon.AppConfigData.Internal; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Auth; using Amazon.Runtime.Internal.Transform; namespace Amazon.AppConfigData { /// <summary> /// Implementation for accessing AppConfigData /// /// AppConfig Data provides the data plane APIs your application uses to retrieve configuration /// data. Here's how it works: /// /// /// <para> /// Your application retrieves configuration data by first establishing a configuration /// session using the AppConfig Data <a>StartConfigurationSession</a> API action. Your /// session's client then makes periodic calls to <a>GetLatestConfiguration</a> to check /// for and retrieve the latest data available. /// </para> /// /// <para> /// When calling <code>StartConfigurationSession</code>, your code sends the following /// information: /// </para> /// <ul> <li> /// <para> /// Identifiers (ID or name) of an AppConfig application, environment, and configuration /// profile that the session tracks. /// </para> /// </li> <li> /// <para> /// (Optional) The minimum amount of time the session's client must wait between calls /// to <code>GetLatestConfiguration</code>. /// </para> /// </li> </ul> /// <para> /// In response, AppConfig provides an <code>InitialConfigurationToken</code> to be given /// to the session's client and used the first time it calls <code>GetLatestConfiguration</code> /// for that session. /// </para> /// <important> /// <para> /// This token should only be used once in your first call to <code>GetLatestConfiguration</code>. /// You <i>must</i> use the new token in the <code>GetLatestConfiguration</code> response /// (<code>NextPollConfigurationToken</code>) in each subsequent call to <code>GetLatestConfiguration</code>. /// </para> /// </important> /// <para> /// When calling <code>GetLatestConfiguration</code>, your client code sends the most /// recent <code>ConfigurationToken</code> value it has and receives in response: /// </para> /// <ul> <li> /// <para> /// <code>NextPollConfigurationToken</code>: the <code>ConfigurationToken</code> value /// to use on the next call to <code>GetLatestConfiguration</code>. /// </para> /// </li> <li> /// <para> /// <code>NextPollIntervalInSeconds</code>: the duration the client should wait before /// making its next call to <code>GetLatestConfiguration</code>. This duration may vary /// over the course of the session, so it should be used instead of the value sent on /// the <code>StartConfigurationSession</code> call. /// </para> /// </li> <li> /// <para> /// The configuration: the latest data intended for the session. This may be empty if /// the client already has the latest version of the configuration. /// </para> /// </li> </ul> <important> /// <para> /// The <code>InitialConfigurationToken</code> and <code>NextPollConfigurationToken</code> /// should only be used once. To support long poll use cases, the tokens are valid for /// up to 24 hours. If a <code>GetLatestConfiguration</code> call uses an expired token, /// the system returns <code>BadRequestException</code>. /// </para> /// </important> /// <para> /// For more information and to view example CLI commands that show how to retrieve a /// configuration using the AppConfig Data <code>StartConfigurationSession</code> and /// <code>GetLatestConfiguration</code> API actions, see <a href="http://docs.aws.amazon.com/appconfig/latest/userguide/appconfig-retrieving-the-configuration">Retrieving /// the configuration</a> in the <i>AppConfig User Guide</i>. /// </para> /// </summary> public partial class AmazonAppConfigDataClient : AmazonServiceClient, IAmazonAppConfigData { private static IServiceMetadata serviceMetadata = new AmazonAppConfigDataMetadata(); #region Constructors /// <summary> /// Constructs AmazonAppConfigDataClient with the credentials loaded from the application's /// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. /// /// Example App.config with credentials set. /// <code> /// &lt;?xml version="1.0" encoding="utf-8" ?&gt; /// &lt;configuration&gt; /// &lt;appSettings&gt; /// &lt;add key="AWSProfileName" value="AWS Default"/&gt; /// &lt;/appSettings&gt; /// &lt;/configuration&gt; /// </code> /// /// </summary> public AmazonAppConfigDataClient() : base(FallbackCredentialsFactory.GetCredentials(), new AmazonAppConfigDataConfig()) { } /// <summary> /// Constructs AmazonAppConfigDataClient with the credentials loaded from the application's /// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. /// /// Example App.config with credentials set. /// <code> /// &lt;?xml version="1.0" encoding="utf-8" ?&gt; /// &lt;configuration&gt; /// &lt;appSettings&gt; /// &lt;add key="AWSProfileName" value="AWS Default"/&gt; /// &lt;/appSettings&gt; /// &lt;/configuration&gt; /// </code> /// /// </summary> /// <param name="region">The region to connect.</param> public AmazonAppConfigDataClient(RegionEndpoint region) : base(FallbackCredentialsFactory.GetCredentials(), new AmazonAppConfigDataConfig{RegionEndpoint = region}) { } /// <summary> /// Constructs AmazonAppConfigDataClient with the credentials loaded from the application's /// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. /// /// Example App.config with credentials set. /// <code> /// &lt;?xml version="1.0" encoding="utf-8" ?&gt; /// &lt;configuration&gt; /// &lt;appSettings&gt; /// &lt;add key="AWSProfileName" value="AWS Default"/&gt; /// &lt;/appSettings&gt; /// &lt;/configuration&gt; /// </code> /// /// </summary> /// <param name="config">The AmazonAppConfigDataClient Configuration Object</param> public AmazonAppConfigDataClient(AmazonAppConfigDataConfig config) : base(FallbackCredentialsFactory.GetCredentials(), config) { } /// <summary> /// Constructs AmazonAppConfigDataClient with AWS Credentials /// </summary> /// <param name="credentials">AWS Credentials</param> public AmazonAppConfigDataClient(AWSCredentials credentials) : this(credentials, new AmazonAppConfigDataConfig()) { } /// <summary> /// Constructs AmazonAppConfigDataClient with AWS Credentials /// </summary> /// <param name="credentials">AWS Credentials</param> /// <param name="region">The region to connect.</param> public AmazonAppConfigDataClient(AWSCredentials credentials, RegionEndpoint region) : this(credentials, new AmazonAppConfigDataConfig{RegionEndpoint = region}) { } /// <summary> /// Constructs AmazonAppConfigDataClient with AWS Credentials and an /// AmazonAppConfigDataClient Configuration object. /// </summary> /// <param name="credentials">AWS Credentials</param> /// <param name="clientConfig">The AmazonAppConfigDataClient Configuration Object</param> public AmazonAppConfigDataClient(AWSCredentials credentials, AmazonAppConfigDataConfig clientConfig) : base(credentials, clientConfig) { } /// <summary> /// Constructs AmazonAppConfigDataClient with AWS Access Key ID and AWS Secret Key /// </summary> /// <param name="awsAccessKeyId">AWS Access Key ID</param> /// <param name="awsSecretAccessKey">AWS Secret Access Key</param> public AmazonAppConfigDataClient(string awsAccessKeyId, string awsSecretAccessKey) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonAppConfigDataConfig()) { } /// <summary> /// Constructs AmazonAppConfigDataClient with AWS Access Key ID and AWS Secret Key /// </summary> /// <param name="awsAccessKeyId">AWS Access Key ID</param> /// <param name="awsSecretAccessKey">AWS Secret Access Key</param> /// <param name="region">The region to connect.</param> public AmazonAppConfigDataClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonAppConfigDataConfig() {RegionEndpoint=region}) { } /// <summary> /// Constructs AmazonAppConfigDataClient with AWS Access Key ID, AWS Secret Key and an /// AmazonAppConfigDataClient Configuration object. /// </summary> /// <param name="awsAccessKeyId">AWS Access Key ID</param> /// <param name="awsSecretAccessKey">AWS Secret Access Key</param> /// <param name="clientConfig">The AmazonAppConfigDataClient Configuration Object</param> public AmazonAppConfigDataClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonAppConfigDataConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, clientConfig) { } /// <summary> /// Constructs AmazonAppConfigDataClient with AWS Access Key ID and AWS Secret Key /// </summary> /// <param name="awsAccessKeyId">AWS Access Key ID</param> /// <param name="awsSecretAccessKey">AWS Secret Access Key</param> /// <param name="awsSessionToken">AWS Session Token</param> public AmazonAppConfigDataClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonAppConfigDataConfig()) { } /// <summary> /// Constructs AmazonAppConfigDataClient with AWS Access Key ID and AWS Secret Key /// </summary> /// <param name="awsAccessKeyId">AWS Access Key ID</param> /// <param name="awsSecretAccessKey">AWS Secret Access Key</param> /// <param name="awsSessionToken">AWS Session Token</param> /// <param name="region">The region to connect.</param> public AmazonAppConfigDataClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonAppConfigDataConfig{RegionEndpoint = region}) { } /// <summary> /// Constructs AmazonAppConfigDataClient with AWS Access Key ID, AWS Secret Key and an /// AmazonAppConfigDataClient Configuration object. /// </summary> /// <param name="awsAccessKeyId">AWS Access Key ID</param> /// <param name="awsSecretAccessKey">AWS Secret Access Key</param> /// <param name="awsSessionToken">AWS Session Token</param> /// <param name="clientConfig">The AmazonAppConfigDataClient Configuration Object</param> public AmazonAppConfigDataClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonAppConfigDataConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig) { } #endregion #region Overrides /// <summary> /// Creates the signer for the service. /// </summary> protected override AbstractAWSSigner CreateSigner() { return new AWS4Signer(); } /// <summary> /// Customize the pipeline /// </summary> /// <param name="pipeline"></param> protected override void CustomizeRuntimePipeline(RuntimePipeline pipeline) { pipeline.RemoveHandler<Amazon.Runtime.Internal.EndpointResolver>(); pipeline.AddHandlerAfter<Amazon.Runtime.Internal.Marshaller>(new AmazonAppConfigDataEndpointResolver()); } /// <summary> /// Capture metadata for the service. /// </summary> protected override IServiceMetadata ServiceMetadata { get { return serviceMetadata; } } #endregion #region Dispose /// <summary> /// Disposes the service client. /// </summary> protected override void Dispose(bool disposing) { base.Dispose(disposing); } #endregion #region GetLatestConfiguration /// <summary> /// Retrieves the latest deployed configuration. This API may return empty configuration /// data if the client already has the latest version. For more information about this /// API action and to view example CLI commands that show how to use it with the <a>StartConfigurationSession</a> /// API action, see <a href="http://docs.aws.amazon.com/appconfig/latest/userguide/appconfig-retrieving-the-configuration">Retrieving /// the configuration</a> in the <i>AppConfig User Guide</i>. /// /// <important> /// <para> /// Note the following important information. /// </para> /// <ul> <li> /// <para> /// Each configuration token is only valid for one call to <code>GetLatestConfiguration</code>. /// The <code>GetLatestConfiguration</code> response includes a <code>NextPollConfigurationToken</code> /// that should always replace the token used for the just-completed call in preparation /// for the next one. /// </para> /// </li> <li> /// <para> /// <code>GetLatestConfiguration</code> is a priced call. For more information, see <a /// href="https://aws.amazon.com/systems-manager/pricing/">Pricing</a>. /// </para> /// </li> </ul> </important> /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetLatestConfiguration service method.</param> /// /// <returns>The response from the GetLatestConfiguration service method, as returned by AppConfigData.</returns> /// <exception cref="Amazon.AppConfigData.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by the service. /// </exception> /// <exception cref="Amazon.AppConfigData.Model.InternalServerException"> /// There was an internal failure in the service. /// </exception> /// <exception cref="Amazon.AppConfigData.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <exception cref="Amazon.AppConfigData.Model.ThrottlingException"> /// The request was denied due to request throttling. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfigdata-2021-11-11/GetLatestConfiguration">REST API Reference for GetLatestConfiguration Operation</seealso> public virtual GetLatestConfigurationResponse GetLatestConfiguration(GetLatestConfigurationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetLatestConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = GetLatestConfigurationResponseUnmarshaller.Instance; return Invoke<GetLatestConfigurationResponse>(request, options); } /// <summary> /// Retrieves the latest deployed configuration. This API may return empty configuration /// data if the client already has the latest version. For more information about this /// API action and to view example CLI commands that show how to use it with the <a>StartConfigurationSession</a> /// API action, see <a href="http://docs.aws.amazon.com/appconfig/latest/userguide/appconfig-retrieving-the-configuration">Retrieving /// the configuration</a> in the <i>AppConfig User Guide</i>. /// /// <important> /// <para> /// Note the following important information. /// </para> /// <ul> <li> /// <para> /// Each configuration token is only valid for one call to <code>GetLatestConfiguration</code>. /// The <code>GetLatestConfiguration</code> response includes a <code>NextPollConfigurationToken</code> /// that should always replace the token used for the just-completed call in preparation /// for the next one. /// </para> /// </li> <li> /// <para> /// <code>GetLatestConfiguration</code> is a priced call. For more information, see <a /// href="https://aws.amazon.com/systems-manager/pricing/">Pricing</a>. /// </para> /// </li> </ul> </important> /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetLatestConfiguration service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetLatestConfiguration service method, as returned by AppConfigData.</returns> /// <exception cref="Amazon.AppConfigData.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by the service. /// </exception> /// <exception cref="Amazon.AppConfigData.Model.InternalServerException"> /// There was an internal failure in the service. /// </exception> /// <exception cref="Amazon.AppConfigData.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <exception cref="Amazon.AppConfigData.Model.ThrottlingException"> /// The request was denied due to request throttling. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfigdata-2021-11-11/GetLatestConfiguration">REST API Reference for GetLatestConfiguration Operation</seealso> public virtual Task<GetLatestConfigurationResponse> GetLatestConfigurationAsync(GetLatestConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetLatestConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = GetLatestConfigurationResponseUnmarshaller.Instance; return InvokeAsync<GetLatestConfigurationResponse>(request, options, cancellationToken); } #endregion #region StartConfigurationSession /// <summary> /// Starts a configuration session used to retrieve a deployed configuration. For more /// information about this API action and to view example CLI commands that show how to /// use it with the <a>GetLatestConfiguration</a> API action, see <a href="http://docs.aws.amazon.com/appconfig/latest/userguide/appconfig-retrieving-the-configuration">Retrieving /// the configuration</a> in the <i>AppConfig User Guide</i>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the StartConfigurationSession service method.</param> /// /// <returns>The response from the StartConfigurationSession service method, as returned by AppConfigData.</returns> /// <exception cref="Amazon.AppConfigData.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by the service. /// </exception> /// <exception cref="Amazon.AppConfigData.Model.InternalServerException"> /// There was an internal failure in the service. /// </exception> /// <exception cref="Amazon.AppConfigData.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <exception cref="Amazon.AppConfigData.Model.ThrottlingException"> /// The request was denied due to request throttling. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfigdata-2021-11-11/StartConfigurationSession">REST API Reference for StartConfigurationSession Operation</seealso> public virtual StartConfigurationSessionResponse StartConfigurationSession(StartConfigurationSessionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = StartConfigurationSessionRequestMarshaller.Instance; options.ResponseUnmarshaller = StartConfigurationSessionResponseUnmarshaller.Instance; return Invoke<StartConfigurationSessionResponse>(request, options); } /// <summary> /// Starts a configuration session used to retrieve a deployed configuration. For more /// information about this API action and to view example CLI commands that show how to /// use it with the <a>GetLatestConfiguration</a> API action, see <a href="http://docs.aws.amazon.com/appconfig/latest/userguide/appconfig-retrieving-the-configuration">Retrieving /// the configuration</a> in the <i>AppConfig User Guide</i>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the StartConfigurationSession service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the StartConfigurationSession service method, as returned by AppConfigData.</returns> /// <exception cref="Amazon.AppConfigData.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by the service. /// </exception> /// <exception cref="Amazon.AppConfigData.Model.InternalServerException"> /// There was an internal failure in the service. /// </exception> /// <exception cref="Amazon.AppConfigData.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <exception cref="Amazon.AppConfigData.Model.ThrottlingException"> /// The request was denied due to request throttling. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfigdata-2021-11-11/StartConfigurationSession">REST API Reference for StartConfigurationSession Operation</seealso> public virtual Task<StartConfigurationSessionResponse> StartConfigurationSessionAsync(StartConfigurationSessionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = StartConfigurationSessionRequestMarshaller.Instance; options.ResponseUnmarshaller = StartConfigurationSessionResponseUnmarshaller.Instance; return InvokeAsync<StartConfigurationSessionResponse>(request, options, cancellationToken); } #endregion } }
503
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appconfigdata-2021-11-11.normal.json service model. */ using System; using System.Threading; using System.Threading.Tasks; using System.Collections.Generic; using Amazon.Runtime; using Amazon.AppConfigData.Model; namespace Amazon.AppConfigData { /// <summary> /// Interface for accessing AppConfigData /// /// AppConfig Data provides the data plane APIs your application uses to retrieve configuration /// data. Here's how it works: /// /// /// <para> /// Your application retrieves configuration data by first establishing a configuration /// session using the AppConfig Data <a>StartConfigurationSession</a> API action. Your /// session's client then makes periodic calls to <a>GetLatestConfiguration</a> to check /// for and retrieve the latest data available. /// </para> /// /// <para> /// When calling <code>StartConfigurationSession</code>, your code sends the following /// information: /// </para> /// <ul> <li> /// <para> /// Identifiers (ID or name) of an AppConfig application, environment, and configuration /// profile that the session tracks. /// </para> /// </li> <li> /// <para> /// (Optional) The minimum amount of time the session's client must wait between calls /// to <code>GetLatestConfiguration</code>. /// </para> /// </li> </ul> /// <para> /// In response, AppConfig provides an <code>InitialConfigurationToken</code> to be given /// to the session's client and used the first time it calls <code>GetLatestConfiguration</code> /// for that session. /// </para> /// <important> /// <para> /// This token should only be used once in your first call to <code>GetLatestConfiguration</code>. /// You <i>must</i> use the new token in the <code>GetLatestConfiguration</code> response /// (<code>NextPollConfigurationToken</code>) in each subsequent call to <code>GetLatestConfiguration</code>. /// </para> /// </important> /// <para> /// When calling <code>GetLatestConfiguration</code>, your client code sends the most /// recent <code>ConfigurationToken</code> value it has and receives in response: /// </para> /// <ul> <li> /// <para> /// <code>NextPollConfigurationToken</code>: the <code>ConfigurationToken</code> value /// to use on the next call to <code>GetLatestConfiguration</code>. /// </para> /// </li> <li> /// <para> /// <code>NextPollIntervalInSeconds</code>: the duration the client should wait before /// making its next call to <code>GetLatestConfiguration</code>. This duration may vary /// over the course of the session, so it should be used instead of the value sent on /// the <code>StartConfigurationSession</code> call. /// </para> /// </li> <li> /// <para> /// The configuration: the latest data intended for the session. This may be empty if /// the client already has the latest version of the configuration. /// </para> /// </li> </ul> <important> /// <para> /// The <code>InitialConfigurationToken</code> and <code>NextPollConfigurationToken</code> /// should only be used once. To support long poll use cases, the tokens are valid for /// up to 24 hours. If a <code>GetLatestConfiguration</code> call uses an expired token, /// the system returns <code>BadRequestException</code>. /// </para> /// </important> /// <para> /// For more information and to view example CLI commands that show how to retrieve a /// configuration using the AppConfig Data <code>StartConfigurationSession</code> and /// <code>GetLatestConfiguration</code> API actions, see <a href="http://docs.aws.amazon.com/appconfig/latest/userguide/appconfig-retrieving-the-configuration">Retrieving /// the configuration</a> in the <i>AppConfig User Guide</i>. /// </para> /// </summary> public partial interface IAmazonAppConfigData : IAmazonService, IDisposable { #region GetLatestConfiguration /// <summary> /// Retrieves the latest deployed configuration. This API may return empty configuration /// data if the client already has the latest version. For more information about this /// API action and to view example CLI commands that show how to use it with the <a>StartConfigurationSession</a> /// API action, see <a href="http://docs.aws.amazon.com/appconfig/latest/userguide/appconfig-retrieving-the-configuration">Retrieving /// the configuration</a> in the <i>AppConfig User Guide</i>. /// /// <important> /// <para> /// Note the following important information. /// </para> /// <ul> <li> /// <para> /// Each configuration token is only valid for one call to <code>GetLatestConfiguration</code>. /// The <code>GetLatestConfiguration</code> response includes a <code>NextPollConfigurationToken</code> /// that should always replace the token used for the just-completed call in preparation /// for the next one. /// </para> /// </li> <li> /// <para> /// <code>GetLatestConfiguration</code> is a priced call. For more information, see <a /// href="https://aws.amazon.com/systems-manager/pricing/">Pricing</a>. /// </para> /// </li> </ul> </important> /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetLatestConfiguration service method.</param> /// /// <returns>The response from the GetLatestConfiguration service method, as returned by AppConfigData.</returns> /// <exception cref="Amazon.AppConfigData.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by the service. /// </exception> /// <exception cref="Amazon.AppConfigData.Model.InternalServerException"> /// There was an internal failure in the service. /// </exception> /// <exception cref="Amazon.AppConfigData.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <exception cref="Amazon.AppConfigData.Model.ThrottlingException"> /// The request was denied due to request throttling. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfigdata-2021-11-11/GetLatestConfiguration">REST API Reference for GetLatestConfiguration Operation</seealso> GetLatestConfigurationResponse GetLatestConfiguration(GetLatestConfigurationRequest request); /// <summary> /// Retrieves the latest deployed configuration. This API may return empty configuration /// data if the client already has the latest version. For more information about this /// API action and to view example CLI commands that show how to use it with the <a>StartConfigurationSession</a> /// API action, see <a href="http://docs.aws.amazon.com/appconfig/latest/userguide/appconfig-retrieving-the-configuration">Retrieving /// the configuration</a> in the <i>AppConfig User Guide</i>. /// /// <important> /// <para> /// Note the following important information. /// </para> /// <ul> <li> /// <para> /// Each configuration token is only valid for one call to <code>GetLatestConfiguration</code>. /// The <code>GetLatestConfiguration</code> response includes a <code>NextPollConfigurationToken</code> /// that should always replace the token used for the just-completed call in preparation /// for the next one. /// </para> /// </li> <li> /// <para> /// <code>GetLatestConfiguration</code> is a priced call. For more information, see <a /// href="https://aws.amazon.com/systems-manager/pricing/">Pricing</a>. /// </para> /// </li> </ul> </important> /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetLatestConfiguration service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetLatestConfiguration service method, as returned by AppConfigData.</returns> /// <exception cref="Amazon.AppConfigData.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by the service. /// </exception> /// <exception cref="Amazon.AppConfigData.Model.InternalServerException"> /// There was an internal failure in the service. /// </exception> /// <exception cref="Amazon.AppConfigData.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <exception cref="Amazon.AppConfigData.Model.ThrottlingException"> /// The request was denied due to request throttling. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfigdata-2021-11-11/GetLatestConfiguration">REST API Reference for GetLatestConfiguration Operation</seealso> Task<GetLatestConfigurationResponse> GetLatestConfigurationAsync(GetLatestConfigurationRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region StartConfigurationSession /// <summary> /// Starts a configuration session used to retrieve a deployed configuration. For more /// information about this API action and to view example CLI commands that show how to /// use it with the <a>GetLatestConfiguration</a> API action, see <a href="http://docs.aws.amazon.com/appconfig/latest/userguide/appconfig-retrieving-the-configuration">Retrieving /// the configuration</a> in the <i>AppConfig User Guide</i>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the StartConfigurationSession service method.</param> /// /// <returns>The response from the StartConfigurationSession service method, as returned by AppConfigData.</returns> /// <exception cref="Amazon.AppConfigData.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by the service. /// </exception> /// <exception cref="Amazon.AppConfigData.Model.InternalServerException"> /// There was an internal failure in the service. /// </exception> /// <exception cref="Amazon.AppConfigData.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <exception cref="Amazon.AppConfigData.Model.ThrottlingException"> /// The request was denied due to request throttling. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfigdata-2021-11-11/StartConfigurationSession">REST API Reference for StartConfigurationSession Operation</seealso> StartConfigurationSessionResponse StartConfigurationSession(StartConfigurationSessionRequest request); /// <summary> /// Starts a configuration session used to retrieve a deployed configuration. For more /// information about this API action and to view example CLI commands that show how to /// use it with the <a>GetLatestConfiguration</a> API action, see <a href="http://docs.aws.amazon.com/appconfig/latest/userguide/appconfig-retrieving-the-configuration">Retrieving /// the configuration</a> in the <i>AppConfig User Guide</i>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the StartConfigurationSession service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the StartConfigurationSession service method, as returned by AppConfigData.</returns> /// <exception cref="Amazon.AppConfigData.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by the service. /// </exception> /// <exception cref="Amazon.AppConfigData.Model.InternalServerException"> /// There was an internal failure in the service. /// </exception> /// <exception cref="Amazon.AppConfigData.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <exception cref="Amazon.AppConfigData.Model.ThrottlingException"> /// The request was denied due to request throttling. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfigdata-2021-11-11/StartConfigurationSession">REST API Reference for StartConfigurationSession Operation</seealso> Task<StartConfigurationSessionResponse> StartConfigurationSessionAsync(StartConfigurationSessionRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion } }
268
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appconfigdata-2021-11-11.normal.json service model. */ using System; using System.Runtime.ExceptionServices; using System.Threading; using System.Threading.Tasks; using System.Collections.Generic; using System.Net; using Amazon.AppConfigData.Model; using Amazon.AppConfigData.Model.Internal.MarshallTransformations; using Amazon.AppConfigData.Internal; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Auth; using Amazon.Runtime.Internal.Transform; namespace Amazon.AppConfigData { /// <summary> /// Implementation for accessing AppConfigData /// /// AppConfig Data provides the data plane APIs your application uses to retrieve configuration /// data. Here's how it works: /// /// /// <para> /// Your application retrieves configuration data by first establishing a configuration /// session using the AppConfig Data <a>StartConfigurationSession</a> API action. Your /// session's client then makes periodic calls to <a>GetLatestConfiguration</a> to check /// for and retrieve the latest data available. /// </para> /// /// <para> /// When calling <code>StartConfigurationSession</code>, your code sends the following /// information: /// </para> /// <ul> <li> /// <para> /// Identifiers (ID or name) of an AppConfig application, environment, and configuration /// profile that the session tracks. /// </para> /// </li> <li> /// <para> /// (Optional) The minimum amount of time the session's client must wait between calls /// to <code>GetLatestConfiguration</code>. /// </para> /// </li> </ul> /// <para> /// In response, AppConfig provides an <code>InitialConfigurationToken</code> to be given /// to the session's client and used the first time it calls <code>GetLatestConfiguration</code> /// for that session. /// </para> /// <important> /// <para> /// This token should only be used once in your first call to <code>GetLatestConfiguration</code>. /// You <i>must</i> use the new token in the <code>GetLatestConfiguration</code> response /// (<code>NextPollConfigurationToken</code>) in each subsequent call to <code>GetLatestConfiguration</code>. /// </para> /// </important> /// <para> /// When calling <code>GetLatestConfiguration</code>, your client code sends the most /// recent <code>ConfigurationToken</code> value it has and receives in response: /// </para> /// <ul> <li> /// <para> /// <code>NextPollConfigurationToken</code>: the <code>ConfigurationToken</code> value /// to use on the next call to <code>GetLatestConfiguration</code>. /// </para> /// </li> <li> /// <para> /// <code>NextPollIntervalInSeconds</code>: the duration the client should wait before /// making its next call to <code>GetLatestConfiguration</code>. This duration may vary /// over the course of the session, so it should be used instead of the value sent on /// the <code>StartConfigurationSession</code> call. /// </para> /// </li> <li> /// <para> /// The configuration: the latest data intended for the session. This may be empty if /// the client already has the latest version of the configuration. /// </para> /// </li> </ul> <important> /// <para> /// The <code>InitialConfigurationToken</code> and <code>NextPollConfigurationToken</code> /// should only be used once. To support long poll use cases, the tokens are valid for /// up to 24 hours. If a <code>GetLatestConfiguration</code> call uses an expired token, /// the system returns <code>BadRequestException</code>. /// </para> /// </important> /// <para> /// For more information and to view example CLI commands that show how to retrieve a /// configuration using the AppConfig Data <code>StartConfigurationSession</code> and /// <code>GetLatestConfiguration</code> API actions, see <a href="http://docs.aws.amazon.com/appconfig/latest/userguide/appconfig-retrieving-the-configuration">Retrieving /// the configuration</a> in the <i>AppConfig User Guide</i>. /// </para> /// </summary> public partial class AmazonAppConfigDataClient : AmazonServiceClient, IAmazonAppConfigData { private static IServiceMetadata serviceMetadata = new AmazonAppConfigDataMetadata(); #region Constructors /// <summary> /// Constructs AmazonAppConfigDataClient with the credentials loaded from the application's /// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. /// /// Example App.config with credentials set. /// <code> /// &lt;?xml version="1.0" encoding="utf-8" ?&gt; /// &lt;configuration&gt; /// &lt;appSettings&gt; /// &lt;add key="AWSProfileName" value="AWS Default"/&gt; /// &lt;/appSettings&gt; /// &lt;/configuration&gt; /// </code> /// /// </summary> public AmazonAppConfigDataClient() : base(FallbackCredentialsFactory.GetCredentials(), new AmazonAppConfigDataConfig()) { } /// <summary> /// Constructs AmazonAppConfigDataClient with the credentials loaded from the application's /// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. /// /// Example App.config with credentials set. /// <code> /// &lt;?xml version="1.0" encoding="utf-8" ?&gt; /// &lt;configuration&gt; /// &lt;appSettings&gt; /// &lt;add key="AWSProfileName" value="AWS Default"/&gt; /// &lt;/appSettings&gt; /// &lt;/configuration&gt; /// </code> /// /// </summary> /// <param name="region">The region to connect.</param> public AmazonAppConfigDataClient(RegionEndpoint region) : base(FallbackCredentialsFactory.GetCredentials(), new AmazonAppConfigDataConfig{RegionEndpoint = region}) { } /// <summary> /// Constructs AmazonAppConfigDataClient with the credentials loaded from the application's /// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. /// /// Example App.config with credentials set. /// <code> /// &lt;?xml version="1.0" encoding="utf-8" ?&gt; /// &lt;configuration&gt; /// &lt;appSettings&gt; /// &lt;add key="AWSProfileName" value="AWS Default"/&gt; /// &lt;/appSettings&gt; /// &lt;/configuration&gt; /// </code> /// /// </summary> /// <param name="config">The AmazonAppConfigDataClient Configuration Object</param> public AmazonAppConfigDataClient(AmazonAppConfigDataConfig config) : base(FallbackCredentialsFactory.GetCredentials(), config) { } /// <summary> /// Constructs AmazonAppConfigDataClient with AWS Credentials /// </summary> /// <param name="credentials">AWS Credentials</param> public AmazonAppConfigDataClient(AWSCredentials credentials) : this(credentials, new AmazonAppConfigDataConfig()) { } /// <summary> /// Constructs AmazonAppConfigDataClient with AWS Credentials /// </summary> /// <param name="credentials">AWS Credentials</param> /// <param name="region">The region to connect.</param> public AmazonAppConfigDataClient(AWSCredentials credentials, RegionEndpoint region) : this(credentials, new AmazonAppConfigDataConfig{RegionEndpoint = region}) { } /// <summary> /// Constructs AmazonAppConfigDataClient with AWS Credentials and an /// AmazonAppConfigDataClient Configuration object. /// </summary> /// <param name="credentials">AWS Credentials</param> /// <param name="clientConfig">The AmazonAppConfigDataClient Configuration Object</param> public AmazonAppConfigDataClient(AWSCredentials credentials, AmazonAppConfigDataConfig clientConfig) : base(credentials, clientConfig) { } /// <summary> /// Constructs AmazonAppConfigDataClient with AWS Access Key ID and AWS Secret Key /// </summary> /// <param name="awsAccessKeyId">AWS Access Key ID</param> /// <param name="awsSecretAccessKey">AWS Secret Access Key</param> public AmazonAppConfigDataClient(string awsAccessKeyId, string awsSecretAccessKey) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonAppConfigDataConfig()) { } /// <summary> /// Constructs AmazonAppConfigDataClient with AWS Access Key ID and AWS Secret Key /// </summary> /// <param name="awsAccessKeyId">AWS Access Key ID</param> /// <param name="awsSecretAccessKey">AWS Secret Access Key</param> /// <param name="region">The region to connect.</param> public AmazonAppConfigDataClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonAppConfigDataConfig() {RegionEndpoint=region}) { } /// <summary> /// Constructs AmazonAppConfigDataClient with AWS Access Key ID, AWS Secret Key and an /// AmazonAppConfigDataClient Configuration object. /// </summary> /// <param name="awsAccessKeyId">AWS Access Key ID</param> /// <param name="awsSecretAccessKey">AWS Secret Access Key</param> /// <param name="clientConfig">The AmazonAppConfigDataClient Configuration Object</param> public AmazonAppConfigDataClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonAppConfigDataConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, clientConfig) { } /// <summary> /// Constructs AmazonAppConfigDataClient with AWS Access Key ID and AWS Secret Key /// </summary> /// <param name="awsAccessKeyId">AWS Access Key ID</param> /// <param name="awsSecretAccessKey">AWS Secret Access Key</param> /// <param name="awsSessionToken">AWS Session Token</param> public AmazonAppConfigDataClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonAppConfigDataConfig()) { } /// <summary> /// Constructs AmazonAppConfigDataClient with AWS Access Key ID and AWS Secret Key /// </summary> /// <param name="awsAccessKeyId">AWS Access Key ID</param> /// <param name="awsSecretAccessKey">AWS Secret Access Key</param> /// <param name="awsSessionToken">AWS Session Token</param> /// <param name="region">The region to connect.</param> public AmazonAppConfigDataClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonAppConfigDataConfig{RegionEndpoint = region}) { } /// <summary> /// Constructs AmazonAppConfigDataClient with AWS Access Key ID, AWS Secret Key and an /// AmazonAppConfigDataClient Configuration object. /// </summary> /// <param name="awsAccessKeyId">AWS Access Key ID</param> /// <param name="awsSecretAccessKey">AWS Secret Access Key</param> /// <param name="awsSessionToken">AWS Session Token</param> /// <param name="clientConfig">The AmazonAppConfigDataClient Configuration Object</param> public AmazonAppConfigDataClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonAppConfigDataConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig) { } #endregion #region Overrides /// <summary> /// Creates the signer for the service. /// </summary> protected override AbstractAWSSigner CreateSigner() { return new AWS4Signer(); } /// <summary> /// Customizes the runtime pipeline. /// </summary> /// <param name="pipeline">Runtime pipeline for the current client.</param> protected override void CustomizeRuntimePipeline(RuntimePipeline pipeline) { pipeline.RemoveHandler<Amazon.Runtime.Internal.EndpointResolver>(); pipeline.AddHandlerAfter<Amazon.Runtime.Internal.Marshaller>(new AmazonAppConfigDataEndpointResolver()); } /// <summary> /// Capture metadata for the service. /// </summary> protected override IServiceMetadata ServiceMetadata { get { return serviceMetadata; } } #endregion #region Dispose /// <summary> /// Disposes the service client. /// </summary> protected override void Dispose(bool disposing) { base.Dispose(disposing); } #endregion #region GetLatestConfiguration internal virtual GetLatestConfigurationResponse GetLatestConfiguration(GetLatestConfigurationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetLatestConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = GetLatestConfigurationResponseUnmarshaller.Instance; return Invoke<GetLatestConfigurationResponse>(request, options); } /// <summary> /// Retrieves the latest deployed configuration. This API may return empty configuration /// data if the client already has the latest version. For more information about this /// API action and to view example CLI commands that show how to use it with the <a>StartConfigurationSession</a> /// API action, see <a href="http://docs.aws.amazon.com/appconfig/latest/userguide/appconfig-retrieving-the-configuration">Retrieving /// the configuration</a> in the <i>AppConfig User Guide</i>. /// /// <important> /// <para> /// Note the following important information. /// </para> /// <ul> <li> /// <para> /// Each configuration token is only valid for one call to <code>GetLatestConfiguration</code>. /// The <code>GetLatestConfiguration</code> response includes a <code>NextPollConfigurationToken</code> /// that should always replace the token used for the just-completed call in preparation /// for the next one. /// </para> /// </li> <li> /// <para> /// <code>GetLatestConfiguration</code> is a priced call. For more information, see <a /// href="https://aws.amazon.com/systems-manager/pricing/">Pricing</a>. /// </para> /// </li> </ul> </important> /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetLatestConfiguration service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetLatestConfiguration service method, as returned by AppConfigData.</returns> /// <exception cref="Amazon.AppConfigData.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by the service. /// </exception> /// <exception cref="Amazon.AppConfigData.Model.InternalServerException"> /// There was an internal failure in the service. /// </exception> /// <exception cref="Amazon.AppConfigData.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <exception cref="Amazon.AppConfigData.Model.ThrottlingException"> /// The request was denied due to request throttling. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfigdata-2021-11-11/GetLatestConfiguration">REST API Reference for GetLatestConfiguration Operation</seealso> public virtual Task<GetLatestConfigurationResponse> GetLatestConfigurationAsync(GetLatestConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetLatestConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = GetLatestConfigurationResponseUnmarshaller.Instance; return InvokeAsync<GetLatestConfigurationResponse>(request, options, cancellationToken); } #endregion #region StartConfigurationSession internal virtual StartConfigurationSessionResponse StartConfigurationSession(StartConfigurationSessionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = StartConfigurationSessionRequestMarshaller.Instance; options.ResponseUnmarshaller = StartConfigurationSessionResponseUnmarshaller.Instance; return Invoke<StartConfigurationSessionResponse>(request, options); } /// <summary> /// Starts a configuration session used to retrieve a deployed configuration. For more /// information about this API action and to view example CLI commands that show how to /// use it with the <a>GetLatestConfiguration</a> API action, see <a href="http://docs.aws.amazon.com/appconfig/latest/userguide/appconfig-retrieving-the-configuration">Retrieving /// the configuration</a> in the <i>AppConfig User Guide</i>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the StartConfigurationSession service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the StartConfigurationSession service method, as returned by AppConfigData.</returns> /// <exception cref="Amazon.AppConfigData.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by the service. /// </exception> /// <exception cref="Amazon.AppConfigData.Model.InternalServerException"> /// There was an internal failure in the service. /// </exception> /// <exception cref="Amazon.AppConfigData.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <exception cref="Amazon.AppConfigData.Model.ThrottlingException"> /// The request was denied due to request throttling. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfigdata-2021-11-11/StartConfigurationSession">REST API Reference for StartConfigurationSession Operation</seealso> public virtual Task<StartConfigurationSessionResponse> StartConfigurationSessionAsync(StartConfigurationSessionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = StartConfigurationSessionRequestMarshaller.Instance; options.ResponseUnmarshaller = StartConfigurationSessionResponseUnmarshaller.Instance; return InvokeAsync<StartConfigurationSessionResponse>(request, options, cancellationToken); } #endregion } }
442
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appconfigdata-2021-11-11.normal.json service model. */ using System; using System.Threading; using System.Threading.Tasks; using System.Collections.Generic; using Amazon.Runtime; using Amazon.AppConfigData.Model; namespace Amazon.AppConfigData { /// <summary> /// Interface for accessing AppConfigData /// /// AppConfig Data provides the data plane APIs your application uses to retrieve configuration /// data. Here's how it works: /// /// /// <para> /// Your application retrieves configuration data by first establishing a configuration /// session using the AppConfig Data <a>StartConfigurationSession</a> API action. Your /// session's client then makes periodic calls to <a>GetLatestConfiguration</a> to check /// for and retrieve the latest data available. /// </para> /// /// <para> /// When calling <code>StartConfigurationSession</code>, your code sends the following /// information: /// </para> /// <ul> <li> /// <para> /// Identifiers (ID or name) of an AppConfig application, environment, and configuration /// profile that the session tracks. /// </para> /// </li> <li> /// <para> /// (Optional) The minimum amount of time the session's client must wait between calls /// to <code>GetLatestConfiguration</code>. /// </para> /// </li> </ul> /// <para> /// In response, AppConfig provides an <code>InitialConfigurationToken</code> to be given /// to the session's client and used the first time it calls <code>GetLatestConfiguration</code> /// for that session. /// </para> /// <important> /// <para> /// This token should only be used once in your first call to <code>GetLatestConfiguration</code>. /// You <i>must</i> use the new token in the <code>GetLatestConfiguration</code> response /// (<code>NextPollConfigurationToken</code>) in each subsequent call to <code>GetLatestConfiguration</code>. /// </para> /// </important> /// <para> /// When calling <code>GetLatestConfiguration</code>, your client code sends the most /// recent <code>ConfigurationToken</code> value it has and receives in response: /// </para> /// <ul> <li> /// <para> /// <code>NextPollConfigurationToken</code>: the <code>ConfigurationToken</code> value /// to use on the next call to <code>GetLatestConfiguration</code>. /// </para> /// </li> <li> /// <para> /// <code>NextPollIntervalInSeconds</code>: the duration the client should wait before /// making its next call to <code>GetLatestConfiguration</code>. This duration may vary /// over the course of the session, so it should be used instead of the value sent on /// the <code>StartConfigurationSession</code> call. /// </para> /// </li> <li> /// <para> /// The configuration: the latest data intended for the session. This may be empty if /// the client already has the latest version of the configuration. /// </para> /// </li> </ul> <important> /// <para> /// The <code>InitialConfigurationToken</code> and <code>NextPollConfigurationToken</code> /// should only be used once. To support long poll use cases, the tokens are valid for /// up to 24 hours. If a <code>GetLatestConfiguration</code> call uses an expired token, /// the system returns <code>BadRequestException</code>. /// </para> /// </important> /// <para> /// For more information and to view example CLI commands that show how to retrieve a /// configuration using the AppConfig Data <code>StartConfigurationSession</code> and /// <code>GetLatestConfiguration</code> API actions, see <a href="http://docs.aws.amazon.com/appconfig/latest/userguide/appconfig-retrieving-the-configuration">Retrieving /// the configuration</a> in the <i>AppConfig User Guide</i>. /// </para> /// </summary> public partial interface IAmazonAppConfigData : IAmazonService, IDisposable { #region GetLatestConfiguration /// <summary> /// Retrieves the latest deployed configuration. This API may return empty configuration /// data if the client already has the latest version. For more information about this /// API action and to view example CLI commands that show how to use it with the <a>StartConfigurationSession</a> /// API action, see <a href="http://docs.aws.amazon.com/appconfig/latest/userguide/appconfig-retrieving-the-configuration">Retrieving /// the configuration</a> in the <i>AppConfig User Guide</i>. /// /// <important> /// <para> /// Note the following important information. /// </para> /// <ul> <li> /// <para> /// Each configuration token is only valid for one call to <code>GetLatestConfiguration</code>. /// The <code>GetLatestConfiguration</code> response includes a <code>NextPollConfigurationToken</code> /// that should always replace the token used for the just-completed call in preparation /// for the next one. /// </para> /// </li> <li> /// <para> /// <code>GetLatestConfiguration</code> is a priced call. For more information, see <a /// href="https://aws.amazon.com/systems-manager/pricing/">Pricing</a>. /// </para> /// </li> </ul> </important> /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetLatestConfiguration service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetLatestConfiguration service method, as returned by AppConfigData.</returns> /// <exception cref="Amazon.AppConfigData.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by the service. /// </exception> /// <exception cref="Amazon.AppConfigData.Model.InternalServerException"> /// There was an internal failure in the service. /// </exception> /// <exception cref="Amazon.AppConfigData.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <exception cref="Amazon.AppConfigData.Model.ThrottlingException"> /// The request was denied due to request throttling. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfigdata-2021-11-11/GetLatestConfiguration">REST API Reference for GetLatestConfiguration Operation</seealso> Task<GetLatestConfigurationResponse> GetLatestConfigurationAsync(GetLatestConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region StartConfigurationSession /// <summary> /// Starts a configuration session used to retrieve a deployed configuration. For more /// information about this API action and to view example CLI commands that show how to /// use it with the <a>GetLatestConfiguration</a> API action, see <a href="http://docs.aws.amazon.com/appconfig/latest/userguide/appconfig-retrieving-the-configuration">Retrieving /// the configuration</a> in the <i>AppConfig User Guide</i>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the StartConfigurationSession service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the StartConfigurationSession service method, as returned by AppConfigData.</returns> /// <exception cref="Amazon.AppConfigData.Model.BadRequestException"> /// The input fails to satisfy the constraints specified by the service. /// </exception> /// <exception cref="Amazon.AppConfigData.Model.InternalServerException"> /// There was an internal failure in the service. /// </exception> /// <exception cref="Amazon.AppConfigData.Model.ResourceNotFoundException"> /// The requested resource could not be found. /// </exception> /// <exception cref="Amazon.AppConfigData.Model.ThrottlingException"> /// The request was denied due to request throttling. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appconfigdata-2021-11-11/StartConfigurationSession">REST API Reference for StartConfigurationSession Operation</seealso> Task<StartConfigurationSessionResponse> StartConfigurationSessionAsync(StartConfigurationSessionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion } }
197
aws-sdk-net
aws
C#
using System; using System.Reflection; using System.Runtime.InteropServices; using System.Runtime.CompilerServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("AWSSDK.AppConfigData")] #if BCL35 [assembly: AssemblyDescription("The Amazon Web Services SDK for .NET (3.5) - AWS AppConfig Data. AWS AppConfig Data is a new service that allows you to retrieve configuration deployed by AWS AppConfig. See the AppConfig user guide for more details on getting started. https://docs.aws.amazon.com/appconfig/latest/userguide/what-is-appconfig.html")] #elif BCL45 [assembly: AssemblyDescription("The Amazon Web Services SDK for .NET (4.5) - AWS AppConfig Data. AWS AppConfig Data is a new service that allows you to retrieve configuration deployed by AWS AppConfig. See the AppConfig user guide for more details on getting started. https://docs.aws.amazon.com/appconfig/latest/userguide/what-is-appconfig.html")] #elif NETSTANDARD20 [assembly: AssemblyDescription("The Amazon Web Services SDK for .NET (NetStandard 2.0) - AWS AppConfig Data. AWS AppConfig Data is a new service that allows you to retrieve configuration deployed by AWS AppConfig. See the AppConfig user guide for more details on getting started. https://docs.aws.amazon.com/appconfig/latest/userguide/what-is-appconfig.html")] #elif NETCOREAPP3_1 [assembly: AssemblyDescription("The Amazon Web Services SDK for .NET (.NET Core 3.1) - AWS AppConfig Data. AWS AppConfig Data is a new service that allows you to retrieve configuration deployed by AWS AppConfig. See the AppConfig user guide for more details on getting started. https://docs.aws.amazon.com/appconfig/latest/userguide/what-is-appconfig.html")] #else #error Unknown platform constant - unable to set correct AssemblyDescription #endif [assembly: AssemblyConfiguration("")] [assembly: AssemblyProduct("Amazon Web Services SDK for .NET")] [assembly: AssemblyCompany("Amazon.com, Inc")] [assembly: AssemblyCopyright("Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] // Setting ComVisible to false makes the types in this assembly not visible // to COM components. If you need to access a type in this assembly from // COM, set the ComVisible attribute to true on that type. [assembly: ComVisible(false)] // Version information for an assembly consists of the following four values: // // Major Version // Minor Version // Build Number // Revision // // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] [assembly: AssemblyVersion("3.3")] [assembly: AssemblyFileVersion("3.7.101.74")] [assembly: System.CLSCompliant(true)] #if BCL [assembly: System.Security.AllowPartiallyTrustedCallers] #endif
51
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appfabric-2023-05-19.normal.json service model. */ using System; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Util.Internal; using Amazon.AppFabric.Internal; namespace Amazon.AppFabric { /// <summary> /// Configuration for accessing Amazon AppFabric service /// </summary> [AWSSignerType("v4")] public partial class AmazonAppFabricConfig : ClientConfig { private static readonly string UserAgentString = InternalSDKUtils.BuildUserAgentString("3.7.100.0"); private string _userAgent = UserAgentString; /// <summary> /// Default constructor /// </summary> public AmazonAppFabricConfig() : base(new Amazon.Runtime.Internal.DefaultConfigurationProvider(AmazonAppFabricDefaultConfiguration.GetAllConfigurations())) { this.AuthenticationServiceName = "appfabric"; this.EndpointProvider = new AmazonAppFabricEndpointProvider(); } /// <summary> /// The constant used to lookup in the region hash the endpoint. /// </summary> public override string RegionEndpointServiceName { get { return "appfabric"; } } /// <summary> /// Gets the ServiceVersion property. /// </summary> public override string ServiceVersion { get { return "2023-05-19"; } } /// <summary> /// Gets the value of UserAgent property. /// </summary> public override string UserAgent { get { return _userAgent; } } } }
83
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appfabric-2023-05-19.normal.json service model. */ using System; using System.Collections.Generic; using System.Collections.ObjectModel; using Amazon.Runtime; namespace Amazon.AppFabric { /// <summary> /// Configuration for accessing Amazon AppFabric service /// </summary> public static class AmazonAppFabricDefaultConfiguration { /// <summary> /// Collection of all <see cref="DefaultConfiguration"/>s supported by /// AppFabric /// </summary> public static ReadOnlyCollection<IDefaultConfiguration> GetAllConfigurations() { return new ReadOnlyCollection<IDefaultConfiguration>(new List<IDefaultConfiguration> { Standard, InRegion, CrossRegion, Mobile, Auto, Legacy }); } /// <summary> /// <p>The STANDARD mode provides the latest recommended default values that should be safe to run in most scenarios</p><p>Note that the default values vended from this mode might change as best practices may evolve. As a result, it is encouraged to perform tests when upgrading the SDK</p> /// </summary> public static IDefaultConfiguration Standard {get;} = new DefaultConfiguration { Name = DefaultConfigurationMode.Standard, RetryMode = RequestRetryMode.Standard, StsRegionalEndpoints = StsRegionalEndpointsValue.Regional, S3UsEast1RegionalEndpoint = S3UsEast1RegionalEndpointValue.Regional, // 0:00:03.1 ConnectTimeout = TimeSpan.FromMilliseconds(3100L), // 0:00:03.1 TlsNegotiationTimeout = TimeSpan.FromMilliseconds(3100L), TimeToFirstByteTimeout = null, HttpRequestTimeout = null }; /// <summary> /// <p>The IN_REGION mode builds on the standard mode and includes optimization tailored for applications which call AWS services from within the same AWS region</p><p>Note that the default values vended from this mode might change as best practices may evolve. As a result, it is encouraged to perform tests when upgrading the SDK</p> /// </summary> public static IDefaultConfiguration InRegion {get;} = new DefaultConfiguration { Name = DefaultConfigurationMode.InRegion, RetryMode = RequestRetryMode.Standard, StsRegionalEndpoints = StsRegionalEndpointsValue.Regional, S3UsEast1RegionalEndpoint = S3UsEast1RegionalEndpointValue.Regional, // 0:00:01.1 ConnectTimeout = TimeSpan.FromMilliseconds(1100L), // 0:00:01.1 TlsNegotiationTimeout = TimeSpan.FromMilliseconds(1100L), TimeToFirstByteTimeout = null, HttpRequestTimeout = null }; /// <summary> /// <p>The CROSS_REGION mode builds on the standard mode and includes optimization tailored for applications which call AWS services in a different region</p><p>Note that the default values vended from this mode might change as best practices may evolve. As a result, it is encouraged to perform tests when upgrading the SDK</p> /// </summary> public static IDefaultConfiguration CrossRegion {get;} = new DefaultConfiguration { Name = DefaultConfigurationMode.CrossRegion, RetryMode = RequestRetryMode.Standard, StsRegionalEndpoints = StsRegionalEndpointsValue.Regional, S3UsEast1RegionalEndpoint = S3UsEast1RegionalEndpointValue.Regional, // 0:00:03.1 ConnectTimeout = TimeSpan.FromMilliseconds(3100L), // 0:00:03.1 TlsNegotiationTimeout = TimeSpan.FromMilliseconds(3100L), TimeToFirstByteTimeout = null, HttpRequestTimeout = null }; /// <summary> /// <p>The MOBILE mode builds on the standard mode and includes optimization tailored for mobile applications</p><p>Note that the default values vended from this mode might change as best practices may evolve. As a result, it is encouraged to perform tests when upgrading the SDK</p> /// </summary> public static IDefaultConfiguration Mobile {get;} = new DefaultConfiguration { Name = DefaultConfigurationMode.Mobile, RetryMode = RequestRetryMode.Standard, StsRegionalEndpoints = StsRegionalEndpointsValue.Regional, S3UsEast1RegionalEndpoint = S3UsEast1RegionalEndpointValue.Regional, // 0:00:30 ConnectTimeout = TimeSpan.FromMilliseconds(30000L), // 0:00:30 TlsNegotiationTimeout = TimeSpan.FromMilliseconds(30000L), TimeToFirstByteTimeout = null, HttpRequestTimeout = null }; /// <summary> /// <p>The AUTO mode is an experimental mode that builds on the standard mode. The SDK will attempt to discover the execution environment to determine the appropriate settings automatically.</p><p>Note that the auto detection is heuristics-based and does not guarantee 100% accuracy. STANDARD mode will be used if the execution environment cannot be determined. The auto detection might query <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html">EC2 Instance Metadata service</a>, which might introduce latency. Therefore we recommend choosing an explicit defaults_mode instead if startup latency is critical to your application</p> /// </summary> public static IDefaultConfiguration Auto {get;} = new DefaultConfiguration { Name = DefaultConfigurationMode.Auto, RetryMode = RequestRetryMode.Standard, StsRegionalEndpoints = StsRegionalEndpointsValue.Regional, S3UsEast1RegionalEndpoint = S3UsEast1RegionalEndpointValue.Regional, // 0:00:01.1 ConnectTimeout = TimeSpan.FromMilliseconds(1100L), // 0:00:01.1 TlsNegotiationTimeout = TimeSpan.FromMilliseconds(1100L), TimeToFirstByteTimeout = null, HttpRequestTimeout = null }; /// <summary> /// <p>The LEGACY mode provides default settings that vary per SDK and were used prior to establishment of defaults_mode</p> /// </summary> public static IDefaultConfiguration Legacy {get;} = new DefaultConfiguration { Name = DefaultConfigurationMode.Legacy, RetryMode = RequestRetryMode.Legacy, StsRegionalEndpoints = StsRegionalEndpointsValue.Legacy, S3UsEast1RegionalEndpoint = S3UsEast1RegionalEndpointValue.Legacy, ConnectTimeout = null, TlsNegotiationTimeout = null, TimeToFirstByteTimeout = null, HttpRequestTimeout = null }; } }
146
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appfabric-2023-05-19.normal.json service model. */ using Amazon.Runtime; using Amazon.Runtime.Endpoints; namespace Amazon.AppFabric.Endpoints { /// <summary> /// Contains parameters used for resolving AppFabric endpoints /// Parameters can be sourced from client config and service operations /// Used by internal AppFabricEndpointProvider and AppFabricEndpointResolver /// Can be used by custom EndpointProvider, see ClientConfig.EndpointProvider /// </summary> public class AppFabricEndpointParameters : EndpointParameters { /// <summary> /// AppFabricEndpointParameters constructor /// </summary> public AppFabricEndpointParameters() { UseDualStack = false; UseFIPS = false; } /// <summary> /// Region parameter /// </summary> public string Region { get { return (string)this["Region"]; } set { this["Region"] = value; } } /// <summary> /// UseDualStack parameter /// </summary> public bool? UseDualStack { get { return (bool?)this["UseDualStack"]; } set { this["UseDualStack"] = value; } } /// <summary> /// UseFIPS parameter /// </summary> public bool? UseFIPS { get { return (bool?)this["UseFIPS"]; } set { this["UseFIPS"] = value; } } /// <summary> /// Endpoint parameter /// </summary> public string Endpoint { get { return (string)this["Endpoint"]; } set { this["Endpoint"] = value; } } } }
78
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appfabric-2023-05-19.normal.json service model. */ using System; using System.Collections.Generic; using System.Net; using System.Text; using Amazon.Runtime; namespace Amazon.AppFabric { ///<summary> /// Common exception for the AppFabric service. /// </summary> #if !NETSTANDARD [Serializable] #endif public partial class AmazonAppFabricException : AmazonServiceException { /// <summary> /// Construct instance of AmazonAppFabricException /// </summary> /// <param name="message"></param> public AmazonAppFabricException(string message) : base(message) { } /// <summary> /// Construct instance of AmazonAppFabricException /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> public AmazonAppFabricException(string message, Exception innerException) : base(message, innerException) { } /// <summary> /// Construct instance of AmazonAppFabricException /// </summary> /// <param name="innerException"></param> public AmazonAppFabricException(Exception innerException) : base(innerException.Message, innerException) { } /// <summary> /// Construct instance of AmazonAppFabricException /// </summary> /// <param name="message"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public AmazonAppFabricException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, errorType, errorCode, requestId, statusCode) { } /// <summary> /// Construct instance of AmazonAppFabricException /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public AmazonAppFabricException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, innerException, errorType, errorCode, requestId, statusCode) { } #if !NETSTANDARD /// <summary> /// Constructs a new instance of the AmazonAppFabricException class with serialized data. /// </summary> /// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param> /// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param> /// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception> /// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception> protected AmazonAppFabricException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : base(info, context) { } #endif } }
105
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appfabric-2023-05-19.normal.json service model. */ using System; using Amazon.Runtime; namespace Amazon.AppFabric { /// <summary> /// Constants used for properties of type AppAuthorizationStatus. /// </summary> public class AppAuthorizationStatus : ConstantClass { /// <summary> /// Constant Connected for AppAuthorizationStatus /// </summary> public static readonly AppAuthorizationStatus Connected = new AppAuthorizationStatus("Connected"); /// <summary> /// Constant ConnectionValidationFailed for AppAuthorizationStatus /// </summary> public static readonly AppAuthorizationStatus ConnectionValidationFailed = new AppAuthorizationStatus("ConnectionValidationFailed"); /// <summary> /// Constant PendingConnect for AppAuthorizationStatus /// </summary> public static readonly AppAuthorizationStatus PendingConnect = new AppAuthorizationStatus("PendingConnect"); /// <summary> /// Constant TokenAutoRotationFailed for AppAuthorizationStatus /// </summary> public static readonly AppAuthorizationStatus TokenAutoRotationFailed = new AppAuthorizationStatus("TokenAutoRotationFailed"); /// <summary> /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// </summary> public AppAuthorizationStatus(string value) : base(value) { } /// <summary> /// Finds the constant for the unique value. /// </summary> /// <param name="value">The unique value for the constant</param> /// <returns>The constant for the unique value</returns> public static AppAuthorizationStatus FindValue(string value) { return FindValue<AppAuthorizationStatus>(value); } /// <summary> /// Utility method to convert strings to the constant class. /// </summary> /// <param name="value">The string value to convert to the constant class.</param> /// <returns></returns> public static implicit operator AppAuthorizationStatus(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type AuthType. /// </summary> public class AuthType : ConstantClass { /// <summary> /// Constant ApiKey for AuthType /// </summary> public static readonly AuthType ApiKey = new AuthType("apiKey"); /// <summary> /// Constant Oauth2 for AuthType /// </summary> public static readonly AuthType Oauth2 = new AuthType("oauth2"); /// <summary> /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// </summary> public AuthType(string value) : base(value) { } /// <summary> /// Finds the constant for the unique value. /// </summary> /// <param name="value">The unique value for the constant</param> /// <returns>The constant for the unique value</returns> public static AuthType FindValue(string value) { return FindValue<AuthType>(value); } /// <summary> /// Utility method to convert strings to the constant class. /// </summary> /// <param name="value">The string value to convert to the constant class.</param> /// <returns></returns> public static implicit operator AuthType(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type Format. /// </summary> public class Format : ConstantClass { /// <summary> /// Constant Json for Format /// </summary> public static readonly Format Json = new Format("json"); /// <summary> /// Constant Parquet for Format /// </summary> public static readonly Format Parquet = new Format("parquet"); /// <summary> /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// </summary> public Format(string value) : base(value) { } /// <summary> /// Finds the constant for the unique value. /// </summary> /// <param name="value">The unique value for the constant</param> /// <returns>The constant for the unique value</returns> public static Format FindValue(string value) { return FindValue<Format>(value); } /// <summary> /// Utility method to convert strings to the constant class. /// </summary> /// <param name="value">The string value to convert to the constant class.</param> /// <returns></returns> public static implicit operator Format(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type IngestionDestinationStatus. /// </summary> public class IngestionDestinationStatus : ConstantClass { /// <summary> /// Constant Active for IngestionDestinationStatus /// </summary> public static readonly IngestionDestinationStatus Active = new IngestionDestinationStatus("Active"); /// <summary> /// Constant Failed for IngestionDestinationStatus /// </summary> public static readonly IngestionDestinationStatus Failed = new IngestionDestinationStatus("Failed"); /// <summary> /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// </summary> public IngestionDestinationStatus(string value) : base(value) { } /// <summary> /// Finds the constant for the unique value. /// </summary> /// <param name="value">The unique value for the constant</param> /// <returns>The constant for the unique value</returns> public static IngestionDestinationStatus FindValue(string value) { return FindValue<IngestionDestinationStatus>(value); } /// <summary> /// Utility method to convert strings to the constant class. /// </summary> /// <param name="value">The string value to convert to the constant class.</param> /// <returns></returns> public static implicit operator IngestionDestinationStatus(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type IngestionState. /// </summary> public class IngestionState : ConstantClass { /// <summary> /// Constant Disabled for IngestionState /// </summary> public static readonly IngestionState Disabled = new IngestionState("disabled"); /// <summary> /// Constant Enabled for IngestionState /// </summary> public static readonly IngestionState Enabled = new IngestionState("enabled"); /// <summary> /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// </summary> public IngestionState(string value) : base(value) { } /// <summary> /// Finds the constant for the unique value. /// </summary> /// <param name="value">The unique value for the constant</param> /// <returns>The constant for the unique value</returns> public static IngestionState FindValue(string value) { return FindValue<IngestionState>(value); } /// <summary> /// Utility method to convert strings to the constant class. /// </summary> /// <param name="value">The string value to convert to the constant class.</param> /// <returns></returns> public static implicit operator IngestionState(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type IngestionType. /// </summary> public class IngestionType : ConstantClass { /// <summary> /// Constant AuditLog for IngestionType /// </summary> public static readonly IngestionType AuditLog = new IngestionType("auditLog"); /// <summary> /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// </summary> public IngestionType(string value) : base(value) { } /// <summary> /// Finds the constant for the unique value. /// </summary> /// <param name="value">The unique value for the constant</param> /// <returns>The constant for the unique value</returns> public static IngestionType FindValue(string value) { return FindValue<IngestionType>(value); } /// <summary> /// Utility method to convert strings to the constant class. /// </summary> /// <param name="value">The string value to convert to the constant class.</param> /// <returns></returns> public static implicit operator IngestionType(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type Persona. /// </summary> public class Persona : ConstantClass { /// <summary> /// Constant Admin for Persona /// </summary> public static readonly Persona Admin = new Persona("admin"); /// <summary> /// Constant EndUser for Persona /// </summary> public static readonly Persona EndUser = new Persona("endUser"); /// <summary> /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// </summary> public Persona(string value) : base(value) { } /// <summary> /// Finds the constant for the unique value. /// </summary> /// <param name="value">The unique value for the constant</param> /// <returns>The constant for the unique value</returns> public static Persona FindValue(string value) { return FindValue<Persona>(value); } /// <summary> /// Utility method to convert strings to the constant class. /// </summary> /// <param name="value">The string value to convert to the constant class.</param> /// <returns></returns> public static implicit operator Persona(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type ResultStatus. /// </summary> public class ResultStatus : ConstantClass { /// <summary> /// Constant COMPLETED for ResultStatus /// </summary> public static readonly ResultStatus COMPLETED = new ResultStatus("COMPLETED"); /// <summary> /// Constant EXPIRED for ResultStatus /// </summary> public static readonly ResultStatus EXPIRED = new ResultStatus("EXPIRED"); /// <summary> /// Constant FAILED for ResultStatus /// </summary> public static readonly ResultStatus FAILED = new ResultStatus("FAILED"); /// <summary> /// Constant IN_PROGRESS for ResultStatus /// </summary> public static readonly ResultStatus IN_PROGRESS = new ResultStatus("IN_PROGRESS"); /// <summary> /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// </summary> public ResultStatus(string value) : base(value) { } /// <summary> /// Finds the constant for the unique value. /// </summary> /// <param name="value">The unique value for the constant</param> /// <returns>The constant for the unique value</returns> public static ResultStatus FindValue(string value) { return FindValue<ResultStatus>(value); } /// <summary> /// Utility method to convert strings to the constant class. /// </summary> /// <param name="value">The string value to convert to the constant class.</param> /// <returns></returns> public static implicit operator ResultStatus(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type Schema. /// </summary> public class Schema : ConstantClass { /// <summary> /// Constant Ocsf for Schema /// </summary> public static readonly Schema Ocsf = new Schema("ocsf"); /// <summary> /// Constant Raw for Schema /// </summary> public static readonly Schema Raw = new Schema("raw"); /// <summary> /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// </summary> public Schema(string value) : base(value) { } /// <summary> /// Finds the constant for the unique value. /// </summary> /// <param name="value">The unique value for the constant</param> /// <returns>The constant for the unique value</returns> public static Schema FindValue(string value) { return FindValue<Schema>(value); } /// <summary> /// Utility method to convert strings to the constant class. /// </summary> /// <param name="value">The string value to convert to the constant class.</param> /// <returns></returns> public static implicit operator Schema(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type ValidationExceptionReason. /// </summary> public class ValidationExceptionReason : ConstantClass { /// <summary> /// Constant CannotParse for ValidationExceptionReason /// </summary> public static readonly ValidationExceptionReason CannotParse = new ValidationExceptionReason("cannotParse"); /// <summary> /// Constant FieldValidationFailed for ValidationExceptionReason /// </summary> public static readonly ValidationExceptionReason FieldValidationFailed = new ValidationExceptionReason("fieldValidationFailed"); /// <summary> /// Constant Other for ValidationExceptionReason /// </summary> public static readonly ValidationExceptionReason Other = new ValidationExceptionReason("other"); /// <summary> /// Constant UnknownOperation for ValidationExceptionReason /// </summary> public static readonly ValidationExceptionReason UnknownOperation = new ValidationExceptionReason("unknownOperation"); /// <summary> /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// </summary> public ValidationExceptionReason(string value) : base(value) { } /// <summary> /// Finds the constant for the unique value. /// </summary> /// <param name="value">The unique value for the constant</param> /// <returns>The constant for the unique value</returns> public static ValidationExceptionReason FindValue(string value) { return FindValue<ValidationExceptionReason>(value); } /// <summary> /// Utility method to convert strings to the constant class. /// </summary> /// <param name="value">The string value to convert to the constant class.</param> /// <returns></returns> public static implicit operator ValidationExceptionReason(string value) { return FindValue(value); } } }
546
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appfabric-2023-05-19.normal.json service model. */ using System; using System.Collections.Generic; using Amazon.Runtime; using Amazon.Runtime.Endpoints; using static Amazon.Runtime.Internal.Endpoints.StandardLibrary.Fn; namespace Amazon.AppFabric.Internal { /// <summary> /// Amazon AppFabric endpoint provider. /// Resolves endpoint for given set of AppFabricEndpointParameters. /// Can throw AmazonClientException if endpoint resolution is unsuccessful. /// </summary> public class AmazonAppFabricEndpointProvider : IEndpointProvider { /// <summary> /// Resolve endpoint for AppFabricEndpointParameters /// </summary> public Endpoint ResolveEndpoint(EndpointParameters parameters) { if (parameters == null) throw new ArgumentNullException("parameters"); if (parameters["UseDualStack"] == null) throw new AmazonClientException("UseDualStack parameter must be set for endpoint resolution"); if (parameters["UseFIPS"] == null) throw new AmazonClientException("UseFIPS parameter must be set for endpoint resolution"); var refs = new Dictionary<string, object>() { ["Region"] = parameters["Region"], ["UseDualStack"] = parameters["UseDualStack"], ["UseFIPS"] = parameters["UseFIPS"], ["Endpoint"] = parameters["Endpoint"], }; if (IsSet(refs["Endpoint"])) { if (Equals(refs["UseFIPS"], true)) { throw new AmazonClientException("Invalid Configuration: FIPS and custom endpoint are not supported"); } if (Equals(refs["UseDualStack"], true)) { throw new AmazonClientException("Invalid Configuration: Dualstack and custom endpoint are not supported"); } return new Endpoint((string)refs["Endpoint"], InterpolateJson(@"", refs), InterpolateJson(@"", refs)); } if (IsSet(refs["Region"])) { if ((refs["PartitionResult"] = Partition((string)refs["Region"])) != null) { if (Equals(refs["UseFIPS"], true) && Equals(refs["UseDualStack"], true)) { if (Equals(true, GetAttr(refs["PartitionResult"], "supportsFIPS")) && Equals(true, GetAttr(refs["PartitionResult"], "supportsDualStack"))) { return new Endpoint(Interpolate(@"https://appfabric-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", refs), InterpolateJson(@"", refs), InterpolateJson(@"", refs)); } throw new AmazonClientException("FIPS and DualStack are enabled, but this partition does not support one or both"); } if (Equals(refs["UseFIPS"], true)) { if (Equals(true, GetAttr(refs["PartitionResult"], "supportsFIPS"))) { return new Endpoint(Interpolate(@"https://appfabric-fips.{Region}.{PartitionResult#dnsSuffix}", refs), InterpolateJson(@"", refs), InterpolateJson(@"", refs)); } throw new AmazonClientException("FIPS is enabled but this partition does not support FIPS"); } if (Equals(refs["UseDualStack"], true)) { if (Equals(true, GetAttr(refs["PartitionResult"], "supportsDualStack"))) { return new Endpoint(Interpolate(@"https://appfabric.{Region}.{PartitionResult#dualStackDnsSuffix}", refs), InterpolateJson(@"", refs), InterpolateJson(@"", refs)); } throw new AmazonClientException("DualStack is enabled but this partition does not support DualStack"); } return new Endpoint(Interpolate(@"https://appfabric.{Region}.{PartitionResult#dnsSuffix}", refs), InterpolateJson(@"", refs), InterpolateJson(@"", refs)); } } throw new AmazonClientException("Invalid Configuration: Missing Region"); throw new AmazonClientException("Cannot resolve endpoint"); } } }
103
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appfabric-2023-05-19.normal.json service model. */ using System; using Amazon.AppFabric.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Endpoints; using Amazon.Util; using Amazon.AppFabric.Endpoints; #pragma warning disable 1591 namespace Amazon.AppFabric.Internal { /// <summary> /// Amazon AppFabric endpoint resolver. /// Custom PipelineHandler responsible for resolving endpoint and setting authentication parameters for AppFabric service requests. /// Collects values for AppFabricEndpointParameters and then tries to resolve endpoint by calling /// ResolveEndpoint method on GlobalEndpoints.Provider if present, otherwise uses AppFabricEndpointProvider. /// Responsible for setting authentication and http headers provided by resolved endpoint. /// </summary> public class AmazonAppFabricEndpointResolver : BaseEndpointResolver { protected override void ServiceSpecificHandler(IExecutionContext executionContext, EndpointParameters parameters) { InjectHostPrefix(executionContext.RequestContext); } protected override EndpointParameters MapEndpointsParameters(IRequestContext requestContext) { var config = (AmazonAppFabricConfig)requestContext.ClientConfig; var result = new AppFabricEndpointParameters(); result.Region = config.RegionEndpoint?.SystemName; result.UseDualStack = config.UseDualstackEndpoint; result.UseFIPS = config.UseFIPSEndpoint; result.Endpoint = config.ServiceURL; // The region needs to be determined from the ServiceURL if not set. var regionEndpoint = config.RegionEndpoint; if (regionEndpoint == null && !string.IsNullOrEmpty(config.ServiceURL)) { var regionName = AWSSDKUtils.DetermineRegion(config.ServiceURL); result.Region = RegionEndpoint.GetBySystemName(regionName).SystemName; } // To support legacy endpoint overridding rules in the endpoints.json if (result.Region == "us-east-1-regional") { result.Region = "us-east-1"; } // Use AlternateEndpoint region override if set if (requestContext.Request.AlternateEndpoint != null) { result.Region = requestContext.Request.AlternateEndpoint.SystemName; } // Assign staticContextParams and contextParam per operation return result; } } }
83
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appfabric-2023-05-19.normal.json service model. */ using Amazon.Runtime.Internal; namespace Amazon.AppFabric.Internal { /// <summary> /// Service metadata for Amazon AppFabric service /// </summary> public partial class AmazonAppFabricMetadata : IServiceMetadata { /// <summary> /// Gets the value of the Service Id. /// </summary> public string ServiceId { get { return "AppFabric"; } } /// <summary> /// Gets the dictionary that gives mapping of renamed operations /// </summary> public System.Collections.Generic.IDictionary<string, string> OperationNameMapping { get { return new System.Collections.Generic.Dictionary<string, string>(0) { }; } } } }
55
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appfabric-2023-05-19.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppFabric.Model { /// <summary> /// You are not authorized to perform this operation. /// </summary> #if !NETSTANDARD [Serializable] #endif public partial class AccessDeniedException : AmazonAppFabricException { /// <summary> /// Constructs a new AccessDeniedException with the specified error /// message. /// </summary> /// <param name="message"> /// Describes the error encountered. /// </param> public AccessDeniedException(string message) : base(message) {} /// <summary> /// Construct instance of AccessDeniedException /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> public AccessDeniedException(string message, Exception innerException) : base(message, innerException) {} /// <summary> /// Construct instance of AccessDeniedException /// </summary> /// <param name="innerException"></param> public AccessDeniedException(Exception innerException) : base(innerException) {} /// <summary> /// Construct instance of AccessDeniedException /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public AccessDeniedException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, innerException, errorType, errorCode, requestId, statusCode) {} /// <summary> /// Construct instance of AccessDeniedException /// </summary> /// <param name="message"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public AccessDeniedException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, errorType, errorCode, requestId, statusCode) {} #if !NETSTANDARD /// <summary> /// Constructs a new instance of the AccessDeniedException class with serialized data. /// </summary> /// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param> /// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param> /// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception> /// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception> protected AccessDeniedException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : base(info, context) { } /// <summary> /// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception. /// </summary> /// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param> /// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param> /// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception> #if BCL35 [System.Security.Permissions.SecurityPermission( System.Security.Permissions.SecurityAction.LinkDemand, Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)] #endif [System.Security.SecurityCritical] // These FxCop rules are giving false-positives for this method [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")] [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")] public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { base.GetObjectData(info, context); } #endif } }
124
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appfabric-2023-05-19.normal.json service model. */ using Amazon.Runtime; namespace Amazon.AppFabric { /// <summary> /// Base class for AppFabric operation requests. /// </summary> public partial class AmazonAppFabricRequest : AmazonWebServiceRequest { } }
30
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appfabric-2023-05-19.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppFabric.Model { /// <summary> /// Contains API key credential information. /// </summary> public partial class ApiKeyCredential { private string _apiKey; /// <summary> /// Gets and sets the property ApiKey. /// <para> /// An API key for an application. /// </para> /// </summary> [AWSProperty(Required=true, Sensitive=true, Min=1, Max=2048)] public string ApiKey { get { return this._apiKey; } set { this._apiKey = value; } } // Check to see if ApiKey property is set internal bool IsSetApiKey() { return this._apiKey != null; } } }
58
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appfabric-2023-05-19.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppFabric.Model { /// <summary> /// Contains information about an app authorization. /// </summary> public partial class AppAuthorization { private string _app; private string _appAuthorizationArn; private string _appBundleArn; private AuthType _authType; private string _authUrl; private DateTime? _createdAt; private Persona _persona; private AppAuthorizationStatus _status; private Tenant _tenant; private DateTime? _updatedAt; /// <summary> /// Gets and sets the property App. /// <para> /// The name of the application. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=255)] public string App { get { return this._app; } set { this._app = value; } } // Check to see if App property is set internal bool IsSetApp() { return this._app != null; } /// <summary> /// Gets and sets the property AppAuthorizationArn. /// <para> /// The Amazon Resource Name (ARN) of the app authorization. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=1011)] public string AppAuthorizationArn { get { return this._appAuthorizationArn; } set { this._appAuthorizationArn = value; } } // Check to see if AppAuthorizationArn property is set internal bool IsSetAppAuthorizationArn() { return this._appAuthorizationArn != null; } /// <summary> /// Gets and sets the property AppBundleArn. /// <para> /// The Amazon Resource Name (ARN) of the app bundle for the app authorization. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=1011)] public string AppBundleArn { get { return this._appBundleArn; } set { this._appBundleArn = value; } } // Check to see if AppBundleArn property is set internal bool IsSetAppBundleArn() { return this._appBundleArn != null; } /// <summary> /// Gets and sets the property AuthType. /// <para> /// The authorization type. /// </para> /// </summary> [AWSProperty(Required=true)] public AuthType AuthType { get { return this._authType; } set { this._authType = value; } } // Check to see if AuthType property is set internal bool IsSetAuthType() { return this._authType != null; } /// <summary> /// Gets and sets the property AuthUrl. /// <para> /// The application URL for the OAuth flow. /// </para> /// </summary> public string AuthUrl { get { return this._authUrl; } set { this._authUrl = value; } } // Check to see if AuthUrl property is set internal bool IsSetAuthUrl() { return this._authUrl != null; } /// <summary> /// Gets and sets the property CreatedAt. /// <para> /// The timestamp of when the app authorization was created. /// </para> /// </summary> [AWSProperty(Required=true)] public DateTime CreatedAt { get { return this._createdAt.GetValueOrDefault(); } set { this._createdAt = value; } } // Check to see if CreatedAt property is set internal bool IsSetCreatedAt() { return this._createdAt.HasValue; } /// <summary> /// Gets and sets the property Persona. /// <para> /// The user persona of the app authorization. /// </para> /// /// <para> /// This field should always be <code>admin</code>. /// </para> /// </summary> public Persona Persona { get { return this._persona; } set { this._persona = value; } } // Check to see if Persona property is set internal bool IsSetPersona() { return this._persona != null; } /// <summary> /// Gets and sets the property Status. /// <para> /// The state of the app authorization. /// </para> /// /// <para> /// The following states are possible: /// </para> /// <ul> <li> /// <para> /// <code>PendingConnect</code>: The initial state of the app authorization. The app /// authorization is created but not yet connected. /// </para> /// </li> <li> /// <para> /// <code>Connected</code>: The app authorization is connected to the application, and /// is ready to be used. /// </para> /// </li> <li> /// <para> /// <code>ConnectionValidationFailed</code>: The app authorization received a validation /// exception when trying to connect to the application. If the app authorization is in /// this state, you should verify the configured credentials and try to connect the app /// authorization again. /// </para> /// </li> <li> /// <para> /// <code>TokenAutoRotationFailed</code>: AppFabric failed to refresh the access token. /// If the app authorization is in this state, you should try to reconnect the app authorization. /// </para> /// </li> </ul> /// </summary> [AWSProperty(Required=true)] public AppAuthorizationStatus Status { get { return this._status; } set { this._status = value; } } // Check to see if Status property is set internal bool IsSetStatus() { return this._status != null; } /// <summary> /// Gets and sets the property Tenant. /// <para> /// Contains information about an application tenant, such as the application display /// name and identifier. /// </para> /// </summary> [AWSProperty(Required=true)] public Tenant Tenant { get { return this._tenant; } set { this._tenant = value; } } // Check to see if Tenant property is set internal bool IsSetTenant() { return this._tenant != null; } /// <summary> /// Gets and sets the property UpdatedAt. /// <para> /// The timestamp of when the app authorization was last updated. /// </para> /// </summary> [AWSProperty(Required=true)] public DateTime UpdatedAt { get { return this._updatedAt.GetValueOrDefault(); } set { this._updatedAt = value; } } // Check to see if UpdatedAt property is set internal bool IsSetUpdatedAt() { return this._updatedAt.HasValue; } } }
268
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appfabric-2023-05-19.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppFabric.Model { /// <summary> /// Contains a summary of an app authorization. /// </summary> public partial class AppAuthorizationSummary { private string _app; private string _appAuthorizationArn; private string _appBundleArn; private AppAuthorizationStatus _status; private Tenant _tenant; private DateTime? _updatedAt; /// <summary> /// Gets and sets the property App. /// <para> /// The name of the application. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=255)] public string App { get { return this._app; } set { this._app = value; } } // Check to see if App property is set internal bool IsSetApp() { return this._app != null; } /// <summary> /// Gets and sets the property AppAuthorizationArn. /// <para> /// The Amazon Resource Name (ARN) of the app authorization. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=1011)] public string AppAuthorizationArn { get { return this._appAuthorizationArn; } set { this._appAuthorizationArn = value; } } // Check to see if AppAuthorizationArn property is set internal bool IsSetAppAuthorizationArn() { return this._appAuthorizationArn != null; } /// <summary> /// Gets and sets the property AppBundleArn. /// <para> /// The Amazon Resource Name (ARN) of the app bundle for the app authorization. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=1011)] public string AppBundleArn { get { return this._appBundleArn; } set { this._appBundleArn = value; } } // Check to see if AppBundleArn property is set internal bool IsSetAppBundleArn() { return this._appBundleArn != null; } /// <summary> /// Gets and sets the property Status. /// <para> /// The state of the app authorization. /// </para> /// /// <para> /// The following states are possible: /// </para> /// <ul> <li> /// <para> /// <code>PendingConnect</code>: The initial state of the app authorization. The app /// authorization is created but not yet connected. /// </para> /// </li> <li> /// <para> /// <code>Connected</code>: The app authorization is connected to the application, and /// is ready to be used. /// </para> /// </li> <li> /// <para> /// <code>ConnectionValidationFailed</code>: The app authorization received a validation /// exception when trying to connect to the application. If the app authorization is in /// this state, you should verify the configured credentials and try to connect the app /// authorization again. /// </para> /// </li> <li> /// <para> /// <code>TokenAutoRotationFailed</code>: AppFabric failed to refresh the access token. /// If the app authorization is in this state, you should try to reconnect the app authorization. /// </para> /// </li> </ul> /// </summary> [AWSProperty(Required=true)] public AppAuthorizationStatus Status { get { return this._status; } set { this._status = value; } } // Check to see if Status property is set internal bool IsSetStatus() { return this._status != null; } /// <summary> /// Gets and sets the property Tenant. /// <para> /// Contains information about an application tenant, such as the application display /// name and identifier. /// </para> /// </summary> [AWSProperty(Required=true)] public Tenant Tenant { get { return this._tenant; } set { this._tenant = value; } } // Check to see if Tenant property is set internal bool IsSetTenant() { return this._tenant != null; } /// <summary> /// Gets and sets the property UpdatedAt. /// <para> /// Timestamp for when the app authorization was last updated. /// </para> /// </summary> [AWSProperty(Required=true)] public DateTime UpdatedAt { get { return this._updatedAt.GetValueOrDefault(); } set { this._updatedAt = value; } } // Check to see if UpdatedAt property is set internal bool IsSetUpdatedAt() { return this._updatedAt.HasValue; } } }
186
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appfabric-2023-05-19.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppFabric.Model { /// <summary> /// Contains information about an app bundle. /// </summary> public partial class AppBundle { private string _arn; private string _customerManagedKeyArn; /// <summary> /// Gets and sets the property Arn. /// <para> /// The Amazon Resource Name (ARN) of the app bundle. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=1011)] public string Arn { get { return this._arn; } set { this._arn = value; } } // Check to see if Arn property is set internal bool IsSetArn() { return this._arn != null; } /// <summary> /// Gets and sets the property CustomerManagedKeyArn. /// <para> /// The Amazon Resource Name (ARN) of the Key Management Service (KMS) key used to encrypt /// the application data. /// </para> /// </summary> [AWSProperty(Min=1, Max=1011)] public string CustomerManagedKeyArn { get { return this._customerManagedKeyArn; } set { this._customerManagedKeyArn = value; } } // Check to see if CustomerManagedKeyArn property is set internal bool IsSetCustomerManagedKeyArn() { return this._customerManagedKeyArn != null; } } }
79
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appfabric-2023-05-19.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppFabric.Model { /// <summary> /// Contains a summary of an app bundle. /// </summary> public partial class AppBundleSummary { private string _arn; /// <summary> /// Gets and sets the property Arn. /// <para> /// The Amazon Resource Name (ARN) of the app bundle. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=1011)] public string Arn { get { return this._arn; } set { this._arn = value; } } // Check to see if Arn property is set internal bool IsSetArn() { return this._arn != null; } } }
58
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appfabric-2023-05-19.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppFabric.Model { /// <summary> /// Contains information about an audit log destination configuration. /// </summary> public partial class AuditLogDestinationConfiguration { private Destination _destination; /// <summary> /// Gets and sets the property Destination. /// <para> /// Contains information about an audit log destination. /// </para> /// </summary> [AWSProperty(Required=true)] public Destination Destination { get { return this._destination; } set { this._destination = value; } } // Check to see if Destination property is set internal bool IsSetDestination() { return this._destination != null; } } }
58
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appfabric-2023-05-19.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppFabric.Model { /// <summary> /// Contains information about an audit log processing configuration. /// </summary> public partial class AuditLogProcessingConfiguration { private Format _format; private Schema _schema; /// <summary> /// Gets and sets the property Format. /// <para> /// The format in which the audit logs need to be formatted. /// </para> /// </summary> [AWSProperty(Required=true)] public Format Format { get { return this._format; } set { this._format = value; } } // Check to see if Format property is set internal bool IsSetFormat() { return this._format != null; } /// <summary> /// Gets and sets the property Schema. /// <para> /// The event schema in which the audit logs need to be formatted. /// </para> /// </summary> [AWSProperty(Required=true)] public Schema Schema { get { return this._schema; } set { this._schema = value; } } // Check to see if Schema property is set internal bool IsSetSchema() { return this._schema != null; } } }
78
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appfabric-2023-05-19.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppFabric.Model { /// <summary> /// Contains authorization request information, which is required for Amazon Web Services /// AppFabric to get the OAuth2 access token for an application. /// </summary> public partial class AuthRequest { private string _code; private string _redirectUri; /// <summary> /// Gets and sets the property Code. /// <para> /// The authorization code returned by the application after permission is granted in /// the application OAuth page (after clicking on the AuthURL). /// </para> /// </summary> [AWSProperty(Required=true, Sensitive=true, Min=1, Max=2048)] public string Code { get { return this._code; } set { this._code = value; } } // Check to see if Code property is set internal bool IsSetCode() { return this._code != null; } /// <summary> /// Gets and sets the property RedirectUri. /// <para> /// The redirect URL that is specified in the AuthURL and the application client. /// </para> /// </summary> [AWSProperty(Required=true, Min=0, Max=1024)] public string RedirectUri { get { return this._redirectUri; } set { this._redirectUri = value; } } // Check to see if RedirectUri property is set internal bool IsSetRedirectUri() { return this._redirectUri != null; } } }
80
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appfabric-2023-05-19.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppFabric.Model { /// <summary> /// Container for the parameters to the BatchGetUserAccessTasks operation. /// Gets user access details in a batch request. /// /// /// <para> /// This action polls data from the tasks that are kicked off by the <code>StartUserAccessTasks</code> /// action. /// </para> /// </summary> public partial class BatchGetUserAccessTasksRequest : AmazonAppFabricRequest { private string _appBundleIdentifier; private List<string> _taskIdList = new List<string>(); /// <summary> /// Gets and sets the property AppBundleIdentifier. /// <para> /// The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app bundle /// to use for the request. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=1011)] public string AppBundleIdentifier { get { return this._appBundleIdentifier; } set { this._appBundleIdentifier = value; } } // Check to see if AppBundleIdentifier property is set internal bool IsSetAppBundleIdentifier() { return this._appBundleIdentifier != null; } /// <summary> /// Gets and sets the property TaskIdList. /// <para> /// The tasks IDs to use for the request. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=50)] public List<string> TaskIdList { get { return this._taskIdList; } set { this._taskIdList = value; } } // Check to see if TaskIdList property is set internal bool IsSetTaskIdList() { return this._taskIdList != null && this._taskIdList.Count > 0; } } }
86
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appfabric-2023-05-19.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppFabric.Model { /// <summary> /// This is the response object from the BatchGetUserAccessTasks operation. /// </summary> public partial class BatchGetUserAccessTasksResponse : AmazonWebServiceResponse { private List<UserAccessResultItem> _userAccessResultsList = new List<UserAccessResultItem>(); /// <summary> /// Gets and sets the property UserAccessResultsList. /// <para> /// Contains a list of user access results. /// </para> /// </summary> public List<UserAccessResultItem> UserAccessResultsList { get { return this._userAccessResultsList; } set { this._userAccessResultsList = value; } } // Check to see if UserAccessResultsList property is set internal bool IsSetUserAccessResultsList() { return this._userAccessResultsList != null && this._userAccessResultsList.Count > 0; } } }
57
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appfabric-2023-05-19.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppFabric.Model { /// <summary> /// The request has created a conflict. Check the request parameters and try again. /// </summary> #if !NETSTANDARD [Serializable] #endif public partial class ConflictException : AmazonAppFabricException { private string _resourceId; private string _resourceType; /// <summary> /// Constructs a new ConflictException with the specified error /// message. /// </summary> /// <param name="message"> /// Describes the error encountered. /// </param> public ConflictException(string message) : base(message) {} /// <summary> /// Construct instance of ConflictException /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> public ConflictException(string message, Exception innerException) : base(message, innerException) {} /// <summary> /// Construct instance of ConflictException /// </summary> /// <param name="innerException"></param> public ConflictException(Exception innerException) : base(innerException) {} /// <summary> /// Construct instance of ConflictException /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public ConflictException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, innerException, errorType, errorCode, requestId, statusCode) {} /// <summary> /// Construct instance of ConflictException /// </summary> /// <param name="message"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public ConflictException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, errorType, errorCode, requestId, statusCode) {} #if !NETSTANDARD /// <summary> /// Constructs a new instance of the ConflictException class with serialized data. /// </summary> /// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param> /// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param> /// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception> /// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception> protected ConflictException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : base(info, context) { this.ResourceId = (string)info.GetValue("ResourceId", typeof(string)); this.ResourceType = (string)info.GetValue("ResourceType", typeof(string)); } /// <summary> /// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception. /// </summary> /// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param> /// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param> /// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception> #if BCL35 [System.Security.Permissions.SecurityPermission( System.Security.Permissions.SecurityAction.LinkDemand, Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)] #endif [System.Security.SecurityCritical] // These FxCop rules are giving false-positives for this method [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")] [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")] public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { base.GetObjectData(info, context); info.AddValue("ResourceId", this.ResourceId); info.AddValue("ResourceType", this.ResourceType); } #endif /// <summary> /// Gets and sets the property ResourceId. /// <para> /// The resource ID. /// </para> /// </summary> [AWSProperty(Required=true)] public string ResourceId { get { return this._resourceId; } set { this._resourceId = value; } } // Check to see if ResourceId property is set internal bool IsSetResourceId() { return this._resourceId != null; } /// <summary> /// Gets and sets the property ResourceType. /// <para> /// The resource type. /// </para> /// </summary> [AWSProperty(Required=true)] public string ResourceType { get { return this._resourceType; } set { this._resourceType = value; } } // Check to see if ResourceType property is set internal bool IsSetResourceType() { return this._resourceType != null; } } }
168
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appfabric-2023-05-19.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppFabric.Model { /// <summary> /// Container for the parameters to the ConnectAppAuthorization operation. /// Establishes a connection between Amazon Web Services AppFabric and an application, /// which allows AppFabric to call the APIs of the application. /// </summary> public partial class ConnectAppAuthorizationRequest : AmazonAppFabricRequest { private string _appAuthorizationIdentifier; private string _appBundleIdentifier; private AuthRequest _authRequest; /// <summary> /// Gets and sets the property AppAuthorizationIdentifier. /// <para> /// The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app authorization /// to use for the request. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=1011)] public string AppAuthorizationIdentifier { get { return this._appAuthorizationIdentifier; } set { this._appAuthorizationIdentifier = value; } } // Check to see if AppAuthorizationIdentifier property is set internal bool IsSetAppAuthorizationIdentifier() { return this._appAuthorizationIdentifier != null; } /// <summary> /// Gets and sets the property AppBundleIdentifier. /// <para> /// The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app bundle /// that contains the app authorization to use for the request. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=1011)] public string AppBundleIdentifier { get { return this._appBundleIdentifier; } set { this._appBundleIdentifier = value; } } // Check to see if AppBundleIdentifier property is set internal bool IsSetAppBundleIdentifier() { return this._appBundleIdentifier != null; } /// <summary> /// Gets and sets the property AuthRequest. /// <para> /// Contains OAuth2 authorization information. /// </para> /// /// <para> /// This is required if the app authorization for the request is configured with an OAuth2 /// (<code>oauth2</code>) authorization type. /// </para> /// </summary> public AuthRequest AuthRequest { get { return this._authRequest; } set { this._authRequest = value; } } // Check to see if AuthRequest property is set internal bool IsSetAuthRequest() { return this._authRequest != null; } } }
106
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appfabric-2023-05-19.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppFabric.Model { /// <summary> /// This is the response object from the ConnectAppAuthorization operation. /// </summary> public partial class ConnectAppAuthorizationResponse : AmazonWebServiceResponse { private AppAuthorizationSummary _appAuthorizationSummary; /// <summary> /// Gets and sets the property AppAuthorizationSummary. /// <para> /// Contains a summary of the app authorization. /// </para> /// </summary> [AWSProperty(Required=true)] public AppAuthorizationSummary AppAuthorizationSummary { get { return this._appAuthorizationSummary; } set { this._appAuthorizationSummary = value; } } // Check to see if AppAuthorizationSummary property is set internal bool IsSetAppAuthorizationSummary() { return this._appAuthorizationSummary != null; } } }
58
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appfabric-2023-05-19.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppFabric.Model { /// <summary> /// Container for the parameters to the CreateAppAuthorization operation. /// Creates an app authorization within an app bundle, which allows AppFabric to connect /// to an application. /// </summary> public partial class CreateAppAuthorizationRequest : AmazonAppFabricRequest { private string _app; private string _appBundleIdentifier; private AuthType _authType; private string _clientToken; private Credential _credential; private List<Tag> _tags = new List<Tag>(); private Tenant _tenant; /// <summary> /// Gets and sets the property App. /// <para> /// The name of the application. /// </para> /// /// <para> /// Valid values are: /// </para> /// <ul> <li> /// <para> /// <code>SLACK</code> /// </para> /// </li> <li> /// <para> /// <code>ASANA</code> /// </para> /// </li> <li> /// <para> /// <code>JIRA</code> /// </para> /// </li> <li> /// <para> /// <code>M365</code> /// </para> /// </li> <li> /// <para> /// <code>M365AUDITLOGS</code> /// </para> /// </li> <li> /// <para> /// <code>ZOOM</code> /// </para> /// </li> <li> /// <para> /// <code>ZENDESK</code> /// </para> /// </li> <li> /// <para> /// <code>OKTA</code> /// </para> /// </li> <li> /// <para> /// <code>GOOGLE</code> /// </para> /// </li> <li> /// <para> /// <code>DROPBOX</code> /// </para> /// </li> <li> /// <para> /// <code>SMARTSHEET</code> /// </para> /// </li> <li> /// <para> /// <code>CISCO</code> /// </para> /// </li> </ul> /// </summary> [AWSProperty(Required=true, Min=1, Max=255)] public string App { get { return this._app; } set { this._app = value; } } // Check to see if App property is set internal bool IsSetApp() { return this._app != null; } /// <summary> /// Gets and sets the property AppBundleIdentifier. /// <para> /// The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app bundle /// to use for the request. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=1011)] public string AppBundleIdentifier { get { return this._appBundleIdentifier; } set { this._appBundleIdentifier = value; } } // Check to see if AppBundleIdentifier property is set internal bool IsSetAppBundleIdentifier() { return this._appBundleIdentifier != null; } /// <summary> /// Gets and sets the property AuthType. /// <para> /// The authorization type for the app authorization. /// </para> /// </summary> [AWSProperty(Required=true)] public AuthType AuthType { get { return this._authType; } set { this._authType = value; } } // Check to see if AuthType property is set internal bool IsSetAuthType() { return this._authType != null; } /// <summary> /// Gets and sets the property ClientToken. /// <para> /// Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency /// of the request. This lets you safely retry the request without accidentally performing /// the same operation a second time. Passing the same value to a later call to an operation /// requires that you also pass the same value for all other parameters. We recommend /// that you use a <a href="https://wikipedia.org/wiki/Universally_unique_identifier">UUID /// type of value</a>. /// </para> /// /// <para> /// If you don't provide this value, then Amazon Web Services generates a random one for /// you. /// </para> /// /// <para> /// If you retry the operation with the same <code>ClientToken</code>, but with different /// parameters, the retry fails with an <code>IdempotentParameterMismatch</code> error. /// </para> /// </summary> public string ClientToken { get { return this._clientToken; } set { this._clientToken = value; } } // Check to see if ClientToken property is set internal bool IsSetClientToken() { return this._clientToken != null; } /// <summary> /// Gets and sets the property Credential. /// <para> /// Contains credentials for the application, such as an API key or OAuth2 client ID and /// secret. /// </para> /// /// <para> /// Specify credentials that match the authorization type for your request. For example, /// if the authorization type for your request is OAuth2 (<code>oauth2</code>), then you /// should provide only the OAuth2 credentials. /// </para> /// </summary> [AWSProperty(Required=true)] public Credential Credential { get { return this._credential; } set { this._credential = value; } } // Check to see if Credential property is set internal bool IsSetCredential() { return this._credential != null; } /// <summary> /// Gets and sets the property Tags. /// <para> /// A map of the key-value pairs of the tag or tags to assign to the resource. /// </para> /// </summary> [AWSProperty(Min=0, Max=50)] public List<Tag> Tags { get { return this._tags; } set { this._tags = value; } } // Check to see if Tags property is set internal bool IsSetTags() { return this._tags != null && this._tags.Count > 0; } /// <summary> /// Gets and sets the property Tenant. /// <para> /// Contains information about an application tenant, such as the application display /// name and identifier. /// </para> /// </summary> [AWSProperty(Required=true)] public Tenant Tenant { get { return this._tenant; } set { this._tenant = value; } } // Check to see if Tenant property is set internal bool IsSetTenant() { return this._tenant != null; } } }
256
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appfabric-2023-05-19.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppFabric.Model { /// <summary> /// This is the response object from the CreateAppAuthorization operation. /// </summary> public partial class CreateAppAuthorizationResponse : AmazonWebServiceResponse { private AppAuthorization _appAuthorization; /// <summary> /// Gets and sets the property AppAuthorization. /// <para> /// Contains information about an app authorization. /// </para> /// </summary> [AWSProperty(Required=true)] public AppAuthorization AppAuthorization { get { return this._appAuthorization; } set { this._appAuthorization = value; } } // Check to see if AppAuthorization property is set internal bool IsSetAppAuthorization() { return this._appAuthorization != null; } } }
58
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appfabric-2023-05-19.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppFabric.Model { /// <summary> /// Container for the parameters to the CreateAppBundle operation. /// Creates an app bundle to collect data from an application using AppFabric. /// </summary> public partial class CreateAppBundleRequest : AmazonAppFabricRequest { private string _clientToken; private string _customerManagedKeyIdentifier; private List<Tag> _tags = new List<Tag>(); /// <summary> /// Gets and sets the property ClientToken. /// <para> /// Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency /// of the request. This lets you safely retry the request without accidentally performing /// the same operation a second time. Passing the same value to a later call to an operation /// requires that you also pass the same value for all other parameters. We recommend /// that you use a <a href="https://wikipedia.org/wiki/Universally_unique_identifier">UUID /// type of value</a>. /// </para> /// /// <para> /// If you don't provide this value, then Amazon Web Services generates a random one for /// you. /// </para> /// /// <para> /// If you retry the operation with the same <code>ClientToken</code>, but with different /// parameters, the retry fails with an <code>IdempotentParameterMismatch</code> error. /// </para> /// </summary> public string ClientToken { get { return this._clientToken; } set { this._clientToken = value; } } // Check to see if ClientToken property is set internal bool IsSetClientToken() { return this._clientToken != null; } /// <summary> /// Gets and sets the property CustomerManagedKeyIdentifier. /// <para> /// The Amazon Resource Name (ARN) of the Key Management Service (KMS) key to use to encrypt /// the application data. If this is not specified, an Amazon Web Services owned key is /// used for encryption. /// </para> /// </summary> [AWSProperty(Min=1, Max=1011)] public string CustomerManagedKeyIdentifier { get { return this._customerManagedKeyIdentifier; } set { this._customerManagedKeyIdentifier = value; } } // Check to see if CustomerManagedKeyIdentifier property is set internal bool IsSetCustomerManagedKeyIdentifier() { return this._customerManagedKeyIdentifier != null; } /// <summary> /// Gets and sets the property Tags. /// <para> /// A map of the key-value pairs of the tag or tags to assign to the resource. /// </para> /// </summary> [AWSProperty(Min=0, Max=50)] public List<Tag> Tags { get { return this._tags; } set { this._tags = value; } } // Check to see if Tags property is set internal bool IsSetTags() { return this._tags != null && this._tags.Count > 0; } } }
115
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appfabric-2023-05-19.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppFabric.Model { /// <summary> /// This is the response object from the CreateAppBundle operation. /// </summary> public partial class CreateAppBundleResponse : AmazonWebServiceResponse { private AppBundle _appBundle; /// <summary> /// Gets and sets the property AppBundle. /// <para> /// Contains information about an app bundle. /// </para> /// </summary> [AWSProperty(Required=true)] public AppBundle AppBundle { get { return this._appBundle; } set { this._appBundle = value; } } // Check to see if AppBundle property is set internal bool IsSetAppBundle() { return this._appBundle != null; } } }
58
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appfabric-2023-05-19.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppFabric.Model { /// <summary> /// Container for the parameters to the CreateIngestionDestination operation. /// Creates an ingestion destination, which specifies how an application's ingested data /// is processed by Amazon Web Services AppFabric and where it's delivered. /// </summary> public partial class CreateIngestionDestinationRequest : AmazonAppFabricRequest { private string _appBundleIdentifier; private string _clientToken; private DestinationConfiguration _destinationConfiguration; private string _ingestionIdentifier; private ProcessingConfiguration _processingConfiguration; private List<Tag> _tags = new List<Tag>(); /// <summary> /// Gets and sets the property AppBundleIdentifier. /// <para> /// The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app bundle /// to use for the request. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=1011)] public string AppBundleIdentifier { get { return this._appBundleIdentifier; } set { this._appBundleIdentifier = value; } } // Check to see if AppBundleIdentifier property is set internal bool IsSetAppBundleIdentifier() { return this._appBundleIdentifier != null; } /// <summary> /// Gets and sets the property ClientToken. /// <para> /// Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency /// of the request. This lets you safely retry the request without accidentally performing /// the same operation a second time. Passing the same value to a later call to an operation /// requires that you also pass the same value for all other parameters. We recommend /// that you use a <a href="https://wikipedia.org/wiki/Universally_unique_identifier">UUID /// type of value</a>. /// </para> /// /// <para> /// If you don't provide this value, then Amazon Web Services generates a random one for /// you. /// </para> /// /// <para> /// If you retry the operation with the same <code>ClientToken</code>, but with different /// parameters, the retry fails with an <code>IdempotentParameterMismatch</code> error. /// </para> /// </summary> public string ClientToken { get { return this._clientToken; } set { this._clientToken = value; } } // Check to see if ClientToken property is set internal bool IsSetClientToken() { return this._clientToken != null; } /// <summary> /// Gets and sets the property DestinationConfiguration. /// <para> /// Contains information about the destination of ingested data. /// </para> /// </summary> [AWSProperty(Required=true)] public DestinationConfiguration DestinationConfiguration { get { return this._destinationConfiguration; } set { this._destinationConfiguration = value; } } // Check to see if DestinationConfiguration property is set internal bool IsSetDestinationConfiguration() { return this._destinationConfiguration != null; } /// <summary> /// Gets and sets the property IngestionIdentifier. /// <para> /// The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the ingestion /// to use for the request. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=1011)] public string IngestionIdentifier { get { return this._ingestionIdentifier; } set { this._ingestionIdentifier = value; } } // Check to see if IngestionIdentifier property is set internal bool IsSetIngestionIdentifier() { return this._ingestionIdentifier != null; } /// <summary> /// Gets and sets the property ProcessingConfiguration. /// <para> /// Contains information about how ingested data is processed. /// </para> /// </summary> [AWSProperty(Required=true)] public ProcessingConfiguration ProcessingConfiguration { get { return this._processingConfiguration; } set { this._processingConfiguration = value; } } // Check to see if ProcessingConfiguration property is set internal bool IsSetProcessingConfiguration() { return this._processingConfiguration != null; } /// <summary> /// Gets and sets the property Tags. /// <para> /// A map of the key-value pairs of the tag or tags to assign to the resource. /// </para> /// </summary> [AWSProperty(Min=0, Max=50)] public List<Tag> Tags { get { return this._tags; } set { this._tags = value; } } // Check to see if Tags property is set internal bool IsSetTags() { return this._tags != null && this._tags.Count > 0; } } }
176
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appfabric-2023-05-19.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppFabric.Model { /// <summary> /// This is the response object from the CreateIngestionDestination operation. /// </summary> public partial class CreateIngestionDestinationResponse : AmazonWebServiceResponse { private IngestionDestination _ingestionDestination; /// <summary> /// Gets and sets the property IngestionDestination. /// <para> /// Contains information about an ingestion destination. /// </para> /// </summary> [AWSProperty(Required=true)] public IngestionDestination IngestionDestination { get { return this._ingestionDestination; } set { this._ingestionDestination = value; } } // Check to see if IngestionDestination property is set internal bool IsSetIngestionDestination() { return this._ingestionDestination != null; } } }
58
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appfabric-2023-05-19.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppFabric.Model { /// <summary> /// Container for the parameters to the CreateIngestion operation. /// Creates a data ingestion for an application. /// </summary> public partial class CreateIngestionRequest : AmazonAppFabricRequest { private string _app; private string _appBundleIdentifier; private string _clientToken; private IngestionType _ingestionType; private List<Tag> _tags = new List<Tag>(); private string _tenantId; /// <summary> /// Gets and sets the property App. /// <para> /// The name of the application. /// </para> /// /// <para> /// Valid values are: /// </para> /// <ul> <li> /// <para> /// <code>SLACK</code> /// </para> /// </li> <li> /// <para> /// <code>ASANA</code> /// </para> /// </li> <li> /// <para> /// <code>JIRA</code> /// </para> /// </li> <li> /// <para> /// <code>M365</code> /// </para> /// </li> <li> /// <para> /// <code>M365AUDITLOGS</code> /// </para> /// </li> <li> /// <para> /// <code>ZOOM</code> /// </para> /// </li> <li> /// <para> /// <code>ZENDESK</code> /// </para> /// </li> <li> /// <para> /// <code>OKTA</code> /// </para> /// </li> <li> /// <para> /// <code>GOOGLE</code> /// </para> /// </li> <li> /// <para> /// <code>DROPBOX</code> /// </para> /// </li> <li> /// <para> /// <code>SMARTSHEET</code> /// </para> /// </li> <li> /// <para> /// <code>CISCO</code> /// </para> /// </li> </ul> /// </summary> [AWSProperty(Required=true, Min=1, Max=255)] public string App { get { return this._app; } set { this._app = value; } } // Check to see if App property is set internal bool IsSetApp() { return this._app != null; } /// <summary> /// Gets and sets the property AppBundleIdentifier. /// <para> /// The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app bundle /// to use for the request. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=1011)] public string AppBundleIdentifier { get { return this._appBundleIdentifier; } set { this._appBundleIdentifier = value; } } // Check to see if AppBundleIdentifier property is set internal bool IsSetAppBundleIdentifier() { return this._appBundleIdentifier != null; } /// <summary> /// Gets and sets the property ClientToken. /// <para> /// Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency /// of the request. This lets you safely retry the request without accidentally performing /// the same operation a second time. Passing the same value to a later call to an operation /// requires that you also pass the same value for all other parameters. We recommend /// that you use a <a href="https://wikipedia.org/wiki/Universally_unique_identifier">UUID /// type of value</a>. /// </para> /// /// <para> /// If you don't provide this value, then Amazon Web Services generates a random one for /// you. /// </para> /// /// <para> /// If you retry the operation with the same <code>ClientToken</code>, but with different /// parameters, the retry fails with an <code>IdempotentParameterMismatch</code> error. /// </para> /// </summary> public string ClientToken { get { return this._clientToken; } set { this._clientToken = value; } } // Check to see if ClientToken property is set internal bool IsSetClientToken() { return this._clientToken != null; } /// <summary> /// Gets and sets the property IngestionType. /// <para> /// The ingestion type. /// </para> /// </summary> [AWSProperty(Required=true)] public IngestionType IngestionType { get { return this._ingestionType; } set { this._ingestionType = value; } } // Check to see if IngestionType property is set internal bool IsSetIngestionType() { return this._ingestionType != null; } /// <summary> /// Gets and sets the property Tags. /// <para> /// A map of the key-value pairs of the tag or tags to assign to the resource. /// </para> /// </summary> [AWSProperty(Min=0, Max=50)] public List<Tag> Tags { get { return this._tags; } set { this._tags = value; } } // Check to see if Tags property is set internal bool IsSetTags() { return this._tags != null && this._tags.Count > 0; } /// <summary> /// Gets and sets the property TenantId. /// <para> /// The ID of the application tenant. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=1024)] public string TenantId { get { return this._tenantId; } set { this._tenantId = value; } } // Check to see if TenantId property is set internal bool IsSetTenantId() { return this._tenantId != null; } } }
227