/* * 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 codedeploy-2014-10-06.normal.json service model. */ using System; using System.Threading; using System.Threading.Tasks; using System.Collections.Generic; using Amazon.Runtime; using Amazon.CodeDeploy.Model; namespace Amazon.CodeDeploy { /// /// Interface for accessing CodeDeploy /// /// CodeDeploy is a deployment service that automates application deployments to Amazon /// EC2 instances, on-premises instances running in your own facility, serverless Lambda /// functions, or applications in an Amazon ECS service. /// /// /// /// You can deploy a nearly unlimited variety of application content, such as an updated /// Lambda function, updated applications in an Amazon ECS service, code, web and configuration /// files, executables, packages, scripts, multimedia files, and so on. CodeDeploy can /// deploy application content stored in Amazon S3 buckets, GitHub repositories, or Bitbucket /// repositories. You do not need to make changes to your existing code before you can /// use CodeDeploy. /// /// /// /// CodeDeploy makes it easier for you to rapidly release new features, helps you avoid /// downtime during application deployment, and handles the complexity of updating your /// applications, without many of the risks associated with error-prone manual deployments. /// /// /// /// CodeDeploy Components /// /// /// /// Use the information in this guide to help you work with the following CodeDeploy components: /// /// /// /// This guide also contains information to help you get details about the instances in /// your deployments, to make on-premises instances available for CodeDeploy deployments, /// to get details about a Lambda function deployment, and to get details about Amazon /// ECS service deployments. /// /// /// /// CodeDeploy Information Resources /// /// /// public partial interface IAmazonCodeDeploy : IAmazonService, IDisposable { #if AWS_ASYNC_ENUMERABLES_API /// /// Paginators for the service /// ICodeDeployPaginatorFactory Paginators { get; } #endif #region AddTagsToOnPremisesInstances /// /// Adds tags to on-premises instances. /// /// Container for the necessary parameters to execute the AddTagsToOnPremisesInstances service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the AddTagsToOnPremisesInstances service method, as returned by CodeDeploy. /// /// The maximum number of allowed on-premises instances in a single call was exceeded. /// /// /// An on-premises instance name was not specified. /// /// /// The specified on-premises instance is not registered. /// /// /// The on-premises instance name was specified in an invalid format. /// /// /// The tag was specified in an invalid format. /// /// /// The maximum allowed number of tags was exceeded. /// /// /// A tag was not specified. /// /// REST API Reference for AddTagsToOnPremisesInstances Operation Task AddTagsToOnPremisesInstancesAsync(AddTagsToOnPremisesInstancesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region BatchGetApplicationRevisions /// /// Gets information about one or more application revisions. The maximum number of application /// revisions that can be returned is 25. /// /// Container for the necessary parameters to execute the BatchGetApplicationRevisions service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the BatchGetApplicationRevisions service method, as returned by CodeDeploy. /// /// The application does not exist with the IAM user or Amazon Web Services account. /// /// /// The minimum number of required application names was not specified. /// /// /// The maximum number of names or IDs allowed for this request (100) was exceeded. /// /// /// The application name was specified in an invalid format. /// /// /// The revision was specified in an invalid format. /// /// /// The revision ID was not specified. /// /// REST API Reference for BatchGetApplicationRevisions Operation Task BatchGetApplicationRevisionsAsync(BatchGetApplicationRevisionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region BatchGetApplications /// /// Gets information about one or more applications. The maximum number of applications /// that can be returned is 100. /// /// Container for the necessary parameters to execute the BatchGetApplications service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the BatchGetApplications service method, as returned by CodeDeploy. /// /// The application does not exist with the IAM user or Amazon Web Services account. /// /// /// The minimum number of required application names was not specified. /// /// /// The maximum number of names or IDs allowed for this request (100) was exceeded. /// /// /// The application name was specified in an invalid format. /// /// REST API Reference for BatchGetApplications Operation Task BatchGetApplicationsAsync(BatchGetApplicationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region BatchGetDeploymentGroups /// /// Gets information about one or more deployment groups. /// /// Container for the necessary parameters to execute the BatchGetDeploymentGroups service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the BatchGetDeploymentGroups service method, as returned by CodeDeploy. /// /// The application does not exist with the IAM user or Amazon Web Services account. /// /// /// The minimum number of required application names was not specified. /// /// /// The maximum number of names or IDs allowed for this request (100) was exceeded. /// /// /// The deployment configuration does not exist with the IAM user or Amazon Web Services /// account. /// /// /// The deployment group name was not specified. /// /// /// The application name was specified in an invalid format. /// /// /// The deployment group name was specified in an invalid format. /// /// REST API Reference for BatchGetDeploymentGroups Operation Task BatchGetDeploymentGroupsAsync(BatchGetDeploymentGroupsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region BatchGetDeploymentInstances /// /// /// /// This method works, but is deprecated. Use BatchGetDeploymentTargets /// instead. /// /// /// /// Returns an array of one or more instances associated with a deployment. This method /// works with EC2/On-premises and Lambda compute platforms. The newer BatchGetDeploymentTargets /// works with all compute platforms. The maximum number of instances that can be returned /// is 25. /// /// /// Container for the necessary parameters to execute the BatchGetDeploymentInstances service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the BatchGetDeploymentInstances service method, as returned by CodeDeploy. /// /// The maximum number of names or IDs allowed for this request (100) was exceeded. /// /// /// The deployment with the IAM user or Amazon Web Services account does not exist. /// /// /// At least one deployment ID must be specified. /// /// /// The instance ID was not specified. /// /// /// The computePlatform is invalid. The computePlatform should be Lambda, /// Server, or ECS. /// /// /// At least one of the deployment IDs was specified in an invalid format. /// /// /// The on-premises instance name was specified in an invalid format. /// /// REST API Reference for BatchGetDeploymentInstances Operation [Obsolete("This operation is deprecated, use BatchGetDeploymentTargets instead.")] Task BatchGetDeploymentInstancesAsync(BatchGetDeploymentInstancesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region BatchGetDeployments /// /// Gets information about one or more deployments. The maximum number of deployments /// that can be returned is 25. /// /// Container for the necessary parameters to execute the BatchGetDeployments service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the BatchGetDeployments service method, as returned by CodeDeploy. /// /// The maximum number of names or IDs allowed for this request (100) was exceeded. /// /// /// At least one deployment ID must be specified. /// /// /// At least one of the deployment IDs was specified in an invalid format. /// /// REST API Reference for BatchGetDeployments Operation Task BatchGetDeploymentsAsync(BatchGetDeploymentsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region BatchGetDeploymentTargets /// /// Returns an array of one or more targets associated with a deployment. This method /// works with all compute types and should be used instead of the deprecated BatchGetDeploymentInstances. /// The maximum number of targets that can be returned is 25. /// /// /// /// The type of targets returned depends on the deployment's compute platform or deployment /// method: /// ///
  • /// /// EC2/On-premises: Information about Amazon EC2 instance targets. /// ///
  • /// /// Lambda: Information about Lambda functions targets. /// ///
  • /// /// Amazon ECS: Information about Amazon ECS service targets. /// ///
  • /// /// CloudFormation: Information about targets of blue/green deployments initiated /// by a CloudFormation stack update. /// ///
///
/// Container for the necessary parameters to execute the BatchGetDeploymentTargets service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the BatchGetDeploymentTargets service method, as returned by CodeDeploy. /// /// The deployment with the IAM user or Amazon Web Services account does not exist. /// /// /// At least one deployment ID must be specified. /// /// /// The specified deployment has not started. /// /// /// The provided target ID does not belong to the attempted deployment. /// /// /// A deployment target ID was not provided. /// /// /// The maximum number of targets that can be associated with an Amazon ECS or Lambda /// deployment was exceeded. The target list of both types of deployments must have exactly /// one item. This exception does not apply to EC2/On-premises deployments. /// /// /// The specified instance does not exist in the deployment group. /// /// /// At least one of the deployment IDs was specified in an invalid format. /// /// /// The target ID provided was not valid. /// /// REST API Reference for BatchGetDeploymentTargets Operation Task BatchGetDeploymentTargetsAsync(BatchGetDeploymentTargetsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region BatchGetOnPremisesInstances /// /// Gets information about one or more on-premises instances. The maximum number of on-premises /// instances that can be returned is 25. /// /// Container for the necessary parameters to execute the BatchGetOnPremisesInstances service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the BatchGetOnPremisesInstances service method, as returned by CodeDeploy. /// /// The maximum number of names or IDs allowed for this request (100) was exceeded. /// /// /// An on-premises instance name was not specified. /// /// /// The on-premises instance name was specified in an invalid format. /// /// REST API Reference for BatchGetOnPremisesInstances Operation Task BatchGetOnPremisesInstancesAsync(BatchGetOnPremisesInstancesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ContinueDeployment /// /// For a blue/green deployment, starts the process of rerouting traffic from instances /// in the original environment to instances in the replacement environment without waiting /// for a specified wait time to elapse. (Traffic rerouting, which is achieved by registering /// instances in the replacement environment with the load balancer, can start as soon /// as all instances have a status of Ready.) /// /// Container for the necessary parameters to execute the ContinueDeployment service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ContinueDeployment service method, as returned by CodeDeploy. /// /// The deployment is already complete. /// /// /// The deployment with the IAM user or Amazon Web Services account does not exist. /// /// /// At least one deployment ID must be specified. /// /// /// The deployment does not have a status of Ready and can't continue yet. /// /// /// At least one of the deployment IDs was specified in an invalid format. /// /// /// The specified deployment status doesn't exist or cannot be determined. /// /// /// The wait type is invalid. /// /// /// A call was submitted that is not supported for the specified deployment type. /// /// REST API Reference for ContinueDeployment Operation Task ContinueDeploymentAsync(ContinueDeploymentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateApplication /// /// Creates an application. /// /// 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 CodeDeploy. /// /// An application with the specified name with the IAM user or Amazon Web Services account /// already exists. /// /// /// More applications were attempted to be created than are allowed. /// /// /// The minimum number of required application names was not specified. /// /// /// The application name was specified in an invalid format. /// /// /// The computePlatform is invalid. The computePlatform should be Lambda, /// Server, or ECS. /// /// /// The specified tags are not valid. /// /// REST API Reference for CreateApplication Operation Task CreateApplicationAsync(CreateApplicationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateDeployment /// /// Deploys an application revision through the specified deployment group. /// /// Container for the necessary parameters to execute the CreateDeployment service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateDeployment service method, as returned by CodeDeploy. /// /// The maximum number of alarms for a deployment group (10) was exceeded. /// /// /// The application does not exist with the IAM user or Amazon Web Services account. /// /// /// The minimum number of required application names was not specified. /// /// /// The deployment configuration does not exist with the IAM user or Amazon Web Services /// account. /// /// /// The named deployment group with the IAM user or Amazon Web Services account does not /// exist. /// /// /// The deployment group name was not specified. /// /// /// The number of allowed deployments was exceeded. /// /// /// The description is too long. /// /// /// The format of the alarm configuration is invalid. Possible causes include: /// ///
  • /// /// The alarm list is null. /// ///
  • /// /// The alarm object is null. /// ///
  • /// /// The alarm name is empty or null or exceeds the limit of 255 characters. /// ///
  • /// /// Two alarms with the same name have been specified. /// ///
  • /// /// The alarm configuration is enabled, but the alarm list is empty. /// ///
///
/// /// The application name was specified in an invalid format. /// /// /// The automatic rollback configuration was specified in an invalid format. For example, /// automatic rollback is enabled, but an invalid triggering event type or no event types /// were listed. /// /// /// The Auto Scaling group was specified in an invalid format or does not exist. /// /// /// The deployment configuration name was specified in an invalid format. /// /// /// The deployment group name was specified in an invalid format. /// /// /// An invalid fileExistsBehavior option was specified to determine how CodeDeploy handles /// files or directories that already exist in a deployment target location, but weren't /// part of the previous successful deployment. Valid values include "DISALLOW," "OVERWRITE," /// and "RETAIN." /// /// /// The GitHub token is not valid. /// /// /// The IgnoreApplicationStopFailures value is invalid. For Lambda deployments, false /// is expected. For EC2/On-premises deployments, true or false /// is expected. /// /// /// An invalid load balancer name, or no load balancer name, was specified. /// /// /// The revision was specified in an invalid format. /// /// /// The service role ARN was specified in an invalid format. Or, if an Auto Scaling group /// was specified, the specified service role does not grant the appropriate permissions /// to Amazon EC2 Auto Scaling. /// /// /// The target instance configuration is invalid. Possible causes include: /// ///
  • /// /// Configuration data for target instances was entered for an in-place deployment. /// ///
  • /// /// The limit of 10 tags for a tag type was exceeded. /// ///
  • /// /// The combined length of the tag names exceeded the limit. /// ///
  • /// /// A specified tag is not currently applied to any instances. /// ///
///
/// /// The configuration that specifies how traffic is routed during a deployment is invalid. /// /// /// The UpdateOutdatedInstancesOnly value is invalid. For Lambda deployments, false /// is expected. For EC2/On-premises deployments, true or false /// is expected. /// /// /// The named revision does not exist with the IAM user or Amazon Web Services account. /// /// /// The revision ID was not specified. /// /// /// An API function was called too frequently. /// /// REST API Reference for CreateDeployment Operation Task CreateDeploymentAsync(CreateDeploymentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateDeploymentConfig /// /// Creates a deployment configuration. /// /// Container for the necessary parameters to execute the CreateDeploymentConfig service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateDeploymentConfig service method, as returned by CodeDeploy. /// /// A deployment configuration with the specified name with the IAM user or Amazon Web /// Services account already exists. /// /// /// The deployment configurations limit was exceeded. /// /// /// The deployment configuration name was not specified. /// /// /// The computePlatform is invalid. The computePlatform should be Lambda, /// Server, or ECS. /// /// /// The deployment configuration name was specified in an invalid format. /// /// /// The minimum healthy instance value was specified in an invalid format. /// /// /// The configuration that specifies how traffic is routed during a deployment is invalid. /// /// REST API Reference for CreateDeploymentConfig Operation Task CreateDeploymentConfigAsync(CreateDeploymentConfigRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateDeploymentGroup /// /// Creates a deployment group to which application revisions are deployed. /// /// Container for the necessary parameters to execute the CreateDeploymentGroup service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateDeploymentGroup service method, as returned by CodeDeploy. /// /// The maximum number of alarms for a deployment group (10) was exceeded. /// /// /// The application does not exist with the IAM user or Amazon Web Services account. /// /// /// The minimum number of required application names was not specified. /// /// /// The deployment configuration does not exist with the IAM user or Amazon Web Services /// account. /// /// /// A deployment group with the specified name with the IAM user or Amazon Web Services /// account already exists. /// /// /// The deployment groups limit was exceeded. /// /// /// The deployment group name was not specified. /// /// /// The Amazon ECS service is associated with more than one deployment groups. An Amazon /// ECS service can be associated with only one deployment group. /// /// /// The format of the alarm configuration is invalid. Possible causes include: /// ///
  • /// /// The alarm list is null. /// ///
  • /// /// The alarm object is null. /// ///
  • /// /// The alarm name is empty or null or exceeds the limit of 255 characters. /// ///
  • /// /// Two alarms with the same name have been specified. /// ///
  • /// /// The alarm configuration is enabled, but the alarm list is empty. /// ///
///
/// /// The application name was specified in an invalid format. /// /// /// The automatic rollback configuration was specified in an invalid format. For example, /// automatic rollback is enabled, but an invalid triggering event type or no event types /// were listed. /// /// /// The Auto Scaling group was specified in an invalid format or does not exist. /// /// /// The configuration for the blue/green deployment group was provided in an invalid format. /// For information about deployment configuration format, see CreateDeploymentConfig. /// /// /// The deployment configuration name was specified in an invalid format. /// /// /// The deployment group name was specified in an invalid format. /// /// /// An invalid deployment style was specified. Valid deployment types include "IN_PLACE" /// and "BLUE_GREEN." Valid deployment options include "WITH_TRAFFIC_CONTROL" and "WITHOUT_TRAFFIC_CONTROL." /// /// /// A call was submitted that specified both Ec2TagFilters and Ec2TagSet, but only one /// of these data types can be used in a single call. /// /// /// The tag was specified in an invalid format. /// /// /// The Amazon ECS service identifier is not valid. /// /// /// The input was specified in an invalid format. /// /// /// An invalid load balancer name, or no load balancer name, was specified. /// /// /// A call was submitted that specified both OnPremisesTagFilters and OnPremisesTagSet, /// but only one of these data types can be used in a single call. /// /// /// The service role ARN was specified in an invalid format. Or, if an Auto Scaling group /// was specified, the specified service role does not grant the appropriate permissions /// to Amazon EC2 Auto Scaling. /// /// /// The tag was specified in an invalid format. /// /// /// The specified tags are not valid. /// /// /// A target group pair associated with this deployment is not valid. /// /// /// The configuration that specifies how traffic is routed during a deployment is invalid. /// /// /// The trigger was specified in an invalid format. /// /// /// The limit for lifecycle hooks was exceeded. /// /// /// The role ID was not specified. /// /// /// The number of tag groups included in the tag set list exceeded the maximum allowed /// limit of 3. /// /// /// An API function was called too frequently. /// /// /// The maximum allowed number of triggers was exceeded. /// /// REST API Reference for CreateDeploymentGroup Operation Task CreateDeploymentGroupAsync(CreateDeploymentGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteApplication /// /// Deletes an application. /// /// 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 CodeDeploy. /// /// The minimum number of required application names was not specified. /// /// /// The application name was specified in an invalid format. /// /// /// The service role ARN was specified in an invalid format. Or, if an Auto Scaling group /// was specified, the specified service role does not grant the appropriate permissions /// to Amazon EC2 Auto Scaling. /// /// REST API Reference for DeleteApplication Operation Task DeleteApplicationAsync(DeleteApplicationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteDeploymentConfig /// /// Deletes a deployment configuration. /// /// /// /// A deployment configuration cannot be deleted if it is currently in use. Predefined /// configurations cannot be deleted. /// /// /// /// Container for the necessary parameters to execute the DeleteDeploymentConfig service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteDeploymentConfig service method, as returned by CodeDeploy. /// /// The deployment configuration is still in use. /// /// /// The deployment configuration name was not specified. /// /// /// The deployment configuration name was specified in an invalid format. /// /// /// An invalid operation was detected. /// /// REST API Reference for DeleteDeploymentConfig Operation Task DeleteDeploymentConfigAsync(DeleteDeploymentConfigRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteDeploymentGroup /// /// Deletes a deployment group. /// /// Container for the necessary parameters to execute the DeleteDeploymentGroup service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteDeploymentGroup service method, as returned by CodeDeploy. /// /// The minimum number of required application names was not specified. /// /// /// The deployment group name was not specified. /// /// /// The application name was specified in an invalid format. /// /// /// The deployment group name was specified in an invalid format. /// /// /// The service role ARN was specified in an invalid format. Or, if an Auto Scaling group /// was specified, the specified service role does not grant the appropriate permissions /// to Amazon EC2 Auto Scaling. /// /// REST API Reference for DeleteDeploymentGroup Operation Task DeleteDeploymentGroupAsync(DeleteDeploymentGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteGitHubAccountToken /// /// Deletes a GitHub account connection. /// /// Container for the necessary parameters to execute the DeleteGitHubAccountToken service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteGitHubAccountToken service method, as returned by CodeDeploy. /// /// No GitHub account connection exists with the named specified in the call. /// /// /// The call is missing a required GitHub account connection name. /// /// /// The format of the specified GitHub account connection name is invalid. /// /// /// The API used does not support the deployment. /// /// /// The specified resource could not be validated. /// /// REST API Reference for DeleteGitHubAccountToken Operation Task DeleteGitHubAccountTokenAsync(DeleteGitHubAccountTokenRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteResourcesByExternalId /// /// Deletes resources linked to an external ID. /// /// Container for the necessary parameters to execute the DeleteResourcesByExternalId service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteResourcesByExternalId service method, as returned by CodeDeploy. /// REST API Reference for DeleteResourcesByExternalId Operation Task DeleteResourcesByExternalIdAsync(DeleteResourcesByExternalIdRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeregisterOnPremisesInstance /// /// Deregisters an on-premises instance. /// /// Container for the necessary parameters to execute the DeregisterOnPremisesInstance service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeregisterOnPremisesInstance service method, as returned by CodeDeploy. /// /// An on-premises instance name was not specified. /// /// /// The on-premises instance name was specified in an invalid format. /// /// REST API Reference for DeregisterOnPremisesInstance Operation Task DeregisterOnPremisesInstanceAsync(DeregisterOnPremisesInstanceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetApplication /// /// Gets 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 CodeDeploy. /// /// The application does not exist with the IAM user or Amazon Web Services account. /// /// /// The minimum number of required application names was not specified. /// /// /// The application name was specified in an invalid format. /// /// REST API Reference for GetApplication Operation Task GetApplicationAsync(GetApplicationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetApplicationRevision /// /// Gets information about an application revision. /// /// Container for the necessary parameters to execute the GetApplicationRevision service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetApplicationRevision service method, as returned by CodeDeploy. /// /// The application does not exist with the IAM user or Amazon Web Services account. /// /// /// The minimum number of required application names was not specified. /// /// /// The application name was specified in an invalid format. /// /// /// The revision was specified in an invalid format. /// /// /// The named revision does not exist with the IAM user or Amazon Web Services account. /// /// /// The revision ID was not specified. /// /// REST API Reference for GetApplicationRevision Operation Task GetApplicationRevisionAsync(GetApplicationRevisionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetDeployment /// /// Gets information about a deployment. /// /// /// /// The content property of the appSpecContent object in the /// returned revision is always null. Use GetApplicationRevision and the /// sha256 property of the returned appSpecContent object to /// get the content of the deployment’s AppSpec file. /// /// /// /// 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 CodeDeploy. /// /// The deployment with the IAM user or Amazon Web Services account does not exist. /// /// /// At least one deployment ID must be specified. /// /// /// At least one of the deployment IDs was specified in an invalid format. /// /// REST API Reference for GetDeployment Operation Task GetDeploymentAsync(GetDeploymentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetDeploymentConfig /// /// Gets information about a deployment configuration. /// /// Container for the necessary parameters to execute the GetDeploymentConfig service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetDeploymentConfig service method, as returned by CodeDeploy. /// /// The deployment configuration does not exist with the IAM user or Amazon Web Services /// account. /// /// /// The deployment configuration name was not specified. /// /// /// The computePlatform is invalid. The computePlatform should be Lambda, /// Server, or ECS. /// /// /// The deployment configuration name was specified in an invalid format. /// /// REST API Reference for GetDeploymentConfig Operation Task GetDeploymentConfigAsync(GetDeploymentConfigRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetDeploymentGroup /// /// Gets information about a deployment group. /// /// Container for the necessary parameters to execute the GetDeploymentGroup service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetDeploymentGroup service method, as returned by CodeDeploy. /// /// The application does not exist with the IAM user or Amazon Web Services account. /// /// /// The minimum number of required application names was not specified. /// /// /// The deployment configuration does not exist with the IAM user or Amazon Web Services /// account. /// /// /// The named deployment group with the IAM user or Amazon Web Services account does not /// exist. /// /// /// The deployment group name was not specified. /// /// /// The application name was specified in an invalid format. /// /// /// The deployment group name was specified in an invalid format. /// /// REST API Reference for GetDeploymentGroup Operation Task GetDeploymentGroupAsync(GetDeploymentGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetDeploymentInstance /// /// Gets information about an instance as part of a deployment. /// /// Container for the necessary parameters to execute the GetDeploymentInstance service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetDeploymentInstance service method, as returned by CodeDeploy. /// /// The deployment with the IAM user or Amazon Web Services account does not exist. /// /// /// At least one deployment ID must be specified. /// /// /// The specified instance does not exist in the deployment group. /// /// /// The instance ID was not specified. /// /// /// The computePlatform is invalid. The computePlatform should be Lambda, /// Server, or ECS. /// /// /// At least one of the deployment IDs was specified in an invalid format. /// /// /// The on-premises instance name was specified in an invalid format. /// /// REST API Reference for GetDeploymentInstance Operation [Obsolete("This operation is deprecated, use GetDeploymentTarget instead.")] Task GetDeploymentInstanceAsync(GetDeploymentInstanceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetDeploymentTarget /// /// Returns information about a deployment target. /// /// Container for the necessary parameters to execute the GetDeploymentTarget service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetDeploymentTarget service method, as returned by CodeDeploy. /// /// The deployment with the IAM user or Amazon Web Services account does not exist. /// /// /// At least one deployment ID must be specified. /// /// /// The specified deployment has not started. /// /// /// The provided target ID does not belong to the attempted deployment. /// /// /// A deployment target ID was not provided. /// /// /// At least one of the deployment IDs was specified in an invalid format. /// /// /// The target ID provided was not valid. /// /// /// The on-premises instance name was specified in an invalid format. /// /// REST API Reference for GetDeploymentTarget Operation Task GetDeploymentTargetAsync(GetDeploymentTargetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetOnPremisesInstance /// /// Gets information about an on-premises instance. /// /// Container for the necessary parameters to execute the GetOnPremisesInstance service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetOnPremisesInstance service method, as returned by CodeDeploy. /// /// An on-premises instance name was not specified. /// /// /// The specified on-premises instance is not registered. /// /// /// The on-premises instance name was specified in an invalid format. /// /// REST API Reference for GetOnPremisesInstance Operation Task GetOnPremisesInstanceAsync(GetOnPremisesInstanceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListApplicationRevisions /// /// Lists information about revisions for an application. /// /// Container for the necessary parameters to execute the ListApplicationRevisions service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListApplicationRevisions service method, as returned by CodeDeploy. /// /// The application does not exist with the IAM user or Amazon Web Services account. /// /// /// The minimum number of required application names was not specified. /// /// /// A bucket name is required, but was not provided. /// /// /// The application name was specified in an invalid format. /// /// /// The bucket name either doesn't exist or was specified in an invalid format. /// /// /// The deployed state filter was specified in an invalid format. /// /// /// The specified key prefix filter was specified in an invalid format. /// /// /// The next token was specified in an invalid format. /// /// /// The column name to sort by is either not present or was specified in an invalid format. /// /// /// The sort order was specified in an invalid format. /// /// REST API Reference for ListApplicationRevisions Operation Task ListApplicationRevisionsAsync(ListApplicationRevisionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListApplications /// /// Lists the applications registered with the IAM user or Amazon Web Services account. /// /// /// 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 CodeDeploy. /// /// The next token was specified in an invalid format. /// /// REST API Reference for ListApplications Operation Task ListApplicationsAsync(System.Threading.CancellationToken cancellationToken = default(CancellationToken)); /// /// Lists the applications registered with the IAM user or 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 CodeDeploy. /// /// The next token was specified in an invalid format. /// /// REST API Reference for ListApplications Operation Task ListApplicationsAsync(ListApplicationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListDeploymentConfigs /// /// Lists the deployment configurations with the IAM user or Amazon Web Services account. /// /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListDeploymentConfigs service method, as returned by CodeDeploy. /// /// The next token was specified in an invalid format. /// /// REST API Reference for ListDeploymentConfigs Operation Task ListDeploymentConfigsAsync(System.Threading.CancellationToken cancellationToken = default(CancellationToken)); /// /// Lists the deployment configurations with the IAM user or Amazon Web Services account. /// /// Container for the necessary parameters to execute the ListDeploymentConfigs service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListDeploymentConfigs service method, as returned by CodeDeploy. /// /// The next token was specified in an invalid format. /// /// REST API Reference for ListDeploymentConfigs Operation Task ListDeploymentConfigsAsync(ListDeploymentConfigsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListDeploymentGroups /// /// Lists the deployment groups for an application registered with the IAM user or Amazon /// Web Services account. /// /// Container for the necessary parameters to execute the ListDeploymentGroups service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListDeploymentGroups service method, as returned by CodeDeploy. /// /// The application does not exist with the IAM user or Amazon Web Services account. /// /// /// The minimum number of required application names was not specified. /// /// /// The application name was specified in an invalid format. /// /// /// The next token was specified in an invalid format. /// /// REST API Reference for ListDeploymentGroups Operation Task ListDeploymentGroupsAsync(ListDeploymentGroupsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListDeploymentInstances /// /// /// /// The newer BatchGetDeploymentTargets should be used instead because it /// works with all compute types. ListDeploymentInstances throws an exception /// if it is used with a compute platform other than EC2/On-premises or Lambda. /// /// /// /// Lists the instance for a deployment associated with the IAM user or Amazon Web Services /// account. /// /// /// Container for the necessary parameters to execute the ListDeploymentInstances service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListDeploymentInstances service method, as returned by CodeDeploy. /// /// The deployment with the IAM user or Amazon Web Services account does not exist. /// /// /// At least one deployment ID must be specified. /// /// /// The specified deployment has not started. /// /// /// The computePlatform is invalid. The computePlatform should be Lambda, /// Server, or ECS. /// /// /// At least one of the deployment IDs was specified in an invalid format. /// /// /// An instance type was specified for an in-place deployment. Instance types are supported /// for blue/green deployments only. /// /// /// The specified instance status does not exist. /// /// /// An invalid instance type was specified for instances in a blue/green deployment. Valid /// values include "Blue" for an original environment and "Green" for a replacement environment. /// /// /// The next token was specified in an invalid format. /// /// /// The target filter name is invalid. /// /// REST API Reference for ListDeploymentInstances Operation [Obsolete("This operation is deprecated, use ListDeploymentTargets instead.")] Task ListDeploymentInstancesAsync(ListDeploymentInstancesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListDeployments /// /// Lists the deployments in a deployment group for an application registered with the /// IAM user or Amazon Web Services account. /// /// 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 CodeDeploy. /// /// The application does not exist with the IAM user or Amazon Web Services account. /// /// /// The minimum number of required application names was not specified. /// /// /// The named deployment group with the IAM user or Amazon Web Services account does not /// exist. /// /// /// The deployment group name was not specified. /// /// /// The application name was specified in an invalid format. /// /// /// The deployment group name was specified in an invalid format. /// /// /// The specified deployment status doesn't exist or cannot be determined. /// /// /// The external ID was specified in an invalid format. /// /// /// The input was specified in an invalid format. /// /// /// The next token was specified in an invalid format. /// /// /// The specified time range was specified in an invalid format. /// /// REST API Reference for ListDeployments Operation Task ListDeploymentsAsync(ListDeploymentsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListDeploymentTargets /// /// Returns an array of target IDs that are associated a deployment. /// /// Container for the necessary parameters to execute the ListDeploymentTargets service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListDeploymentTargets service method, as returned by CodeDeploy. /// /// The deployment with the IAM user or Amazon Web Services account does not exist. /// /// /// At least one deployment ID must be specified. /// /// /// The specified deployment has not started. /// /// /// At least one of the deployment IDs was specified in an invalid format. /// /// /// An instance type was specified for an in-place deployment. Instance types are supported /// for blue/green deployments only. /// /// /// The specified instance status does not exist. /// /// /// An invalid instance type was specified for instances in a blue/green deployment. Valid /// values include "Blue" for an original environment and "Green" for a replacement environment. /// /// /// The next token was specified in an invalid format. /// /// REST API Reference for ListDeploymentTargets Operation Task ListDeploymentTargetsAsync(ListDeploymentTargetsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListGitHubAccountTokenNames /// /// Lists the names of stored connections to GitHub accounts. /// /// Container for the necessary parameters to execute the ListGitHubAccountTokenNames service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListGitHubAccountTokenNames service method, as returned by CodeDeploy. /// /// The next token was specified in an invalid format. /// /// /// The API used does not support the deployment. /// /// /// The specified resource could not be validated. /// /// REST API Reference for ListGitHubAccountTokenNames Operation Task ListGitHubAccountTokenNamesAsync(ListGitHubAccountTokenNamesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListOnPremisesInstances /// /// Gets a list of names for one or more on-premises instances. /// /// /// /// Unless otherwise specified, both registered and deregistered on-premises instance /// names are listed. To list only registered or deregistered on-premises instance names, /// use the registration status parameter. /// /// /// Container for the necessary parameters to execute the ListOnPremisesInstances service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListOnPremisesInstances service method, as returned by CodeDeploy. /// /// The next token was specified in an invalid format. /// /// /// The registration status was specified in an invalid format. /// /// /// The tag filter was specified in an invalid format. /// /// REST API Reference for ListOnPremisesInstances Operation Task ListOnPremisesInstancesAsync(ListOnPremisesInstancesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListTagsForResource /// /// Returns a list of tags for the resource identified by a specified Amazon Resource /// Name (ARN). Tags are used to organize and categorize your CodeDeploy resources. /// /// 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 CodeDeploy. /// /// The specified ARN is not supported. For example, it might be an ARN for a resource /// that is not expected. /// /// /// The specified ARN is not in a valid format. /// /// /// The ARN of a resource is required, but was not found. /// /// REST API Reference for ListTagsForResource Operation Task ListTagsForResourceAsync(ListTagsForResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region PutLifecycleEventHookExecutionStatus /// /// Sets the result of a Lambda validation function. The function validates lifecycle /// hooks during a deployment that uses the Lambda or Amazon ECS compute platform. For /// Lambda deployments, the available lifecycle hooks are BeforeAllowTraffic /// and AfterAllowTraffic. For Amazon ECS deployments, the available lifecycle /// hooks are BeforeInstall, AfterInstall, AfterAllowTestTraffic, /// BeforeAllowTraffic, and AfterAllowTraffic. Lambda validation /// functions return Succeeded or Failed. For more information, /// see AppSpec /// 'hooks' Section for an Lambda Deployment and AppSpec /// 'hooks' Section for an Amazon ECS Deployment. /// /// Container for the necessary parameters to execute the PutLifecycleEventHookExecutionStatus service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the PutLifecycleEventHookExecutionStatus service method, as returned by CodeDeploy. /// /// The deployment with the IAM user or Amazon Web Services account does not exist. /// /// /// At least one deployment ID must be specified. /// /// /// At least one of the deployment IDs was specified in an invalid format. /// /// /// A lifecycle event hook is invalid. Review the hooks section in your AppSpec /// file to ensure the lifecycle events and hooks functions are valid. /// /// /// The result of a Lambda validation function that verifies a lifecycle event is invalid. /// It should return Succeeded or Failed. /// /// /// An attempt to return the status of an already completed lifecycle event occurred. /// /// /// A call was submitted that is not supported for the specified deployment type. /// /// REST API Reference for PutLifecycleEventHookExecutionStatus Operation Task PutLifecycleEventHookExecutionStatusAsync(PutLifecycleEventHookExecutionStatusRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region RegisterApplicationRevision /// /// Registers with CodeDeploy a revision for the specified application. /// /// Container for the necessary parameters to execute the RegisterApplicationRevision service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the RegisterApplicationRevision service method, as returned by CodeDeploy. /// /// The application does not exist with the IAM user or Amazon Web Services account. /// /// /// The minimum number of required application names was not specified. /// /// /// The description is too long. /// /// /// The application name was specified in an invalid format. /// /// /// The revision was specified in an invalid format. /// /// /// The revision ID was not specified. /// /// REST API Reference for RegisterApplicationRevision Operation Task RegisterApplicationRevisionAsync(RegisterApplicationRevisionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region RegisterOnPremisesInstance /// /// Registers an on-premises instance. /// /// /// /// Only one IAM ARN (an IAM session ARN or IAM user ARN) is supported in the request. /// You cannot use both. /// /// /// /// Container for the necessary parameters to execute the RegisterOnPremisesInstance service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the RegisterOnPremisesInstance service method, as returned by CodeDeploy. /// /// No IAM ARN was included in the request. You must use an IAM session ARN or IAM user /// ARN in the request. /// /// /// The request included an IAM session ARN that has already been used to register a different /// instance. /// /// /// The specified IAM user ARN is already registered with an on-premises instance. /// /// /// An IAM user ARN was not specified. /// /// /// The specified on-premises instance name is already registered. /// /// /// An on-premises instance name was not specified. /// /// /// The IAM session ARN was specified in an invalid format. /// /// /// The IAM user ARN was specified in an invalid format. /// /// /// The on-premises instance name was specified in an invalid format. /// /// /// Both an IAM user ARN and an IAM session ARN were included in the request. Use only /// one ARN type. /// /// REST API Reference for RegisterOnPremisesInstance Operation Task RegisterOnPremisesInstanceAsync(RegisterOnPremisesInstanceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region RemoveTagsFromOnPremisesInstances /// /// Removes one or more tags from one or more on-premises instances. /// /// Container for the necessary parameters to execute the RemoveTagsFromOnPremisesInstances service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the RemoveTagsFromOnPremisesInstances service method, as returned by CodeDeploy. /// /// The maximum number of allowed on-premises instances in a single call was exceeded. /// /// /// An on-premises instance name was not specified. /// /// /// The specified on-premises instance is not registered. /// /// /// The on-premises instance name was specified in an invalid format. /// /// /// The tag was specified in an invalid format. /// /// /// The maximum allowed number of tags was exceeded. /// /// /// A tag was not specified. /// /// REST API Reference for RemoveTagsFromOnPremisesInstances Operation Task RemoveTagsFromOnPremisesInstancesAsync(RemoveTagsFromOnPremisesInstancesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region SkipWaitTimeForInstanceTermination /// /// In a blue/green deployment, overrides any specified wait time and starts terminating /// instances immediately after the traffic routing is complete. /// /// Container for the necessary parameters to execute the SkipWaitTimeForInstanceTermination service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the SkipWaitTimeForInstanceTermination service method, as returned by CodeDeploy. /// /// The deployment is already complete. /// /// /// The deployment with the IAM user or Amazon Web Services account does not exist. /// /// /// At least one deployment ID must be specified. /// /// /// The specified deployment has not started. /// /// /// At least one of the deployment IDs was specified in an invalid format. /// /// /// A call was submitted that is not supported for the specified deployment type. /// /// REST API Reference for SkipWaitTimeForInstanceTermination Operation [Obsolete("This operation is deprecated, use ContinueDeployment with DeploymentWaitType instead.")] Task SkipWaitTimeForInstanceTerminationAsync(SkipWaitTimeForInstanceTerminationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region StopDeployment /// /// Attempts to stop an ongoing deployment. /// /// 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 CodeDeploy. /// /// The deployment is already complete. /// /// /// The deployment with the IAM user or Amazon Web Services account does not exist. /// /// /// The named deployment group with the IAM user or Amazon Web Services account does not /// exist. /// /// /// At least one deployment ID must be specified. /// /// /// At least one of the deployment IDs was specified in an invalid format. /// /// /// A call was submitted that is not supported for the specified deployment type. /// /// REST API Reference for StopDeployment Operation Task StopDeploymentAsync(StopDeploymentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region TagResource /// /// Associates the list of tags in the input Tags parameter with the resource /// identified by the ResourceArn input parameter. /// /// 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 CodeDeploy. /// /// The application does not exist with the IAM user or Amazon Web Services account. /// /// /// The specified ARN is not supported. For example, it might be an ARN for a resource /// that is not expected. /// /// /// The deployment configuration does not exist with the IAM user or Amazon Web Services /// account. /// /// /// The named deployment group with the IAM user or Amazon Web Services account does not /// exist. /// /// /// The specified ARN is not in a valid format. /// /// /// The specified tags are not valid. /// /// /// The ARN of a resource is required, but was not found. /// /// /// A tag was not specified. /// /// REST API Reference for TagResource Operation Task TagResourceAsync(TagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UntagResource /// /// Disassociates a resource from a list of tags. The resource is identified by the ResourceArn /// input parameter. The tags are identified by the list of keys in the TagKeys /// input parameter. /// /// 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 CodeDeploy. /// /// The application does not exist with the IAM user or Amazon Web Services account. /// /// /// The specified ARN is not supported. For example, it might be an ARN for a resource /// that is not expected. /// /// /// The deployment configuration does not exist with the IAM user or Amazon Web Services /// account. /// /// /// The named deployment group with the IAM user or Amazon Web Services account does not /// exist. /// /// /// The specified ARN is not in a valid format. /// /// /// The specified tags are not valid. /// /// /// The ARN of a resource is required, but was not found. /// /// /// A tag was not specified. /// /// REST API Reference for UntagResource Operation Task UntagResourceAsync(UntagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateApplication /// /// Changes the name of 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 CodeDeploy. /// /// An application with the specified name with the IAM user or Amazon Web Services account /// already exists. /// /// /// The application does not exist with the IAM user or Amazon Web Services account. /// /// /// The minimum number of required application names was not specified. /// /// /// The application name was specified in an invalid format. /// /// REST API Reference for UpdateApplication Operation Task UpdateApplicationAsync(UpdateApplicationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateDeploymentGroup /// /// Changes information about a deployment group. /// /// Container for the necessary parameters to execute the UpdateDeploymentGroup service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateDeploymentGroup service method, as returned by CodeDeploy. /// /// The maximum number of alarms for a deployment group (10) was exceeded. /// /// /// The application does not exist with the IAM user or Amazon Web Services account. /// /// /// The minimum number of required application names was not specified. /// /// /// The deployment configuration does not exist with the IAM user or Amazon Web Services /// account. /// /// /// A deployment group with the specified name with the IAM user or Amazon Web Services /// account already exists. /// /// /// The named deployment group with the IAM user or Amazon Web Services account does not /// exist. /// /// /// The deployment group name was not specified. /// /// /// The Amazon ECS service is associated with more than one deployment groups. An Amazon /// ECS service can be associated with only one deployment group. /// /// /// The format of the alarm configuration is invalid. Possible causes include: /// ///
  • /// /// The alarm list is null. /// ///
  • /// /// The alarm object is null. /// ///
  • /// /// The alarm name is empty or null or exceeds the limit of 255 characters. /// ///
  • /// /// Two alarms with the same name have been specified. /// ///
  • /// /// The alarm configuration is enabled, but the alarm list is empty. /// ///
///
/// /// The application name was specified in an invalid format. /// /// /// The automatic rollback configuration was specified in an invalid format. For example, /// automatic rollback is enabled, but an invalid triggering event type or no event types /// were listed. /// /// /// The Auto Scaling group was specified in an invalid format or does not exist. /// /// /// The configuration for the blue/green deployment group was provided in an invalid format. /// For information about deployment configuration format, see CreateDeploymentConfig. /// /// /// The deployment configuration name was specified in an invalid format. /// /// /// The deployment group name was specified in an invalid format. /// /// /// An invalid deployment style was specified. Valid deployment types include "IN_PLACE" /// and "BLUE_GREEN." Valid deployment options include "WITH_TRAFFIC_CONTROL" and "WITHOUT_TRAFFIC_CONTROL." /// /// /// A call was submitted that specified both Ec2TagFilters and Ec2TagSet, but only one /// of these data types can be used in a single call. /// /// /// The tag was specified in an invalid format. /// /// /// The Amazon ECS service identifier is not valid. /// /// /// The input was specified in an invalid format. /// /// /// An invalid load balancer name, or no load balancer name, was specified. /// /// /// A call was submitted that specified both OnPremisesTagFilters and OnPremisesTagSet, /// but only one of these data types can be used in a single call. /// /// /// The service role ARN was specified in an invalid format. Or, if an Auto Scaling group /// was specified, the specified service role does not grant the appropriate permissions /// to Amazon EC2 Auto Scaling. /// /// /// The tag was specified in an invalid format. /// /// /// A target group pair associated with this deployment is not valid. /// /// /// The configuration that specifies how traffic is routed during a deployment is invalid. /// /// /// The trigger was specified in an invalid format. /// /// /// The limit for lifecycle hooks was exceeded. /// /// /// The number of tag groups included in the tag set list exceeded the maximum allowed /// limit of 3. /// /// /// An API function was called too frequently. /// /// /// The maximum allowed number of triggers was exceeded. /// /// REST API Reference for UpdateDeploymentGroup Operation Task UpdateDeploymentGroupAsync(UpdateDeploymentGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion } }