@jjrawlins/cdk-ami-builder 0.0.7 → 0.0.9
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 +11 -11
- package/.mergify.yml +3 -3
- package/cdk-ami-builder/go.mod +4 -4
- package/cdk-ami-builder/jsii/jsii.go +2 -2
- package/cdk-ami-builder/version +1 -1
- package/lib/ImagePipeline/ImagePipeline.js +1 -1
- package/lib/Lambdas/CheckStateMachineStatus/CheckStateMachineStatus-function.js +1 -1
- package/lib/Lambdas/StartStateMachine/StartStateMachine-function.js +1 -1
- package/node_modules/@aws/lambda-invoke-store/LICENSE +175 -0
- package/node_modules/@aws/lambda-invoke-store/README.md +182 -0
- package/node_modules/@aws/lambda-invoke-store/dist/invoke-store.d.ts +52 -0
- package/node_modules/@aws/lambda-invoke-store/dist/invoke-store.js +90 -0
- package/node_modules/@aws/lambda-invoke-store/package.json +36 -0
- package/node_modules/@aws-sdk/client-ec2/package.json +39 -39
- package/node_modules/@aws-sdk/client-ecs/dist-cjs/index.js +115 -4
- package/node_modules/@aws-sdk/client-ecs/dist-es/protocols/Aws_json1_1.js +119 -4
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/CreateServiceCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/DeleteServiceCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/DescribeServiceDeploymentsCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/DescribeServicesCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/UpdateServiceCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ecs/dist-types/models/models_0.d.ts +10 -4
- package/node_modules/@aws-sdk/client-ecs/dist-types/models/models_1.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ecs/dist-types/ts3.4/models/models_0.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ecs/package.json +38 -38
- package/node_modules/@aws-sdk/client-kms/package.json +37 -37
- package/node_modules/@aws-sdk/client-s3/package.json +54 -54
- package/node_modules/@aws-sdk/client-secrets-manager/package.json +37 -37
- package/node_modules/@aws-sdk/client-sfn/package.json +37 -37
- package/node_modules/@aws-sdk/client-sns/package.json +37 -37
- package/node_modules/@aws-sdk/client-sqs/package.json +39 -39
- package/node_modules/@aws-sdk/client-ssm/package.json +38 -38
- package/node_modules/@aws-sdk/client-sso/package.json +36 -36
- package/node_modules/@aws-sdk/core/package.json +12 -12
- package/node_modules/@aws-sdk/credential-provider-env/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-http/package.json +9 -9
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +10 -10
- 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/middleware-bucket-endpoint/package.json +5 -5
- package/node_modules/@aws-sdk/middleware-expect-continue/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-flexible-checksums/package.json +10 -10
- package/node_modules/@aws-sdk/middleware-host-header/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-location-constraint/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-logger/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/index.js +14 -32
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/recursionDetectionMiddleware.js +32 -0
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/recursionDetectionMiddleware.native.js +5 -0
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-es/configuration.js +7 -0
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-es/getRecursionDetectionPlugin.js +7 -0
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-es/index.js +2 -37
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-es/recursionDetectionMiddleware.browser.js +1 -0
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-es/recursionDetectionMiddleware.js +28 -0
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-es/recursionDetectionMiddleware.native.js +1 -0
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/configuration.d.ts +5 -0
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/getRecursionDetectionPlugin.d.ts +5 -0
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/index.d.ts +2 -18
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/recursionDetectionMiddleware.browser.d.ts +6 -0
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/recursionDetectionMiddleware.d.ts +6 -0
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/recursionDetectionMiddleware.native.d.ts +6 -0
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/ts3.4/configuration.d.ts +3 -0
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/ts3.4/getRecursionDetectionPlugin.d.ts +4 -0
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/ts3.4/index.d.ts +2 -18
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/ts3.4/recursionDetectionMiddleware.browser.d.ts +5 -0
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/ts3.4/recursionDetectionMiddleware.d.ts +5 -0
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/ts3.4/recursionDetectionMiddleware.native.d.ts +5 -0
- package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +10 -5
- package/node_modules/@aws-sdk/middleware-sdk-ec2/package.json +7 -7
- package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +11 -11
- package/node_modules/@aws-sdk/middleware-sdk-sqs/package.json +5 -5
- package/node_modules/@aws-sdk/middleware-ssec/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +7 -7
- package/node_modules/@aws-sdk/nested-clients/package.json +36 -36
- package/node_modules/@aws-sdk/region-config-resolver/package.json +5 -5
- package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +5 -5
- package/node_modules/@aws-sdk/token-providers/package.json +5 -5
- package/node_modules/@aws-sdk/types/package.json +2 -2
- package/node_modules/@aws-sdk/util-endpoints/package.json +5 -5
- package/node_modules/@aws-sdk/util-format-url/package.json +4 -4
- package/node_modules/@aws-sdk/util-user-agent-browser/package.json +3 -3
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +5 -5
- package/node_modules/@aws-sdk/xml-builder/package.json +2 -2
- package/node_modules/@smithy/abort-controller/package.json +2 -2
- package/node_modules/@smithy/config-resolver/package.json +4 -4
- package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +14 -16
- package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +155 -221
- package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js +12 -10
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/ErrorSchema.js +12 -22
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/ListSchema.js +9 -20
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/MapSchema.js +10 -21
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/NormalizedSchema.js +76 -87
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/OperationSchema.js +11 -12
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/Schema.js +16 -3
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/SimpleSchema.js +9 -20
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/StructureSchema.js +10 -27
- package/node_modules/@smithy/core/dist-types/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +1 -2
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/ErrorSchema.d.ts +3 -16
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/ListSchema.d.ts +3 -5
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/MapSchema.d.ts +3 -9
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/NormalizedSchema.d.ts +15 -13
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/OperationSchema.d.ts +3 -2
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/Schema.d.ts +5 -1
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/SimpleSchema.d.ts +3 -5
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/StructureSchema.d.ts +3 -6
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +1 -2
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/ErrorSchema.d.ts +3 -16
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/ListSchema.d.ts +3 -5
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/MapSchema.d.ts +3 -9
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/NormalizedSchema.d.ts +15 -13
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/OperationSchema.d.ts +3 -2
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/Schema.d.ts +5 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/SimpleSchema.d.ts +3 -5
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/StructureSchema.d.ts +3 -9
- package/node_modules/@smithy/core/package.json +7 -7
- package/node_modules/@smithy/credential-provider-imds/package.json +5 -5
- package/node_modules/@smithy/eventstream-codec/package.json +2 -2
- package/node_modules/@smithy/eventstream-serde-browser/package.json +3 -3
- package/node_modules/@smithy/eventstream-serde-config-resolver/package.json +2 -2
- package/node_modules/@smithy/eventstream-serde-node/package.json +3 -3
- package/node_modules/@smithy/eventstream-serde-universal/package.json +3 -3
- package/node_modules/@smithy/fetch-http-handler/package.json +5 -5
- package/node_modules/@smithy/hash-blob-browser/package.json +2 -2
- package/node_modules/@smithy/hash-node/package.json +2 -2
- package/node_modules/@smithy/hash-stream-node/package.json +2 -2
- package/node_modules/@smithy/invalid-dependency/package.json +2 -2
- package/node_modules/@smithy/md5-js/package.json +2 -2
- package/node_modules/@smithy/middleware-content-length/package.json +3 -3
- package/node_modules/@smithy/middleware-endpoint/package.json +8 -8
- package/node_modules/@smithy/middleware-retry/package.json +8 -8
- package/node_modules/@smithy/middleware-serde/package.json +3 -3
- package/node_modules/@smithy/middleware-stack/package.json +2 -2
- package/node_modules/@smithy/node-config-provider/package.json +4 -4
- package/node_modules/@smithy/node-http-handler/package.json +5 -5
- package/node_modules/@smithy/property-provider/package.json +2 -2
- package/node_modules/@smithy/protocol-http/package.json +2 -2
- package/node_modules/@smithy/querystring-builder/package.json +2 -2
- package/node_modules/@smithy/querystring-parser/package.json +2 -2
- package/node_modules/@smithy/service-error-classification/package.json +2 -2
- package/node_modules/@smithy/shared-ini-file-loader/package.json +2 -2
- package/node_modules/@smithy/signature-v4/package.json +4 -4
- package/node_modules/@smithy/smithy-client/package.json +7 -7
- package/node_modules/@smithy/types/dist-types/schema/schema.d.ts +9 -2
- package/node_modules/@smithy/types/dist-types/ts3.4/schema/schema.d.ts +13 -3
- package/node_modules/@smithy/types/package.json +1 -1
- package/node_modules/@smithy/url-parser/package.json +3 -3
- package/node_modules/@smithy/util-defaults-mode-browser/package.json +4 -4
- package/node_modules/@smithy/util-defaults-mode-node/package.json +7 -7
- package/node_modules/@smithy/util-endpoints/package.json +3 -3
- package/node_modules/@smithy/util-middleware/package.json +2 -2
- package/node_modules/@smithy/util-retry/package.json +3 -3
- package/node_modules/@smithy/util-stream/package.json +4 -4
- package/node_modules/@smithy/util-waiter/package.json +3 -3
- package/package.json +11 -11
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.InvokeStore = void 0;
|
|
4
|
+
const async_hooks_1 = require("async_hooks");
|
|
5
|
+
// AWS_LAMBDA_NODEJS_NO_GLOBAL_AWSLAMBDA provides an escape hatch since we're modifying the global object which may not be expected to a customer's handler.
|
|
6
|
+
const noGlobalAwsLambda = process.env["AWS_LAMBDA_NODEJS_NO_GLOBAL_AWSLAMBDA"] === "1" ||
|
|
7
|
+
process.env["AWS_LAMBDA_NODEJS_NO_GLOBAL_AWSLAMBDA"] === "true";
|
|
8
|
+
if (!noGlobalAwsLambda) {
|
|
9
|
+
globalThis.awslambda = globalThis.awslambda || {};
|
|
10
|
+
}
|
|
11
|
+
const PROTECTED_KEYS = {
|
|
12
|
+
REQUEST_ID: Symbol("_AWS_LAMBDA_REQUEST_ID"),
|
|
13
|
+
X_RAY_TRACE_ID: Symbol("_AWS_LAMBDA_X_RAY_TRACE_ID"),
|
|
14
|
+
};
|
|
15
|
+
/**
|
|
16
|
+
* InvokeStore implementation class
|
|
17
|
+
*/
|
|
18
|
+
class InvokeStoreImpl {
|
|
19
|
+
static storage = new async_hooks_1.AsyncLocalStorage();
|
|
20
|
+
// Protected keys for Lambda context fields
|
|
21
|
+
static PROTECTED_KEYS = PROTECTED_KEYS;
|
|
22
|
+
/**
|
|
23
|
+
* Initialize and run code within an invoke context
|
|
24
|
+
*/
|
|
25
|
+
static run(context, fn) {
|
|
26
|
+
return this.storage.run({ ...context }, fn);
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Get the complete current context
|
|
30
|
+
*/
|
|
31
|
+
static getContext() {
|
|
32
|
+
return this.storage.getStore();
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Get a specific value from the context by key
|
|
36
|
+
*/
|
|
37
|
+
static get(key) {
|
|
38
|
+
const context = this.storage.getStore();
|
|
39
|
+
return context?.[key];
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* Set a custom value in the current context
|
|
43
|
+
* Protected Lambda context fields cannot be overwritten
|
|
44
|
+
*/
|
|
45
|
+
static set(key, value) {
|
|
46
|
+
if (this.isProtectedKey(key)) {
|
|
47
|
+
throw new Error(`Cannot modify protected Lambda context field`);
|
|
48
|
+
}
|
|
49
|
+
const context = this.storage.getStore();
|
|
50
|
+
if (context) {
|
|
51
|
+
context[key] = value;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Get the current request ID
|
|
56
|
+
*/
|
|
57
|
+
static getRequestId() {
|
|
58
|
+
return this.get(this.PROTECTED_KEYS.REQUEST_ID) ?? "-";
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* Get the current X-ray trace ID
|
|
62
|
+
*/
|
|
63
|
+
static getXRayTraceId() {
|
|
64
|
+
return this.get(this.PROTECTED_KEYS.X_RAY_TRACE_ID);
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Check if we're currently within an invoke context
|
|
68
|
+
*/
|
|
69
|
+
static hasContext() {
|
|
70
|
+
return this.storage.getStore() !== undefined;
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* Check if a key is protected (readonly Lambda context field)
|
|
74
|
+
*/
|
|
75
|
+
static isProtectedKey(key) {
|
|
76
|
+
return (key === this.PROTECTED_KEYS.REQUEST_ID ||
|
|
77
|
+
key === this.PROTECTED_KEYS.X_RAY_TRACE_ID);
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
let instance;
|
|
81
|
+
if (!noGlobalAwsLambda && globalThis.awslambda?.InvokeStore) {
|
|
82
|
+
instance = globalThis.awslambda.InvokeStore;
|
|
83
|
+
}
|
|
84
|
+
else {
|
|
85
|
+
instance = InvokeStoreImpl;
|
|
86
|
+
if (!noGlobalAwsLambda && globalThis.awslambda) {
|
|
87
|
+
globalThis.awslambda.InvokeStore = instance;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
exports.InvokeStore = instance;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@aws/lambda-invoke-store",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"description": "Invoke scoped data storage for AWS Lambda Node.js Runtime Environment",
|
|
5
|
+
"homepage": "https://github.com/awslabs/aws-lambda-invoke-store",
|
|
6
|
+
"main": "./dist/invoke-store.js",
|
|
7
|
+
"types": "./dist/invoke-store.d.ts",
|
|
8
|
+
"files": [
|
|
9
|
+
"dist"
|
|
10
|
+
],
|
|
11
|
+
"repository": {
|
|
12
|
+
"type": "git",
|
|
13
|
+
"url": "git+https://github.com/awslabs/aws-lambda-invoke-store.git"
|
|
14
|
+
},
|
|
15
|
+
"license": "Apache-2.0",
|
|
16
|
+
"author": {
|
|
17
|
+
"name": "Amazon Web Services",
|
|
18
|
+
"url": "http://aws.amazon.com"
|
|
19
|
+
},
|
|
20
|
+
"scripts": {
|
|
21
|
+
"build": "tsc",
|
|
22
|
+
"test": "vitest run",
|
|
23
|
+
"test:watch": "vitest watch",
|
|
24
|
+
"clean": "rm -rf dist"
|
|
25
|
+
},
|
|
26
|
+
"devDependencies": {
|
|
27
|
+
"@tsconfig/node18": "^18.2.4",
|
|
28
|
+
"@types/node": "^18.19.112",
|
|
29
|
+
"typescript": "~5.4.5",
|
|
30
|
+
"vitest": "^3.1.1"
|
|
31
|
+
},
|
|
32
|
+
"engines": {
|
|
33
|
+
"node": ">=18.0.0"
|
|
34
|
+
},
|
|
35
|
+
"packageManager": "yarn@4.9.4"
|
|
36
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-ec2",
|
|
3
3
|
"description": "AWS SDK for JavaScript Ec2 Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.887.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-ec2",
|
|
@@ -20,44 +20,44 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
26
|
-
"@aws-sdk/middleware-logger": "3.
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
28
|
-
"@aws-sdk/middleware-sdk-ec2": "3.
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
31
|
-
"@aws-sdk/types": "3.
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
35
|
-
"@smithy/config-resolver": "^4.1
|
|
36
|
-
"@smithy/core": "^3.
|
|
37
|
-
"@smithy/fetch-http-handler": "^5.
|
|
38
|
-
"@smithy/hash-node": "^4.
|
|
39
|
-
"@smithy/invalid-dependency": "^4.
|
|
40
|
-
"@smithy/middleware-content-length": "^4.
|
|
41
|
-
"@smithy/middleware-endpoint": "^4.1
|
|
42
|
-
"@smithy/middleware-retry": "^4.1
|
|
43
|
-
"@smithy/middleware-serde": "^4.
|
|
44
|
-
"@smithy/middleware-stack": "^4.
|
|
45
|
-
"@smithy/node-config-provider": "^4.1
|
|
46
|
-
"@smithy/node-http-handler": "^4.
|
|
47
|
-
"@smithy/protocol-http": "^5.1
|
|
48
|
-
"@smithy/smithy-client": "^4.
|
|
49
|
-
"@smithy/types": "^4.
|
|
50
|
-
"@smithy/url-parser": "^4.
|
|
51
|
-
"@smithy/util-base64": "^4.
|
|
52
|
-
"@smithy/util-body-length-browser": "^4.
|
|
53
|
-
"@smithy/util-body-length-node": "^4.
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^4.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^4.
|
|
56
|
-
"@smithy/util-endpoints": "^3.
|
|
57
|
-
"@smithy/util-middleware": "^4.
|
|
58
|
-
"@smithy/util-retry": "^4.
|
|
59
|
-
"@smithy/util-utf8": "^4.
|
|
60
|
-
"@smithy/util-waiter": "^4.
|
|
23
|
+
"@aws-sdk/core": "3.887.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.887.0",
|
|
25
|
+
"@aws-sdk/middleware-host-header": "3.887.0",
|
|
26
|
+
"@aws-sdk/middleware-logger": "3.887.0",
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.887.0",
|
|
28
|
+
"@aws-sdk/middleware-sdk-ec2": "3.887.0",
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "3.887.0",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "3.887.0",
|
|
31
|
+
"@aws-sdk/types": "3.887.0",
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.887.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "3.887.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "3.887.0",
|
|
35
|
+
"@smithy/config-resolver": "^4.2.1",
|
|
36
|
+
"@smithy/core": "^3.11.0",
|
|
37
|
+
"@smithy/fetch-http-handler": "^5.2.1",
|
|
38
|
+
"@smithy/hash-node": "^4.1.1",
|
|
39
|
+
"@smithy/invalid-dependency": "^4.1.1",
|
|
40
|
+
"@smithy/middleware-content-length": "^4.1.1",
|
|
41
|
+
"@smithy/middleware-endpoint": "^4.2.1",
|
|
42
|
+
"@smithy/middleware-retry": "^4.2.1",
|
|
43
|
+
"@smithy/middleware-serde": "^4.1.1",
|
|
44
|
+
"@smithy/middleware-stack": "^4.1.1",
|
|
45
|
+
"@smithy/node-config-provider": "^4.2.1",
|
|
46
|
+
"@smithy/node-http-handler": "^4.2.1",
|
|
47
|
+
"@smithy/protocol-http": "^5.2.1",
|
|
48
|
+
"@smithy/smithy-client": "^4.6.1",
|
|
49
|
+
"@smithy/types": "^4.5.0",
|
|
50
|
+
"@smithy/url-parser": "^4.1.1",
|
|
51
|
+
"@smithy/util-base64": "^4.1.0",
|
|
52
|
+
"@smithy/util-body-length-browser": "^4.1.0",
|
|
53
|
+
"@smithy/util-body-length-node": "^4.1.0",
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^4.1.1",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^4.1.1",
|
|
56
|
+
"@smithy/util-endpoints": "^3.1.1",
|
|
57
|
+
"@smithy/util-middleware": "^4.1.1",
|
|
58
|
+
"@smithy/util-retry": "^4.1.1",
|
|
59
|
+
"@smithy/util-utf8": "^4.1.0",
|
|
60
|
+
"@smithy/util-waiter": "^4.1.1",
|
|
61
61
|
"@types/uuid": "^9.0.1",
|
|
62
62
|
"tslib": "^2.6.2",
|
|
63
63
|
"uuid": "^9.0.1"
|
|
@@ -1258,7 +1258,7 @@ var se_CreateClusterCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
1258
1258
|
var se_CreateServiceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1259
1259
|
const headers = sharedHeaders("CreateService");
|
|
1260
1260
|
let body;
|
|
1261
|
-
body = JSON.stringify((
|
|
1261
|
+
body = JSON.stringify(se_CreateServiceRequest(input, context));
|
|
1262
1262
|
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1263
1263
|
}, "se_CreateServiceCommand");
|
|
1264
1264
|
var se_CreateTaskSetCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
@@ -1582,7 +1582,7 @@ var se_UpdateContainerInstancesStateCommand = /* @__PURE__ */ __name(async (inpu
|
|
|
1582
1582
|
var se_UpdateServiceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1583
1583
|
const headers = sharedHeaders("UpdateService");
|
|
1584
1584
|
let body;
|
|
1585
|
-
body = JSON.stringify((
|
|
1585
|
+
body = JSON.stringify(se_UpdateServiceRequest(input, context));
|
|
1586
1586
|
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1587
1587
|
}, "se_UpdateServiceCommand");
|
|
1588
1588
|
var se_UpdateServicePrimaryTaskSetCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
@@ -2729,6 +2729,36 @@ var se_CreatedAt = /* @__PURE__ */ __name((input, context) => {
|
|
|
2729
2729
|
before: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "before")
|
|
2730
2730
|
});
|
|
2731
2731
|
}, "se_CreatedAt");
|
|
2732
|
+
var se_CreateServiceRequest = /* @__PURE__ */ __name((input, context) => {
|
|
2733
|
+
return (0, import_smithy_client.take)(input, {
|
|
2734
|
+
availabilityZoneRebalancing: [],
|
|
2735
|
+
capacityProviderStrategy: import_smithy_client._json,
|
|
2736
|
+
clientToken: [],
|
|
2737
|
+
cluster: [],
|
|
2738
|
+
deploymentConfiguration: /* @__PURE__ */ __name((_) => se_DeploymentConfiguration(_, context), "deploymentConfiguration"),
|
|
2739
|
+
deploymentController: import_smithy_client._json,
|
|
2740
|
+
desiredCount: [],
|
|
2741
|
+
enableECSManagedTags: [],
|
|
2742
|
+
enableExecuteCommand: [],
|
|
2743
|
+
healthCheckGracePeriodSeconds: [],
|
|
2744
|
+
launchType: [],
|
|
2745
|
+
loadBalancers: import_smithy_client._json,
|
|
2746
|
+
networkConfiguration: import_smithy_client._json,
|
|
2747
|
+
placementConstraints: import_smithy_client._json,
|
|
2748
|
+
placementStrategy: import_smithy_client._json,
|
|
2749
|
+
platformVersion: [],
|
|
2750
|
+
propagateTags: [],
|
|
2751
|
+
role: [],
|
|
2752
|
+
schedulingStrategy: [],
|
|
2753
|
+
serviceConnectConfiguration: import_smithy_client._json,
|
|
2754
|
+
serviceName: [],
|
|
2755
|
+
serviceRegistries: import_smithy_client._json,
|
|
2756
|
+
tags: import_smithy_client._json,
|
|
2757
|
+
taskDefinition: [],
|
|
2758
|
+
volumeConfigurations: import_smithy_client._json,
|
|
2759
|
+
vpcLatticeConfigurations: import_smithy_client._json
|
|
2760
|
+
});
|
|
2761
|
+
}, "se_CreateServiceRequest");
|
|
2732
2762
|
var se_CreateTaskSetRequest = /* @__PURE__ */ __name((input, context) => {
|
|
2733
2763
|
return (0, import_smithy_client.take)(input, {
|
|
2734
2764
|
capacityProviderStrategy: import_smithy_client._json,
|
|
@@ -2746,6 +2776,33 @@ var se_CreateTaskSetRequest = /* @__PURE__ */ __name((input, context) => {
|
|
|
2746
2776
|
taskDefinition: []
|
|
2747
2777
|
});
|
|
2748
2778
|
}, "se_CreateTaskSetRequest");
|
|
2779
|
+
var se_DeploymentConfiguration = /* @__PURE__ */ __name((input, context) => {
|
|
2780
|
+
return (0, import_smithy_client.take)(input, {
|
|
2781
|
+
alarms: import_smithy_client._json,
|
|
2782
|
+
bakeTimeInMinutes: [],
|
|
2783
|
+
deploymentCircuitBreaker: import_smithy_client._json,
|
|
2784
|
+
lifecycleHooks: /* @__PURE__ */ __name((_) => se_DeploymentLifecycleHookList(_, context), "lifecycleHooks"),
|
|
2785
|
+
maximumPercent: [],
|
|
2786
|
+
minimumHealthyPercent: [],
|
|
2787
|
+
strategy: []
|
|
2788
|
+
});
|
|
2789
|
+
}, "se_DeploymentConfiguration");
|
|
2790
|
+
var se_DeploymentLifecycleHook = /* @__PURE__ */ __name((input, context) => {
|
|
2791
|
+
return (0, import_smithy_client.take)(input, {
|
|
2792
|
+
hookDetails: /* @__PURE__ */ __name((_) => se_HookDetails(_, context), "hookDetails"),
|
|
2793
|
+
hookTargetArn: [],
|
|
2794
|
+
lifecycleStages: import_smithy_client._json,
|
|
2795
|
+
roleArn: []
|
|
2796
|
+
});
|
|
2797
|
+
}, "se_DeploymentLifecycleHook");
|
|
2798
|
+
var se_DeploymentLifecycleHookList = /* @__PURE__ */ __name((input, context) => {
|
|
2799
|
+
return input.filter((e) => e != null).map((entry) => {
|
|
2800
|
+
return se_DeploymentLifecycleHook(entry, context);
|
|
2801
|
+
});
|
|
2802
|
+
}, "se_DeploymentLifecycleHookList");
|
|
2803
|
+
var se_HookDetails = /* @__PURE__ */ __name((input, context) => {
|
|
2804
|
+
return input;
|
|
2805
|
+
}, "se_HookDetails");
|
|
2749
2806
|
var se_ListServiceDeploymentsRequest = /* @__PURE__ */ __name((input, context) => {
|
|
2750
2807
|
return (0, import_smithy_client.take)(input, {
|
|
2751
2808
|
cluster: [],
|
|
@@ -2827,6 +2884,32 @@ var se_SubmitTaskStateChangeRequest = /* @__PURE__ */ __name((input, context) =>
|
|
|
2827
2884
|
task: []
|
|
2828
2885
|
});
|
|
2829
2886
|
}, "se_SubmitTaskStateChangeRequest");
|
|
2887
|
+
var se_UpdateServiceRequest = /* @__PURE__ */ __name((input, context) => {
|
|
2888
|
+
return (0, import_smithy_client.take)(input, {
|
|
2889
|
+
availabilityZoneRebalancing: [],
|
|
2890
|
+
capacityProviderStrategy: import_smithy_client._json,
|
|
2891
|
+
cluster: [],
|
|
2892
|
+
deploymentConfiguration: /* @__PURE__ */ __name((_) => se_DeploymentConfiguration(_, context), "deploymentConfiguration"),
|
|
2893
|
+
deploymentController: import_smithy_client._json,
|
|
2894
|
+
desiredCount: [],
|
|
2895
|
+
enableECSManagedTags: [],
|
|
2896
|
+
enableExecuteCommand: [],
|
|
2897
|
+
forceNewDeployment: [],
|
|
2898
|
+
healthCheckGracePeriodSeconds: [],
|
|
2899
|
+
loadBalancers: import_smithy_client._json,
|
|
2900
|
+
networkConfiguration: import_smithy_client._json,
|
|
2901
|
+
placementConstraints: import_smithy_client._json,
|
|
2902
|
+
placementStrategy: import_smithy_client._json,
|
|
2903
|
+
platformVersion: [],
|
|
2904
|
+
propagateTags: [],
|
|
2905
|
+
service: [],
|
|
2906
|
+
serviceConnectConfiguration: import_smithy_client._json,
|
|
2907
|
+
serviceRegistries: import_smithy_client._json,
|
|
2908
|
+
taskDefinition: [],
|
|
2909
|
+
volumeConfigurations: import_smithy_client._json,
|
|
2910
|
+
vpcLatticeConfigurations: import_smithy_client._json
|
|
2911
|
+
});
|
|
2912
|
+
}, "se_UpdateServiceRequest");
|
|
2830
2913
|
var se_UpdateTaskSetRequest = /* @__PURE__ */ __name((input, context) => {
|
|
2831
2914
|
return (0, import_smithy_client.take)(input, {
|
|
2832
2915
|
cluster: [],
|
|
@@ -2947,6 +3030,31 @@ var de_Deployment = /* @__PURE__ */ __name((output, context) => {
|
|
|
2947
3030
|
vpcLatticeConfigurations: import_smithy_client._json
|
|
2948
3031
|
});
|
|
2949
3032
|
}, "de_Deployment");
|
|
3033
|
+
var de_DeploymentConfiguration = /* @__PURE__ */ __name((output, context) => {
|
|
3034
|
+
return (0, import_smithy_client.take)(output, {
|
|
3035
|
+
alarms: import_smithy_client._json,
|
|
3036
|
+
bakeTimeInMinutes: import_smithy_client.expectInt32,
|
|
3037
|
+
deploymentCircuitBreaker: import_smithy_client._json,
|
|
3038
|
+
lifecycleHooks: /* @__PURE__ */ __name((_) => de_DeploymentLifecycleHookList(_, context), "lifecycleHooks"),
|
|
3039
|
+
maximumPercent: import_smithy_client.expectInt32,
|
|
3040
|
+
minimumHealthyPercent: import_smithy_client.expectInt32,
|
|
3041
|
+
strategy: import_smithy_client.expectString
|
|
3042
|
+
});
|
|
3043
|
+
}, "de_DeploymentConfiguration");
|
|
3044
|
+
var de_DeploymentLifecycleHook = /* @__PURE__ */ __name((output, context) => {
|
|
3045
|
+
return (0, import_smithy_client.take)(output, {
|
|
3046
|
+
hookDetails: /* @__PURE__ */ __name((_) => de_HookDetails(_, context), "hookDetails"),
|
|
3047
|
+
hookTargetArn: import_smithy_client.expectString,
|
|
3048
|
+
lifecycleStages: import_smithy_client._json,
|
|
3049
|
+
roleArn: import_smithy_client.expectString
|
|
3050
|
+
});
|
|
3051
|
+
}, "de_DeploymentLifecycleHook");
|
|
3052
|
+
var de_DeploymentLifecycleHookList = /* @__PURE__ */ __name((output, context) => {
|
|
3053
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
3054
|
+
return de_DeploymentLifecycleHook(entry, context);
|
|
3055
|
+
});
|
|
3056
|
+
return retVal;
|
|
3057
|
+
}, "de_DeploymentLifecycleHookList");
|
|
2950
3058
|
var de_Deployments = /* @__PURE__ */ __name((output, context) => {
|
|
2951
3059
|
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2952
3060
|
return de_Deployment(entry, context);
|
|
@@ -3011,6 +3119,9 @@ var de_GetTaskProtectionResponse = /* @__PURE__ */ __name((output, context) => {
|
|
|
3011
3119
|
protectedTasks: /* @__PURE__ */ __name((_) => de_ProtectedTasks(_, context), "protectedTasks")
|
|
3012
3120
|
});
|
|
3013
3121
|
}, "de_GetTaskProtectionResponse");
|
|
3122
|
+
var de_HookDetails = /* @__PURE__ */ __name((output, context) => {
|
|
3123
|
+
return output;
|
|
3124
|
+
}, "de_HookDetails");
|
|
3014
3125
|
var de_InstanceHealthCheckResult = /* @__PURE__ */ __name((output, context) => {
|
|
3015
3126
|
return (0, import_smithy_client.take)(output, {
|
|
3016
3127
|
lastStatusChange: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "lastStatusChange"),
|
|
@@ -3111,7 +3222,7 @@ var de_Service = /* @__PURE__ */ __name((output, context) => {
|
|
|
3111
3222
|
clusterArn: import_smithy_client.expectString,
|
|
3112
3223
|
createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "createdAt"),
|
|
3113
3224
|
createdBy: import_smithy_client.expectString,
|
|
3114
|
-
deploymentConfiguration:
|
|
3225
|
+
deploymentConfiguration: /* @__PURE__ */ __name((_) => de_DeploymentConfiguration(_, context), "deploymentConfiguration"),
|
|
3115
3226
|
deploymentController: import_smithy_client._json,
|
|
3116
3227
|
deployments: /* @__PURE__ */ __name((_) => de_Deployments(_, context), "deployments"),
|
|
3117
3228
|
desiredCount: import_smithy_client.expectInt32,
|
|
@@ -3146,7 +3257,7 @@ var de_ServiceDeployment = /* @__PURE__ */ __name((output, context) => {
|
|
|
3146
3257
|
clusterArn: import_smithy_client.expectString,
|
|
3147
3258
|
createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "createdAt"),
|
|
3148
3259
|
deploymentCircuitBreaker: import_smithy_client._json,
|
|
3149
|
-
deploymentConfiguration:
|
|
3260
|
+
deploymentConfiguration: /* @__PURE__ */ __name((_) => de_DeploymentConfiguration(_, context), "deploymentConfiguration"),
|
|
3150
3261
|
finishedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "finishedAt"),
|
|
3151
3262
|
lifecycleStage: import_smithy_client.expectString,
|
|
3152
3263
|
rollback: /* @__PURE__ */ __name((_) => de_Rollback(_, context), "rollback"),
|
|
@@ -20,7 +20,7 @@ export const se_CreateClusterCommand = async (input, context) => {
|
|
|
20
20
|
export const se_CreateServiceCommand = async (input, context) => {
|
|
21
21
|
const headers = sharedHeaders("CreateService");
|
|
22
22
|
let body;
|
|
23
|
-
body = JSON.stringify(
|
|
23
|
+
body = JSON.stringify(se_CreateServiceRequest(input, context));
|
|
24
24
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
25
25
|
};
|
|
26
26
|
export const se_CreateTaskSetCommand = async (input, context) => {
|
|
@@ -344,7 +344,7 @@ export const se_UpdateContainerInstancesStateCommand = async (input, context) =>
|
|
|
344
344
|
export const se_UpdateServiceCommand = async (input, context) => {
|
|
345
345
|
const headers = sharedHeaders("UpdateService");
|
|
346
346
|
let body;
|
|
347
|
-
body = JSON.stringify(
|
|
347
|
+
body = JSON.stringify(se_UpdateServiceRequest(input, context));
|
|
348
348
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
349
349
|
};
|
|
350
350
|
export const se_UpdateServicePrimaryTaskSetCommand = async (input, context) => {
|
|
@@ -1491,6 +1491,36 @@ const se_CreatedAt = (input, context) => {
|
|
|
1491
1491
|
before: (_) => _.getTime() / 1_000,
|
|
1492
1492
|
});
|
|
1493
1493
|
};
|
|
1494
|
+
const se_CreateServiceRequest = (input, context) => {
|
|
1495
|
+
return take(input, {
|
|
1496
|
+
availabilityZoneRebalancing: [],
|
|
1497
|
+
capacityProviderStrategy: _json,
|
|
1498
|
+
clientToken: [],
|
|
1499
|
+
cluster: [],
|
|
1500
|
+
deploymentConfiguration: (_) => se_DeploymentConfiguration(_, context),
|
|
1501
|
+
deploymentController: _json,
|
|
1502
|
+
desiredCount: [],
|
|
1503
|
+
enableECSManagedTags: [],
|
|
1504
|
+
enableExecuteCommand: [],
|
|
1505
|
+
healthCheckGracePeriodSeconds: [],
|
|
1506
|
+
launchType: [],
|
|
1507
|
+
loadBalancers: _json,
|
|
1508
|
+
networkConfiguration: _json,
|
|
1509
|
+
placementConstraints: _json,
|
|
1510
|
+
placementStrategy: _json,
|
|
1511
|
+
platformVersion: [],
|
|
1512
|
+
propagateTags: [],
|
|
1513
|
+
role: [],
|
|
1514
|
+
schedulingStrategy: [],
|
|
1515
|
+
serviceConnectConfiguration: _json,
|
|
1516
|
+
serviceName: [],
|
|
1517
|
+
serviceRegistries: _json,
|
|
1518
|
+
tags: _json,
|
|
1519
|
+
taskDefinition: [],
|
|
1520
|
+
volumeConfigurations: _json,
|
|
1521
|
+
vpcLatticeConfigurations: _json,
|
|
1522
|
+
});
|
|
1523
|
+
};
|
|
1494
1524
|
const se_CreateTaskSetRequest = (input, context) => {
|
|
1495
1525
|
return take(input, {
|
|
1496
1526
|
capacityProviderStrategy: _json,
|
|
@@ -1508,6 +1538,35 @@ const se_CreateTaskSetRequest = (input, context) => {
|
|
|
1508
1538
|
taskDefinition: [],
|
|
1509
1539
|
});
|
|
1510
1540
|
};
|
|
1541
|
+
const se_DeploymentConfiguration = (input, context) => {
|
|
1542
|
+
return take(input, {
|
|
1543
|
+
alarms: _json,
|
|
1544
|
+
bakeTimeInMinutes: [],
|
|
1545
|
+
deploymentCircuitBreaker: _json,
|
|
1546
|
+
lifecycleHooks: (_) => se_DeploymentLifecycleHookList(_, context),
|
|
1547
|
+
maximumPercent: [],
|
|
1548
|
+
minimumHealthyPercent: [],
|
|
1549
|
+
strategy: [],
|
|
1550
|
+
});
|
|
1551
|
+
};
|
|
1552
|
+
const se_DeploymentLifecycleHook = (input, context) => {
|
|
1553
|
+
return take(input, {
|
|
1554
|
+
hookDetails: (_) => se_HookDetails(_, context),
|
|
1555
|
+
hookTargetArn: [],
|
|
1556
|
+
lifecycleStages: _json,
|
|
1557
|
+
roleArn: [],
|
|
1558
|
+
});
|
|
1559
|
+
};
|
|
1560
|
+
const se_DeploymentLifecycleHookList = (input, context) => {
|
|
1561
|
+
return input
|
|
1562
|
+
.filter((e) => e != null)
|
|
1563
|
+
.map((entry) => {
|
|
1564
|
+
return se_DeploymentLifecycleHook(entry, context);
|
|
1565
|
+
});
|
|
1566
|
+
};
|
|
1567
|
+
const se_HookDetails = (input, context) => {
|
|
1568
|
+
return input;
|
|
1569
|
+
};
|
|
1511
1570
|
const se_ListServiceDeploymentsRequest = (input, context) => {
|
|
1512
1571
|
return take(input, {
|
|
1513
1572
|
cluster: [],
|
|
@@ -1591,6 +1650,32 @@ const se_SubmitTaskStateChangeRequest = (input, context) => {
|
|
|
1591
1650
|
task: [],
|
|
1592
1651
|
});
|
|
1593
1652
|
};
|
|
1653
|
+
const se_UpdateServiceRequest = (input, context) => {
|
|
1654
|
+
return take(input, {
|
|
1655
|
+
availabilityZoneRebalancing: [],
|
|
1656
|
+
capacityProviderStrategy: _json,
|
|
1657
|
+
cluster: [],
|
|
1658
|
+
deploymentConfiguration: (_) => se_DeploymentConfiguration(_, context),
|
|
1659
|
+
deploymentController: _json,
|
|
1660
|
+
desiredCount: [],
|
|
1661
|
+
enableECSManagedTags: [],
|
|
1662
|
+
enableExecuteCommand: [],
|
|
1663
|
+
forceNewDeployment: [],
|
|
1664
|
+
healthCheckGracePeriodSeconds: [],
|
|
1665
|
+
loadBalancers: _json,
|
|
1666
|
+
networkConfiguration: _json,
|
|
1667
|
+
placementConstraints: _json,
|
|
1668
|
+
placementStrategy: _json,
|
|
1669
|
+
platformVersion: [],
|
|
1670
|
+
propagateTags: [],
|
|
1671
|
+
service: [],
|
|
1672
|
+
serviceConnectConfiguration: _json,
|
|
1673
|
+
serviceRegistries: _json,
|
|
1674
|
+
taskDefinition: [],
|
|
1675
|
+
volumeConfigurations: _json,
|
|
1676
|
+
vpcLatticeConfigurations: _json,
|
|
1677
|
+
});
|
|
1678
|
+
};
|
|
1594
1679
|
const se_UpdateTaskSetRequest = (input, context) => {
|
|
1595
1680
|
return take(input, {
|
|
1596
1681
|
cluster: [],
|
|
@@ -1715,6 +1800,33 @@ const de_Deployment = (output, context) => {
|
|
|
1715
1800
|
vpcLatticeConfigurations: _json,
|
|
1716
1801
|
});
|
|
1717
1802
|
};
|
|
1803
|
+
const de_DeploymentConfiguration = (output, context) => {
|
|
1804
|
+
return take(output, {
|
|
1805
|
+
alarms: _json,
|
|
1806
|
+
bakeTimeInMinutes: __expectInt32,
|
|
1807
|
+
deploymentCircuitBreaker: _json,
|
|
1808
|
+
lifecycleHooks: (_) => de_DeploymentLifecycleHookList(_, context),
|
|
1809
|
+
maximumPercent: __expectInt32,
|
|
1810
|
+
minimumHealthyPercent: __expectInt32,
|
|
1811
|
+
strategy: __expectString,
|
|
1812
|
+
});
|
|
1813
|
+
};
|
|
1814
|
+
const de_DeploymentLifecycleHook = (output, context) => {
|
|
1815
|
+
return take(output, {
|
|
1816
|
+
hookDetails: (_) => de_HookDetails(_, context),
|
|
1817
|
+
hookTargetArn: __expectString,
|
|
1818
|
+
lifecycleStages: _json,
|
|
1819
|
+
roleArn: __expectString,
|
|
1820
|
+
});
|
|
1821
|
+
};
|
|
1822
|
+
const de_DeploymentLifecycleHookList = (output, context) => {
|
|
1823
|
+
const retVal = (output || [])
|
|
1824
|
+
.filter((e) => e != null)
|
|
1825
|
+
.map((entry) => {
|
|
1826
|
+
return de_DeploymentLifecycleHook(entry, context);
|
|
1827
|
+
});
|
|
1828
|
+
return retVal;
|
|
1829
|
+
};
|
|
1718
1830
|
const de_Deployments = (output, context) => {
|
|
1719
1831
|
const retVal = (output || [])
|
|
1720
1832
|
.filter((e) => e != null)
|
|
@@ -1781,6 +1893,9 @@ const de_GetTaskProtectionResponse = (output, context) => {
|
|
|
1781
1893
|
protectedTasks: (_) => de_ProtectedTasks(_, context),
|
|
1782
1894
|
});
|
|
1783
1895
|
};
|
|
1896
|
+
const de_HookDetails = (output, context) => {
|
|
1897
|
+
return output;
|
|
1898
|
+
};
|
|
1784
1899
|
const de_InstanceHealthCheckResult = (output, context) => {
|
|
1785
1900
|
return take(output, {
|
|
1786
1901
|
lastStatusChange: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
@@ -1889,7 +2004,7 @@ const de_Service = (output, context) => {
|
|
|
1889
2004
|
clusterArn: __expectString,
|
|
1890
2005
|
createdAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1891
2006
|
createdBy: __expectString,
|
|
1892
|
-
deploymentConfiguration:
|
|
2007
|
+
deploymentConfiguration: (_) => de_DeploymentConfiguration(_, context),
|
|
1893
2008
|
deploymentController: _json,
|
|
1894
2009
|
deployments: (_) => de_Deployments(_, context),
|
|
1895
2010
|
desiredCount: __expectInt32,
|
|
@@ -1924,7 +2039,7 @@ const de_ServiceDeployment = (output, context) => {
|
|
|
1924
2039
|
clusterArn: __expectString,
|
|
1925
2040
|
createdAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1926
2041
|
deploymentCircuitBreaker: _json,
|
|
1927
|
-
deploymentConfiguration:
|
|
2042
|
+
deploymentConfiguration: (_) => de_DeploymentConfiguration(_, context),
|
|
1928
2043
|
finishedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1929
2044
|
lifecycleStage: __expectString,
|
|
1930
2045
|
rollback: (_) => de_Rollback(_, context),
|
|
@@ -252,6 +252,7 @@ declare const CreateServiceCommand_base: {
|
|
|
252
252
|
* lifecycleStages: [ // DeploymentLifecycleHookStageList
|
|
253
253
|
* "RECONCILE_SERVICE" || "PRE_SCALE_UP" || "POST_SCALE_UP" || "TEST_TRAFFIC_SHIFT" || "POST_TEST_TRAFFIC_SHIFT" || "PRODUCTION_TRAFFIC_SHIFT" || "POST_PRODUCTION_TRAFFIC_SHIFT",
|
|
254
254
|
* ],
|
|
255
|
+
* hookDetails: "DOCUMENT_VALUE",
|
|
255
256
|
* },
|
|
256
257
|
* ],
|
|
257
258
|
* },
|
|
@@ -444,6 +445,7 @@ declare const CreateServiceCommand_base: {
|
|
|
444
445
|
* // lifecycleStages: [ // DeploymentLifecycleHookStageList
|
|
445
446
|
* // "RECONCILE_SERVICE" || "PRE_SCALE_UP" || "POST_SCALE_UP" || "TEST_TRAFFIC_SHIFT" || "POST_TEST_TRAFFIC_SHIFT" || "PRODUCTION_TRAFFIC_SHIFT" || "POST_PRODUCTION_TRAFFIC_SHIFT",
|
|
446
447
|
* // ],
|
|
448
|
+
* // hookDetails: "DOCUMENT_VALUE",
|
|
447
449
|
* // },
|
|
448
450
|
* // ],
|
|
449
451
|
* // },
|
|
@@ -126,6 +126,7 @@ declare const DeleteServiceCommand_base: {
|
|
|
126
126
|
* // lifecycleStages: [ // DeploymentLifecycleHookStageList
|
|
127
127
|
* // "RECONCILE_SERVICE" || "PRE_SCALE_UP" || "POST_SCALE_UP" || "TEST_TRAFFIC_SHIFT" || "POST_TEST_TRAFFIC_SHIFT" || "PRODUCTION_TRAFFIC_SHIFT" || "POST_PRODUCTION_TRAFFIC_SHIFT",
|
|
128
128
|
* // ],
|
|
129
|
+
* // hookDetails: "DOCUMENT_VALUE",
|
|
129
130
|
* // },
|
|
130
131
|
* // ],
|
|
131
132
|
* // },
|
package/node_modules/@aws-sdk/client-ecs/dist-types/commands/DescribeServiceDeploymentsCommand.d.ts
CHANGED
|
@@ -94,6 +94,7 @@ declare const DescribeServiceDeploymentsCommand_base: {
|
|
|
94
94
|
* // lifecycleStages: [ // DeploymentLifecycleHookStageList
|
|
95
95
|
* // "RECONCILE_SERVICE" || "PRE_SCALE_UP" || "POST_SCALE_UP" || "TEST_TRAFFIC_SHIFT" || "POST_TEST_TRAFFIC_SHIFT" || "PRODUCTION_TRAFFIC_SHIFT" || "POST_PRODUCTION_TRAFFIC_SHIFT",
|
|
96
96
|
* // ],
|
|
97
|
+
* // hookDetails: "DOCUMENT_VALUE",
|
|
97
98
|
* // },
|
|
98
99
|
* // ],
|
|
99
100
|
* // },
|
|
@@ -111,6 +111,7 @@ declare const DescribeServicesCommand_base: {
|
|
|
111
111
|
* // lifecycleStages: [ // DeploymentLifecycleHookStageList
|
|
112
112
|
* // "RECONCILE_SERVICE" || "PRE_SCALE_UP" || "POST_SCALE_UP" || "TEST_TRAFFIC_SHIFT" || "POST_TEST_TRAFFIC_SHIFT" || "PRODUCTION_TRAFFIC_SHIFT" || "POST_PRODUCTION_TRAFFIC_SHIFT",
|
|
113
113
|
* // ],
|
|
114
|
+
* // hookDetails: "DOCUMENT_VALUE",
|
|
114
115
|
* // },
|
|
115
116
|
* // ],
|
|
116
117
|
* // },
|
|
@@ -185,6 +185,7 @@ declare const UpdateServiceCommand_base: {
|
|
|
185
185
|
* lifecycleStages: [ // DeploymentLifecycleHookStageList
|
|
186
186
|
* "RECONCILE_SERVICE" || "PRE_SCALE_UP" || "POST_SCALE_UP" || "TEST_TRAFFIC_SHIFT" || "POST_TEST_TRAFFIC_SHIFT" || "PRODUCTION_TRAFFIC_SHIFT" || "POST_PRODUCTION_TRAFFIC_SHIFT",
|
|
187
187
|
* ],
|
|
188
|
+
* hookDetails: "DOCUMENT_VALUE",
|
|
188
189
|
* },
|
|
189
190
|
* ],
|
|
190
191
|
* },
|
|
@@ -395,6 +396,7 @@ declare const UpdateServiceCommand_base: {
|
|
|
395
396
|
* // lifecycleStages: [ // DeploymentLifecycleHookStageList
|
|
396
397
|
* // "RECONCILE_SERVICE" || "PRE_SCALE_UP" || "POST_SCALE_UP" || "TEST_TRAFFIC_SHIFT" || "POST_TEST_TRAFFIC_SHIFT" || "PRODUCTION_TRAFFIC_SHIFT" || "POST_PRODUCTION_TRAFFIC_SHIFT",
|
|
397
398
|
* // ],
|
|
399
|
+
* // hookDetails: "DOCUMENT_VALUE",
|
|
398
400
|
* // },
|
|
399
401
|
* // ],
|
|
400
402
|
* // },
|