AWS SDK Version 2 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

.NET Framework 3.5
 
Implementation for accessing CodeDeploy AWS CodeDeploy Overview

This is the AWS CodeDeploy API Reference. This guide provides descriptions of the AWS CodeDeploy APIs. For additional information, see the AWS CodeDeploy User Guide.

Using the APIs

You can use the AWS CodeDeploy APIs to work with the following items:

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonServiceClient
    Amazon.CodeDeploy.AmazonCodeDeployClient

Namespace: Amazon.CodeDeploy
Assembly: AWSSDK.dll
Version: (assembly version)

Syntax

C#
public class AmazonCodeDeployClient : AmazonServiceClient
         IAmazonCodeDeploy, IDisposable

The AmazonCodeDeployClient type exposes the following members

Constructors

NameDescription
Public Method AmazonCodeDeployClient() Constructs AmazonCodeDeployClient 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 Method AmazonCodeDeployClient(RegionEndpoint) Constructs AmazonCodeDeployClient 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 Method AmazonCodeDeployClient(AmazonCodeDeployConfig) Constructs AmazonCodeDeployClient 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 Method AmazonCodeDeployClient(AWSCredentials) Constructs AmazonCodeDeployClient with AWS Credentials
Public Method AmazonCodeDeployClient(AWSCredentials, RegionEndpoint) Constructs AmazonCodeDeployClient with AWS Credentials
Public Method AmazonCodeDeployClient(AWSCredentials, AmazonCodeDeployConfig) Constructs AmazonCodeDeployClient with AWS Credentials and an AmazonCodeDeployClient Configuration object.
Public Method AmazonCodeDeployClient(string, string) Constructs AmazonCodeDeployClient with AWS Access Key ID and AWS Secret Key
Public Method AmazonCodeDeployClient(string, string, RegionEndpoint) Constructs AmazonCodeDeployClient with AWS Access Key ID and AWS Secret Key
Public Method AmazonCodeDeployClient(string, string, AmazonCodeDeployConfig) Constructs AmazonCodeDeployClient with AWS Access Key ID, AWS Secret Key and an AmazonCodeDeployClient Configuration object.
Public Method AmazonCodeDeployClient(string, string, string) Constructs AmazonCodeDeployClient with AWS Access Key ID and AWS Secret Key
Public Method AmazonCodeDeployClient(string, string, string, RegionEndpoint) Constructs AmazonCodeDeployClient with AWS Access Key ID and AWS Secret Key
Public Method AmazonCodeDeployClient(string, string, string, AmazonCodeDeployConfig) Constructs AmazonCodeDeployClient with AWS Access Key ID, AWS Secret Key and an AmazonCodeDeployClient Configuration object.

Methods

