@aws-sdk/client-codedeploy 3.1131.0 → 3.1133.0
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/dist-cjs/index.js +7 -7
- package/dist-es/models/enums.js +4 -4
- package/dist-es/schemas/schemas_0.js +2 -2
- package/dist-types/commands/BatchGetDeploymentsCommand.d.ts +1 -0
- package/dist-types/commands/GetDeploymentCommand.d.ts +1 -0
- package/dist-types/models/enums.d.ts +12 -12
- package/dist-types/models/models_0.d.ts +54 -1
- package/dist-types/ts3.4/models/enums.d.ts +5 -5
- package/dist-types/ts3.4/models/models_0.d.ts +1 -0
- package/package.json +1 -1
package/dist-cjs/index.js
CHANGED
|
@@ -69,7 +69,7 @@ const commonParams = {
|
|
|
69
69
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
70
70
|
};
|
|
71
71
|
|
|
72
|
-
var version = "3.
|
|
72
|
+
var version = "3.1132.0";
|
|
73
73
|
var packageInfo = {
|
|
74
74
|
version: version};
|
|
75
75
|
|
|
@@ -2892,8 +2892,8 @@ var DeploymentGroupInfo$ = [3, n0, _DGI,
|
|
|
2892
2892
|
];
|
|
2893
2893
|
var DeploymentInfo$ = [3, n0, _DI,
|
|
2894
2894
|
0,
|
|
2895
|
-
[_aN, _dGNe, _dCN, _dI, _pR, _re, _st, _eIr, _cT, _sT, _cTo, _dO, _d, _cr, _iASF, _aRC, _uOIO, _rI, _dS, _tIar, _iTWTS, _bGDC, _lBI, _aDSI, _fEB, _dSM, _cP, _eI, _rD, _oAC],
|
|
2896
|
-
[0, 0, 0, 0, () => RevisionLocation$, () => RevisionLocation$, 0, () => ErrorInformation$, 4, 4, 4, () => DeploymentOverview$, 0, 0, 2, () => AutoRollbackConfiguration$, 2, () => RollbackInfo$, () => DeploymentStyle$, () => TargetInstances$, 2, () => BlueGreenDeploymentConfiguration$, () => LoadBalancerInfo$, 0, 0, 64 | 0, 0, 0, () => RelatedDeployments$, () => AlarmConfiguration$]
|
|
2895
|
+
[_aN, _dGNe, _dCN, _dI, _pR, _re, _st, _eIr, _cT, _sT, _cTo, _dO, _d, _cr, _iASF, _aRC, _uOIO, _rI, _dS, _tIar, _iTWTS, _bGDC, _lBI, _aDSI, _fEB, _dM, _dSM, _cP, _eI, _rD, _oAC],
|
|
2896
|
+
[0, 0, 0, 0, () => RevisionLocation$, () => RevisionLocation$, 0, () => ErrorInformation$, 4, 4, 4, () => DeploymentOverview$, 0, 0, 2, () => AutoRollbackConfiguration$, 2, () => RollbackInfo$, () => DeploymentStyle$, () => TargetInstances$, 2, () => BlueGreenDeploymentConfiguration$, () => LoadBalancerInfo$, 0, 0, 0, 64 | 0, 0, 0, () => RelatedDeployments$, () => AlarmConfiguration$]
|
|
2897
2897
|
];
|
|
2898
2898
|
var DeploymentOverview$ = [3, n0, _DO,
|
|
2899
2899
|
0,
|
|
@@ -4123,6 +4123,10 @@ const DeploymentCreator = {
|
|
|
4123
4123
|
CodeDeployRollback: "codeDeployRollback",
|
|
4124
4124
|
User: "user",
|
|
4125
4125
|
};
|
|
4126
|
+
const DeploymentMode = {
|
|
4127
|
+
RESTART: "RESTART",
|
|
4128
|
+
STANDARD: "STANDARD",
|
|
4129
|
+
};
|
|
4126
4130
|
const ErrorCode = {
|
|
4127
4131
|
AGENT_ISSUE: "AGENT_ISSUE",
|
|
4128
4132
|
ALARM_ACTIVE: "ALARM_ACTIVE",
|
|
@@ -4187,10 +4191,6 @@ const DeploymentWaitType = {
|
|
|
4187
4191
|
READY_WAIT: "READY_WAIT",
|
|
4188
4192
|
TERMINATION_WAIT: "TERMINATION_WAIT",
|
|
4189
4193
|
};
|
|
4190
|
-
const DeploymentMode = {
|
|
4191
|
-
RESTART: "RESTART",
|
|
4192
|
-
STANDARD: "STANDARD",
|
|
4193
|
-
};
|
|
4194
4194
|
const MinimumHealthyHostsType = {
|
|
4195
4195
|
FLEET_PERCENT: "FLEET_PERCENT",
|
|
4196
4196
|
HOST_COUNT: "HOST_COUNT",
|
package/dist-es/models/enums.js
CHANGED
|
@@ -121,6 +121,10 @@ export const DeploymentCreator = {
|
|
|
121
121
|
CodeDeployRollback: "codeDeployRollback",
|
|
122
122
|
User: "user",
|
|
123
123
|
};
|
|
124
|
+
export const DeploymentMode = {
|
|
125
|
+
RESTART: "RESTART",
|
|
126
|
+
STANDARD: "STANDARD",
|
|
127
|
+
};
|
|
124
128
|
export const ErrorCode = {
|
|
125
129
|
AGENT_ISSUE: "AGENT_ISSUE",
|
|
126
130
|
ALARM_ACTIVE: "ALARM_ACTIVE",
|
|
@@ -185,10 +189,6 @@ export const DeploymentWaitType = {
|
|
|
185
189
|
READY_WAIT: "READY_WAIT",
|
|
186
190
|
TERMINATION_WAIT: "TERMINATION_WAIT",
|
|
187
191
|
};
|
|
188
|
-
export const DeploymentMode = {
|
|
189
|
-
RESTART: "RESTART",
|
|
190
|
-
STANDARD: "STANDARD",
|
|
191
|
-
};
|
|
192
192
|
export const MinimumHealthyHostsType = {
|
|
193
193
|
FLEET_PERCENT: "FLEET_PERCENT",
|
|
194
194
|
HOST_COUNT: "HOST_COUNT",
|
|
@@ -1434,8 +1434,8 @@ export var DeploymentGroupInfo$ = [3, n0, _DGI,
|
|
|
1434
1434
|
];
|
|
1435
1435
|
export var DeploymentInfo$ = [3, n0, _DI,
|
|
1436
1436
|
0,
|
|
1437
|
-
[_aN, _dGNe, _dCN, _dI, _pR, _re, _st, _eIr, _cT, _sT, _cTo, _dO, _d, _cr, _iASF, _aRC, _uOIO, _rI, _dS, _tIar, _iTWTS, _bGDC, _lBI, _aDSI, _fEB, _dSM, _cP, _eI, _rD, _oAC],
|
|
1438
|
-
[0, 0, 0, 0, () => RevisionLocation$, () => RevisionLocation$, 0, () => ErrorInformation$, 4, 4, 4, () => DeploymentOverview$, 0, 0, 2, () => AutoRollbackConfiguration$, 2, () => RollbackInfo$, () => DeploymentStyle$, () => TargetInstances$, 2, () => BlueGreenDeploymentConfiguration$, () => LoadBalancerInfo$, 0, 0, 64 | 0, 0, 0, () => RelatedDeployments$, () => AlarmConfiguration$]
|
|
1437
|
+
[_aN, _dGNe, _dCN, _dI, _pR, _re, _st, _eIr, _cT, _sT, _cTo, _dO, _d, _cr, _iASF, _aRC, _uOIO, _rI, _dS, _tIar, _iTWTS, _bGDC, _lBI, _aDSI, _fEB, _dM, _dSM, _cP, _eI, _rD, _oAC],
|
|
1438
|
+
[0, 0, 0, 0, () => RevisionLocation$, () => RevisionLocation$, 0, () => ErrorInformation$, 4, 4, 4, () => DeploymentOverview$, 0, 0, 2, () => AutoRollbackConfiguration$, 2, () => RollbackInfo$, () => DeploymentStyle$, () => TargetInstances$, 2, () => BlueGreenDeploymentConfiguration$, () => LoadBalancerInfo$, 0, 0, 0, 64 | 0, 0, 0, () => RelatedDeployments$, () => AlarmConfiguration$]
|
|
1439
1439
|
];
|
|
1440
1440
|
export var DeploymentOverview$ = [3, n0, _DO,
|
|
1441
1441
|
0,
|
|
@@ -197,6 +197,7 @@ declare const BatchGetDeploymentsCommand_base: {
|
|
|
197
197
|
* // },
|
|
198
198
|
* // additionalDeploymentStatusInfo: "STRING_VALUE",
|
|
199
199
|
* // fileExistsBehavior: "DISALLOW" || "OVERWRITE" || "RETAIN",
|
|
200
|
+
* // deploymentMode: "STANDARD" || "RESTART",
|
|
200
201
|
* // deploymentStatusMessages: [ // DeploymentStatusMessageList
|
|
201
202
|
* // "STRING_VALUE",
|
|
202
203
|
* // ],
|
|
@@ -199,6 +199,7 @@ declare const GetDeploymentCommand_base: {
|
|
|
199
199
|
* // },
|
|
200
200
|
* // additionalDeploymentStatusInfo: "STRING_VALUE",
|
|
201
201
|
* // fileExistsBehavior: "DISALLOW" || "OVERWRITE" || "RETAIN",
|
|
202
|
+
* // deploymentMode: "STANDARD" || "RESTART",
|
|
202
203
|
* // deploymentStatusMessages: [ // DeploymentStatusMessageList
|
|
203
204
|
* // "STRING_VALUE",
|
|
204
205
|
* // ],
|
|
@@ -281,6 +281,18 @@ export declare const DeploymentCreator: {
|
|
|
281
281
|
* @public
|
|
282
282
|
*/
|
|
283
283
|
export type DeploymentCreator = (typeof DeploymentCreator)[keyof typeof DeploymentCreator];
|
|
284
|
+
/**
|
|
285
|
+
* @public
|
|
286
|
+
* @enum
|
|
287
|
+
*/
|
|
288
|
+
export declare const DeploymentMode: {
|
|
289
|
+
readonly RESTART: "RESTART";
|
|
290
|
+
readonly STANDARD: "STANDARD";
|
|
291
|
+
};
|
|
292
|
+
/**
|
|
293
|
+
* @public
|
|
294
|
+
*/
|
|
295
|
+
export type DeploymentMode = (typeof DeploymentMode)[keyof typeof DeploymentMode];
|
|
284
296
|
/**
|
|
285
297
|
* @public
|
|
286
298
|
* @enum
|
|
@@ -393,18 +405,6 @@ export declare const DeploymentWaitType: {
|
|
|
393
405
|
* @public
|
|
394
406
|
*/
|
|
395
407
|
export type DeploymentWaitType = (typeof DeploymentWaitType)[keyof typeof DeploymentWaitType];
|
|
396
|
-
/**
|
|
397
|
-
* @public
|
|
398
|
-
* @enum
|
|
399
|
-
*/
|
|
400
|
-
export declare const DeploymentMode: {
|
|
401
|
-
readonly RESTART: "RESTART";
|
|
402
|
-
readonly STANDARD: "STANDARD";
|
|
403
|
-
};
|
|
404
|
-
/**
|
|
405
|
-
* @public
|
|
406
|
-
*/
|
|
407
|
-
export type DeploymentMode = (typeof DeploymentMode)[keyof typeof DeploymentMode];
|
|
408
408
|
/**
|
|
409
409
|
* @public
|
|
410
410
|
* @enum
|
|
@@ -1653,6 +1653,27 @@ export interface DeploymentInfo {
|
|
|
1653
1653
|
* @public
|
|
1654
1654
|
*/
|
|
1655
1655
|
fileExistsBehavior?: FileExistsBehavior | undefined;
|
|
1656
|
+
/**
|
|
1657
|
+
* <p>The deployment's type. Valid values are:</p>
|
|
1658
|
+
* <ul>
|
|
1659
|
+
* <li>
|
|
1660
|
+
* <p>
|
|
1661
|
+
* <code>STANDARD</code>: The deployment installed the specified revision.</p>
|
|
1662
|
+
* </li>
|
|
1663
|
+
* <li>
|
|
1664
|
+
* <p>
|
|
1665
|
+
* <code>RESTART</code>: The deployment restarted the application on the target
|
|
1666
|
+
* instances using the revision from the deployment group's last successful
|
|
1667
|
+
* deployment, without downloading a new revision.</p>
|
|
1668
|
+
* </li>
|
|
1669
|
+
* </ul>
|
|
1670
|
+
* <p>This field is absent for deployments created before <code>deploymentMode</code>
|
|
1671
|
+
* existed, and for <code>STANDARD</code> deployments. An absent value must not be
|
|
1672
|
+
* interpreted as <code>STANDARD</code>; it simply means no value was recorded either
|
|
1673
|
+
* way.</p>
|
|
1674
|
+
* @public
|
|
1675
|
+
*/
|
|
1676
|
+
deploymentMode?: DeploymentMode | undefined;
|
|
1656
1677
|
/**
|
|
1657
1678
|
* <p>Messages that contain information about the status of a deployment.</p>
|
|
1658
1679
|
* @public
|
|
@@ -2318,7 +2339,39 @@ export interface CreateDeploymentInput {
|
|
|
2318
2339
|
*/
|
|
2319
2340
|
fileExistsBehavior?: FileExistsBehavior | undefined;
|
|
2320
2341
|
/**
|
|
2321
|
-
* The
|
|
2342
|
+
* <p>The type of deployment to create. Valid values are:</p>
|
|
2343
|
+
* <ul>
|
|
2344
|
+
* <li>
|
|
2345
|
+
* <p>
|
|
2346
|
+
* <code>STANDARD</code>: Deploys the specified revision. This is the default
|
|
2347
|
+
* behavior if <code>deploymentMode</code> is not specified.</p>
|
|
2348
|
+
* </li>
|
|
2349
|
+
* <li>
|
|
2350
|
+
* <p>
|
|
2351
|
+
* <code>RESTART</code>: Restarts the application on the target instances using
|
|
2352
|
+
* the revision from the deployment group's last successful deployment, without
|
|
2353
|
+
* downloading a new revision. <code>RESTART</code> is supported only for
|
|
2354
|
+
* EC2/On-premises in-place deployments.</p>
|
|
2355
|
+
* <p>When <code>deploymentMode</code> is <code>RESTART</code>, the following
|
|
2356
|
+
* apply:</p>
|
|
2357
|
+
* <ul>
|
|
2358
|
+
* <li>
|
|
2359
|
+
* <p>The call is rejected for Amazon ECS and Lambda
|
|
2360
|
+
* deployments.</p>
|
|
2361
|
+
* </li>
|
|
2362
|
+
* <li>
|
|
2363
|
+
* <p>The <code>revision</code> parameter (including its
|
|
2364
|
+
* <code>s3Location</code> and <code>gitHubLocation</code>) must not be
|
|
2365
|
+
* specified, and is rejected if provided. The revision is resolved by the
|
|
2366
|
+
* service from the deployment group's last successful deployment.</p>
|
|
2367
|
+
* </li>
|
|
2368
|
+
* <li>
|
|
2369
|
+
* <p>The <code>updateOutdatedInstancesOnly</code> parameter must not be
|
|
2370
|
+
* set to <code>true</code>, and is rejected if provided.</p>
|
|
2371
|
+
* </li>
|
|
2372
|
+
* </ul>
|
|
2373
|
+
* </li>
|
|
2374
|
+
* </ul>
|
|
2322
2375
|
* @public
|
|
2323
2376
|
*/
|
|
2324
2377
|
deploymentMode?: DeploymentMode | undefined;
|
|
@@ -145,6 +145,11 @@ export declare const DeploymentCreator: {
|
|
|
145
145
|
readonly User: "user";
|
|
146
146
|
};
|
|
147
147
|
export type DeploymentCreator = (typeof DeploymentCreator)[keyof typeof DeploymentCreator];
|
|
148
|
+
export declare const DeploymentMode: {
|
|
149
|
+
readonly RESTART: "RESTART";
|
|
150
|
+
readonly STANDARD: "STANDARD";
|
|
151
|
+
};
|
|
152
|
+
export type DeploymentMode = (typeof DeploymentMode)[keyof typeof DeploymentMode];
|
|
148
153
|
export declare const ErrorCode: {
|
|
149
154
|
readonly AGENT_ISSUE: "AGENT_ISSUE";
|
|
150
155
|
readonly ALARM_ACTIVE: "ALARM_ACTIVE";
|
|
@@ -215,11 +220,6 @@ export declare const DeploymentWaitType: {
|
|
|
215
220
|
readonly TERMINATION_WAIT: "TERMINATION_WAIT";
|
|
216
221
|
};
|
|
217
222
|
export type DeploymentWaitType = (typeof DeploymentWaitType)[keyof typeof DeploymentWaitType];
|
|
218
|
-
export declare const DeploymentMode: {
|
|
219
|
-
readonly RESTART: "RESTART";
|
|
220
|
-
readonly STANDARD: "STANDARD";
|
|
221
|
-
};
|
|
222
|
-
export type DeploymentMode = (typeof DeploymentMode)[keyof typeof DeploymentMode];
|
|
223
223
|
export declare const MinimumHealthyHostsType: {
|
|
224
224
|
readonly FLEET_PERCENT: "FLEET_PERCENT";
|
|
225
225
|
readonly HOST_COUNT: "HOST_COUNT";
|
|
@@ -307,6 +307,7 @@ export interface DeploymentInfo {
|
|
|
307
307
|
loadBalancerInfo?: LoadBalancerInfo | undefined;
|
|
308
308
|
additionalDeploymentStatusInfo?: string | undefined;
|
|
309
309
|
fileExistsBehavior?: FileExistsBehavior | undefined;
|
|
310
|
+
deploymentMode?: DeploymentMode | undefined;
|
|
310
311
|
deploymentStatusMessages?: string[] | undefined;
|
|
311
312
|
computePlatform?: ComputePlatform | undefined;
|
|
312
313
|
externalId?: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-codedeploy",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1133.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Codedeploy Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-codedeploy",
|
|
6
6
|
"license": "Apache-2.0",
|