/*
* 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
{
///
/// 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.
///
///
///
/// 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.
///
///
///
/// 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.
///
///
///
/// AppConfig supports multiple use cases. Here are some examples:
///
/// -
///
/// Feature flags: Use AppConfig to turn on new features that require a timely
/// deployment, such as a product launch or announcement.
///
///
-
///
/// Application tuning: Use AppConfig to carefully introduce changes to your application
/// that can only be tested with production traffic.
///
///
-
///
/// Allow list: Use AppConfig to allow premium subscribers to access paid content.
///
///
///
-
///
/// Operational issues: Use AppConfig to reduce stress on your application when
/// a dependency or other external factor impacts the system.
///
///
///
/// This reference is intended to be used with the AppConfig
/// User Guide.
///
///
public partial class AmazonAppConfigClient : AmazonServiceClient, IAmazonAppConfig
{
private static IServiceMetadata serviceMetadata = new AmazonAppConfigMetadata();
private IAppConfigPaginatorFactory _paginators;
///
/// Paginators for the service
///
public IAppConfigPaginatorFactory Paginators
{
get
{
if (this._paginators == null)
{
this._paginators = new AppConfigPaginatorFactory(this);
}
return this._paginators;
}
}
#region Constructors
///
/// 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.
///
/// <?xml version="1.0" encoding="utf-8" ?>
/// <configuration>
/// <appSettings>
/// <add key="AWSProfileName" value="AWS Default"/>
/// </appSettings>
/// </configuration>
///
///
///
public AmazonAppConfigClient()
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonAppConfigConfig()) { }
///
/// 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.
///
/// <?xml version="1.0" encoding="utf-8" ?>
/// <configuration>
/// <appSettings>
/// <add key="AWSProfileName" value="AWS Default"/>
/// </appSettings>
/// </configuration>
///
///
///
/// The region to connect.
public AmazonAppConfigClient(RegionEndpoint region)
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonAppConfigConfig{RegionEndpoint = region}) { }
///
/// 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.
///
/// <?xml version="1.0" encoding="utf-8" ?>
/// <configuration>
/// <appSettings>
/// <add key="AWSProfileName" value="AWS Default"/>
/// </appSettings>
/// </configuration>
///
///
///
/// The AmazonAppConfigClient Configuration Object
public AmazonAppConfigClient(AmazonAppConfigConfig config)
: base(FallbackCredentialsFactory.GetCredentials(config), config){}
///
/// Constructs AmazonAppConfigClient with AWS Credentials
///
/// AWS Credentials
public AmazonAppConfigClient(AWSCredentials credentials)
: this(credentials, new AmazonAppConfigConfig())
{
}
///
/// Constructs AmazonAppConfigClient with AWS Credentials
///
/// AWS Credentials
/// The region to connect.
public AmazonAppConfigClient(AWSCredentials credentials, RegionEndpoint region)
: this(credentials, new AmazonAppConfigConfig{RegionEndpoint = region})
{
}
///
/// Constructs AmazonAppConfigClient with AWS Credentials and an
/// AmazonAppConfigClient Configuration object.
///
/// AWS Credentials
/// The AmazonAppConfigClient Configuration Object
public AmazonAppConfigClient(AWSCredentials credentials, AmazonAppConfigConfig clientConfig)
: base(credentials, clientConfig)
{
}
///
/// Constructs AmazonAppConfigClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
public AmazonAppConfigClient(string awsAccessKeyId, string awsSecretAccessKey)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonAppConfigConfig())
{
}
///
/// Constructs AmazonAppConfigClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// The region to connect.
public AmazonAppConfigClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonAppConfigConfig() {RegionEndpoint=region})
{
}
///
/// Constructs AmazonAppConfigClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonAppConfigClient Configuration object.
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// The AmazonAppConfigClient Configuration Object
public AmazonAppConfigClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonAppConfigConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, clientConfig)
{
}
///
/// Constructs AmazonAppConfigClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
public AmazonAppConfigClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonAppConfigConfig())
{
}
///
/// Constructs AmazonAppConfigClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
/// The region to connect.
public AmazonAppConfigClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonAppConfigConfig{RegionEndpoint = region})
{
}
///
/// Constructs AmazonAppConfigClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonAppConfigClient Configuration object.
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
/// The AmazonAppConfigClient Configuration Object
public AmazonAppConfigClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonAppConfigConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig)
{
}
#endregion
#region Overrides
///
/// Creates the signer for the service.
///
protected override AbstractAWSSigner CreateSigner()
{
return new AWS4Signer();
}
///
/// Customize the pipeline
///
///
protected override void CustomizeRuntimePipeline(RuntimePipeline pipeline)
{
pipeline.RemoveHandler();
pipeline.AddHandlerAfter(new AmazonAppConfigEndpointResolver());
}
///
/// Capture metadata for the service.
///
protected override IServiceMetadata ServiceMetadata
{
get
{
return serviceMetadata;
}
}
#endregion
#region Dispose
///
/// Disposes the service client.
///
protected override void Dispose(bool disposing)
{
base.Dispose(disposing);
}
#endregion
#region CreateApplication
///
/// 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.
///
/// Container for the necessary parameters to execute the CreateApplication service method.
///
/// The response from the CreateApplication service method, as returned by AppConfig.
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
///
/// There was an internal failure in the AppConfig service.
///
/// REST API Reference for CreateApplication Operation
public virtual CreateApplicationResponse CreateApplication(CreateApplicationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateApplicationRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateApplicationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// Container for the necessary parameters to execute the CreateApplication service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateApplication service method, as returned by AppConfig.
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
///
/// There was an internal failure in the AppConfig service.
///
/// REST API Reference for CreateApplication Operation
public virtual Task CreateApplicationAsync(CreateApplicationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateApplicationRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateApplicationResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateConfigurationProfile
///
/// Creates a configuration profile, which is information that enables AppConfig to access
/// the configuration source. Valid configuration sources include the following:
///
/// -
///
/// Configuration data in YAML, JSON, and other formats stored in the AppConfig hosted
/// configuration store
///
///
-
///
/// Configuration data stored as objects in an Amazon Simple Storage Service (Amazon S3)
/// bucket
///
///
-
///
/// Pipelines stored in CodePipeline
///
///
-
///
/// Secrets stored in Secrets Manager
///
///
-
///
/// Standard and secure string parameters stored in Amazon Web Services Systems Manager
/// Parameter Store
///
///
-
///
/// Configuration data in SSM documents stored in the Systems Manager document store
///
///
///
/// A configuration profile includes the following information:
///
/// -
///
/// The URI location of the configuration data.
///
///
-
///
/// The Identity and Access Management (IAM) role that provides access to the configuration
/// data.
///
///
-
///
/// A validator for the configuration data. Available validators include either a JSON
/// Schema or an Amazon Web Services Lambda function.
///
///
///
/// For more information, see Create
/// a Configuration and a Configuration Profile in the AppConfig User Guide.
///
///
/// Container for the necessary parameters to execute the CreateConfigurationProfile service method.
///
/// The response from the CreateConfigurationProfile service method, as returned by AppConfig.
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
///
/// There was an internal failure in the AppConfig service.
///
///
/// The requested resource could not be found.
///
/// REST API Reference for CreateConfigurationProfile Operation
public virtual CreateConfigurationProfileResponse CreateConfigurationProfile(CreateConfigurationProfileRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateConfigurationProfileRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateConfigurationProfileResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates a configuration profile, which is information that enables AppConfig to access
/// the configuration source. Valid configuration sources include the following:
///
/// -
///
/// Configuration data in YAML, JSON, and other formats stored in the AppConfig hosted
/// configuration store
///
///
-
///
/// Configuration data stored as objects in an Amazon Simple Storage Service (Amazon S3)
/// bucket
///
///
-
///
/// Pipelines stored in CodePipeline
///
///
-
///
/// Secrets stored in Secrets Manager
///
///
-
///
/// Standard and secure string parameters stored in Amazon Web Services Systems Manager
/// Parameter Store
///
///
-
///
/// Configuration data in SSM documents stored in the Systems Manager document store
///
///
///
/// A configuration profile includes the following information:
///
/// -
///
/// The URI location of the configuration data.
///
///
-
///
/// The Identity and Access Management (IAM) role that provides access to the configuration
/// data.
///
///
-
///
/// A validator for the configuration data. Available validators include either a JSON
/// Schema or an Amazon Web Services Lambda function.
///
///
///
/// For more information, see Create
/// a Configuration and a Configuration Profile in the AppConfig User Guide.
///
///
/// Container for the necessary parameters to execute the CreateConfigurationProfile service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateConfigurationProfile service method, as returned by AppConfig.
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
///
/// There was an internal failure in the AppConfig service.
///
///
/// The requested resource could not be found.
///
/// REST API Reference for CreateConfigurationProfile Operation
public virtual Task CreateConfigurationProfileAsync(CreateConfigurationProfileRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateConfigurationProfileRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateConfigurationProfileResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateDeploymentStrategy
///
/// 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.
///
/// Container for the necessary parameters to execute the CreateDeploymentStrategy service method.
///
/// The response from the CreateDeploymentStrategy service method, as returned by AppConfig.
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
///
/// There was an internal failure in the AppConfig service.
///
/// REST API Reference for CreateDeploymentStrategy Operation
public virtual CreateDeploymentStrategyResponse CreateDeploymentStrategy(CreateDeploymentStrategyRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateDeploymentStrategyRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateDeploymentStrategyResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// Container for the necessary parameters to execute the CreateDeploymentStrategy service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateDeploymentStrategy service method, as returned by AppConfig.
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
///
/// There was an internal failure in the AppConfig service.
///
/// REST API Reference for CreateDeploymentStrategy Operation
public virtual Task CreateDeploymentStrategyAsync(CreateDeploymentStrategyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateDeploymentStrategyRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateDeploymentStrategyResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateEnvironment
///
/// 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 Beta
or Production
environment. You can also define environments
/// for application subcomponents such as the Web
, Mobile
and
/// Back-end
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.
///
/// Container for the necessary parameters to execute the CreateEnvironment service method.
///
/// The response from the CreateEnvironment service method, as returned by AppConfig.
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
///
/// There was an internal failure in the AppConfig service.
///
///
/// The requested resource could not be found.
///
/// REST API Reference for CreateEnvironment Operation
public virtual CreateEnvironmentResponse CreateEnvironment(CreateEnvironmentRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateEnvironmentRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateEnvironmentResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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 Beta
or Production
environment. You can also define environments
/// for application subcomponents such as the Web
, Mobile
and
/// Back-end
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.
///
/// Container for the necessary parameters to execute the CreateEnvironment service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateEnvironment service method, as returned by AppConfig.
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
///
/// There was an internal failure in the AppConfig service.
///
///
/// The requested resource could not be found.
///
/// REST API Reference for CreateEnvironment Operation
public virtual Task CreateEnvironmentAsync(CreateEnvironmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateEnvironmentRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateEnvironmentResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateExtension
///
/// 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.
///
///
///
/// 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 Working
/// with AppConfig extensions in the AppConfig User Guide.
///
///
/// Container for the necessary parameters to execute the CreateExtension service method.
///
/// The response from the CreateExtension service method, as returned by AppConfig.
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
///
/// The request could not be processed because of conflict in the current state of the
/// resource.
///
///
/// There was an internal failure in the AppConfig service.
///
///
/// The number of hosted configuration versions exceeds the limit for the AppConfig hosted
/// configuration store. Delete one or more versions and try again.
///
/// REST API Reference for CreateExtension Operation
public virtual CreateExtensionResponse CreateExtension(CreateExtensionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateExtensionRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateExtensionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
///
///
/// 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 Working
/// with AppConfig extensions in the AppConfig User Guide.
///
///
/// Container for the necessary parameters to execute the CreateExtension service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateExtension service method, as returned by AppConfig.
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
///
/// The request could not be processed because of conflict in the current state of the
/// resource.
///
///
/// There was an internal failure in the AppConfig service.
///
///
/// The number of hosted configuration versions exceeds the limit for the AppConfig hosted
/// configuration store. Delete one or more versions and try again.
///
/// REST API Reference for CreateExtension Operation
public virtual Task CreateExtensionAsync(CreateExtensionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateExtensionRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateExtensionResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateExtensionAssociation
///
/// 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 AppConfig deployment events
/// to Amazon SNS
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 extension association. 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 Working
/// with AppConfig extensions in the AppConfig User Guide.
///
/// Container for the necessary parameters to execute the CreateExtensionAssociation service method.
///
/// The response from the CreateExtensionAssociation service method, as returned by AppConfig.
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
///
/// There was an internal failure in the AppConfig service.
///
///
/// The requested resource could not be found.
///
///
/// The number of hosted configuration versions exceeds the limit for the AppConfig hosted
/// configuration store. Delete one or more versions and try again.
///
/// REST API Reference for CreateExtensionAssociation Operation
public virtual CreateExtensionAssociationResponse CreateExtensionAssociation(CreateExtensionAssociationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateExtensionAssociationRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateExtensionAssociationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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 AppConfig deployment events
/// to Amazon SNS
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 extension association. 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 Working
/// with AppConfig extensions in the AppConfig User Guide.
///
/// Container for the necessary parameters to execute the CreateExtensionAssociation service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateExtensionAssociation service method, as returned by AppConfig.
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
///
/// There was an internal failure in the AppConfig service.
///
///
/// The requested resource could not be found.
///
///
/// The number of hosted configuration versions exceeds the limit for the AppConfig hosted
/// configuration store. Delete one or more versions and try again.
///
/// REST API Reference for CreateExtensionAssociation Operation
public virtual Task CreateExtensionAssociationAsync(CreateExtensionAssociationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateExtensionAssociationRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateExtensionAssociationResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateHostedConfigurationVersion
///
/// Creates a new configuration in the AppConfig hosted configuration store.
///
/// Container for the necessary parameters to execute the CreateHostedConfigurationVersion service method.
///
/// The response from the CreateHostedConfigurationVersion service method, as returned by AppConfig.
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
///
/// The request could not be processed because of conflict in the current state of the
/// resource.
///
///
/// There was an internal failure in the AppConfig service.
///
///
/// The configuration size is too large.
///
///
/// The requested resource could not be found.
///
///
/// The number of hosted configuration versions exceeds the limit for the AppConfig hosted
/// configuration store. Delete one or more versions and try again.
///
/// REST API Reference for CreateHostedConfigurationVersion Operation
public virtual CreateHostedConfigurationVersionResponse CreateHostedConfigurationVersion(CreateHostedConfigurationVersionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateHostedConfigurationVersionRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateHostedConfigurationVersionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates a new configuration in the AppConfig hosted configuration store.
///
/// Container for the necessary parameters to execute the CreateHostedConfigurationVersion service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateHostedConfigurationVersion service method, as returned by AppConfig.
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
///
/// The request could not be processed because of conflict in the current state of the
/// resource.
///
///
/// There was an internal failure in the AppConfig service.
///
///
/// The configuration size is too large.
///
///
/// The requested resource could not be found.
///
///
/// The number of hosted configuration versions exceeds the limit for the AppConfig hosted
/// configuration store. Delete one or more versions and try again.
///
/// REST API Reference for CreateHostedConfigurationVersion Operation
public virtual Task CreateHostedConfigurationVersionAsync(CreateHostedConfigurationVersionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateHostedConfigurationVersionRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateHostedConfigurationVersionResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteApplication
///
/// Deletes an application. Deleting an application does not delete a configuration from
/// a host.
///
/// Container for the necessary parameters to execute the DeleteApplication service method.
///
/// The response from the DeleteApplication service method, as returned by AppConfig.
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
///
/// There was an internal failure in the AppConfig service.
///
///
/// The requested resource could not be found.
///
/// REST API Reference for DeleteApplication Operation
public virtual DeleteApplicationResponse DeleteApplication(DeleteApplicationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteApplicationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteApplicationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes an application. Deleting an application does not delete a configuration from
/// a host.
///
/// Container for the necessary parameters to execute the DeleteApplication service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteApplication service method, as returned by AppConfig.
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
///
/// There was an internal failure in the AppConfig service.
///
///
/// The requested resource could not be found.
///
/// REST API Reference for DeleteApplication Operation
public virtual Task DeleteApplicationAsync(DeleteApplicationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteApplicationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteApplicationResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteConfigurationProfile
///
/// Deletes a configuration profile. Deleting a configuration profile does not delete
/// a configuration from a host.
///
/// Container for the necessary parameters to execute the DeleteConfigurationProfile service method.
///
/// The response from the DeleteConfigurationProfile service method, as returned by AppConfig.
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
///
/// The request could not be processed because of conflict in the current state of the
/// resource.
///
///
/// There was an internal failure in the AppConfig service.
///
///
/// The requested resource could not be found.
///
/// REST API Reference for DeleteConfigurationProfile Operation
public virtual DeleteConfigurationProfileResponse DeleteConfigurationProfile(DeleteConfigurationProfileRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteConfigurationProfileRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteConfigurationProfileResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes a configuration profile. Deleting a configuration profile does not delete
/// a configuration from a host.
///
/// Container for the necessary parameters to execute the DeleteConfigurationProfile service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteConfigurationProfile service method, as returned by AppConfig.
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
///
/// The request could not be processed because of conflict in the current state of the
/// resource.
///
///
/// There was an internal failure in the AppConfig service.
///
///
/// The requested resource could not be found.
///
/// REST API Reference for DeleteConfigurationProfile Operation
public virtual Task DeleteConfigurationProfileAsync(DeleteConfigurationProfileRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteConfigurationProfileRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteConfigurationProfileResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteDeploymentStrategy
///
/// Deletes a deployment strategy. Deleting a deployment strategy does not delete a configuration
/// from a host.
///
/// Container for the necessary parameters to execute the DeleteDeploymentStrategy service method.
///
/// The response from the DeleteDeploymentStrategy service method, as returned by AppConfig.
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
///
/// There was an internal failure in the AppConfig service.
///
///
/// The requested resource could not be found.
///
/// REST API Reference for DeleteDeploymentStrategy Operation
public virtual DeleteDeploymentStrategyResponse DeleteDeploymentStrategy(DeleteDeploymentStrategyRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteDeploymentStrategyRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteDeploymentStrategyResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes a deployment strategy. Deleting a deployment strategy does not delete a configuration
/// from a host.
///
/// Container for the necessary parameters to execute the DeleteDeploymentStrategy service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteDeploymentStrategy service method, as returned by AppConfig.
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
///
/// There was an internal failure in the AppConfig service.
///
///
/// The requested resource could not be found.
///
/// REST API Reference for DeleteDeploymentStrategy Operation
public virtual Task DeleteDeploymentStrategyAsync(DeleteDeploymentStrategyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteDeploymentStrategyRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteDeploymentStrategyResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteEnvironment
///
/// Deletes an environment. Deleting an environment does not delete a configuration from
/// a host.
///
/// Container for the necessary parameters to execute the DeleteEnvironment service method.
///
/// The response from the DeleteEnvironment service method, as returned by AppConfig.
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
///
/// The request could not be processed because of conflict in the current state of the
/// resource.
///
///
/// There was an internal failure in the AppConfig service.
///
///
/// The requested resource could not be found.
///
/// REST API Reference for DeleteEnvironment Operation
public virtual DeleteEnvironmentResponse DeleteEnvironment(DeleteEnvironmentRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteEnvironmentRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteEnvironmentResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes an environment. Deleting an environment does not delete a configuration from
/// a host.
///
/// Container for the necessary parameters to execute the DeleteEnvironment service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteEnvironment service method, as returned by AppConfig.
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
///
/// The request could not be processed because of conflict in the current state of the
/// resource.
///
///
/// There was an internal failure in the AppConfig service.
///
///
/// The requested resource could not be found.
///
/// REST API Reference for DeleteEnvironment Operation
public virtual Task DeleteEnvironmentAsync(DeleteEnvironmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteEnvironmentRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteEnvironmentResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteExtension
///
/// Deletes an AppConfig extension. You must delete all associations to an extension before
/// you delete the extension.
///
/// Container for the necessary parameters to execute the DeleteExtension service method.
///
/// The response from the DeleteExtension service method, as returned by AppConfig.
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
///
/// There was an internal failure in the AppConfig service.
///
///
/// The requested resource could not be found.
///
/// REST API Reference for DeleteExtension Operation
public virtual DeleteExtensionResponse DeleteExtension(DeleteExtensionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteExtensionRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteExtensionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes an AppConfig extension. You must delete all associations to an extension before
/// you delete the extension.
///
/// Container for the necessary parameters to execute the DeleteExtension service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteExtension service method, as returned by AppConfig.
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
///
/// There was an internal failure in the AppConfig service.
///
///
/// The requested resource could not be found.
///
/// REST API Reference for DeleteExtension Operation
public virtual Task DeleteExtensionAsync(DeleteExtensionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteExtensionRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteExtensionResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteExtensionAssociation
///
/// Deletes an extension association. This action doesn't delete extensions defined in
/// the association.
///
/// Container for the necessary parameters to execute the DeleteExtensionAssociation service method.
///
/// The response from the DeleteExtensionAssociation service method, as returned by AppConfig.
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
///
/// There was an internal failure in the AppConfig service.
///
///
/// The requested resource could not be found.
///
/// REST API Reference for DeleteExtensionAssociation Operation
public virtual DeleteExtensionAssociationResponse DeleteExtensionAssociation(DeleteExtensionAssociationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteExtensionAssociationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteExtensionAssociationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes an extension association. This action doesn't delete extensions defined in
/// the association.
///
/// Container for the necessary parameters to execute the DeleteExtensionAssociation service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteExtensionAssociation service method, as returned by AppConfig.
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
///
/// There was an internal failure in the AppConfig service.
///
///
/// The requested resource could not be found.
///
/// REST API Reference for DeleteExtensionAssociation Operation
public virtual Task DeleteExtensionAssociationAsync(DeleteExtensionAssociationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteExtensionAssociationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteExtensionAssociationResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteHostedConfigurationVersion
///
/// Deletes a version of a configuration from the AppConfig hosted configuration store.
///
/// Container for the necessary parameters to execute the DeleteHostedConfigurationVersion service method.
///
/// The response from the DeleteHostedConfigurationVersion service method, as returned by AppConfig.
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
///
/// There was an internal failure in the AppConfig service.
///
///
/// The requested resource could not be found.
///
/// REST API Reference for DeleteHostedConfigurationVersion Operation
public virtual DeleteHostedConfigurationVersionResponse DeleteHostedConfigurationVersion(DeleteHostedConfigurationVersionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteHostedConfigurationVersionRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteHostedConfigurationVersionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes a version of a configuration from the AppConfig hosted configuration store.
///
/// Container for the necessary parameters to execute the DeleteHostedConfigurationVersion service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteHostedConfigurationVersion service method, as returned by AppConfig.
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
///
/// There was an internal failure in the AppConfig service.
///
///
/// The requested resource could not be found.
///
/// REST API Reference for DeleteHostedConfigurationVersion Operation
public virtual Task DeleteHostedConfigurationVersionAsync(DeleteHostedConfigurationVersionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteHostedConfigurationVersionRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteHostedConfigurationVersionResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetApplication
///
/// Retrieves information about an application.
///
/// Container for the necessary parameters to execute the GetApplication service method.
///
/// The response from the GetApplication service method, as returned by AppConfig.
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
///
/// There was an internal failure in the AppConfig service.
///
///
/// The requested resource could not be found.
///
/// REST API Reference for GetApplication Operation
public virtual GetApplicationResponse GetApplication(GetApplicationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetApplicationRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetApplicationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Retrieves information about an application.
///
/// Container for the necessary parameters to execute the GetApplication service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetApplication service method, as returned by AppConfig.
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
///
/// There was an internal failure in the AppConfig service.
///
///
/// The requested resource could not be found.
///
/// REST API Reference for GetApplication Operation
public virtual Task GetApplicationAsync(GetApplicationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetApplicationRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetApplicationResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetConfiguration
///
/// (Deprecated) Retrieves the latest deployed configuration.
///
///
///
/// Note the following important information.
///
///
///
/// Container for the necessary parameters to execute the GetConfiguration service method.
///
/// The response from the GetConfiguration service method, as returned by AppConfig.
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
///
/// There was an internal failure in the AppConfig service.
///
///
/// The requested resource could not be found.
///
/// REST API Reference for GetConfiguration Operation
[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(request, options);
}
///
/// (Deprecated) Retrieves the latest deployed configuration.
///
///
///
/// Note the following important information.
///
///
///
/// Container for the necessary parameters to execute the GetConfiguration service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetConfiguration service method, as returned by AppConfig.
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
///
/// There was an internal failure in the AppConfig service.
///
///
/// The requested resource could not be found.
///
/// REST API Reference for GetConfiguration Operation
[Obsolete("This API has been deprecated in favor of the GetLatestConfiguration API used in conjunction with StartConfigurationSession.")]
public virtual Task GetConfigurationAsync(GetConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetConfigurationResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetConfigurationProfile
///
/// Retrieves information about a configuration profile.
///
/// Container for the necessary parameters to execute the GetConfigurationProfile service method.
///
/// The response from the GetConfigurationProfile service method, as returned by AppConfig.
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
///
/// There was an internal failure in the AppConfig service.
///
///
/// The requested resource could not be found.
///
/// REST API Reference for GetConfigurationProfile Operation
public virtual GetConfigurationProfileResponse GetConfigurationProfile(GetConfigurationProfileRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetConfigurationProfileRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetConfigurationProfileResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Retrieves information about a configuration profile.
///
/// Container for the necessary parameters to execute the GetConfigurationProfile service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetConfigurationProfile service method, as returned by AppConfig.
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
///
/// There was an internal failure in the AppConfig service.
///
///
/// The requested resource could not be found.
///
/// REST API Reference for GetConfigurationProfile Operation
public virtual Task GetConfigurationProfileAsync(GetConfigurationProfileRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetConfigurationProfileRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetConfigurationProfileResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetDeployment
///
/// Retrieves information about a configuration deployment.
///
/// Container for the necessary parameters to execute the GetDeployment service method.
///
/// The response from the GetDeployment service method, as returned by AppConfig.
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
///
/// There was an internal failure in the AppConfig service.
///
///
/// The requested resource could not be found.
///
/// REST API Reference for GetDeployment Operation
public virtual GetDeploymentResponse GetDeployment(GetDeploymentRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetDeploymentRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetDeploymentResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Retrieves information about a configuration deployment.
///
/// Container for the necessary parameters to execute the GetDeployment service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetDeployment service method, as returned by AppConfig.
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
///
/// There was an internal failure in the AppConfig service.
///
///
/// The requested resource could not be found.
///
/// REST API Reference for GetDeployment Operation
public virtual Task GetDeploymentAsync(GetDeploymentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetDeploymentRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetDeploymentResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetDeploymentStrategy
///
/// 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.
///
/// Container for the necessary parameters to execute the GetDeploymentStrategy service method.
///
/// The response from the GetDeploymentStrategy service method, as returned by AppConfig.
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
///
/// There was an internal failure in the AppConfig service.
///
///
/// The requested resource could not be found.
///
/// REST API Reference for GetDeploymentStrategy Operation
public virtual GetDeploymentStrategyResponse GetDeploymentStrategy(GetDeploymentStrategyRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetDeploymentStrategyRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetDeploymentStrategyResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// Container for the necessary parameters to execute the GetDeploymentStrategy service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetDeploymentStrategy service method, as returned by AppConfig.
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
///
/// There was an internal failure in the AppConfig service.
///
///
/// The requested resource could not be found.
///
/// REST API Reference for GetDeploymentStrategy Operation
public virtual Task GetDeploymentStrategyAsync(GetDeploymentStrategyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetDeploymentStrategyRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetDeploymentStrategyResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetEnvironment
///
/// Retrieves information about an environment. An environment is a deployment group of
/// AppConfig applications, such as applications in a Production
environment
/// or in an EU_Region
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.
///
/// Container for the necessary parameters to execute the GetEnvironment service method.
///
/// The response from the GetEnvironment service method, as returned by AppConfig.
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
///
/// There was an internal failure in the AppConfig service.
///
///
/// The requested resource could not be found.
///
/// REST API Reference for GetEnvironment Operation
public virtual GetEnvironmentResponse GetEnvironment(GetEnvironmentRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetEnvironmentRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetEnvironmentResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Retrieves information about an environment. An environment is a deployment group of
/// AppConfig applications, such as applications in a Production
environment
/// or in an EU_Region
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.
///
/// Container for the necessary parameters to execute the GetEnvironment service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetEnvironment service method, as returned by AppConfig.
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
///
/// There was an internal failure in the AppConfig service.
///
///
/// The requested resource could not be found.
///
/// REST API Reference for GetEnvironment Operation
public virtual Task GetEnvironmentAsync(GetEnvironmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetEnvironmentRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetEnvironmentResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetExtension
///
/// Returns information about an AppConfig extension.
///
/// Container for the necessary parameters to execute the GetExtension service method.
///
/// The response from the GetExtension service method, as returned by AppConfig.
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
///
/// There was an internal failure in the AppConfig service.
///
///
/// The requested resource could not be found.
///
/// REST API Reference for GetExtension Operation
public virtual GetExtensionResponse GetExtension(GetExtensionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetExtensionRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetExtensionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns information about an AppConfig extension.
///
/// Container for the necessary parameters to execute the GetExtension service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetExtension service method, as returned by AppConfig.
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
///
/// There was an internal failure in the AppConfig service.
///
///
/// The requested resource could not be found.
///
/// REST API Reference for GetExtension Operation
public virtual Task GetExtensionAsync(GetExtensionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetExtensionRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetExtensionResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetExtensionAssociation
///
/// Returns information about an AppConfig extension association. For more information
/// about extensions and associations, see Working
/// with AppConfig extensions in the AppConfig User Guide.
///
/// Container for the necessary parameters to execute the GetExtensionAssociation service method.
///
/// The response from the GetExtensionAssociation service method, as returned by AppConfig.
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
///
/// There was an internal failure in the AppConfig service.
///
///
/// The requested resource could not be found.
///
/// REST API Reference for GetExtensionAssociation Operation
public virtual GetExtensionAssociationResponse GetExtensionAssociation(GetExtensionAssociationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetExtensionAssociationRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetExtensionAssociationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns information about an AppConfig extension association. For more information
/// about extensions and associations, see Working
/// with AppConfig extensions in the AppConfig User Guide.
///
/// Container for the necessary parameters to execute the GetExtensionAssociation service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetExtensionAssociation service method, as returned by AppConfig.
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
///
/// There was an internal failure in the AppConfig service.
///
///
/// The requested resource could not be found.
///
/// REST API Reference for GetExtensionAssociation Operation
public virtual Task GetExtensionAssociationAsync(GetExtensionAssociationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetExtensionAssociationRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetExtensionAssociationResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetHostedConfigurationVersion
///
/// Retrieves information about a specific configuration version.
///
/// Container for the necessary parameters to execute the GetHostedConfigurationVersion service method.
///
/// The response from the GetHostedConfigurationVersion service method, as returned by AppConfig.
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
///
/// There was an internal failure in the AppConfig service.
///
///
/// The requested resource could not be found.
///
/// REST API Reference for GetHostedConfigurationVersion Operation
public virtual GetHostedConfigurationVersionResponse GetHostedConfigurationVersion(GetHostedConfigurationVersionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetHostedConfigurationVersionRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetHostedConfigurationVersionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Retrieves information about a specific configuration version.
///
/// Container for the necessary parameters to execute the GetHostedConfigurationVersion service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetHostedConfigurationVersion service method, as returned by AppConfig.
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
///
/// There was an internal failure in the AppConfig service.
///
///
/// The requested resource could not be found.
///
/// REST API Reference for GetHostedConfigurationVersion Operation
public virtual Task GetHostedConfigurationVersionAsync(GetHostedConfigurationVersionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetHostedConfigurationVersionRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetHostedConfigurationVersionResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListApplications
///
/// Lists all applications in your Amazon Web Services account.
///
/// Container for the necessary parameters to execute the ListApplications service method.
///
/// The response from the ListApplications service method, as returned by AppConfig.
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
///
/// There was an internal failure in the AppConfig service.
///
/// REST API Reference for ListApplications Operation
public virtual ListApplicationsResponse ListApplications(ListApplicationsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListApplicationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListApplicationsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists all applications in your Amazon Web Services account.
///
/// Container for the necessary parameters to execute the ListApplications service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListApplications service method, as returned by AppConfig.
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
///
/// There was an internal failure in the AppConfig service.
///
/// REST API Reference for ListApplications Operation
public virtual Task ListApplicationsAsync(ListApplicationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListApplicationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListApplicationsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListConfigurationProfiles
///
/// Lists the configuration profiles for an application.
///
/// Container for the necessary parameters to execute the ListConfigurationProfiles service method.
///
/// The response from the ListConfigurationProfiles service method, as returned by AppConfig.
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
///
/// There was an internal failure in the AppConfig service.
///
///
/// The requested resource could not be found.
///
/// REST API Reference for ListConfigurationProfiles Operation
public virtual ListConfigurationProfilesResponse ListConfigurationProfiles(ListConfigurationProfilesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListConfigurationProfilesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListConfigurationProfilesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists the configuration profiles for an application.
///
/// Container for the necessary parameters to execute the ListConfigurationProfiles service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListConfigurationProfiles service method, as returned by AppConfig.
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
///
/// There was an internal failure in the AppConfig service.
///
///
/// The requested resource could not be found.
///
/// REST API Reference for ListConfigurationProfiles Operation
public virtual Task ListConfigurationProfilesAsync(ListConfigurationProfilesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListConfigurationProfilesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListConfigurationProfilesResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListDeployments
///
/// Lists the deployments for an environment in descending deployment number order.
///
/// Container for the necessary parameters to execute the ListDeployments service method.
///
/// The response from the ListDeployments service method, as returned by AppConfig.
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
///
/// There was an internal failure in the AppConfig service.
///
///
/// The requested resource could not be found.
///
/// REST API Reference for ListDeployments Operation
public virtual ListDeploymentsResponse ListDeployments(ListDeploymentsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListDeploymentsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListDeploymentsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists the deployments for an environment in descending deployment number order.
///
/// Container for the necessary parameters to execute the ListDeployments service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListDeployments service method, as returned by AppConfig.
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
///
/// There was an internal failure in the AppConfig service.
///
///
/// The requested resource could not be found.
///
/// REST API Reference for ListDeployments Operation
public virtual Task ListDeploymentsAsync(ListDeploymentsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListDeploymentsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListDeploymentsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListDeploymentStrategies
///
/// Lists deployment strategies.
///
/// Container for the necessary parameters to execute the ListDeploymentStrategies service method.
///
/// The response from the ListDeploymentStrategies service method, as returned by AppConfig.
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
///
/// There was an internal failure in the AppConfig service.
///
/// REST API Reference for ListDeploymentStrategies Operation
public virtual ListDeploymentStrategiesResponse ListDeploymentStrategies(ListDeploymentStrategiesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListDeploymentStrategiesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListDeploymentStrategiesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists deployment strategies.
///
/// Container for the necessary parameters to execute the ListDeploymentStrategies service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListDeploymentStrategies service method, as returned by AppConfig.
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
///
/// There was an internal failure in the AppConfig service.
///
/// REST API Reference for ListDeploymentStrategies Operation
public virtual Task ListDeploymentStrategiesAsync(ListDeploymentStrategiesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListDeploymentStrategiesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListDeploymentStrategiesResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListEnvironments
///
/// Lists the environments for an application.
///
/// Container for the necessary parameters to execute the ListEnvironments service method.
///
/// The response from the ListEnvironments service method, as returned by AppConfig.
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
///
/// There was an internal failure in the AppConfig service.
///
///
/// The requested resource could not be found.
///
/// REST API Reference for ListEnvironments Operation
public virtual ListEnvironmentsResponse ListEnvironments(ListEnvironmentsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListEnvironmentsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListEnvironmentsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists the environments for an application.
///
/// Container for the necessary parameters to execute the ListEnvironments service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListEnvironments service method, as returned by AppConfig.
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
///
/// There was an internal failure in the AppConfig service.
///
///
/// The requested resource could not be found.
///
/// REST API Reference for ListEnvironments Operation
public virtual Task ListEnvironmentsAsync(ListEnvironmentsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListEnvironmentsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListEnvironmentsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListExtensionAssociations
///
/// Lists all AppConfig extension associations in the account. For more information about
/// extensions and associations, see Working
/// with AppConfig extensions in the AppConfig User Guide.
///
/// Container for the necessary parameters to execute the ListExtensionAssociations service method.
///
/// The response from the ListExtensionAssociations service method, as returned by AppConfig.
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
///
/// There was an internal failure in the AppConfig service.
///
/// REST API Reference for ListExtensionAssociations Operation
public virtual ListExtensionAssociationsResponse ListExtensionAssociations(ListExtensionAssociationsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListExtensionAssociationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListExtensionAssociationsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists all AppConfig extension associations in the account. For more information about
/// extensions and associations, see Working
/// with AppConfig extensions in the AppConfig User Guide.
///
/// Container for the necessary parameters to execute the ListExtensionAssociations service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListExtensionAssociations service method, as returned by AppConfig.
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
///
/// There was an internal failure in the AppConfig service.
///
/// REST API Reference for ListExtensionAssociations Operation
public virtual Task ListExtensionAssociationsAsync(ListExtensionAssociationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListExtensionAssociationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListExtensionAssociationsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListExtensions
///
/// Lists all custom and Amazon Web Services authored AppConfig extensions in the account.
/// For more information about extensions, see Working
/// with AppConfig extensions in the AppConfig User Guide.
///
/// Container for the necessary parameters to execute the ListExtensions service method.
///
/// The response from the ListExtensions service method, as returned by AppConfig.
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
///
/// There was an internal failure in the AppConfig service.
///
/// REST API Reference for ListExtensions Operation
public virtual ListExtensionsResponse ListExtensions(ListExtensionsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListExtensionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListExtensionsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists all custom and Amazon Web Services authored AppConfig extensions in the account.
/// For more information about extensions, see Working
/// with AppConfig extensions in the AppConfig User Guide.
///
/// Container for the necessary parameters to execute the ListExtensions service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListExtensions service method, as returned by AppConfig.
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
///
/// There was an internal failure in the AppConfig service.
///
/// REST API Reference for ListExtensions Operation
public virtual Task ListExtensionsAsync(ListExtensionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListExtensionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListExtensionsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListHostedConfigurationVersions
///
/// Lists configurations stored in the AppConfig hosted configuration store by version.
///
/// Container for the necessary parameters to execute the ListHostedConfigurationVersions service method.
///
/// The response from the ListHostedConfigurationVersions service method, as returned by AppConfig.
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
///
/// There was an internal failure in the AppConfig service.
///
///
/// The requested resource could not be found.
///
/// REST API Reference for ListHostedConfigurationVersions Operation
public virtual ListHostedConfigurationVersionsResponse ListHostedConfigurationVersions(ListHostedConfigurationVersionsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListHostedConfigurationVersionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListHostedConfigurationVersionsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists configurations stored in the AppConfig hosted configuration store by version.
///
/// Container for the necessary parameters to execute the ListHostedConfigurationVersions service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListHostedConfigurationVersions service method, as returned by AppConfig.
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
///
/// There was an internal failure in the AppConfig service.
///
///
/// The requested resource could not be found.
///
/// REST API Reference for ListHostedConfigurationVersions Operation
public virtual Task ListHostedConfigurationVersionsAsync(ListHostedConfigurationVersionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListHostedConfigurationVersionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListHostedConfigurationVersionsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListTagsForResource
///
/// Retrieves the list of key-value tags assigned to the resource.
///
/// Container for the necessary parameters to execute the ListTagsForResource service method.
///
/// The response from the ListTagsForResource service method, as returned by AppConfig.
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
///
/// There was an internal failure in the AppConfig service.
///
///
/// The requested resource could not be found.
///
/// REST API Reference for ListTagsForResource Operation
public virtual ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Retrieves the list of key-value tags assigned to the resource.
///
/// Container for the necessary parameters to execute the ListTagsForResource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListTagsForResource service method, as returned by AppConfig.
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
///
/// There was an internal failure in the AppConfig service.
///
///
/// The requested resource could not be found.
///
/// REST API Reference for ListTagsForResource Operation
public virtual Task ListTagsForResourceAsync(ListTagsForResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region StartDeployment
///
/// Starts a deployment.
///
/// Container for the necessary parameters to execute the StartDeployment service method.
///
/// The response from the StartDeployment service method, as returned by AppConfig.
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
///
/// The request could not be processed because of conflict in the current state of the
/// resource.
///
///
/// There was an internal failure in the AppConfig service.
///
///
/// The requested resource could not be found.
///
/// REST API Reference for StartDeployment Operation
public virtual StartDeploymentResponse StartDeployment(StartDeploymentRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StartDeploymentRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartDeploymentResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Starts a deployment.
///
/// Container for the necessary parameters to execute the StartDeployment service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the StartDeployment service method, as returned by AppConfig.
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
///
/// The request could not be processed because of conflict in the current state of the
/// resource.
///
///
/// There was an internal failure in the AppConfig service.
///
///
/// The requested resource could not be found.
///
/// REST API Reference for StartDeployment Operation
public virtual Task StartDeploymentAsync(StartDeploymentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = StartDeploymentRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartDeploymentResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region StopDeployment
///
/// Stops a deployment. This API action works only on deployments that have a status of
/// DEPLOYING
. This action moves the deployment to a status of ROLLED_BACK
.
///
/// Container for the necessary parameters to execute the StopDeployment service method.
///
/// The response from the StopDeployment service method, as returned by AppConfig.
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
///
/// There was an internal failure in the AppConfig service.
///
///
/// The requested resource could not be found.
///
/// REST API Reference for StopDeployment Operation
public virtual StopDeploymentResponse StopDeployment(StopDeploymentRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StopDeploymentRequestMarshaller.Instance;
options.ResponseUnmarshaller = StopDeploymentResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Stops a deployment. This API action works only on deployments that have a status of
/// DEPLOYING
. This action moves the deployment to a status of ROLLED_BACK
.
///
/// Container for the necessary parameters to execute the StopDeployment service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the StopDeployment service method, as returned by AppConfig.
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
///
/// There was an internal failure in the AppConfig service.
///
///
/// The requested resource could not be found.
///
/// REST API Reference for StopDeployment Operation
public virtual Task StopDeploymentAsync(StopDeploymentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = StopDeploymentRequestMarshaller.Instance;
options.ResponseUnmarshaller = StopDeploymentResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region TagResource
///
/// 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.
///
/// Container for the necessary parameters to execute the TagResource service method.
///
/// The response from the TagResource service method, as returned by AppConfig.
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
///
/// There was an internal failure in the AppConfig service.
///
///
/// The requested resource could not be found.
///
/// REST API Reference for TagResource Operation
public virtual TagResourceResponse TagResource(TagResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = TagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// Container for the necessary parameters to execute the TagResource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the TagResource service method, as returned by AppConfig.
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
///
/// There was an internal failure in the AppConfig service.
///
///
/// The requested resource could not be found.
///
/// REST API Reference for TagResource Operation
public virtual Task TagResourceAsync(TagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = TagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UntagResource
///
/// Deletes a tag key and value from an AppConfig resource.
///
/// Container for the necessary parameters to execute the UntagResource service method.
///
/// The response from the UntagResource service method, as returned by AppConfig.
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
///
/// There was an internal failure in the AppConfig service.
///
///
/// The requested resource could not be found.
///
/// REST API Reference for UntagResource Operation
public virtual UntagResourceResponse UntagResource(UntagResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UntagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes a tag key and value from an AppConfig resource.
///
/// Container for the necessary parameters to execute the UntagResource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UntagResource service method, as returned by AppConfig.
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
///
/// There was an internal failure in the AppConfig service.
///
///
/// The requested resource could not be found.
///
/// REST API Reference for UntagResource Operation
public virtual Task UntagResourceAsync(UntagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UntagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateApplication
///
/// Updates an application.
///
/// Container for the necessary parameters to execute the UpdateApplication service method.
///
/// The response from the UpdateApplication service method, as returned by AppConfig.
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
///
/// There was an internal failure in the AppConfig service.
///
///
/// The requested resource could not be found.
///
/// REST API Reference for UpdateApplication Operation
public virtual UpdateApplicationResponse UpdateApplication(UpdateApplicationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateApplicationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateApplicationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Updates an application.
///
/// Container for the necessary parameters to execute the UpdateApplication service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateApplication service method, as returned by AppConfig.
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
///
/// There was an internal failure in the AppConfig service.
///
///
/// The requested resource could not be found.
///
/// REST API Reference for UpdateApplication Operation
public virtual Task UpdateApplicationAsync(UpdateApplicationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateApplicationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateApplicationResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateConfigurationProfile
///
/// Updates a configuration profile.
///
/// Container for the necessary parameters to execute the UpdateConfigurationProfile service method.
///
/// The response from the UpdateConfigurationProfile service method, as returned by AppConfig.
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
///
/// There was an internal failure in the AppConfig service.
///
///
/// The requested resource could not be found.
///
/// REST API Reference for UpdateConfigurationProfile Operation
public virtual UpdateConfigurationProfileResponse UpdateConfigurationProfile(UpdateConfigurationProfileRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateConfigurationProfileRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateConfigurationProfileResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Updates a configuration profile.
///
/// Container for the necessary parameters to execute the UpdateConfigurationProfile service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateConfigurationProfile service method, as returned by AppConfig.
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
///
/// There was an internal failure in the AppConfig service.
///
///
/// The requested resource could not be found.
///
/// REST API Reference for UpdateConfigurationProfile Operation
public virtual Task UpdateConfigurationProfileAsync(UpdateConfigurationProfileRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateConfigurationProfileRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateConfigurationProfileResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateDeploymentStrategy
///
/// Updates a deployment strategy.
///
/// Container for the necessary parameters to execute the UpdateDeploymentStrategy service method.
///
/// The response from the UpdateDeploymentStrategy service method, as returned by AppConfig.
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
///
/// There was an internal failure in the AppConfig service.
///
///
/// The requested resource could not be found.
///
/// REST API Reference for UpdateDeploymentStrategy Operation
public virtual UpdateDeploymentStrategyResponse UpdateDeploymentStrategy(UpdateDeploymentStrategyRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateDeploymentStrategyRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateDeploymentStrategyResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Updates a deployment strategy.
///
/// Container for the necessary parameters to execute the UpdateDeploymentStrategy service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateDeploymentStrategy service method, as returned by AppConfig.
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
///
/// There was an internal failure in the AppConfig service.
///
///
/// The requested resource could not be found.
///
/// REST API Reference for UpdateDeploymentStrategy Operation
public virtual Task UpdateDeploymentStrategyAsync(UpdateDeploymentStrategyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateDeploymentStrategyRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateDeploymentStrategyResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateEnvironment
///
/// Updates an environment.
///
/// Container for the necessary parameters to execute the UpdateEnvironment service method.
///
/// The response from the UpdateEnvironment service method, as returned by AppConfig.
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
///
/// There was an internal failure in the AppConfig service.
///
///
/// The requested resource could not be found.
///
/// REST API Reference for UpdateEnvironment Operation
public virtual UpdateEnvironmentResponse UpdateEnvironment(UpdateEnvironmentRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateEnvironmentRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateEnvironmentResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Updates an environment.
///
/// Container for the necessary parameters to execute the UpdateEnvironment service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateEnvironment service method, as returned by AppConfig.
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
///
/// There was an internal failure in the AppConfig service.
///
///
/// The requested resource could not be found.
///
/// REST API Reference for UpdateEnvironment Operation
public virtual Task UpdateEnvironmentAsync(UpdateEnvironmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateEnvironmentRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateEnvironmentResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateExtension
///
/// Updates an AppConfig extension. For more information about extensions, see Working
/// with AppConfig extensions in the AppConfig User Guide.
///
/// Container for the necessary parameters to execute the UpdateExtension service method.
///
/// The response from the UpdateExtension service method, as returned by AppConfig.
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
///
/// The request could not be processed because of conflict in the current state of the
/// resource.
///
///
/// There was an internal failure in the AppConfig service.
///
///
/// The requested resource could not be found.
///
/// REST API Reference for UpdateExtension Operation
public virtual UpdateExtensionResponse UpdateExtension(UpdateExtensionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateExtensionRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateExtensionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Updates an AppConfig extension. For more information about extensions, see Working
/// with AppConfig extensions in the AppConfig User Guide.
///
/// Container for the necessary parameters to execute the UpdateExtension service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateExtension service method, as returned by AppConfig.
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
///
/// The request could not be processed because of conflict in the current state of the
/// resource.
///
///
/// There was an internal failure in the AppConfig service.
///
///
/// The requested resource could not be found.
///
/// REST API Reference for UpdateExtension Operation
public virtual Task UpdateExtensionAsync(UpdateExtensionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateExtensionRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateExtensionResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateExtensionAssociation
///
/// Updates an association. For more information about extensions and associations, see
/// Working
/// with AppConfig extensions in the AppConfig User Guide.
///
/// Container for the necessary parameters to execute the UpdateExtensionAssociation service method.
///
/// The response from the UpdateExtensionAssociation service method, as returned by AppConfig.
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
///
/// There was an internal failure in the AppConfig service.
///
///
/// The requested resource could not be found.
///
/// REST API Reference for UpdateExtensionAssociation Operation
public virtual UpdateExtensionAssociationResponse UpdateExtensionAssociation(UpdateExtensionAssociationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateExtensionAssociationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateExtensionAssociationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Updates an association. For more information about extensions and associations, see
/// Working
/// with AppConfig extensions in the AppConfig User Guide.
///
/// Container for the necessary parameters to execute the UpdateExtensionAssociation service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateExtensionAssociation service method, as returned by AppConfig.
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
///
/// There was an internal failure in the AppConfig service.
///
///
/// The requested resource could not be found.
///
/// REST API Reference for UpdateExtensionAssociation Operation
public virtual Task UpdateExtensionAssociationAsync(UpdateExtensionAssociationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateExtensionAssociationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateExtensionAssociationResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ValidateConfiguration
///
/// Uses the validators in a configuration profile to validate a configuration.
///
/// Container for the necessary parameters to execute the ValidateConfiguration service method.
///
/// The response from the ValidateConfiguration service method, as returned by AppConfig.
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
///
/// There was an internal failure in the AppConfig service.
///
///
/// The requested resource could not be found.
///
/// REST API Reference for ValidateConfiguration Operation
public virtual ValidateConfigurationResponse ValidateConfiguration(ValidateConfigurationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ValidateConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = ValidateConfigurationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Uses the validators in a configuration profile to validate a configuration.
///
/// Container for the necessary parameters to execute the ValidateConfiguration service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ValidateConfiguration service method, as returned by AppConfig.
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
///
/// There was an internal failure in the AppConfig service.
///
///
/// The requested resource could not be found.
///
/// REST API Reference for ValidateConfiguration Operation
public virtual Task ValidateConfigurationAsync(ValidateConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ValidateConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = ValidateConfigurationResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
}
}