NameDescription
Public Method AddTagsToOnPremisesInstances(AddTagsToOnPremisesInstancesRequest) Adds tags to on-premises instances.
Public Method BatchGetApplicationRevisions(BatchGetApplicationRevisionsRequest) Gets information about one or more application revisions.
Public Method BatchGetApplications(BatchGetApplicationsRequest) Gets information about one or more applications.
Public Method BatchGetDeploymentInstances(BatchGetDeploymentInstancesRequest) Gets information about one or more instances that are part of a deployment group.
Public Method BatchGetDeployments(BatchGetDeploymentsRequest) Gets information about one or more deployments.
Public Method BatchGetOnPremisesInstances(BatchGetOnPremisesInstancesRequest) Gets information about one or more on-premises instances.
Public Method BeginAddTagsToOnPremisesInstances(AddTagsToOnPremisesInstancesRequest, AsyncCallback, object) Initiates the asynchronous execution of the AddTagsToOnPremisesInstances operation.
Public Method BeginBatchGetApplicationRevisions(BatchGetApplicationRevisionsRequest, AsyncCallback, object) Initiates the asynchronous execution of the BatchGetApplicationRevisions operation.
Public Method BeginBatchGetApplications(BatchGetApplicationsRequest, AsyncCallback, object) Initiates the asynchronous execution of the BatchGetApplications operation.
Public Method BeginBatchGetDeploymentInstances(BatchGetDeploymentInstancesRequest, AsyncCallback, object) Initiates the asynchronous execution of the BatchGetDeploymentInstances operation.
Public Method BeginBatchGetDeployments(BatchGetDeploymentsRequest, AsyncCallback, object) Initiates the asynchronous execution of the BatchGetDeployments operation.
Public Method BeginBatchGetOnPremisesInstances(BatchGetOnPremisesInstancesRequest, AsyncCallback, object) Initiates the asynchronous execution of the BatchGetOnPremisesInstances operation.
Public Method BeginCreateApplication(CreateApplicationRequest, AsyncCallback, object) Initiates the asynchronous execution of the CreateApplication operation.
Public Method BeginCreateDeployment(CreateDeploymentRequest, AsyncCallback, object) Initiates the asynchronous execution of the CreateDeployment operation.
Public Method BeginCreateDeploymentConfig(CreateDeploymentConfigRequest, AsyncCallback, object) Initiates the asynchronous execution of the CreateDeploymentConfig operation.
Public Method BeginCreateDeploymentGroup(CreateDeploymentGroupRequest, AsyncCallback, object) Initiates the asynchronous execution of the CreateDeploymentGroup operation.
Public Method BeginDeleteApplication(DeleteApplicationRequest, AsyncCallback, object) Initiates the asynchronous execution of the DeleteApplication operation.
Public Method BeginDeleteDeploymentConfig(DeleteDeploymentConfigRequest, AsyncCallback, object) Initiates the asynchronous execution of the DeleteDeploymentConfig operation.
Public Method BeginDeleteDeploymentGroup(DeleteDeploymentGroupRequest, AsyncCallback, object) Initiates the asynchronous execution of the DeleteDeploymentGroup operation.
Public Method BeginDeregisterOnPremisesInstance(DeregisterOnPremisesInstanceRequest, AsyncCallback, object) Initiates the asynchronous execution of the DeregisterOnPremisesInstance operation.
Public Method BeginGetApplication(GetApplicationRequest, AsyncCallback, object) Initiates the asynchronous execution of the GetApplication operation.
Public Method BeginGetApplicationRevision(GetApplicationRevisionRequest, AsyncCallback, object) Initiates the asynchronous execution of the GetApplicationRevision operation.
Public Method BeginGetDeployment(GetDeploymentRequest, AsyncCallback, object) Initiates the asynchronous execution of the GetDeployment operation.
Public Method BeginGetDeploymentConfig(GetDeploymentConfigRequest, AsyncCallback, object) Initiates the asynchronous execution of the GetDeploymentConfig operation.
Public Method BeginGetDeploymentGroup(GetDeploymentGroupRequest, AsyncCallback, object) Initiates the asynchronous execution of the GetDeploymentGroup operation.
Public Method BeginGetDeploymentInstance(GetDeploymentInstanceRequest, AsyncCallback, object) Initiates the asynchronous execution of the GetDeploymentInstance operation.
Public Method BeginGetOnPremisesInstance(GetOnPremisesInstanceRequest, AsyncCallback, object) Initiates the asynchronous execution of the GetOnPremisesInstance operation.
Public Method BeginListApplicationRevisions(ListApplicationRevisionsRequest, AsyncCallback, object) Initiates the asynchronous execution of the ListApplicationRevisions operation.
Public Method BeginListApplications(ListApplicationsRequest, AsyncCallback, object) Initiates the asynchronous execution of the ListApplications operation.
Public Method BeginListDeploymentConfigs(ListDeploymentConfigsRequest, AsyncCallback, object) Initiates the asynchronous execution of the ListDeploymentConfigs operation.
Public Method BeginListDeploymentGroups(ListDeploymentGroupsRequest, AsyncCallback, object) Initiates the asynchronous execution of the ListDeploymentGroups operation.
Public Method BeginListDeploymentInstances(ListDeploymentInstancesRequest, AsyncCallback, object) Initiates the asynchronous execution of the ListDeploymentInstances operation.
Public Method BeginListDeployments(ListDeploymentsRequest, AsyncCallback, object) Initiates the asynchronous execution of the ListDeployments operation.
Public Method BeginListOnPremisesInstances(ListOnPremisesInstancesRequest, AsyncCallback, object) Initiates the asynchronous execution of the ListOnPremisesInstances operation.
Public Method BeginRegisterApplicationRevision(RegisterApplicationRevisionRequest, AsyncCallback, object) Initiates the asynchronous execution of the RegisterApplicationRevision operation.
Public Method BeginRegisterOnPremisesInstance(RegisterOnPremisesInstanceRequest, AsyncCallback, object) Initiates the asynchronous execution of the RegisterOnPremisesInstance operation.
Public Method BeginRemoveTagsFromOnPremisesInstances(RemoveTagsFromOnPremisesInstancesRequest, AsyncCallback, object) Initiates the asynchronous execution of the RemoveTagsFromOnPremisesInstances operation.
Public Method BeginStopDeployment(StopDeploymentRequest, AsyncCallback, object) Initiates the asynchronous execution of the StopDeployment operation.
Public Method BeginUpdateApplication(UpdateApplicationRequest, AsyncCallback, object) Initiates the asynchronous execution of the UpdateApplication operation.
Public Method BeginUpdateDeploymentGroup(UpdateDeploymentGroupRequest, AsyncCallback, object) Initiates the asynchronous execution of the UpdateDeploymentGroup operation.
Public Method CreateApplication(CreateApplicationRequest) Creates a new application.
Public Method CreateDeployment(CreateDeploymentRequest) Deploys an application revision through the specified deployment group.
Public Method CreateDeploymentConfig(CreateDeploymentConfigRequest) Creates a new deployment configuration.
Public Method CreateDeploymentGroup(CreateDeploymentGroupRequest) Creates a new deployment group for application revisions to be deployed to.
Public Method DeleteApplication(DeleteApplicationRequest) Deletes an application.
Public Method DeleteDeploymentConfig(DeleteDeploymentConfigRequest) Deletes a deployment configuration. A deployment configuration cannot be deleted if it is currently in use. Also, predefined configurations cannot be deleted.
Public Method DeleteDeploymentGroup(DeleteDeploymentGroupRequest) Deletes a deployment group.
Public Method DeregisterOnPremisesInstance(DeregisterOnPremisesInstanceRequest) Deregisters an on-premises instance.
Public Method Dispose() Inherited from Amazon.Runtime.AmazonServiceClient.
Public Method EndAddTagsToOnPremisesInstances(IAsyncResult) Finishes the asynchronous execution of the AddTagsToOnPremisesInstances operation.
Public Method EndBatchGetApplicationRevisions(IAsyncResult) Finishes the asynchronous execution of the BatchGetApplicationRevisions operation.
Public Method EndBatchGetApplications(IAsyncResult) Finishes the asynchronous execution of the BatchGetApplications operation.
Public Method EndBatchGetDeploymentInstances(IAsyncResult) Finishes the asynchronous execution of the BatchGetDeploymentInstances operation.
Public Method EndBatchGetDeployments(IAsyncResult) Finishes the asynchronous execution of the BatchGetDeployments operation.
Public Method EndBatchGetOnPremisesInstances(IAsyncResult) Finishes the asynchronous execution of the BatchGetOnPremisesInstances operation.
Public Method EndCreateApplication(IAsyncResult) Finishes the asynchronous execution of the CreateApplication operation.
Public Method EndCreateDeployment(IAsyncResult) Finishes the asynchronous execution of the CreateDeployment operation.
Public Method EndCreateDeploymentConfig(IAsyncResult) Finishes the asynchronous execution of the CreateDeploymentConfig operation.
Public Method EndCreateDeploymentGroup(IAsyncResult) Finishes the asynchronous execution of the CreateDeploymentGroup operation.
Public Method EndDeleteApplication(IAsyncResult) Finishes the asynchronous execution of the DeleteApplication operation.
Public Method EndDeleteDeploymentConfig(IAsyncResult) Finishes the asynchronous execution of the DeleteDeploymentConfig operation.
Public Method EndDeleteDeploymentGroup(IAsyncResult) Finishes the asynchronous execution of the DeleteDeploymentGroup operation.
Public Method EndDeregisterOnPremisesInstance(IAsyncResult) Finishes the asynchronous execution of the DeregisterOnPremisesInstance operation.
Public Method EndGetApplication(IAsyncResult) Finishes the asynchronous execution of the GetApplication operation.
Public Method EndGetApplicationRevision(IAsyncResult) Finishes the asynchronous execution of the GetApplicationRevision operation.
Public Method EndGetDeployment(IAsyncResult) Finishes the asynchronous execution of the GetDeployment operation.
Public Method EndGetDeploymentConfig(IAsyncResult) Finishes the asynchronous execution of the GetDeploymentConfig operation.
Public Method EndGetDeploymentGroup(IAsyncResult) Finishes the asynchronous execution of the GetDeploymentGroup operation.
Public Method EndGetDeploymentInstance(IAsyncResult) Finishes the asynchronous execution of the GetDeploymentInstance operation.
Public Method EndGetOnPremisesInstance(IAsyncResult) Finishes the asynchronous execution of the GetOnPremisesInstance operation.
Public Method EndListApplicationRevisions(IAsyncResult) Finishes the asynchronous execution of the ListApplicationRevisions operation.
Public Method EndListApplications(IAsyncResult) Finishes the asynchronous execution of the ListApplications operation.
Public Method EndListDeploymentConfigs(IAsyncResult) Finishes the asynchronous execution of the ListDeploymentConfigs operation.
Public Method EndListDeploymentGroups(IAsyncResult) Finishes the asynchronous execution of the ListDeploymentGroups operation.
Public Method EndListDeploymentInstances(IAsyncResult) Finishes the asynchronous execution of the ListDeploymentInstances operation.
Public Method EndListDeployments(IAsyncResult) Finishes the asynchronous execution of the ListDeployments operation.
Public Method EndListOnPremisesInstances(IAsyncResult) Finishes the asynchronous execution of the ListOnPremisesInstances operation.
Public Method EndRegisterApplicationRevision(IAsyncResult) Finishes the asynchronous execution of the RegisterApplicationRevision operation.
Public Method EndRegisterOnPremisesInstance(IAsyncResult) Finishes the asynchronous execution of the RegisterOnPremisesInstance operation.
Public Method EndRemoveTagsFromOnPremisesInstances(IAsyncResult) Finishes the asynchronous execution of the RemoveTagsFromOnPremisesInstances operation.
Public Method EndStopDeployment(IAsyncResult) Finishes the asynchronous execution of the StopDeployment operation.
Public Method EndUpdateApplication(IAsyncResult) Finishes the asynchronous execution of the UpdateApplication operation.
Public Method EndUpdateDeploymentGroup(IAsyncResult) Finishes the asynchronous execution of the UpdateDeploymentGroup operation.
Public Method GetApplication(GetApplicationRequest) Gets information about an application.
Public Method GetApplicationRevision(GetApplicationRevisionRequest) Gets information about an application revision.
Public Method GetDeployment(GetDeploymentRequest) Gets information about a deployment.
Public Method GetDeploymentConfig(GetDeploymentConfigRequest) Gets information about a deployment configuration.
Public Method GetDeploymentGroup(GetDeploymentGroupRequest) Gets information about a deployment group.
Public Method GetDeploymentInstance(GetDeploymentInstanceRequest) Gets information about an instance as part of a deployment.
Public Method GetOnPremisesInstance(GetOnPremisesInstanceRequest) Gets information about an on-premises instance.
Public Method ListApplicationRevisions(ListApplicationRevisionsRequest) Lists information about revisions for an application.
Public Method ListApplications() Lists the applications registered with the applicable IAM user or AWS account.
Public Method ListApplications(ListApplicationsRequest) Lists the applications registered with the applicable IAM user or AWS account.
Public Method ListDeploymentConfigs() Lists the deployment configurations with the applicable IAM user or AWS account.
Public Method ListDeploymentConfigs(ListDeploymentConfigsRequest) Lists the deployment configurations with the applicable IAM user or AWS account.
Public Method ListDeploymentGroups(ListDeploymentGroupsRequest) Lists the deployment groups for an application registered with the applicable IAM user or AWS account.
Public Method ListDeploymentInstances(ListDeploymentInstancesRequest) Lists the instances for a deployment associated with the applicable IAM user or AWS account.
Public Method ListDeployments(ListDeploymentsRequest) Lists the deployments within a deployment group for an application registered with the applicable IAM user or AWS account.
Public Method ListOnPremisesInstances(ListOnPremisesInstancesRequest) Gets a list of one or more on-premises instance names.

Unless otherwise specified, both registered and deregistered on-premises instance names will be listed. To list only registered or deregistered on-premises instance names, use the registration status parameter.

Public Method RegisterApplicationRevision(RegisterApplicationRevisionRequest) Registers with AWS CodeDeploy a revision for the specified application.
Public Method RegisterOnPremisesInstance(RegisterOnPremisesInstanceRequest) Registers an on-premises instance.
Public Method RemoveTagsFromOnPremisesInstances(RemoveTagsFromOnPremisesInstancesRequest) Removes one or more tags from one or more on-premises instances.
Public Method StopDeployment(StopDeploymentRequest) Attempts to stop an ongoing deployment.
Public Method UpdateApplication(UpdateApplicationRequest) Changes an existing application's name.
Public Method UpdateDeploymentGroup(UpdateDeploymentGroupRequest) Changes information about an existing deployment group.

Events

NameDescription
Event AfterResponseEvent Inherited from Amazon.Runtime.AmazonServiceClient.
Event BeforeRequestEvent Inherited from Amazon.Runtime.AmazonServiceClient.
Event ExceptionEvent Inherited from Amazon.Runtime.AmazonServiceClient.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5