Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

CodeDeploy

import { CodeDeploy } from "https://aws-api.deno.dev/v0.4/services/codedeploy.ts?docs=full";
class CodeDeploy {
constructor(apiFactory: client.ApiFactory);
async addTagsToOnPremisesInstances(params: AddTagsToOnPremisesInstancesInput, opts?: client.RequestOptions): Promise<void>;
async batchGetApplicationRevisions(params: BatchGetApplicationRevisionsInput, opts?: client.RequestOptions): Promise<BatchGetApplicationRevisionsOutput>;
async batchGetApplications(params: BatchGetApplicationsInput, opts?: client.RequestOptions): Promise<BatchGetApplicationsOutput>;
async batchGetDeploymentGroups(params: BatchGetDeploymentGroupsInput, opts?: client.RequestOptions): Promise<BatchGetDeploymentGroupsOutput>;
async batchGetDeploymentInstances(params: BatchGetDeploymentInstancesInput, opts?: client.RequestOptions): Promise<BatchGetDeploymentInstancesOutput>;
async batchGetDeployments(params: BatchGetDeploymentsInput, opts?: client.RequestOptions): Promise<BatchGetDeploymentsOutput>;
async batchGetDeploymentTargets(params?: BatchGetDeploymentTargetsInput, opts?: client.RequestOptions): Promise<BatchGetDeploymentTargetsOutput>;
async batchGetOnPremisesInstances(params: BatchGetOnPremisesInstancesInput, opts?: client.RequestOptions): Promise<BatchGetOnPremisesInstancesOutput>;
async continueDeployment(params?: ContinueDeploymentInput, opts?: client.RequestOptions): Promise<void>;
async createApplication(params: CreateApplicationInput, opts?: client.RequestOptions): Promise<CreateApplicationOutput>;
async createDeployment(params: CreateDeploymentInput, opts?: client.RequestOptions): Promise<CreateDeploymentOutput>;
async createDeploymentConfig(params: CreateDeploymentConfigInput, opts?: client.RequestOptions): Promise<CreateDeploymentConfigOutput>;
async createDeploymentGroup(params: CreateDeploymentGroupInput, opts?: client.RequestOptions): Promise<CreateDeploymentGroupOutput>;
async deleteApplication(params: DeleteApplicationInput, opts?: client.RequestOptions): Promise<void>;
async deleteDeploymentConfig(params: DeleteDeploymentConfigInput, opts?: client.RequestOptions): Promise<void>;
async deleteDeploymentGroup(params: DeleteDeploymentGroupInput, opts?: client.RequestOptions): Promise<DeleteDeploymentGroupOutput>;
async deleteGitHubAccountToken(params?: DeleteGitHubAccountTokenInput, opts?: client.RequestOptions): Promise<DeleteGitHubAccountTokenOutput>;
async deleteResourcesByExternalId(params?: DeleteResourcesByExternalIdInput, opts?: client.RequestOptions): Promise<void>;
async deregisterOnPremisesInstance(params: DeregisterOnPremisesInstanceInput, opts?: client.RequestOptions): Promise<void>;
async getApplication(params: GetApplicationInput, opts?: client.RequestOptions): Promise<GetApplicationOutput>;
async getApplicationRevision(params: GetApplicationRevisionInput, opts?: client.RequestOptions): Promise<GetApplicationRevisionOutput>;
async getDeployment(params: GetDeploymentInput, opts?: client.RequestOptions): Promise<GetDeploymentOutput>;
async getDeploymentConfig(params: GetDeploymentConfigInput, opts?: client.RequestOptions): Promise<GetDeploymentConfigOutput>;
async getDeploymentGroup(params: GetDeploymentGroupInput, opts?: client.RequestOptions): Promise<GetDeploymentGroupOutput>;
async getDeploymentInstance(params: GetDeploymentInstanceInput, opts?: client.RequestOptions): Promise<GetDeploymentInstanceOutput>;
async getDeploymentTarget(params?: GetDeploymentTargetInput, opts?: client.RequestOptions): Promise<GetDeploymentTargetOutput>;
async getOnPremisesInstance(params: GetOnPremisesInstanceInput, opts?: client.RequestOptions): Promise<GetOnPremisesInstanceOutput>;
async listApplicationRevisions(params: ListApplicationRevisionsInput, opts?: client.RequestOptions): Promise<ListApplicationRevisionsOutput>;
async listApplications(params?: ListApplicationsInput, opts?: client.RequestOptions): Promise<ListApplicationsOutput>;
async listDeploymentConfigs(params?: ListDeploymentConfigsInput, opts?: client.RequestOptions): Promise<ListDeploymentConfigsOutput>;
async listDeploymentGroups(params: ListDeploymentGroupsInput, opts?: client.RequestOptions): Promise<ListDeploymentGroupsOutput>;
async listDeploymentInstances(params: ListDeploymentInstancesInput, opts?: client.RequestOptions): Promise<ListDeploymentInstancesOutput>;
async listDeployments(params?: ListDeploymentsInput, opts?: client.RequestOptions): Promise<ListDeploymentsOutput>;
async listDeploymentTargets(params?: ListDeploymentTargetsInput, opts?: client.RequestOptions): Promise<ListDeploymentTargetsOutput>;
async listGitHubAccountTokenNames(params?: ListGitHubAccountTokenNamesInput, opts?: client.RequestOptions): Promise<ListGitHubAccountTokenNamesOutput>;
async listOnPremisesInstances(params?: ListOnPremisesInstancesInput, opts?: client.RequestOptions): Promise<ListOnPremisesInstancesOutput>;
async listTagsForResource(params: ListTagsForResourceInput, opts?: client.RequestOptions): Promise<ListTagsForResourceOutput>;
async putLifecycleEventHookExecutionStatus(params?: PutLifecycleEventHookExecutionStatusInput, opts?: client.RequestOptions): Promise<PutLifecycleEventHookExecutionStatusOutput>;
async registerApplicationRevision(params: RegisterApplicationRevisionInput, opts?: client.RequestOptions): Promise<void>;
async registerOnPremisesInstance(params: RegisterOnPremisesInstanceInput, opts?: client.RequestOptions): Promise<void>;
async removeTagsFromOnPremisesInstances(params: RemoveTagsFromOnPremisesInstancesInput, opts?: client.RequestOptions): Promise<void>;
async skipWaitTimeForInstanceTermination(params?: SkipWaitTimeForInstanceTerminationInput, opts?: client.RequestOptions): Promise<void>;
async stopDeployment(params: StopDeploymentInput, opts?: client.RequestOptions): Promise<StopDeploymentOutput>;
async tagResource(params: TagResourceInput, opts?: client.RequestOptions): Promise<void>;
async untagResource(params: UntagResourceInput, opts?: client.RequestOptions): Promise<void>;
async updateApplication(params?: UpdateApplicationInput, opts?: client.RequestOptions): Promise<void>;
async updateDeploymentGroup(params: UpdateDeploymentGroupInput, opts?: client.RequestOptions): Promise<UpdateDeploymentGroupOutput>;
async waitForDeploymentSuccessful(params: GetDeploymentInput, opts?: client.RequestOptions): Promise<GetDeploymentOutput>;
 
static ApiMetadata: client.ApiMetadata;
}

