@cdklabs/cdk-ecs-codedeploy 0.0.460 → 0.0.462
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/index.js +49 -11
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/models/enums.js +6 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/models/errors.js +13 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/schemas/schemas_0.js +27 -11
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/CodeDeployClient.d.ts +2 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetDeploymentGroupsCommand.d.ts +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetDeploymentsCommand.d.ts +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/CreateDeploymentCommand.d.ts +11 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/CreateDeploymentGroupCommand.d.ts +11 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetDeploymentCommand.d.ts +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetDeploymentGroupCommand.d.ts +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/UpdateDeploymentGroupCommand.d.ts +11 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/models/enums.d.ts +14 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/models/errors.d.ts +16 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/models/models_0.d.ts +64 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/schemas/schemas_0.d.ts +2 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/models/enums.d.ts +8 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/models/errors.d.ts +8 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/models/models_0.d.ts +9 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/schemas/schemas_0.d.ts +2 -0
- package/node_modules/@aws-sdk/client-codedeploy/package.json +5 -5
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +12 -3
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +94 -1589
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.js +12 -3
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/index.js +1 -7
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJsonRpcProtocol.js +1 -3
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsRestJsonProtocol.js +1 -3
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/index.d.ts +2 -8
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJson1_0Protocol.d.ts +1 -2
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJson1_1Protocol.d.ts +1 -2
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJsonRpcProtocol.d.ts +2 -3
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsRestJsonProtocol.d.ts +2 -3
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/index.d.ts +10 -10
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJson1_0Protocol.d.ts +1 -2
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJson1_1Protocol.d.ts +1 -2
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJsonRpcProtocol.d.ts +2 -3
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsRestJsonProtocol.d.ts +2 -3
- package/node_modules/@aws-sdk/core/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-env/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-http/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +11 -11
- package/node_modules/@aws-sdk/credential-provider-login/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-node/package.json +9 -9
- package/node_modules/@aws-sdk/credential-provider-process/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +6 -6
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +5 -5
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/CognitoIdentityClient.d.ts +2 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/SigninClient.d.ts +2 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/SSOClient.d.ts +2 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/SSOOIDCClient.d.ts +2 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/STSClient.d.ts +2 -1
- package/node_modules/@aws-sdk/nested-clients/package.json +5 -5
- package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +2 -2
- package/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +37 -19
- package/node_modules/@aws-sdk/token-providers/dist-es/fromSso.js +37 -19
- package/node_modules/@aws-sdk/token-providers/package.json +5 -5
- package/node_modules/@aws-sdk/types/dist-types/feature-ids.d.ts +3 -0
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/feature-ids.d.ts +3 -0
- package/node_modules/@aws-sdk/types/package.json +1 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +13 -37
- package/node_modules/@smithy/core/dist-cjs/submodules/client/index.js +15 -2
- package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.browser.js +10 -0
- package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +10 -0
- package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +1711 -4
- package/node_modules/@smithy/core/dist-es/submodules/cbor/SmithyRpcV2CborProtocol.js +12 -37
- package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/command.js +16 -2
- package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-codec/HeaderMarshaller.js +10 -0
- package/node_modules/@smithy/core/dist-es/submodules/protocols/AbstractRpcV2Protocol.js +35 -0
- package/node_modules/@smithy/core/dist-es/submodules/protocols/ConfigurableSerdeContext.js +6 -0
- package/node_modules/@smithy/core/dist-es/submodules/protocols/RpcProtocol.js +4 -1
- package/node_modules/@smithy/core/dist-es/submodules/protocols/UnionSerde.js +26 -0
- package/node_modules/@smithy/core/dist-es/submodules/protocols/common.js +3 -0
- package/node_modules/@smithy/core/dist-es/submodules/protocols/index.js +9 -0
- package/node_modules/@smithy/core/dist-es/submodules/protocols/json/SmithyRpcV2JsonProtocol.js +79 -0
- package/node_modules/{@aws-sdk → @smithy}/core/dist-es/submodules/protocols/json/codec-v1/JsonShapeDeserializer.js +8 -1
- package/node_modules/{@aws-sdk → @smithy}/core/dist-es/submodules/protocols/json/codec-v1/JsonShapeSerializer.js +8 -1
- package/node_modules/{@aws-sdk → @smithy}/core/dist-es/submodules/protocols/json/codec-v2/JsonShapeDeserializer2.js +13 -2
- package/node_modules/{@aws-sdk → @smithy}/core/dist-es/submodules/protocols/json/codec-v2/JsonShapeSerializer2.js +16 -6
- package/node_modules/{@aws-sdk → @smithy}/core/dist-es/submodules/protocols/json/parseJsonBody.js +16 -1
- package/node_modules/@smithy/core/dist-es/submodules/protocols/writeKey.js +3 -0
- package/node_modules/@smithy/core/dist-types/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +5 -14
- package/node_modules/@smithy/core/dist-types/submodules/protocols/AbstractRpcV2Protocol.d.ts +45 -0
- package/node_modules/@smithy/core/dist-types/submodules/protocols/ConfigurableSerdeContext.d.ts +8 -0
- package/node_modules/@smithy/core/dist-types/submodules/protocols/RpcProtocol.d.ts +12 -0
- package/node_modules/@smithy/core/dist-types/submodules/protocols/UnionSerde.d.ts +24 -0
- package/node_modules/@smithy/core/dist-types/submodules/protocols/common.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/submodules/protocols/index.d.ts +10 -0
- package/node_modules/@smithy/core/dist-types/submodules/protocols/json/JsonSettings.d.ts +13 -0
- package/node_modules/@smithy/core/dist-types/submodules/protocols/json/SmithyRpcV2JsonProtocol.d.ts +19 -0
- package/node_modules/{@aws-sdk → @smithy}/core/dist-types/submodules/protocols/json/parseJsonBody.d.ts +16 -0
- package/node_modules/@smithy/core/dist-types/submodules/protocols/writeKey.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +5 -14
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/AbstractRpcV2Protocol.d.ts +45 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/ConfigurableSerdeContext.d.ts +8 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/RpcProtocol.d.ts +12 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/UnionSerde.d.ts +24 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/common.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/index.d.ts +10 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/json/JsonSettings.d.ts +13 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/json/SmithyRpcV2JsonProtocol.d.ts +19 -0
- package/node_modules/{@aws-sdk → @smithy}/core/dist-types/ts3.4/submodules/protocols/json/codec-v1/JsonCodec.d.ts +15 -11
- package/node_modules/{@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json → @smithy/core/dist-types/ts3.4/submodules/protocols/json/codec-v1}/JsonSettings.d.ts +7 -4
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/json/codec-v1/JsonShapeDeserializer.d.ts +14 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/json/codec-v1/JsonShapeSerializer.d.ts +29 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/json/codec-v2/JsonBytesStringAdapter.d.ts +51 -0
- package/node_modules/{@aws-sdk → @smithy}/core/dist-types/ts3.4/submodules/protocols/json/codec-v2/JsonCodec2.d.ts +13 -9
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/json/codec-v2/JsonShapeDeserializer2.d.ts +30 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/json/codec-v2/JsonShapeSerializer2.d.ts +60 -0
- package/node_modules/{@aws-sdk → @smithy}/core/dist-types/ts3.4/submodules/protocols/json/detectBufferParsing.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/json/jsonReplacer.d.ts +21 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/json/jsonReviver.d.ts +15 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/json/needsReviver.d.ts +11 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/json/parseJsonBody.d.ts +38 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/writeKey.d.ts +4 -0
- package/node_modules/@smithy/core/package.json +2 -1
- package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +48 -6
- package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +9 -1
- package/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +20 -2
- package/node_modules/@smithy/node-http-handler/dist-es/resolve-default-socket-timeout.js +4 -0
- package/node_modules/@smithy/node-http-handler/dist-es/set-socket-timeout.js +16 -3
- package/node_modules/@smithy/node-http-handler/dist-types/resolve-default-socket-timeout.d.ts +4 -0
- package/node_modules/@smithy/node-http-handler/dist-types/set-socket-timeout.d.ts +6 -1
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/resolve-default-socket-timeout.d.ts +4 -0
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-timeout.d.ts +6 -1
- package/node_modules/@smithy/node-http-handler/package.json +3 -3
- package/package.json +2 -2
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/codec-v1/JsonSettings.d.ts +0 -7
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/codec-v1/JsonSettings.d.ts +0 -4
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/codec-v1/JsonShapeDeserializer.d.ts +0 -13
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/codec-v1/JsonShapeSerializer.d.ts +0 -18
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/codec-v2/JsonBytesStringAdapter.d.ts +0 -27
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/codec-v2/JsonShapeDeserializer2.d.ts +0 -15
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/codec-v2/JsonShapeSerializer2.d.ts +0 -39
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/jsonReplacer.d.ts +0 -7
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/jsonReviver.d.ts +0 -7
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/needsReviver.d.ts +0 -2
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/parseJsonBody.d.ts +0 -14
- /package/node_modules/{@aws-sdk → @smithy}/core/dist-es/submodules/protocols/json/JsonSettings.js +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/core/dist-es/submodules/protocols/json/codec-v1/JsonCodec.js +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/core/dist-es/submodules/protocols/json/codec-v1/JsonSettings.js +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/core/dist-es/submodules/protocols/json/codec-v2/JsonBytesStringAdapter.js +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/core/dist-es/submodules/protocols/json/codec-v2/JsonCodec2.js +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/core/dist-es/submodules/protocols/json/detectBufferParsing.js +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/core/dist-es/submodules/protocols/json/jsonReplacer.js +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/core/dist-es/submodules/protocols/json/jsonReviver.js +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/core/dist-es/submodules/protocols/json/needsReviver.js +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/core/dist-types/submodules/protocols/json/codec-v1/JsonCodec.d.ts +0 -0
- /package/node_modules/{@aws-sdk/core/dist-types/submodules/protocols/json → @smithy/core/dist-types/submodules/protocols/json/codec-v1}/JsonSettings.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/core/dist-types/submodules/protocols/json/codec-v1/JsonShapeDeserializer.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/core/dist-types/submodules/protocols/json/codec-v1/JsonShapeSerializer.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/core/dist-types/submodules/protocols/json/codec-v2/JsonBytesStringAdapter.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/core/dist-types/submodules/protocols/json/codec-v2/JsonCodec2.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/core/dist-types/submodules/protocols/json/codec-v2/JsonShapeDeserializer2.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/core/dist-types/submodules/protocols/json/codec-v2/JsonShapeSerializer2.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/core/dist-types/submodules/protocols/json/detectBufferParsing.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/core/dist-types/submodules/protocols/json/jsonReplacer.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/core/dist-types/submodules/protocols/json/jsonReviver.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/core/dist-types/submodules/protocols/json/needsReviver.d.ts +0 -0
package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetDeploymentGroupCommand.d.ts
CHANGED
|
@@ -203,6 +203,11 @@ declare const GetDeploymentGroupCommand_base: {
|
|
|
203
203
|
* // clusterName: "STRING_VALUE",
|
|
204
204
|
* // },
|
|
205
205
|
* // ],
|
|
206
|
+
* // ec2DeploymentOptions: { // EC2DeploymentOptions
|
|
207
|
+
* // autoScalingGroupProcessesToSuspend: [ // AutoScalingGroupProcessesToSuspendList
|
|
208
|
+
* // "Terminate" || "AZRebalance" || "InstanceRefresh" || "ScheduledActions",
|
|
209
|
+
* // ],
|
|
210
|
+
* // },
|
|
206
211
|
* // terminationHookEnabled: true || false,
|
|
207
212
|
* // },
|
|
208
213
|
* // };
|
|
@@ -157,6 +157,11 @@ declare const UpdateDeploymentGroupCommand_base: {
|
|
|
157
157
|
* ],
|
|
158
158
|
* ],
|
|
159
159
|
* },
|
|
160
|
+
* ec2DeploymentOptions: { // EC2DeploymentOptions
|
|
161
|
+
* autoScalingGroupProcessesToSuspend: [ // AutoScalingGroupProcessesToSuspendList
|
|
162
|
+
* "Terminate" || "AZRebalance" || "InstanceRefresh" || "ScheduledActions",
|
|
163
|
+
* ],
|
|
164
|
+
* },
|
|
160
165
|
* terminationHookEnabled: true || false,
|
|
161
166
|
* };
|
|
162
167
|
* const command = new UpdateDeploymentGroupCommand(input);
|
|
@@ -238,6 +243,12 @@ declare const UpdateDeploymentGroupCommand_base: {
|
|
|
238
243
|
* <p>The Auto Scaling group was specified in an invalid format or does not
|
|
239
244
|
* exist.</p>
|
|
240
245
|
*
|
|
246
|
+
* @throws {@link InvalidAutoScalingGroupProcessToSuspendException} (client fault)
|
|
247
|
+
* <p>The <code>autoScalingGroupProcessesToSuspend</code> list in
|
|
248
|
+
* <code>ec2DeploymentOptions</code> contains a process that is not valid. Valid values
|
|
249
|
+
* are <code>Terminate</code>, <code>AZRebalance</code>, <code>InstanceRefresh</code>,
|
|
250
|
+
* and <code>ScheduledActions</code>. Process names are case sensitive.</p>
|
|
251
|
+
*
|
|
241
252
|
* @throws {@link InvalidBlueGreenDeploymentConfigurationException} (client fault)
|
|
242
253
|
* <p>The configuration for the blue/green deployment group was provided in an invalid
|
|
243
254
|
* format. For information about deployment configuration format, see <a>CreateDeploymentConfig</a>.</p>
|
|
@@ -37,6 +37,20 @@ export declare const AutoRollbackEvent: {
|
|
|
37
37
|
* @public
|
|
38
38
|
*/
|
|
39
39
|
export type AutoRollbackEvent = (typeof AutoRollbackEvent)[keyof typeof AutoRollbackEvent];
|
|
40
|
+
/**
|
|
41
|
+
* @public
|
|
42
|
+
* @enum
|
|
43
|
+
*/
|
|
44
|
+
export declare const AutoScalingGroupProcess: {
|
|
45
|
+
readonly AZ_REBALANCE: "AZRebalance";
|
|
46
|
+
readonly INSTANCE_REFRESH: "InstanceRefresh";
|
|
47
|
+
readonly SCHEDULED_ACTIONS: "ScheduledActions";
|
|
48
|
+
readonly TERMINATE: "Terminate";
|
|
49
|
+
};
|
|
50
|
+
/**
|
|
51
|
+
* @public
|
|
52
|
+
*/
|
|
53
|
+
export type AutoScalingGroupProcess = (typeof AutoScalingGroupProcess)[keyof typeof AutoScalingGroupProcess];
|
|
40
54
|
/**
|
|
41
55
|
* @public
|
|
42
56
|
* @enum
|
|
@@ -616,6 +616,22 @@ export declare class InvalidAutoScalingGroupException extends __BaseException {
|
|
|
616
616
|
*/
|
|
617
617
|
constructor(opts: __ExceptionOptionType<InvalidAutoScalingGroupException, __BaseException>);
|
|
618
618
|
}
|
|
619
|
+
/**
|
|
620
|
+
* <p>The <code>autoScalingGroupProcessesToSuspend</code> list in
|
|
621
|
+
* <code>ec2DeploymentOptions</code> contains a process that is not valid. Valid values
|
|
622
|
+
* are <code>Terminate</code>, <code>AZRebalance</code>, <code>InstanceRefresh</code>,
|
|
623
|
+
* and <code>ScheduledActions</code>. Process names are case sensitive.</p>
|
|
624
|
+
* @public
|
|
625
|
+
*/
|
|
626
|
+
export declare class InvalidAutoScalingGroupProcessToSuspendException extends __BaseException {
|
|
627
|
+
static readonly shapeId: string;
|
|
628
|
+
readonly name: "InvalidAutoScalingGroupProcessToSuspendException";
|
|
629
|
+
readonly $fault: "client";
|
|
630
|
+
/**
|
|
631
|
+
* @internal
|
|
632
|
+
*/
|
|
633
|
+
constructor(opts: __ExceptionOptionType<InvalidAutoScalingGroupProcessToSuspendException, __BaseException>);
|
|
634
|
+
}
|
|
619
635
|
/**
|
|
620
636
|
* <p>The deployment configuration name was specified in an invalid format.</p>
|
|
621
637
|
* @public
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { _InstanceType, ApplicationRevisionSortBy, AutoRollbackEvent, BundleType, ComputePlatform, DeploymentCreator, DeploymentMode, DeploymentOption, DeploymentReadyAction, DeploymentStatus, DeploymentTargetType, DeploymentType, DeploymentWaitType, EC2TagFilterType, ErrorCode, FileExistsBehavior, GreenFleetProvisioningAction, InstanceAction, InstanceStatus, LifecycleErrorCode, LifecycleEventStatus, ListStateFilterAction, MinimumHealthyHostsPerZoneType, MinimumHealthyHostsType, OutdatedInstancesStrategy, RegistrationStatus, RevisionLocationType, SortOrder, StopStatus, TagFilterType, TargetFilterName, TargetLabel, TargetStatus, TrafficRoutingType, TriggerEventType } from "./enums";
|
|
1
|
+
import type { _InstanceType, ApplicationRevisionSortBy, AutoRollbackEvent, AutoScalingGroupProcess, BundleType, ComputePlatform, DeploymentCreator, DeploymentMode, DeploymentOption, DeploymentReadyAction, DeploymentStatus, DeploymentTargetType, DeploymentType, DeploymentWaitType, EC2TagFilterType, ErrorCode, FileExistsBehavior, GreenFleetProvisioningAction, InstanceAction, InstanceStatus, LifecycleErrorCode, LifecycleEventStatus, ListStateFilterAction, MinimumHealthyHostsPerZoneType, MinimumHealthyHostsType, OutdatedInstancesStrategy, RegistrationStatus, RevisionLocationType, SortOrder, StopStatus, TagFilterType, TargetFilterName, TargetLabel, TargetStatus, TrafficRoutingType, TriggerEventType } from "./enums";
|
|
2
2
|
/**
|
|
3
3
|
* <p>Information about a tag.</p>
|
|
4
4
|
* @public
|
|
@@ -605,6 +605,39 @@ export interface DeploymentStyle {
|
|
|
605
605
|
*/
|
|
606
606
|
deploymentOption?: DeploymentOption | undefined;
|
|
607
607
|
}
|
|
608
|
+
/**
|
|
609
|
+
* <p>Options that control how CodeDeploy manages Amazon EC2 Auto Scaling groups
|
|
610
|
+
* during a deployment.</p>
|
|
611
|
+
* @public
|
|
612
|
+
*/
|
|
613
|
+
export interface EC2DeploymentOptions {
|
|
614
|
+
/**
|
|
615
|
+
* <p>The Amazon EC2 Auto Scaling processes to suspend during the deployment.
|
|
616
|
+
* CodeDeploy suspends these processes before it deploys to instances in an
|
|
617
|
+
* Auto Scaling group, and resumes them when the deployment succeeds, fails, or is
|
|
618
|
+
* stopped. Valid values are <code>Terminate</code>, <code>AZRebalance</code>,
|
|
619
|
+
* <code>InstanceRefresh</code>, and <code>ScheduledActions</code>.</p>
|
|
620
|
+
* <p>This parameter applies only to in-place deployments on the EC2/On-premises compute
|
|
621
|
+
* platform. If the list is empty, or if the deployment does not target instances in an
|
|
622
|
+
* Auto Scaling group, no processes are suspended.</p>
|
|
623
|
+
* <p>The service role for the deployment group must have permission to call
|
|
624
|
+
* <code>autoscaling:SuspendProcesses</code> and <code>autoscaling:ResumeProcesses</code>
|
|
625
|
+
* on the target Auto Scaling groups. If the processes cannot be suspended, the
|
|
626
|
+
* deployment fails before any instance is updated.</p>
|
|
627
|
+
* <p>If you suspend <code>ScheduledActions</code>, scheduled actions with a start time
|
|
628
|
+
* during the deployment are skipped and do not run after the process resumes.</p>
|
|
629
|
+
* <note>
|
|
630
|
+
* <p>If CodeDeploy cannot resume the processes, the deployment fails and the
|
|
631
|
+
* processes stay suspended until you resume them with the Auto Scaling
|
|
632
|
+
* <code>ResumeProcesses</code> action. While <code>Terminate</code> is suspended,
|
|
633
|
+
* Auto Scaling does not replace unhealthy instances. If you suspend
|
|
634
|
+
* <code>Terminate</code>, configure a trigger that notifies you when a deployment
|
|
635
|
+
* fails.</p>
|
|
636
|
+
* </note>
|
|
637
|
+
* @public
|
|
638
|
+
*/
|
|
639
|
+
autoScalingGroupProcessesToSuspend?: AutoScalingGroupProcess[] | undefined;
|
|
640
|
+
}
|
|
608
641
|
/**
|
|
609
642
|
* <p>Information about an EC2 tag filter.</p>
|
|
610
643
|
* @public
|
|
@@ -1021,6 +1054,12 @@ export interface DeploymentGroupInfo {
|
|
|
1021
1054
|
* @public
|
|
1022
1055
|
*/
|
|
1023
1056
|
ecsServices?: ECSService[] | undefined;
|
|
1057
|
+
/**
|
|
1058
|
+
* <p>Options that control how CodeDeploy manages Amazon EC2 Auto Scaling groups
|
|
1059
|
+
* during a deployment.</p>
|
|
1060
|
+
* @public
|
|
1061
|
+
*/
|
|
1062
|
+
ec2DeploymentOptions?: EC2DeploymentOptions | undefined;
|
|
1024
1063
|
/**
|
|
1025
1064
|
* <p>Indicates whether the deployment group was configured to have CodeDeploy
|
|
1026
1065
|
* install a termination hook into an Auto Scaling group.</p>
|
|
@@ -1701,6 +1740,12 @@ export interface DeploymentInfo {
|
|
|
1701
1740
|
* @public
|
|
1702
1741
|
*/
|
|
1703
1742
|
overrideAlarmConfiguration?: AlarmConfiguration | undefined;
|
|
1743
|
+
/**
|
|
1744
|
+
* <p>Options that control how CodeDeploy manages Amazon EC2 Auto Scaling groups
|
|
1745
|
+
* during a deployment.</p>
|
|
1746
|
+
* @public
|
|
1747
|
+
*/
|
|
1748
|
+
ec2DeploymentOptions?: EC2DeploymentOptions | undefined;
|
|
1704
1749
|
}
|
|
1705
1750
|
/**
|
|
1706
1751
|
* <p> Represents the output of a <code>BatchGetDeployments</code> operation. </p>
|
|
@@ -2393,6 +2438,12 @@ export interface CreateDeploymentInput {
|
|
|
2393
2438
|
* @public
|
|
2394
2439
|
*/
|
|
2395
2440
|
overrideAlarmConfiguration?: AlarmConfiguration | undefined;
|
|
2441
|
+
/**
|
|
2442
|
+
* <p>Options that control how CodeDeploy manages Amazon EC2 Auto Scaling groups
|
|
2443
|
+
* during a deployment.</p>
|
|
2444
|
+
* @public
|
|
2445
|
+
*/
|
|
2446
|
+
ec2DeploymentOptions?: EC2DeploymentOptions | undefined;
|
|
2396
2447
|
}
|
|
2397
2448
|
/**
|
|
2398
2449
|
* <p> Represents the output of a <code>CreateDeployment</code> operation. </p>
|
|
@@ -2786,6 +2837,12 @@ export interface CreateDeploymentGroupInput {
|
|
|
2786
2837
|
* @public
|
|
2787
2838
|
*/
|
|
2788
2839
|
tags?: Tag[] | undefined;
|
|
2840
|
+
/**
|
|
2841
|
+
* <p>Options that control how CodeDeploy manages Amazon EC2 Auto Scaling groups
|
|
2842
|
+
* during a deployment.</p>
|
|
2843
|
+
* @public
|
|
2844
|
+
*/
|
|
2845
|
+
ec2DeploymentOptions?: EC2DeploymentOptions | undefined;
|
|
2789
2846
|
/**
|
|
2790
2847
|
* <p>This parameter only applies if you are using CodeDeploy with Amazon EC2 Auto Scaling. For more information, see <a href="https://docs.aws.amazon.com/codedeploy/latest/userguide/integrations-aws-auto-scaling.html">Integrating
|
|
2791
2848
|
* CodeDeploy with Amazon EC2 Auto Scaling</a> in the <i>CodeDeploy User Guide</i>.</p>
|
|
@@ -4082,6 +4139,12 @@ export interface UpdateDeploymentGroupInput {
|
|
|
4082
4139
|
* @public
|
|
4083
4140
|
*/
|
|
4084
4141
|
onPremisesTagSet?: OnPremisesTagSet | undefined;
|
|
4142
|
+
/**
|
|
4143
|
+
* <p>Options that control how CodeDeploy manages Amazon EC2 Auto Scaling groups
|
|
4144
|
+
* during a deployment.</p>
|
|
4145
|
+
* @public
|
|
4146
|
+
*/
|
|
4147
|
+
ec2DeploymentOptions?: EC2DeploymentOptions | undefined;
|
|
4085
4148
|
/**
|
|
4086
4149
|
* <p>This parameter only applies if you are using CodeDeploy with Amazon EC2 Auto Scaling. For more information, see <a href="https://docs.aws.amazon.com/codedeploy/latest/userguide/integrations-aws-auto-scaling.html">Integrating
|
|
4087
4150
|
* CodeDeploy with Amazon EC2 Auto Scaling</a> in the <i>CodeDeploy User Guide</i>.</p>
|
|
@@ -46,6 +46,7 @@ export declare var InvalidApplicationNameException$: StaticErrorSchema;
|
|
|
46
46
|
export declare var InvalidArnException$: StaticErrorSchema;
|
|
47
47
|
export declare var InvalidAutoRollbackConfigException$: StaticErrorSchema;
|
|
48
48
|
export declare var InvalidAutoScalingGroupException$: StaticErrorSchema;
|
|
49
|
+
export declare var InvalidAutoScalingGroupProcessToSuspendException$: StaticErrorSchema;
|
|
49
50
|
export declare var InvalidBlueGreenDeploymentConfigurationException$: StaticErrorSchema;
|
|
50
51
|
export declare var InvalidBucketNameFilterException$: StaticErrorSchema;
|
|
51
52
|
export declare var InvalidComputePlatformException$: StaticErrorSchema;
|
|
@@ -167,6 +168,7 @@ export declare var DeploymentStyle$: StaticStructureSchema;
|
|
|
167
168
|
export declare var DeploymentTarget$: StaticStructureSchema;
|
|
168
169
|
export declare var DeregisterOnPremisesInstanceInput$: StaticStructureSchema;
|
|
169
170
|
export declare var Diagnostics$: StaticStructureSchema;
|
|
171
|
+
export declare var EC2DeploymentOptions$: StaticStructureSchema;
|
|
170
172
|
export declare var EC2TagFilter$: StaticStructureSchema;
|
|
171
173
|
export declare var EC2TagSet$: StaticStructureSchema;
|
|
172
174
|
export declare var ECSService$: StaticStructureSchema;
|
|
@@ -17,6 +17,14 @@ export declare const AutoRollbackEvent: {
|
|
|
17
17
|
readonly DEPLOYMENT_STOP_ON_REQUEST: "DEPLOYMENT_STOP_ON_REQUEST";
|
|
18
18
|
};
|
|
19
19
|
export type AutoRollbackEvent = (typeof AutoRollbackEvent)[keyof typeof AutoRollbackEvent];
|
|
20
|
+
export declare const AutoScalingGroupProcess: {
|
|
21
|
+
readonly AZ_REBALANCE: "AZRebalance";
|
|
22
|
+
readonly INSTANCE_REFRESH: "InstanceRefresh";
|
|
23
|
+
readonly SCHEDULED_ACTIONS: "ScheduledActions";
|
|
24
|
+
readonly TERMINATE: "Terminate";
|
|
25
|
+
};
|
|
26
|
+
export type AutoScalingGroupProcess =
|
|
27
|
+
(typeof AutoScalingGroupProcess)[keyof typeof AutoScalingGroupProcess];
|
|
20
28
|
export declare const RevisionLocationType: {
|
|
21
29
|
readonly AppSpecContent: "AppSpecContent";
|
|
22
30
|
readonly GitHub: "GitHub";
|
|
@@ -274,6 +274,14 @@ export declare class InvalidAutoScalingGroupException extends __BaseException {
|
|
|
274
274
|
readonly $fault: "client";
|
|
275
275
|
constructor(opts: __ExceptionOptionType<InvalidAutoScalingGroupException, __BaseException>);
|
|
276
276
|
}
|
|
277
|
+
export declare class InvalidAutoScalingGroupProcessToSuspendException extends __BaseException {
|
|
278
|
+
static readonly shapeId: string;
|
|
279
|
+
readonly name: "InvalidAutoScalingGroupProcessToSuspendException";
|
|
280
|
+
readonly $fault: "client";
|
|
281
|
+
constructor(
|
|
282
|
+
opts: __ExceptionOptionType<InvalidAutoScalingGroupProcessToSuspendException, __BaseException>,
|
|
283
|
+
);
|
|
284
|
+
}
|
|
277
285
|
export declare class InvalidDeploymentConfigNameException extends __BaseException {
|
|
278
286
|
static readonly shapeId: string;
|
|
279
287
|
readonly name: "InvalidDeploymentConfigNameException";
|
|
@@ -2,6 +2,7 @@ import {
|
|
|
2
2
|
_InstanceType,
|
|
3
3
|
ApplicationRevisionSortBy,
|
|
4
4
|
AutoRollbackEvent,
|
|
5
|
+
AutoScalingGroupProcess,
|
|
5
6
|
BundleType,
|
|
6
7
|
ComputePlatform,
|
|
7
8
|
DeploymentCreator,
|
|
@@ -144,6 +145,9 @@ export interface DeploymentStyle {
|
|
|
144
145
|
deploymentType?: DeploymentType | undefined;
|
|
145
146
|
deploymentOption?: DeploymentOption | undefined;
|
|
146
147
|
}
|
|
148
|
+
export interface EC2DeploymentOptions {
|
|
149
|
+
autoScalingGroupProcessesToSuspend?: AutoScalingGroupProcess[] | undefined;
|
|
150
|
+
}
|
|
147
151
|
export interface EC2TagFilter {
|
|
148
152
|
Key?: string | undefined;
|
|
149
153
|
Value?: string | undefined;
|
|
@@ -217,6 +221,7 @@ export interface DeploymentGroupInfo {
|
|
|
217
221
|
onPremisesTagSet?: OnPremisesTagSet | undefined;
|
|
218
222
|
computePlatform?: ComputePlatform | undefined;
|
|
219
223
|
ecsServices?: ECSService[] | undefined;
|
|
224
|
+
ec2DeploymentOptions?: EC2DeploymentOptions | undefined;
|
|
220
225
|
terminationHookEnabled?: boolean | undefined;
|
|
221
226
|
}
|
|
222
227
|
export interface BatchGetDeploymentGroupsOutput {
|
|
@@ -313,6 +318,7 @@ export interface DeploymentInfo {
|
|
|
313
318
|
externalId?: string | undefined;
|
|
314
319
|
relatedDeployments?: RelatedDeployments | undefined;
|
|
315
320
|
overrideAlarmConfiguration?: AlarmConfiguration | undefined;
|
|
321
|
+
ec2DeploymentOptions?: EC2DeploymentOptions | undefined;
|
|
316
322
|
}
|
|
317
323
|
export interface BatchGetDeploymentsOutput {
|
|
318
324
|
deploymentsInfo?: DeploymentInfo[] | undefined;
|
|
@@ -424,6 +430,7 @@ export interface CreateDeploymentInput {
|
|
|
424
430
|
fileExistsBehavior?: FileExistsBehavior | undefined;
|
|
425
431
|
deploymentMode?: DeploymentMode | undefined;
|
|
426
432
|
overrideAlarmConfiguration?: AlarmConfiguration | undefined;
|
|
433
|
+
ec2DeploymentOptions?: EC2DeploymentOptions | undefined;
|
|
427
434
|
}
|
|
428
435
|
export interface CreateDeploymentOutput {
|
|
429
436
|
deploymentId?: string | undefined;
|
|
@@ -483,6 +490,7 @@ export interface CreateDeploymentGroupInput {
|
|
|
483
490
|
ecsServices?: ECSService[] | undefined;
|
|
484
491
|
onPremisesTagSet?: OnPremisesTagSet | undefined;
|
|
485
492
|
tags?: Tag[] | undefined;
|
|
493
|
+
ec2DeploymentOptions?: EC2DeploymentOptions | undefined;
|
|
486
494
|
terminationHookEnabled?: boolean | undefined;
|
|
487
495
|
}
|
|
488
496
|
export interface CreateDeploymentGroupOutput {
|
|
@@ -738,6 +746,7 @@ export interface UpdateDeploymentGroupInput {
|
|
|
738
746
|
ec2TagSet?: EC2TagSet | undefined;
|
|
739
747
|
ecsServices?: ECSService[] | undefined;
|
|
740
748
|
onPremisesTagSet?: OnPremisesTagSet | undefined;
|
|
749
|
+
ec2DeploymentOptions?: EC2DeploymentOptions | undefined;
|
|
741
750
|
terminationHookEnabled?: boolean | undefined;
|
|
742
751
|
}
|
|
743
752
|
export interface UpdateDeploymentGroupOutput {
|
|
@@ -46,6 +46,7 @@ export declare var InvalidApplicationNameException$: StaticErrorSchema;
|
|
|
46
46
|
export declare var InvalidArnException$: StaticErrorSchema;
|
|
47
47
|
export declare var InvalidAutoRollbackConfigException$: StaticErrorSchema;
|
|
48
48
|
export declare var InvalidAutoScalingGroupException$: StaticErrorSchema;
|
|
49
|
+
export declare var InvalidAutoScalingGroupProcessToSuspendException$: StaticErrorSchema;
|
|
49
50
|
export declare var InvalidBlueGreenDeploymentConfigurationException$: StaticErrorSchema;
|
|
50
51
|
export declare var InvalidBucketNameFilterException$: StaticErrorSchema;
|
|
51
52
|
export declare var InvalidComputePlatformException$: StaticErrorSchema;
|
|
@@ -162,6 +163,7 @@ export declare var DeploymentStyle$: StaticStructureSchema;
|
|
|
162
163
|
export declare var DeploymentTarget$: StaticStructureSchema;
|
|
163
164
|
export declare var DeregisterOnPremisesInstanceInput$: StaticStructureSchema;
|
|
164
165
|
export declare var Diagnostics$: StaticStructureSchema;
|
|
166
|
+
export declare var EC2DeploymentOptions$: StaticStructureSchema;
|
|
165
167
|
export declare var EC2TagFilter$: StaticStructureSchema;
|
|
166
168
|
export declare var EC2TagSet$: StaticStructureSchema;
|
|
167
169
|
export declare var ECSService$: StaticStructureSchema;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-codedeploy",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1156.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",
|
|
@@ -48,10 +48,10 @@
|
|
|
48
48
|
"test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@aws-sdk/core": "^3.978.
|
|
52
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
53
|
-
"@aws-sdk/types": "^3.
|
|
54
|
-
"@smithy/core": "^3.
|
|
51
|
+
"@aws-sdk/core": "^3.978.5",
|
|
52
|
+
"@aws-sdk/credential-provider-node": "^3.972.88",
|
|
53
|
+
"@aws-sdk/types": "^3.975.0",
|
|
54
|
+
"@smithy/core": "^3.36.1",
|
|
55
55
|
"@smithy/fetch-http-handler": "^5.8.0",
|
|
56
56
|
"@smithy/node-http-handler": "^4.12.1",
|
|
57
57
|
"@smithy/types": "^4.19.0",
|
|
@@ -3,6 +3,7 @@ const { setCredentialFeature } = require("@aws-sdk/core/client");
|
|
|
3
3
|
const { normalizeProvider, memoizeIdentityProvider, isIdentityExpired, doesIdentityRequireRefresh } = require("@smithy/core");
|
|
4
4
|
const { SignatureV4 } = require("@smithy/signature-v4");
|
|
5
5
|
const { HttpResponse, HttpRequest } = require("@smithy/core/protocols");
|
|
6
|
+
const { SMITHY_CONTEXT_KEY } = require("@smithy/types");
|
|
6
7
|
|
|
7
8
|
const getDateHeader = (response) => HttpResponse.isInstance(response) ? (response.headers?.date ?? response.headers?.Date) : undefined;
|
|
8
9
|
const getAgeHeader = (response) => HttpResponse.isInstance(response) ? (response.headers?.age ?? response.headers?.Age) : undefined;
|
|
@@ -30,6 +31,12 @@ const throwSigningPropertyError = (name, property) => {
|
|
|
30
31
|
}
|
|
31
32
|
return property;
|
|
32
33
|
};
|
|
34
|
+
const hasEventStreamOutput = (signingProperties) => {
|
|
35
|
+
const context = signingProperties.context;
|
|
36
|
+
const eventStream = context?.[SMITHY_CONTEXT_KEY]
|
|
37
|
+
?.eventStream;
|
|
38
|
+
return eventStream?.output === true;
|
|
39
|
+
};
|
|
33
40
|
const validateSigningProperties = async (signingProperties) => {
|
|
34
41
|
const context = throwSigningPropertyError("context", signingProperties.context);
|
|
35
42
|
const config = throwSigningPropertyError("config", signingProperties.config);
|
|
@@ -65,7 +72,9 @@ class AwsSdkSigV4Signer {
|
|
|
65
72
|
}
|
|
66
73
|
const noSkewCorrection = (await config.disableClockSkewCorrection?.()) === true;
|
|
67
74
|
signingProperties._disableClockSkewCorrection = noSkewCorrection;
|
|
68
|
-
|
|
75
|
+
const skipSkewSampling = noSkewCorrection || hasEventStreamOutput(signingProperties);
|
|
76
|
+
signingProperties._skipClockSkewSampling = skipSkewSampling;
|
|
77
|
+
if (!skipSkewSampling) {
|
|
69
78
|
signingProperties._preRequestSystemClockOffset = config.systemClockOffset;
|
|
70
79
|
signingProperties._requestSentAt = Date.now();
|
|
71
80
|
}
|
|
@@ -79,7 +88,7 @@ class AwsSdkSigV4Signer {
|
|
|
79
88
|
errorHandler(signingProperties) {
|
|
80
89
|
return (error) => {
|
|
81
90
|
const errorException = error;
|
|
82
|
-
if (!signingProperties._disableClockSkewCorrection) {
|
|
91
|
+
if (!signingProperties._skipClockSkewSampling && !signingProperties._disableClockSkewCorrection) {
|
|
83
92
|
const serverTime = errorException.ServerTime ?? getDateHeader(errorException.$response);
|
|
84
93
|
if (serverTime) {
|
|
85
94
|
const config = throwSigningPropertyError("config", signingProperties.config);
|
|
@@ -100,7 +109,7 @@ class AwsSdkSigV4Signer {
|
|
|
100
109
|
};
|
|
101
110
|
}
|
|
102
111
|
successHandler(httpResponse, signingProperties) {
|
|
103
|
-
if (signingProperties._disableClockSkewCorrection) {
|
|
112
|
+
if (signingProperties._skipClockSkewSampling || signingProperties._disableClockSkewCorrection) {
|
|
104
113
|
return;
|
|
105
114
|
}
|
|
106
115
|
const dateHeader = getDateHeader(httpResponse);
|