@cdklabs/cdk-ecs-codedeploy 0.0.131 → 0.0.133
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.jsii +3 -3
- package/lib/api-canary/index.js +1 -1
- package/lib/ecs-appspec/index.js +1 -1
- package/lib/ecs-deployment/index.js +1 -1
- package/lib/ecs-patterns/application-load-balanced-codedeployed-fargate-service.js +1 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/CodeDeploy.js +51 -658
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/CodeDeploy.js +51 -658
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/CodeDeploy.d.ts +146 -278
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/CodeDeploy.d.ts +4 -1
- package/node_modules/@aws-sdk/client-codedeploy/package.json +6 -6
- package/node_modules/@aws-sdk/client-sso/dist-cjs/SSO.js +8 -56
- package/node_modules/@aws-sdk/client-sso/dist-es/SSO.js +8 -56
- package/node_modules/@aws-sdk/client-sso/dist-types/SSO.d.ts +27 -47
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/SSO.d.ts +2 -1
- package/node_modules/@aws-sdk/client-sso/package.json +4 -4
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/SSOOIDC.js +7 -42
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/SSOOIDC.js +7 -42
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/SSOOIDC.d.ts +21 -26
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/SSOOIDC.d.ts +2 -1
- package/node_modules/@aws-sdk/client-sso-oidc/package.json +4 -4
- package/node_modules/@aws-sdk/client-sts/dist-cjs/STS.js +12 -112
- package/node_modules/@aws-sdk/client-sts/dist-es/STS.js +12 -112
- package/node_modules/@aws-sdk/client-sts/dist-types/STS.d.ts +19 -577
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/STS.d.ts +2 -1
- package/node_modules/@aws-sdk/client-sts/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-node/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +3 -3
- package/node_modules/@aws-sdk/smithy-client/dist-cjs/create-aggregated-client.js +25 -0
- package/node_modules/@aws-sdk/smithy-client/dist-cjs/index.js +1 -0
- package/node_modules/@aws-sdk/smithy-client/dist-es/create-aggregated-client.js +21 -0
- package/node_modules/@aws-sdk/smithy-client/dist-es/index.js +1 -0
- package/node_modules/@aws-sdk/smithy-client/dist-types/create-aggregated-client.d.ts +9 -0
- package/node_modules/@aws-sdk/smithy-client/dist-types/index.d.ts +1 -0
- package/node_modules/@aws-sdk/smithy-client/dist-types/object-mapping.d.ts +1 -1
- package/node_modules/@aws-sdk/smithy-client/dist-types/ts3.4/create-aggregated-client.d.ts +5 -0
- package/node_modules/@aws-sdk/smithy-client/dist-types/ts3.4/index.d.ts +1 -0
- package/node_modules/@aws-sdk/smithy-client/dist-types/ts3.4/object-mapping.d.ts +1 -1
- package/node_modules/@aws-sdk/smithy-client/package.json +1 -1
- package/node_modules/@aws-sdk/token-providers/package.json +2 -2
- package/node_modules/@aws-sdk/util-defaults-mode-browser/package.json +2 -2
- package/node_modules/@aws-sdk/util-defaults-mode-node/package.json +2 -2
- package/package.json +4 -4
|
@@ -47,517 +47,385 @@ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/Ta
|
|
|
47
47
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
48
48
|
import { UpdateApplicationCommandInput, UpdateApplicationCommandOutput } from "./commands/UpdateApplicationCommand";
|
|
49
49
|
import { UpdateDeploymentGroupCommandInput, UpdateDeploymentGroupCommandOutput } from "./commands/UpdateDeploymentGroupCommand";
|
|
50
|
-
|
|
51
|
-
* @public
|
|
52
|
-
* <p>CodeDeploy is a deployment service that automates application deployments
|
|
53
|
-
* to Amazon EC2 instances, on-premises instances running in your own facility,
|
|
54
|
-
* serverless Lambda functions, or applications in an Amazon ECS
|
|
55
|
-
* service.</p>
|
|
56
|
-
* <p>You can deploy a nearly unlimited variety of application content, such as an updated
|
|
57
|
-
* Lambda function, updated applications in an Amazon ECS service,
|
|
58
|
-
* code, web and configuration files, executables, packages, scripts, multimedia files, and
|
|
59
|
-
* so on. CodeDeploy can deploy application content stored in Amazon S3
|
|
60
|
-
* buckets, GitHub repositories, or Bitbucket repositories. You do not need to make changes
|
|
61
|
-
* to your existing code before you can use CodeDeploy.</p>
|
|
62
|
-
* <p>CodeDeploy makes it easier for you to rapidly release new features, helps
|
|
63
|
-
* you avoid downtime during application deployment, and handles the complexity of updating
|
|
64
|
-
* your applications, without many of the risks associated with error-prone manual
|
|
65
|
-
* deployments.</p>
|
|
66
|
-
* <p>
|
|
67
|
-
* <b>CodeDeploy Components</b>
|
|
68
|
-
* </p>
|
|
69
|
-
* <p>Use the information in this guide to help you work with the following CodeDeploy components:</p>
|
|
70
|
-
* <ul>
|
|
71
|
-
* <li>
|
|
72
|
-
* <p>
|
|
73
|
-
* <b>Application</b>: A name that uniquely identifies
|
|
74
|
-
* the application you want to deploy. CodeDeploy uses this name, which
|
|
75
|
-
* functions as a container, to ensure the correct combination of revision,
|
|
76
|
-
* deployment configuration, and deployment group are referenced during a
|
|
77
|
-
* deployment.</p>
|
|
78
|
-
* </li>
|
|
79
|
-
* <li>
|
|
80
|
-
* <p>
|
|
81
|
-
* <b>Deployment group</b>: A set of individual
|
|
82
|
-
* instances, CodeDeploy
|
|
83
|
-
* Lambda deployment configuration settings, or an Amazon ECS
|
|
84
|
-
* service and network details. A Lambda deployment group specifies how
|
|
85
|
-
* to route traffic to a new version of a Lambda function. An Amazon ECS deployment group specifies the service created in Amazon ECS to deploy, a load balancer, and a listener to reroute production
|
|
86
|
-
* traffic to an updated containerized application. An Amazon EC2/On-premises deployment group contains individually tagged instances, Amazon EC2 instances in Amazon EC2 Auto Scaling groups, or both. All
|
|
87
|
-
* deployment groups can specify optional trigger, alarm, and rollback
|
|
88
|
-
* settings.</p>
|
|
89
|
-
* </li>
|
|
90
|
-
* <li>
|
|
91
|
-
* <p>
|
|
92
|
-
* <b>Deployment configuration</b>: A set of deployment
|
|
93
|
-
* rules and deployment success and failure conditions used by CodeDeploy during a deployment.</p>
|
|
94
|
-
* </li>
|
|
95
|
-
* <li>
|
|
96
|
-
* <p>
|
|
97
|
-
* <b>Deployment</b>: The process and the components used
|
|
98
|
-
* when updating a Lambda function, a containerized application in an
|
|
99
|
-
* Amazon ECS service, or of installing content on one or more
|
|
100
|
-
* instances. </p>
|
|
101
|
-
* </li>
|
|
102
|
-
* <li>
|
|
103
|
-
* <p>
|
|
104
|
-
* <b>Application revisions</b>: For an Lambda deployment, this is an AppSpec file that specifies the
|
|
105
|
-
* Lambda function to be updated and one or more functions to
|
|
106
|
-
* validate deployment lifecycle events. For an Amazon ECS deployment, this
|
|
107
|
-
* is an AppSpec file that specifies the Amazon ECS task definition,
|
|
108
|
-
* container, and port where production traffic is rerouted. For an EC2/On-premises
|
|
109
|
-
* deployment, this is an archive file that contains source content—source code,
|
|
110
|
-
* webpages, executable files, and deployment scripts—along with an AppSpec file.
|
|
111
|
-
* Revisions are stored in Amazon S3 buckets or GitHub repositories. For
|
|
112
|
-
* Amazon S3, a revision is uniquely identified by its Amazon S3 object key and its ETag, version, or both. For GitHub, a revision is uniquely
|
|
113
|
-
* identified by its commit ID.</p>
|
|
114
|
-
* </li>
|
|
115
|
-
* </ul>
|
|
116
|
-
* <p>This guide also contains information to help you get details about the instances in
|
|
117
|
-
* your deployments, to make on-premises instances available for CodeDeploy
|
|
118
|
-
* deployments, to get details about a Lambda function deployment, and to get
|
|
119
|
-
* details about Amazon ECS service deployments.</p>
|
|
120
|
-
* <p>
|
|
121
|
-
* <b>CodeDeploy Information Resources</b>
|
|
122
|
-
* </p>
|
|
123
|
-
* <ul>
|
|
124
|
-
* <li>
|
|
125
|
-
* <p>
|
|
126
|
-
* <a href="https://docs.aws.amazon.com/codedeploy/latest/userguide">CodeDeploy User Guide</a>
|
|
127
|
-
* </p>
|
|
128
|
-
* </li>
|
|
129
|
-
* <li>
|
|
130
|
-
* <p>
|
|
131
|
-
* <a href="https://docs.aws.amazon.com/codedeploy/latest/APIReference/">CodeDeploy API Reference Guide</a>
|
|
132
|
-
* </p>
|
|
133
|
-
* </li>
|
|
134
|
-
* <li>
|
|
135
|
-
* <p>
|
|
136
|
-
* <a href="https://docs.aws.amazon.com/cli/latest/reference/deploy/index.html">CLI Reference for CodeDeploy</a>
|
|
137
|
-
* </p>
|
|
138
|
-
* </li>
|
|
139
|
-
* <li>
|
|
140
|
-
* <p>
|
|
141
|
-
* <a href="https://forums.aws.amazon.com/forum.jspa?forumID=179">CodeDeploy Developer Forum</a>
|
|
142
|
-
* </p>
|
|
143
|
-
* </li>
|
|
144
|
-
* </ul>
|
|
145
|
-
*/
|
|
146
|
-
export declare class CodeDeploy extends CodeDeployClient {
|
|
50
|
+
export interface CodeDeploy {
|
|
147
51
|
/**
|
|
148
|
-
* @
|
|
149
|
-
* <p>Adds tags to on-premises instances.</p>
|
|
52
|
+
* @see {@link AddTagsToOnPremisesInstancesCommand}
|
|
150
53
|
*/
|
|
151
54
|
addTagsToOnPremisesInstances(args: AddTagsToOnPremisesInstancesCommandInput, options?: __HttpHandlerOptions): Promise<AddTagsToOnPremisesInstancesCommandOutput>;
|
|
152
55
|
addTagsToOnPremisesInstances(args: AddTagsToOnPremisesInstancesCommandInput, cb: (err: any, data?: AddTagsToOnPremisesInstancesCommandOutput) => void): void;
|
|
153
56
|
addTagsToOnPremisesInstances(args: AddTagsToOnPremisesInstancesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AddTagsToOnPremisesInstancesCommandOutput) => void): void;
|
|
154
57
|
/**
|
|
155
|
-
* @
|
|
156
|
-
* <p>Gets information about one or more application revisions. The maximum number of
|
|
157
|
-
* application revisions that can be returned is 25.</p>
|
|
58
|
+
* @see {@link BatchGetApplicationRevisionsCommand}
|
|
158
59
|
*/
|
|
159
60
|
batchGetApplicationRevisions(args: BatchGetApplicationRevisionsCommandInput, options?: __HttpHandlerOptions): Promise<BatchGetApplicationRevisionsCommandOutput>;
|
|
160
61
|
batchGetApplicationRevisions(args: BatchGetApplicationRevisionsCommandInput, cb: (err: any, data?: BatchGetApplicationRevisionsCommandOutput) => void): void;
|
|
161
62
|
batchGetApplicationRevisions(args: BatchGetApplicationRevisionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchGetApplicationRevisionsCommandOutput) => void): void;
|
|
162
63
|
/**
|
|
163
|
-
* @
|
|
164
|
-
* <p>Gets information about one or more applications. The maximum number of applications
|
|
165
|
-
* that can be returned is 100.</p>
|
|
64
|
+
* @see {@link BatchGetApplicationsCommand}
|
|
166
65
|
*/
|
|
167
66
|
batchGetApplications(args: BatchGetApplicationsCommandInput, options?: __HttpHandlerOptions): Promise<BatchGetApplicationsCommandOutput>;
|
|
168
67
|
batchGetApplications(args: BatchGetApplicationsCommandInput, cb: (err: any, data?: BatchGetApplicationsCommandOutput) => void): void;
|
|
169
68
|
batchGetApplications(args: BatchGetApplicationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchGetApplicationsCommandOutput) => void): void;
|
|
170
69
|
/**
|
|
171
|
-
* @
|
|
172
|
-
* <p>Gets information about one or more deployment groups.</p>
|
|
70
|
+
* @see {@link BatchGetDeploymentGroupsCommand}
|
|
173
71
|
*/
|
|
174
72
|
batchGetDeploymentGroups(args: BatchGetDeploymentGroupsCommandInput, options?: __HttpHandlerOptions): Promise<BatchGetDeploymentGroupsCommandOutput>;
|
|
175
73
|
batchGetDeploymentGroups(args: BatchGetDeploymentGroupsCommandInput, cb: (err: any, data?: BatchGetDeploymentGroupsCommandOutput) => void): void;
|
|
176
74
|
batchGetDeploymentGroups(args: BatchGetDeploymentGroupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchGetDeploymentGroupsCommandOutput) => void): void;
|
|
177
75
|
/**
|
|
178
|
-
* @
|
|
179
|
-
* @deprecated
|
|
180
|
-
*
|
|
181
|
-
* <note>
|
|
182
|
-
* <p> This method works, but is deprecated. Use <code>BatchGetDeploymentTargets</code>
|
|
183
|
-
* instead. </p>
|
|
184
|
-
* </note>
|
|
185
|
-
* <p> Returns an array of one or more instances associated with a deployment. This method
|
|
186
|
-
* works with EC2/On-premises and Lambda compute platforms. The newer
|
|
187
|
-
* <code>BatchGetDeploymentTargets</code> works with all compute platforms. The maximum
|
|
188
|
-
* number of instances that can be returned is 25.</p>
|
|
76
|
+
* @see {@link BatchGetDeploymentInstancesCommand}
|
|
189
77
|
*/
|
|
190
78
|
batchGetDeploymentInstances(args: BatchGetDeploymentInstancesCommandInput, options?: __HttpHandlerOptions): Promise<BatchGetDeploymentInstancesCommandOutput>;
|
|
191
79
|
batchGetDeploymentInstances(args: BatchGetDeploymentInstancesCommandInput, cb: (err: any, data?: BatchGetDeploymentInstancesCommandOutput) => void): void;
|
|
192
80
|
batchGetDeploymentInstances(args: BatchGetDeploymentInstancesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchGetDeploymentInstancesCommandOutput) => void): void;
|
|
193
81
|
/**
|
|
194
|
-
* @
|
|
195
|
-
* <p>Gets information about one or more deployments. The maximum number of deployments that
|
|
196
|
-
* can be returned is 25.</p>
|
|
82
|
+
* @see {@link BatchGetDeploymentsCommand}
|
|
197
83
|
*/
|
|
198
84
|
batchGetDeployments(args: BatchGetDeploymentsCommandInput, options?: __HttpHandlerOptions): Promise<BatchGetDeploymentsCommandOutput>;
|
|
199
85
|
batchGetDeployments(args: BatchGetDeploymentsCommandInput, cb: (err: any, data?: BatchGetDeploymentsCommandOutput) => void): void;
|
|
200
86
|
batchGetDeployments(args: BatchGetDeploymentsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchGetDeploymentsCommandOutput) => void): void;
|
|
201
87
|
/**
|
|
202
|
-
* @
|
|
203
|
-
* <p> Returns an array of one or more targets associated with a deployment. This method
|
|
204
|
-
* works with all compute types and should be used instead of the deprecated
|
|
205
|
-
* <code>BatchGetDeploymentInstances</code>. The maximum number of targets that can be
|
|
206
|
-
* returned is 25.</p>
|
|
207
|
-
* <p> The type of targets returned depends on the deployment's compute platform or
|
|
208
|
-
* deployment method: </p>
|
|
209
|
-
* <ul>
|
|
210
|
-
* <li>
|
|
211
|
-
* <p>
|
|
212
|
-
* <b>EC2/On-premises</b>: Information about Amazon EC2 instance targets. </p>
|
|
213
|
-
* </li>
|
|
214
|
-
* <li>
|
|
215
|
-
* <p>
|
|
216
|
-
* <b>Lambda</b>: Information about
|
|
217
|
-
* Lambda functions targets. </p>
|
|
218
|
-
* </li>
|
|
219
|
-
* <li>
|
|
220
|
-
* <p>
|
|
221
|
-
* <b>Amazon ECS</b>: Information about Amazon ECS service targets. </p>
|
|
222
|
-
* </li>
|
|
223
|
-
* <li>
|
|
224
|
-
* <p>
|
|
225
|
-
* <b>CloudFormation</b>: Information about
|
|
226
|
-
* targets of blue/green deployments initiated by a CloudFormation stack
|
|
227
|
-
* update.</p>
|
|
228
|
-
* </li>
|
|
229
|
-
* </ul>
|
|
88
|
+
* @see {@link BatchGetDeploymentTargetsCommand}
|
|
230
89
|
*/
|
|
231
90
|
batchGetDeploymentTargets(args: BatchGetDeploymentTargetsCommandInput, options?: __HttpHandlerOptions): Promise<BatchGetDeploymentTargetsCommandOutput>;
|
|
232
91
|
batchGetDeploymentTargets(args: BatchGetDeploymentTargetsCommandInput, cb: (err: any, data?: BatchGetDeploymentTargetsCommandOutput) => void): void;
|
|
233
92
|
batchGetDeploymentTargets(args: BatchGetDeploymentTargetsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchGetDeploymentTargetsCommandOutput) => void): void;
|
|
234
93
|
/**
|
|
235
|
-
* @
|
|
236
|
-
* <p>Gets information about one or more on-premises instances. The maximum number of
|
|
237
|
-
* on-premises instances that can be returned is 25.</p>
|
|
94
|
+
* @see {@link BatchGetOnPremisesInstancesCommand}
|
|
238
95
|
*/
|
|
239
96
|
batchGetOnPremisesInstances(args: BatchGetOnPremisesInstancesCommandInput, options?: __HttpHandlerOptions): Promise<BatchGetOnPremisesInstancesCommandOutput>;
|
|
240
97
|
batchGetOnPremisesInstances(args: BatchGetOnPremisesInstancesCommandInput, cb: (err: any, data?: BatchGetOnPremisesInstancesCommandOutput) => void): void;
|
|
241
98
|
batchGetOnPremisesInstances(args: BatchGetOnPremisesInstancesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchGetOnPremisesInstancesCommandOutput) => void): void;
|
|
242
99
|
/**
|
|
243
|
-
* @
|
|
244
|
-
* <p>For a blue/green deployment, starts the process of rerouting traffic from instances in
|
|
245
|
-
* the original environment to instances in the replacement environment without waiting for
|
|
246
|
-
* a specified wait time to elapse. (Traffic rerouting, which is achieved by registering
|
|
247
|
-
* instances in the replacement environment with the load balancer, can start as soon as
|
|
248
|
-
* all instances have a status of Ready.) </p>
|
|
100
|
+
* @see {@link ContinueDeploymentCommand}
|
|
249
101
|
*/
|
|
250
102
|
continueDeployment(args: ContinueDeploymentCommandInput, options?: __HttpHandlerOptions): Promise<ContinueDeploymentCommandOutput>;
|
|
251
103
|
continueDeployment(args: ContinueDeploymentCommandInput, cb: (err: any, data?: ContinueDeploymentCommandOutput) => void): void;
|
|
252
104
|
continueDeployment(args: ContinueDeploymentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ContinueDeploymentCommandOutput) => void): void;
|
|
253
105
|
/**
|
|
254
|
-
* @
|
|
255
|
-
* <p>Creates an application.</p>
|
|
106
|
+
* @see {@link CreateApplicationCommand}
|
|
256
107
|
*/
|
|
257
108
|
createApplication(args: CreateApplicationCommandInput, options?: __HttpHandlerOptions): Promise<CreateApplicationCommandOutput>;
|
|
258
109
|
createApplication(args: CreateApplicationCommandInput, cb: (err: any, data?: CreateApplicationCommandOutput) => void): void;
|
|
259
110
|
createApplication(args: CreateApplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateApplicationCommandOutput) => void): void;
|
|
260
111
|
/**
|
|
261
|
-
* @
|
|
262
|
-
* <p>Deploys an application revision through the specified deployment group.</p>
|
|
112
|
+
* @see {@link CreateDeploymentCommand}
|
|
263
113
|
*/
|
|
264
114
|
createDeployment(args: CreateDeploymentCommandInput, options?: __HttpHandlerOptions): Promise<CreateDeploymentCommandOutput>;
|
|
265
115
|
createDeployment(args: CreateDeploymentCommandInput, cb: (err: any, data?: CreateDeploymentCommandOutput) => void): void;
|
|
266
116
|
createDeployment(args: CreateDeploymentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateDeploymentCommandOutput) => void): void;
|
|
267
117
|
/**
|
|
268
|
-
* @
|
|
269
|
-
* <p> Creates a deployment configuration. </p>
|
|
118
|
+
* @see {@link CreateDeploymentConfigCommand}
|
|
270
119
|
*/
|
|
271
120
|
createDeploymentConfig(args: CreateDeploymentConfigCommandInput, options?: __HttpHandlerOptions): Promise<CreateDeploymentConfigCommandOutput>;
|
|
272
121
|
createDeploymentConfig(args: CreateDeploymentConfigCommandInput, cb: (err: any, data?: CreateDeploymentConfigCommandOutput) => void): void;
|
|
273
122
|
createDeploymentConfig(args: CreateDeploymentConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateDeploymentConfigCommandOutput) => void): void;
|
|
274
123
|
/**
|
|
275
|
-
* @
|
|
276
|
-
* <p>Creates a deployment group to which application revisions are deployed.</p>
|
|
124
|
+
* @see {@link CreateDeploymentGroupCommand}
|
|
277
125
|
*/
|
|
278
126
|
createDeploymentGroup(args: CreateDeploymentGroupCommandInput, options?: __HttpHandlerOptions): Promise<CreateDeploymentGroupCommandOutput>;
|
|
279
127
|
createDeploymentGroup(args: CreateDeploymentGroupCommandInput, cb: (err: any, data?: CreateDeploymentGroupCommandOutput) => void): void;
|
|
280
128
|
createDeploymentGroup(args: CreateDeploymentGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateDeploymentGroupCommandOutput) => void): void;
|
|
281
129
|
/**
|
|
282
|
-
* @
|
|
283
|
-
* <p>Deletes an application.</p>
|
|
130
|
+
* @see {@link DeleteApplicationCommand}
|
|
284
131
|
*/
|
|
285
132
|
deleteApplication(args: DeleteApplicationCommandInput, options?: __HttpHandlerOptions): Promise<DeleteApplicationCommandOutput>;
|
|
286
133
|
deleteApplication(args: DeleteApplicationCommandInput, cb: (err: any, data?: DeleteApplicationCommandOutput) => void): void;
|
|
287
134
|
deleteApplication(args: DeleteApplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteApplicationCommandOutput) => void): void;
|
|
288
135
|
/**
|
|
289
|
-
* @
|
|
290
|
-
* <p>Deletes a deployment configuration.</p>
|
|
291
|
-
* <note>
|
|
292
|
-
* <p>A deployment configuration cannot be deleted if it is currently in use. Predefined
|
|
293
|
-
* configurations cannot be deleted.</p>
|
|
294
|
-
* </note>
|
|
136
|
+
* @see {@link DeleteDeploymentConfigCommand}
|
|
295
137
|
*/
|
|
296
138
|
deleteDeploymentConfig(args: DeleteDeploymentConfigCommandInput, options?: __HttpHandlerOptions): Promise<DeleteDeploymentConfigCommandOutput>;
|
|
297
139
|
deleteDeploymentConfig(args: DeleteDeploymentConfigCommandInput, cb: (err: any, data?: DeleteDeploymentConfigCommandOutput) => void): void;
|
|
298
140
|
deleteDeploymentConfig(args: DeleteDeploymentConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteDeploymentConfigCommandOutput) => void): void;
|
|
299
141
|
/**
|
|
300
|
-
* @
|
|
301
|
-
* <p>Deletes a deployment group.</p>
|
|
142
|
+
* @see {@link DeleteDeploymentGroupCommand}
|
|
302
143
|
*/
|
|
303
144
|
deleteDeploymentGroup(args: DeleteDeploymentGroupCommandInput, options?: __HttpHandlerOptions): Promise<DeleteDeploymentGroupCommandOutput>;
|
|
304
145
|
deleteDeploymentGroup(args: DeleteDeploymentGroupCommandInput, cb: (err: any, data?: DeleteDeploymentGroupCommandOutput) => void): void;
|
|
305
146
|
deleteDeploymentGroup(args: DeleteDeploymentGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteDeploymentGroupCommandOutput) => void): void;
|
|
306
147
|
/**
|
|
307
|
-
* @
|
|
308
|
-
* <p>Deletes a GitHub account connection.</p>
|
|
148
|
+
* @see {@link DeleteGitHubAccountTokenCommand}
|
|
309
149
|
*/
|
|
310
150
|
deleteGitHubAccountToken(args: DeleteGitHubAccountTokenCommandInput, options?: __HttpHandlerOptions): Promise<DeleteGitHubAccountTokenCommandOutput>;
|
|
311
151
|
deleteGitHubAccountToken(args: DeleteGitHubAccountTokenCommandInput, cb: (err: any, data?: DeleteGitHubAccountTokenCommandOutput) => void): void;
|
|
312
152
|
deleteGitHubAccountToken(args: DeleteGitHubAccountTokenCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteGitHubAccountTokenCommandOutput) => void): void;
|
|
313
153
|
/**
|
|
314
|
-
* @
|
|
315
|
-
* <p>Deletes resources linked to an external ID.</p>
|
|
154
|
+
* @see {@link DeleteResourcesByExternalIdCommand}
|
|
316
155
|
*/
|
|
317
156
|
deleteResourcesByExternalId(args: DeleteResourcesByExternalIdCommandInput, options?: __HttpHandlerOptions): Promise<DeleteResourcesByExternalIdCommandOutput>;
|
|
318
157
|
deleteResourcesByExternalId(args: DeleteResourcesByExternalIdCommandInput, cb: (err: any, data?: DeleteResourcesByExternalIdCommandOutput) => void): void;
|
|
319
158
|
deleteResourcesByExternalId(args: DeleteResourcesByExternalIdCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteResourcesByExternalIdCommandOutput) => void): void;
|
|
320
159
|
/**
|
|
321
|
-
* @
|
|
322
|
-
* <p>Deregisters an on-premises instance.</p>
|
|
160
|
+
* @see {@link DeregisterOnPremisesInstanceCommand}
|
|
323
161
|
*/
|
|
324
162
|
deregisterOnPremisesInstance(args: DeregisterOnPremisesInstanceCommandInput, options?: __HttpHandlerOptions): Promise<DeregisterOnPremisesInstanceCommandOutput>;
|
|
325
163
|
deregisterOnPremisesInstance(args: DeregisterOnPremisesInstanceCommandInput, cb: (err: any, data?: DeregisterOnPremisesInstanceCommandOutput) => void): void;
|
|
326
164
|
deregisterOnPremisesInstance(args: DeregisterOnPremisesInstanceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeregisterOnPremisesInstanceCommandOutput) => void): void;
|
|
327
165
|
/**
|
|
328
|
-
* @
|
|
329
|
-
* <p>Gets information about an application.</p>
|
|
166
|
+
* @see {@link GetApplicationCommand}
|
|
330
167
|
*/
|
|
331
168
|
getApplication(args: GetApplicationCommandInput, options?: __HttpHandlerOptions): Promise<GetApplicationCommandOutput>;
|
|
332
169
|
getApplication(args: GetApplicationCommandInput, cb: (err: any, data?: GetApplicationCommandOutput) => void): void;
|
|
333
170
|
getApplication(args: GetApplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetApplicationCommandOutput) => void): void;
|
|
334
171
|
/**
|
|
335
|
-
* @
|
|
336
|
-
* <p>Gets information about an application revision.</p>
|
|
172
|
+
* @see {@link GetApplicationRevisionCommand}
|
|
337
173
|
*/
|
|
338
174
|
getApplicationRevision(args: GetApplicationRevisionCommandInput, options?: __HttpHandlerOptions): Promise<GetApplicationRevisionCommandOutput>;
|
|
339
175
|
getApplicationRevision(args: GetApplicationRevisionCommandInput, cb: (err: any, data?: GetApplicationRevisionCommandOutput) => void): void;
|
|
340
176
|
getApplicationRevision(args: GetApplicationRevisionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetApplicationRevisionCommandOutput) => void): void;
|
|
341
177
|
/**
|
|
342
|
-
* @
|
|
343
|
-
* <p>Gets information about a deployment.</p>
|
|
344
|
-
* <note>
|
|
345
|
-
* <p> The <code>content</code> property of the <code>appSpecContent</code> object in
|
|
346
|
-
* the returned revision is always null. Use <code>GetApplicationRevision</code> and
|
|
347
|
-
* the <code>sha256</code> property of the returned <code>appSpecContent</code> object
|
|
348
|
-
* to get the content of the deployment’s AppSpec file. </p>
|
|
349
|
-
* </note>
|
|
178
|
+
* @see {@link GetDeploymentCommand}
|
|
350
179
|
*/
|
|
351
180
|
getDeployment(args: GetDeploymentCommandInput, options?: __HttpHandlerOptions): Promise<GetDeploymentCommandOutput>;
|
|
352
181
|
getDeployment(args: GetDeploymentCommandInput, cb: (err: any, data?: GetDeploymentCommandOutput) => void): void;
|
|
353
182
|
getDeployment(args: GetDeploymentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetDeploymentCommandOutput) => void): void;
|
|
354
183
|
/**
|
|
355
|
-
* @
|
|
356
|
-
* <p>Gets information about a deployment configuration.</p>
|
|
184
|
+
* @see {@link GetDeploymentConfigCommand}
|
|
357
185
|
*/
|
|
358
186
|
getDeploymentConfig(args: GetDeploymentConfigCommandInput, options?: __HttpHandlerOptions): Promise<GetDeploymentConfigCommandOutput>;
|
|
359
187
|
getDeploymentConfig(args: GetDeploymentConfigCommandInput, cb: (err: any, data?: GetDeploymentConfigCommandOutput) => void): void;
|
|
360
188
|
getDeploymentConfig(args: GetDeploymentConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetDeploymentConfigCommandOutput) => void): void;
|
|
361
189
|
/**
|
|
362
|
-
* @
|
|
363
|
-
* <p>Gets information about a deployment group.</p>
|
|
190
|
+
* @see {@link GetDeploymentGroupCommand}
|
|
364
191
|
*/
|
|
365
192
|
getDeploymentGroup(args: GetDeploymentGroupCommandInput, options?: __HttpHandlerOptions): Promise<GetDeploymentGroupCommandOutput>;
|
|
366
193
|
getDeploymentGroup(args: GetDeploymentGroupCommandInput, cb: (err: any, data?: GetDeploymentGroupCommandOutput) => void): void;
|
|
367
194
|
getDeploymentGroup(args: GetDeploymentGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetDeploymentGroupCommandOutput) => void): void;
|
|
368
195
|
/**
|
|
369
|
-
* @
|
|
370
|
-
* @deprecated
|
|
371
|
-
*
|
|
372
|
-
* <p>Gets information about an instance as part of a deployment.</p>
|
|
196
|
+
* @see {@link GetDeploymentInstanceCommand}
|
|
373
197
|
*/
|
|
374
198
|
getDeploymentInstance(args: GetDeploymentInstanceCommandInput, options?: __HttpHandlerOptions): Promise<GetDeploymentInstanceCommandOutput>;
|
|
375
199
|
getDeploymentInstance(args: GetDeploymentInstanceCommandInput, cb: (err: any, data?: GetDeploymentInstanceCommandOutput) => void): void;
|
|
376
200
|
getDeploymentInstance(args: GetDeploymentInstanceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetDeploymentInstanceCommandOutput) => void): void;
|
|
377
201
|
/**
|
|
378
|
-
* @
|
|
379
|
-
* <p> Returns information about a deployment target. </p>
|
|
202
|
+
* @see {@link GetDeploymentTargetCommand}
|
|
380
203
|
*/
|
|
381
204
|
getDeploymentTarget(args: GetDeploymentTargetCommandInput, options?: __HttpHandlerOptions): Promise<GetDeploymentTargetCommandOutput>;
|
|
382
205
|
getDeploymentTarget(args: GetDeploymentTargetCommandInput, cb: (err: any, data?: GetDeploymentTargetCommandOutput) => void): void;
|
|
383
206
|
getDeploymentTarget(args: GetDeploymentTargetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetDeploymentTargetCommandOutput) => void): void;
|
|
384
207
|
/**
|
|
385
|
-
* @
|
|
386
|
-
* <p> Gets information about an on-premises instance. </p>
|
|
208
|
+
* @see {@link GetOnPremisesInstanceCommand}
|
|
387
209
|
*/
|
|
388
210
|
getOnPremisesInstance(args: GetOnPremisesInstanceCommandInput, options?: __HttpHandlerOptions): Promise<GetOnPremisesInstanceCommandOutput>;
|
|
389
211
|
getOnPremisesInstance(args: GetOnPremisesInstanceCommandInput, cb: (err: any, data?: GetOnPremisesInstanceCommandOutput) => void): void;
|
|
390
212
|
getOnPremisesInstance(args: GetOnPremisesInstanceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetOnPremisesInstanceCommandOutput) => void): void;
|
|
391
213
|
/**
|
|
392
|
-
* @
|
|
393
|
-
* <p>Lists information about revisions for an application.</p>
|
|
214
|
+
* @see {@link ListApplicationRevisionsCommand}
|
|
394
215
|
*/
|
|
395
216
|
listApplicationRevisions(args: ListApplicationRevisionsCommandInput, options?: __HttpHandlerOptions): Promise<ListApplicationRevisionsCommandOutput>;
|
|
396
217
|
listApplicationRevisions(args: ListApplicationRevisionsCommandInput, cb: (err: any, data?: ListApplicationRevisionsCommandOutput) => void): void;
|
|
397
218
|
listApplicationRevisions(args: ListApplicationRevisionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListApplicationRevisionsCommandOutput) => void): void;
|
|
398
219
|
/**
|
|
399
|
-
* @
|
|
400
|
-
* <p>Lists the applications registered with the IAM user or Amazon Web Services account.</p>
|
|
220
|
+
* @see {@link ListApplicationsCommand}
|
|
401
221
|
*/
|
|
402
222
|
listApplications(args: ListApplicationsCommandInput, options?: __HttpHandlerOptions): Promise<ListApplicationsCommandOutput>;
|
|
403
223
|
listApplications(args: ListApplicationsCommandInput, cb: (err: any, data?: ListApplicationsCommandOutput) => void): void;
|
|
404
224
|
listApplications(args: ListApplicationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListApplicationsCommandOutput) => void): void;
|
|
405
225
|
/**
|
|
406
|
-
* @
|
|
407
|
-
* <p>Lists the deployment configurations with the IAM user or Amazon Web Services account.</p>
|
|
226
|
+
* @see {@link ListDeploymentConfigsCommand}
|
|
408
227
|
*/
|
|
409
228
|
listDeploymentConfigs(args: ListDeploymentConfigsCommandInput, options?: __HttpHandlerOptions): Promise<ListDeploymentConfigsCommandOutput>;
|
|
410
229
|
listDeploymentConfigs(args: ListDeploymentConfigsCommandInput, cb: (err: any, data?: ListDeploymentConfigsCommandOutput) => void): void;
|
|
411
230
|
listDeploymentConfigs(args: ListDeploymentConfigsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDeploymentConfigsCommandOutput) => void): void;
|
|
412
231
|
/**
|
|
413
|
-
* @
|
|
414
|
-
* <p>Lists the deployment groups for an application registered with the IAM
|
|
415
|
-
* user or Amazon Web Services account.</p>
|
|
232
|
+
* @see {@link ListDeploymentGroupsCommand}
|
|
416
233
|
*/
|
|
417
234
|
listDeploymentGroups(args: ListDeploymentGroupsCommandInput, options?: __HttpHandlerOptions): Promise<ListDeploymentGroupsCommandOutput>;
|
|
418
235
|
listDeploymentGroups(args: ListDeploymentGroupsCommandInput, cb: (err: any, data?: ListDeploymentGroupsCommandOutput) => void): void;
|
|
419
236
|
listDeploymentGroups(args: ListDeploymentGroupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDeploymentGroupsCommandOutput) => void): void;
|
|
420
237
|
/**
|
|
421
|
-
* @
|
|
422
|
-
* @deprecated
|
|
423
|
-
*
|
|
424
|
-
* <note>
|
|
425
|
-
* <p> The newer <code>BatchGetDeploymentTargets</code> should be used instead because
|
|
426
|
-
* it works with all compute types. <code>ListDeploymentInstances</code> throws an
|
|
427
|
-
* exception if it is used with a compute platform other than EC2/On-premises or
|
|
428
|
-
* Lambda. </p>
|
|
429
|
-
* </note>
|
|
430
|
-
* <p> Lists the instance for a deployment associated with the IAM user or
|
|
431
|
-
* Amazon Web Services account. </p>
|
|
238
|
+
* @see {@link ListDeploymentInstancesCommand}
|
|
432
239
|
*/
|
|
433
240
|
listDeploymentInstances(args: ListDeploymentInstancesCommandInput, options?: __HttpHandlerOptions): Promise<ListDeploymentInstancesCommandOutput>;
|
|
434
241
|
listDeploymentInstances(args: ListDeploymentInstancesCommandInput, cb: (err: any, data?: ListDeploymentInstancesCommandOutput) => void): void;
|
|
435
242
|
listDeploymentInstances(args: ListDeploymentInstancesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDeploymentInstancesCommandOutput) => void): void;
|
|
436
243
|
/**
|
|
437
|
-
* @
|
|
438
|
-
* <p>Lists the deployments in a deployment group for an application registered with the
|
|
439
|
-
* IAM user or Amazon Web Services account.</p>
|
|
244
|
+
* @see {@link ListDeploymentsCommand}
|
|
440
245
|
*/
|
|
441
246
|
listDeployments(args: ListDeploymentsCommandInput, options?: __HttpHandlerOptions): Promise<ListDeploymentsCommandOutput>;
|
|
442
247
|
listDeployments(args: ListDeploymentsCommandInput, cb: (err: any, data?: ListDeploymentsCommandOutput) => void): void;
|
|
443
248
|
listDeployments(args: ListDeploymentsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDeploymentsCommandOutput) => void): void;
|
|
444
249
|
/**
|
|
445
|
-
* @
|
|
446
|
-
* <p> Returns an array of target IDs that are associated a deployment. </p>
|
|
250
|
+
* @see {@link ListDeploymentTargetsCommand}
|
|
447
251
|
*/
|
|
448
252
|
listDeploymentTargets(args: ListDeploymentTargetsCommandInput, options?: __HttpHandlerOptions): Promise<ListDeploymentTargetsCommandOutput>;
|
|
449
253
|
listDeploymentTargets(args: ListDeploymentTargetsCommandInput, cb: (err: any, data?: ListDeploymentTargetsCommandOutput) => void): void;
|
|
450
254
|
listDeploymentTargets(args: ListDeploymentTargetsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDeploymentTargetsCommandOutput) => void): void;
|
|
451
255
|
/**
|
|
452
|
-
* @
|
|
453
|
-
* <p>Lists the names of stored connections to GitHub accounts.</p>
|
|
256
|
+
* @see {@link ListGitHubAccountTokenNamesCommand}
|
|
454
257
|
*/
|
|
455
258
|
listGitHubAccountTokenNames(args: ListGitHubAccountTokenNamesCommandInput, options?: __HttpHandlerOptions): Promise<ListGitHubAccountTokenNamesCommandOutput>;
|
|
456
259
|
listGitHubAccountTokenNames(args: ListGitHubAccountTokenNamesCommandInput, cb: (err: any, data?: ListGitHubAccountTokenNamesCommandOutput) => void): void;
|
|
457
260
|
listGitHubAccountTokenNames(args: ListGitHubAccountTokenNamesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListGitHubAccountTokenNamesCommandOutput) => void): void;
|
|
458
261
|
/**
|
|
459
|
-
* @
|
|
460
|
-
* <p>Gets a list of names for one or more on-premises instances.</p>
|
|
461
|
-
* <p>Unless otherwise specified, both registered and deregistered on-premises instance
|
|
462
|
-
* names are listed. To list only registered or deregistered on-premises instance names,
|
|
463
|
-
* use the registration status parameter.</p>
|
|
262
|
+
* @see {@link ListOnPremisesInstancesCommand}
|
|
464
263
|
*/
|
|
465
264
|
listOnPremisesInstances(args: ListOnPremisesInstancesCommandInput, options?: __HttpHandlerOptions): Promise<ListOnPremisesInstancesCommandOutput>;
|
|
466
265
|
listOnPremisesInstances(args: ListOnPremisesInstancesCommandInput, cb: (err: any, data?: ListOnPremisesInstancesCommandOutput) => void): void;
|
|
467
266
|
listOnPremisesInstances(args: ListOnPremisesInstancesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListOnPremisesInstancesCommandOutput) => void): void;
|
|
468
267
|
/**
|
|
469
|
-
* @
|
|
470
|
-
* <p> Returns a list of tags for the resource identified by a specified Amazon Resource
|
|
471
|
-
* Name (ARN). Tags are used to organize and categorize your CodeDeploy resources. </p>
|
|
268
|
+
* @see {@link ListTagsForResourceCommand}
|
|
472
269
|
*/
|
|
473
270
|
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
474
271
|
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
475
272
|
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
476
273
|
/**
|
|
477
|
-
* @
|
|
478
|
-
* <p> Sets the result of a Lambda validation function. The function validates
|
|
479
|
-
* lifecycle hooks during a deployment that uses the Lambda or Amazon ECS compute platform. For Lambda deployments, the available
|
|
480
|
-
* lifecycle hooks are <code>BeforeAllowTraffic</code> and <code>AfterAllowTraffic</code>.
|
|
481
|
-
* For Amazon ECS deployments, the available lifecycle hooks are
|
|
482
|
-
* <code>BeforeInstall</code>, <code>AfterInstall</code>,
|
|
483
|
-
* <code>AfterAllowTestTraffic</code>, <code>BeforeAllowTraffic</code>, and
|
|
484
|
-
* <code>AfterAllowTraffic</code>. Lambda validation functions return
|
|
485
|
-
* <code>Succeeded</code> or <code>Failed</code>. For more information, see <a href="https://docs.aws.amazon.com/codedeploy/latest/userguide/reference-appspec-file-structure-hooks.html#appspec-hooks-lambda">AppSpec 'hooks' Section for an Lambda Deployment </a> and
|
|
486
|
-
* <a href="https://docs.aws.amazon.com/codedeploy/latest/userguide/reference-appspec-file-structure-hooks.html#appspec-hooks-ecs">AppSpec 'hooks' Section for an Amazon ECS Deployment</a>.</p>
|
|
274
|
+
* @see {@link PutLifecycleEventHookExecutionStatusCommand}
|
|
487
275
|
*/
|
|
488
276
|
putLifecycleEventHookExecutionStatus(args: PutLifecycleEventHookExecutionStatusCommandInput, options?: __HttpHandlerOptions): Promise<PutLifecycleEventHookExecutionStatusCommandOutput>;
|
|
489
277
|
putLifecycleEventHookExecutionStatus(args: PutLifecycleEventHookExecutionStatusCommandInput, cb: (err: any, data?: PutLifecycleEventHookExecutionStatusCommandOutput) => void): void;
|
|
490
278
|
putLifecycleEventHookExecutionStatus(args: PutLifecycleEventHookExecutionStatusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutLifecycleEventHookExecutionStatusCommandOutput) => void): void;
|
|
491
279
|
/**
|
|
492
|
-
* @
|
|
493
|
-
* <p>Registers with CodeDeploy a revision for the specified application.</p>
|
|
280
|
+
* @see {@link RegisterApplicationRevisionCommand}
|
|
494
281
|
*/
|
|
495
282
|
registerApplicationRevision(args: RegisterApplicationRevisionCommandInput, options?: __HttpHandlerOptions): Promise<RegisterApplicationRevisionCommandOutput>;
|
|
496
283
|
registerApplicationRevision(args: RegisterApplicationRevisionCommandInput, cb: (err: any, data?: RegisterApplicationRevisionCommandOutput) => void): void;
|
|
497
284
|
registerApplicationRevision(args: RegisterApplicationRevisionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RegisterApplicationRevisionCommandOutput) => void): void;
|
|
498
285
|
/**
|
|
499
|
-
* @
|
|
500
|
-
* <p>Registers an on-premises instance.</p>
|
|
501
|
-
* <note>
|
|
502
|
-
* <p>Only one IAM ARN (an IAM session ARN or IAM user ARN) is supported in the request. You cannot use both.</p>
|
|
503
|
-
* </note>
|
|
286
|
+
* @see {@link RegisterOnPremisesInstanceCommand}
|
|
504
287
|
*/
|
|
505
288
|
registerOnPremisesInstance(args: RegisterOnPremisesInstanceCommandInput, options?: __HttpHandlerOptions): Promise<RegisterOnPremisesInstanceCommandOutput>;
|
|
506
289
|
registerOnPremisesInstance(args: RegisterOnPremisesInstanceCommandInput, cb: (err: any, data?: RegisterOnPremisesInstanceCommandOutput) => void): void;
|
|
507
290
|
registerOnPremisesInstance(args: RegisterOnPremisesInstanceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RegisterOnPremisesInstanceCommandOutput) => void): void;
|
|
508
291
|
/**
|
|
509
|
-
* @
|
|
510
|
-
* <p>Removes one or more tags from one or more on-premises instances.</p>
|
|
292
|
+
* @see {@link RemoveTagsFromOnPremisesInstancesCommand}
|
|
511
293
|
*/
|
|
512
294
|
removeTagsFromOnPremisesInstances(args: RemoveTagsFromOnPremisesInstancesCommandInput, options?: __HttpHandlerOptions): Promise<RemoveTagsFromOnPremisesInstancesCommandOutput>;
|
|
513
295
|
removeTagsFromOnPremisesInstances(args: RemoveTagsFromOnPremisesInstancesCommandInput, cb: (err: any, data?: RemoveTagsFromOnPremisesInstancesCommandOutput) => void): void;
|
|
514
296
|
removeTagsFromOnPremisesInstances(args: RemoveTagsFromOnPremisesInstancesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RemoveTagsFromOnPremisesInstancesCommandOutput) => void): void;
|
|
515
297
|
/**
|
|
516
|
-
* @
|
|
517
|
-
* @deprecated
|
|
518
|
-
*
|
|
519
|
-
* <p>In a blue/green deployment, overrides any specified wait time and starts terminating
|
|
520
|
-
* instances immediately after the traffic routing is complete.</p>
|
|
298
|
+
* @see {@link SkipWaitTimeForInstanceTerminationCommand}
|
|
521
299
|
*/
|
|
522
300
|
skipWaitTimeForInstanceTermination(args: SkipWaitTimeForInstanceTerminationCommandInput, options?: __HttpHandlerOptions): Promise<SkipWaitTimeForInstanceTerminationCommandOutput>;
|
|
523
301
|
skipWaitTimeForInstanceTermination(args: SkipWaitTimeForInstanceTerminationCommandInput, cb: (err: any, data?: SkipWaitTimeForInstanceTerminationCommandOutput) => void): void;
|
|
524
302
|
skipWaitTimeForInstanceTermination(args: SkipWaitTimeForInstanceTerminationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SkipWaitTimeForInstanceTerminationCommandOutput) => void): void;
|
|
525
303
|
/**
|
|
526
|
-
* @
|
|
527
|
-
* <p>Attempts to stop an ongoing deployment.</p>
|
|
304
|
+
* @see {@link StopDeploymentCommand}
|
|
528
305
|
*/
|
|
529
306
|
stopDeployment(args: StopDeploymentCommandInput, options?: __HttpHandlerOptions): Promise<StopDeploymentCommandOutput>;
|
|
530
307
|
stopDeployment(args: StopDeploymentCommandInput, cb: (err: any, data?: StopDeploymentCommandOutput) => void): void;
|
|
531
308
|
stopDeployment(args: StopDeploymentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopDeploymentCommandOutput) => void): void;
|
|
532
309
|
/**
|
|
533
|
-
* @
|
|
534
|
-
* <p> Associates the list of tags in the input <code>Tags</code> parameter with the
|
|
535
|
-
* resource identified by the <code>ResourceArn</code> input parameter. </p>
|
|
310
|
+
* @see {@link TagResourceCommand}
|
|
536
311
|
*/
|
|
537
312
|
tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
538
313
|
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
539
314
|
tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
540
315
|
/**
|
|
541
|
-
* @
|
|
542
|
-
* <p> Disassociates a resource from a list of tags. The resource is identified by the
|
|
543
|
-
* <code>ResourceArn</code> input parameter. The tags are identified by the list of
|
|
544
|
-
* keys in the <code>TagKeys</code> input parameter. </p>
|
|
316
|
+
* @see {@link UntagResourceCommand}
|
|
545
317
|
*/
|
|
546
318
|
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
547
319
|
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
548
320
|
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
549
321
|
/**
|
|
550
|
-
* @
|
|
551
|
-
* <p>Changes the name of an application.</p>
|
|
322
|
+
* @see {@link UpdateApplicationCommand}
|
|
552
323
|
*/
|
|
553
324
|
updateApplication(args: UpdateApplicationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateApplicationCommandOutput>;
|
|
554
325
|
updateApplication(args: UpdateApplicationCommandInput, cb: (err: any, data?: UpdateApplicationCommandOutput) => void): void;
|
|
555
326
|
updateApplication(args: UpdateApplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateApplicationCommandOutput) => void): void;
|
|
556
327
|
/**
|
|
557
|
-
* @
|
|
558
|
-
* <p>Changes information about a deployment group.</p>
|
|
328
|
+
* @see {@link UpdateDeploymentGroupCommand}
|
|
559
329
|
*/
|
|
560
330
|
updateDeploymentGroup(args: UpdateDeploymentGroupCommandInput, options?: __HttpHandlerOptions): Promise<UpdateDeploymentGroupCommandOutput>;
|
|
561
331
|
updateDeploymentGroup(args: UpdateDeploymentGroupCommandInput, cb: (err: any, data?: UpdateDeploymentGroupCommandOutput) => void): void;
|
|
562
332
|
updateDeploymentGroup(args: UpdateDeploymentGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateDeploymentGroupCommandOutput) => void): void;
|
|
563
333
|
}
|
|
334
|
+
/**
|
|
335
|
+
* @public
|
|
336
|
+
* <p>CodeDeploy is a deployment service that automates application deployments
|
|
337
|
+
* to Amazon EC2 instances, on-premises instances running in your own facility,
|
|
338
|
+
* serverless Lambda functions, or applications in an Amazon ECS
|
|
339
|
+
* service.</p>
|
|
340
|
+
* <p>You can deploy a nearly unlimited variety of application content, such as an updated
|
|
341
|
+
* Lambda function, updated applications in an Amazon ECS service,
|
|
342
|
+
* code, web and configuration files, executables, packages, scripts, multimedia files, and
|
|
343
|
+
* so on. CodeDeploy can deploy application content stored in Amazon S3
|
|
344
|
+
* buckets, GitHub repositories, or Bitbucket repositories. You do not need to make changes
|
|
345
|
+
* to your existing code before you can use CodeDeploy.</p>
|
|
346
|
+
* <p>CodeDeploy makes it easier for you to rapidly release new features, helps
|
|
347
|
+
* you avoid downtime during application deployment, and handles the complexity of updating
|
|
348
|
+
* your applications, without many of the risks associated with error-prone manual
|
|
349
|
+
* deployments.</p>
|
|
350
|
+
* <p>
|
|
351
|
+
* <b>CodeDeploy Components</b>
|
|
352
|
+
* </p>
|
|
353
|
+
* <p>Use the information in this guide to help you work with the following CodeDeploy components:</p>
|
|
354
|
+
* <ul>
|
|
355
|
+
* <li>
|
|
356
|
+
* <p>
|
|
357
|
+
* <b>Application</b>: A name that uniquely identifies
|
|
358
|
+
* the application you want to deploy. CodeDeploy uses this name, which
|
|
359
|
+
* functions as a container, to ensure the correct combination of revision,
|
|
360
|
+
* deployment configuration, and deployment group are referenced during a
|
|
361
|
+
* deployment.</p>
|
|
362
|
+
* </li>
|
|
363
|
+
* <li>
|
|
364
|
+
* <p>
|
|
365
|
+
* <b>Deployment group</b>: A set of individual
|
|
366
|
+
* instances, CodeDeploy
|
|
367
|
+
* Lambda deployment configuration settings, or an Amazon ECS
|
|
368
|
+
* service and network details. A Lambda deployment group specifies how
|
|
369
|
+
* to route traffic to a new version of a Lambda function. An Amazon ECS deployment group specifies the service created in Amazon ECS to deploy, a load balancer, and a listener to reroute production
|
|
370
|
+
* traffic to an updated containerized application. An Amazon EC2/On-premises deployment group contains individually tagged instances, Amazon EC2 instances in Amazon EC2 Auto Scaling groups, or both. All
|
|
371
|
+
* deployment groups can specify optional trigger, alarm, and rollback
|
|
372
|
+
* settings.</p>
|
|
373
|
+
* </li>
|
|
374
|
+
* <li>
|
|
375
|
+
* <p>
|
|
376
|
+
* <b>Deployment configuration</b>: A set of deployment
|
|
377
|
+
* rules and deployment success and failure conditions used by CodeDeploy during a deployment.</p>
|
|
378
|
+
* </li>
|
|
379
|
+
* <li>
|
|
380
|
+
* <p>
|
|
381
|
+
* <b>Deployment</b>: The process and the components used
|
|
382
|
+
* when updating a Lambda function, a containerized application in an
|
|
383
|
+
* Amazon ECS service, or of installing content on one or more
|
|
384
|
+
* instances. </p>
|
|
385
|
+
* </li>
|
|
386
|
+
* <li>
|
|
387
|
+
* <p>
|
|
388
|
+
* <b>Application revisions</b>: For an Lambda deployment, this is an AppSpec file that specifies the
|
|
389
|
+
* Lambda function to be updated and one or more functions to
|
|
390
|
+
* validate deployment lifecycle events. For an Amazon ECS deployment, this
|
|
391
|
+
* is an AppSpec file that specifies the Amazon ECS task definition,
|
|
392
|
+
* container, and port where production traffic is rerouted. For an EC2/On-premises
|
|
393
|
+
* deployment, this is an archive file that contains source content—source code,
|
|
394
|
+
* webpages, executable files, and deployment scripts—along with an AppSpec file.
|
|
395
|
+
* Revisions are stored in Amazon S3 buckets or GitHub repositories. For
|
|
396
|
+
* Amazon S3, a revision is uniquely identified by its Amazon S3 object key and its ETag, version, or both. For GitHub, a revision is uniquely
|
|
397
|
+
* identified by its commit ID.</p>
|
|
398
|
+
* </li>
|
|
399
|
+
* </ul>
|
|
400
|
+
* <p>This guide also contains information to help you get details about the instances in
|
|
401
|
+
* your deployments, to make on-premises instances available for CodeDeploy
|
|
402
|
+
* deployments, to get details about a Lambda function deployment, and to get
|
|
403
|
+
* details about Amazon ECS service deployments.</p>
|
|
404
|
+
* <p>
|
|
405
|
+
* <b>CodeDeploy Information Resources</b>
|
|
406
|
+
* </p>
|
|
407
|
+
* <ul>
|
|
408
|
+
* <li>
|
|
409
|
+
* <p>
|
|
410
|
+
* <a href="https://docs.aws.amazon.com/codedeploy/latest/userguide">CodeDeploy User Guide</a>
|
|
411
|
+
* </p>
|
|
412
|
+
* </li>
|
|
413
|
+
* <li>
|
|
414
|
+
* <p>
|
|
415
|
+
* <a href="https://docs.aws.amazon.com/codedeploy/latest/APIReference/">CodeDeploy API Reference Guide</a>
|
|
416
|
+
* </p>
|
|
417
|
+
* </li>
|
|
418
|
+
* <li>
|
|
419
|
+
* <p>
|
|
420
|
+
* <a href="https://docs.aws.amazon.com/cli/latest/reference/deploy/index.html">CLI Reference for CodeDeploy</a>
|
|
421
|
+
* </p>
|
|
422
|
+
* </li>
|
|
423
|
+
* <li>
|
|
424
|
+
* <p>
|
|
425
|
+
* <a href="https://forums.aws.amazon.com/forum.jspa?forumID=179">CodeDeploy Developer Forum</a>
|
|
426
|
+
* </p>
|
|
427
|
+
* </li>
|
|
428
|
+
* </ul>
|
|
429
|
+
*/
|
|
430
|
+
export declare class CodeDeploy extends CodeDeployClient implements CodeDeploy {
|
|
431
|
+
}
|