§Constructors

§
new CodeDeploy(apiFactory: client.ApiFactory)
[src]

§Methods

§
addTagsToOnPremisesInstances(params: AddTagsToOnPremisesInstancesInput, opts?: client.RequestOptions): Promise<void>
[src]

Adds tags to on-premises instances.

§

Gets information about one or more application revisions. The maximum number of application revisions that can be returned is 25.

§

Gets information about one or more applications. The maximum number of applications that can be returned is 100.

§

Gets information about one or more deployment groups.

§

Note: 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.

§

Gets information about one or more deployments. The maximum number of deployments that can be returned is 25.

§

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.
§

Gets information about one or more on-premises instances. The maximum number of on-premises instances that can be returned is 25.

§
continueDeployment(params?: ContinueDeploymentInput, opts?: client.RequestOptions): Promise<void>
[src]

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.)

§

Creates an application.

§
createDeployment(params: CreateDeploymentInput, opts?: client.RequestOptions): Promise<CreateDeploymentOutput>
[src]

Deploys an application revision through the specified deployment group.

§

Creates a deployment configuration.

§

Creates a deployment group to which application revisions are deployed.

§
deleteApplication(params: DeleteApplicationInput, opts?: client.RequestOptions): Promise<void>
[src]

Deletes an application.

§
deleteDeploymentConfig(params: DeleteDeploymentConfigInput, opts?: client.RequestOptions): Promise<void>
[src]

Deletes a deployment configuration.

Note: A deployment configuration cannot be deleted if it is currently in use. Predefined configurations cannot be deleted.

§

Deletes a deployment group.

§

Deletes a GitHub account connection.

§
deleteResourcesByExternalId(params?: DeleteResourcesByExternalIdInput, opts?: client.RequestOptions): Promise<void>
[src]

Deletes resources linked to an external ID.

§
deregisterOnPremisesInstance(params: DeregisterOnPremisesInstanceInput, opts?: client.RequestOptions): Promise<void>
[src]

Deregisters an on-premises instance.

§
getApplication(params: GetApplicationInput, opts?: client.RequestOptions): Promise<GetApplicationOutput>
[src]

Gets information about an application.

§

Gets information about an application revision.

§
getDeployment(params: GetDeploymentInput, opts?: client.RequestOptions): Promise<GetDeploymentOutput>
[src]

Gets information about a deployment.

Note: 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.

§

Gets information about a deployment configuration.

§

Gets information about a deployment group.

§

Gets information about an instance as part of a deployment.

§
getDeploymentTarget(params?: GetDeploymentTargetInput, opts?: client.RequestOptions): Promise<GetDeploymentTargetOutput>
[src]

Returns information about a deployment target.

§

Gets information about an on-premises instance.

§

Lists information about revisions for an application.

§
listApplications(params?: ListApplicationsInput, opts?: client.RequestOptions): Promise<ListApplicationsOutput>
[src]

Lists the applications registered with the IAM user or Amazon Web Services account.

§

Lists the deployment configurations with the IAM user or Amazon Web Services account.

§

Lists the deployment groups for an application registered with the IAM user or Amazon Web Services account.

§

Note: 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.

§
listDeployments(params?: ListDeploymentsInput, opts?: client.RequestOptions): Promise<ListDeploymentsOutput>
[src]

Lists the deployments in a deployment group for an application registered with the IAM user or Amazon Web Services account.

§

Returns an array of target IDs that are associated a deployment.

§

Lists the names of stored connections to GitHub accounts.

§

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.

§

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.

§

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.

§
registerApplicationRevision(params: RegisterApplicationRevisionInput, opts?: client.RequestOptions): Promise<void>
[src]

Registers with CodeDeploy a revision for the specified application.

§
registerOnPremisesInstance(params: RegisterOnPremisesInstanceInput, opts?: client.RequestOptions): Promise<void>
[src]

Registers an on-premises instance.

Note: Only one IAM ARN (an IAM session ARN or IAM user ARN) is supported in the request. You cannot use both.

§
removeTagsFromOnPremisesInstances(params: RemoveTagsFromOnPremisesInstancesInput, opts?: client.RequestOptions): Promise<void>
[src]

Removes one or more tags from one or more on-premises instances.

§
skipWaitTimeForInstanceTermination(params?: SkipWaitTimeForInstanceTerminationInput, opts?: client.RequestOptions): Promise<void>
[src]

In a blue/green deployment, overrides any specified wait time and starts terminating instances immediately after the traffic routing is complete.

§
stopDeployment(params: StopDeploymentInput, opts?: client.RequestOptions): Promise<StopDeploymentOutput>
[src]

Attempts to stop an ongoing deployment.

§
tagResource(params: TagResourceInput, opts?: client.RequestOptions): Promise<void>
[src]

Associates the list of tags in the input Tags parameter with the resource identified by the ResourceArn input parameter.

§
untagResource(params: UntagResourceInput, opts?: client.RequestOptions): Promise<void>
[src]

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.

§
updateApplication(params?: UpdateApplicationInput, opts?: client.RequestOptions): Promise<void>
[src]

Changes the name of an application.

§

Changes information about a deployment group.

§
waitForDeploymentSuccessful(params: GetDeploymentInput, opts?: client.RequestOptions): Promise<GetDeploymentOutput>
[src]

Checks state up to 120 times, 15 seconds apart (about 30 minutes max wait time).

§Static Properties