@cdklabs/cdk-ecs-codedeploy 0.0.161 → 0.0.162

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.
Files changed (142) hide show
  1. package/.jsii +3 -3
  2. package/lib/api-canary/index.js +1 -1
  3. package/lib/ecs-appspec/index.js +1 -1
  4. package/lib/ecs-deployment/index.js +1 -1
  5. package/lib/ecs-patterns/application-load-balanced-codedeployed-fargate-service.js +1 -1
  6. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/protocols/Aws_json1_1.js +1 -1
  7. package/node_modules/@aws-sdk/client-codedeploy/dist-es/protocols/Aws_json1_1.js +1 -1
  8. package/node_modules/@aws-sdk/client-codedeploy/dist-types/CodeDeployClient.d.ts +3 -2
  9. package/node_modules/@aws-sdk/client-codedeploy/dist-types/endpoint/EndpointParameters.d.ts +2 -1
  10. package/node_modules/@aws-sdk/client-codedeploy/dist-types/protocols/Aws_json1_1.d.ts +2 -2
  11. package/node_modules/@aws-sdk/client-codedeploy/dist-types/runtimeConfig.browser.d.ts +12 -12
  12. package/node_modules/@aws-sdk/client-codedeploy/dist-types/runtimeConfig.d.ts +9 -9
  13. package/node_modules/@aws-sdk/client-codedeploy/dist-types/runtimeConfig.native.d.ts +13 -13
  14. package/node_modules/@aws-sdk/client-codedeploy/dist-types/runtimeConfig.shared.d.ts +4 -4
  15. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/CodeDeployClient.d.ts +7 -5
  16. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -2
  17. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +2 -2
  18. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/runtimeConfig.browser.d.ts +18 -15
  19. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/runtimeConfig.d.ts +12 -12
  20. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/runtimeConfig.native.d.ts +20 -15
  21. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -4
  22. package/node_modules/@aws-sdk/client-codedeploy/package.json +5 -4
  23. package/node_modules/@aws-sdk/client-sso/dist-cjs/protocols/Aws_restJson1.js +1 -1
  24. package/node_modules/@aws-sdk/client-sso/dist-es/protocols/Aws_restJson1.js +1 -1
  25. package/node_modules/@aws-sdk/client-sso/dist-types/SSOClient.d.ts +3 -2
  26. package/node_modules/@aws-sdk/client-sso/dist-types/endpoint/EndpointParameters.d.ts +2 -1
  27. package/node_modules/@aws-sdk/client-sso/dist-types/protocols/Aws_restJson1.d.ts +2 -2
  28. package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.browser.d.ts +11 -11
  29. package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.d.ts +8 -8
  30. package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.native.d.ts +12 -12
  31. package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.shared.d.ts +4 -4
  32. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/SSOClient.d.ts +7 -5
  33. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -2
  34. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +2 -2
  35. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.browser.d.ts +17 -14
  36. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.d.ts +11 -11
  37. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.native.d.ts +19 -14
  38. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -4
  39. package/node_modules/@aws-sdk/client-sso/package.json +3 -2
  40. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/protocols/Aws_restJson1.js +1 -1
  41. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/protocols/Aws_restJson1.js +1 -1
  42. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/SSOOIDCClient.d.ts +3 -2
  43. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/endpoint/EndpointParameters.d.ts +2 -1
  44. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/protocols/Aws_restJson1.d.ts +2 -2
  45. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.browser.d.ts +11 -11
  46. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.d.ts +8 -8
  47. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.native.d.ts +12 -12
  48. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.shared.d.ts +4 -4
  49. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/SSOOIDCClient.d.ts +7 -5
  50. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -2
  51. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +2 -2
  52. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.browser.d.ts +17 -14
  53. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.d.ts +11 -11
  54. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.native.d.ts +19 -14
  55. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -4
  56. package/node_modules/@aws-sdk/client-sso-oidc/package.json +3 -2
  57. package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/AssumeRoleCommand.js +2 -1
  58. package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/AssumeRoleWithSAMLCommand.js +3 -2
  59. package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/AssumeRoleWithWebIdentityCommand.js +3 -2
  60. package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/GetFederationTokenCommand.js +2 -1
  61. package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/GetSessionTokenCommand.js +2 -1
  62. package/node_modules/@aws-sdk/client-sts/dist-cjs/models/models_0.js +42 -1
  63. package/node_modules/@aws-sdk/client-sts/dist-cjs/protocols/Aws_query.js +1 -1
  64. package/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleCommand.js +2 -1
  65. package/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleWithSAMLCommand.js +3 -2
  66. package/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleWithWebIdentityCommand.js +3 -2
  67. package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetFederationTokenCommand.js +2 -1
  68. package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetSessionTokenCommand.js +2 -1
  69. package/node_modules/@aws-sdk/client-sts/dist-es/models/models_0.js +33 -0
  70. package/node_modules/@aws-sdk/client-sts/dist-es/protocols/Aws_query.js +1 -1
  71. package/node_modules/@aws-sdk/client-sts/dist-types/STSClient.d.ts +3 -2
  72. package/node_modules/@aws-sdk/client-sts/dist-types/endpoint/EndpointParameters.d.ts +2 -1
  73. package/node_modules/@aws-sdk/client-sts/dist-types/models/models_0.d.ts +32 -0
  74. package/node_modules/@aws-sdk/client-sts/dist-types/protocols/Aws_query.d.ts +2 -2
  75. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.browser.d.ts +13 -13
  76. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.d.ts +9 -9
  77. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.native.d.ts +14 -14
  78. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.shared.d.ts +4 -4
  79. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/STSClient.d.ts +7 -5
  80. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -2
  81. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/models/models_0.d.ts +22 -0
  82. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/protocols/Aws_query.d.ts +2 -2
  83. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.browser.d.ts +19 -16
  84. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.d.ts +12 -12
  85. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.native.d.ts +21 -16
  86. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -4
  87. package/node_modules/@aws-sdk/client-sts/package.json +4 -3
  88. package/node_modules/@aws-sdk/credential-provider-ini/package.json +2 -2
  89. package/node_modules/@aws-sdk/credential-provider-node/package.json +3 -3
  90. package/node_modules/@aws-sdk/credential-provider-sso/package.json +3 -3
  91. package/node_modules/@aws-sdk/token-providers/package.json +2 -2
  92. package/node_modules/@smithy/protocol-http/LICENSE +201 -0
  93. package/node_modules/@smithy/protocol-http/README.md +4 -0
  94. package/node_modules/@smithy/protocol-http/dist-cjs/Field.js +27 -0
  95. package/node_modules/@smithy/protocol-http/dist-cjs/Fields.js +23 -0
  96. package/node_modules/@smithy/protocol-http/dist-cjs/httpHandler.js +2 -0
  97. package/node_modules/@smithy/protocol-http/dist-cjs/httpRequest.js +49 -0
  98. package/node_modules/@smithy/protocol-http/dist-cjs/httpResponse.js +17 -0
  99. package/node_modules/@smithy/protocol-http/dist-cjs/index.js +10 -0
  100. package/node_modules/@smithy/protocol-http/dist-cjs/isValidHostname.js +8 -0
  101. package/node_modules/@smithy/protocol-http/dist-cjs/types.js +8 -0
  102. package/node_modules/@smithy/protocol-http/dist-es/Field.js +23 -0
  103. package/node_modules/@smithy/protocol-http/dist-es/Fields.js +19 -0
  104. package/node_modules/@smithy/protocol-http/dist-es/httpHandler.js +1 -0
  105. package/node_modules/@smithy/protocol-http/dist-es/httpRequest.js +45 -0
  106. package/node_modules/@smithy/protocol-http/dist-es/httpResponse.js +13 -0
  107. package/node_modules/@smithy/protocol-http/dist-es/index.js +7 -0
  108. package/node_modules/@smithy/protocol-http/dist-es/isValidHostname.js +4 -0
  109. package/node_modules/@smithy/protocol-http/dist-es/types.js +5 -0
  110. package/node_modules/@smithy/protocol-http/dist-types/Field.d.ts +49 -0
  111. package/node_modules/@smithy/protocol-http/dist-types/Fields.d.ts +44 -0
  112. package/node_modules/@smithy/protocol-http/dist-types/httpHandler.d.ts +5 -0
  113. package/node_modules/@smithy/protocol-http/dist-types/httpRequest.d.ts +28 -0
  114. package/node_modules/@smithy/protocol-http/dist-types/httpResponse.d.ts +21 -0
  115. package/node_modules/@smithy/protocol-http/dist-types/index.d.ts +7 -0
  116. package/node_modules/@smithy/protocol-http/dist-types/isValidHostname.d.ts +1 -0
  117. package/node_modules/@smithy/protocol-http/dist-types/types.d.ts +56 -0
  118. package/node_modules/@smithy/protocol-http/package.json +62 -0
  119. package/node_modules/@smithy/types/LICENSE +201 -0
  120. package/node_modules/@smithy/types/README.md +4 -0
  121. package/node_modules/@smithy/types/dist-cjs/abort.js +2 -0
  122. package/node_modules/@smithy/types/dist-cjs/http.js +2 -0
  123. package/node_modules/@smithy/types/dist-cjs/index.js +8 -0
  124. package/node_modules/@smithy/types/dist-cjs/serde.js +2 -0
  125. package/node_modules/@smithy/types/dist-cjs/transfer.js +9 -0
  126. package/node_modules/@smithy/types/dist-cjs/util.js +2 -0
  127. package/node_modules/@smithy/types/dist-es/abort.js +1 -0
  128. package/node_modules/@smithy/types/dist-es/http.js +1 -0
  129. package/node_modules/@smithy/types/dist-es/index.js +5 -0
  130. package/node_modules/@smithy/types/dist-es/serde.js +1 -0
  131. package/node_modules/@smithy/types/dist-es/transfer.js +6 -0
  132. package/node_modules/@smithy/types/dist-es/util.js +1 -0
  133. package/node_modules/@smithy/types/dist-types/abort.d.ts +49 -0
  134. package/node_modules/@smithy/types/dist-types/http.d.ts +20 -0
  135. package/node_modules/@smithy/types/dist-types/index.d.ts +5 -0
  136. package/node_modules/@smithy/types/dist-types/serde.d.ts +36 -0
  137. package/node_modules/@smithy/types/dist-types/transfer.d.ts +30 -0
  138. package/node_modules/@smithy/types/dist-types/util.d.ts +38 -0
  139. package/node_modules/@smithy/types/package.json +57 -0
  140. package/node_modules/tslib/modules/index.d.ts +34 -1
  141. package/node_modules/tslib/package.json +1 -1
  142. package/package.json +4 -4
@@ -0,0 +1,36 @@
1
+ import { Endpoint } from "./http";
2
+ import { RequestHandler } from "./transfer";
3
+ import { Decoder, Encoder, Provider } from "./util";
4
+ /**
5
+ * @public
6
+ *
7
+ * Interface for object requires an Endpoint set.
8
+ */
9
+ export interface EndpointBearer {
10
+ endpoint: Provider<Endpoint>;
11
+ }
12
+ /**
13
+ * @public
14
+ */
15
+ export interface StreamCollector {
16
+ /**
17
+ * A function that converts a stream into an array of bytes.
18
+ *
19
+ * @param stream - The low-level native stream from browser or Nodejs runtime
20
+ */
21
+ (stream: any): Promise<Uint8Array>;
22
+ }
23
+ /**
24
+ * @public
25
+ *
26
+ * Request and Response serde util functions and settings for AWS services
27
+ */
28
+ export interface SerdeContext extends EndpointBearer {
29
+ base64Encoder: Encoder;
30
+ base64Decoder: Decoder;
31
+ utf8Encoder: Encoder;
32
+ utf8Decoder: Decoder;
33
+ streamCollector: StreamCollector;
34
+ requestHandler: RequestHandler<any, any>;
35
+ disableHostPrefix: boolean;
36
+ }
@@ -0,0 +1,30 @@
1
+ /**
2
+ * @public
3
+ */
4
+ export type RequestHandlerOutput<ResponseType> = {
5
+ response: ResponseType;
6
+ };
7
+ /**
8
+ * @public
9
+ */
10
+ export interface RequestHandler<RequestType, ResponseType, HandlerOptions = {}> {
11
+ /**
12
+ * metadata contains information of a handler. For example
13
+ * 'h2' refers this handler is for handling HTTP/2 requests,
14
+ * whereas 'h1' refers handling HTTP1 requests
15
+ */
16
+ metadata?: RequestHandlerMetadata;
17
+ destroy?: () => void;
18
+ handle: (request: RequestType, handlerOptions?: HandlerOptions) => Promise<RequestHandlerOutput<ResponseType>>;
19
+ }
20
+ /**
21
+ * @public
22
+ */
23
+ export interface RequestHandlerMetadata {
24
+ handlerProtocol: RequestHandlerProtocol | string;
25
+ }
26
+ export declare enum RequestHandlerProtocol {
27
+ HTTP_0_9 = "http/0.9",
28
+ HTTP_1_0 = "http/1.0",
29
+ TDS_8_0 = "tds/8.0"
30
+ }
@@ -0,0 +1,38 @@
1
+ /**
2
+ * @public
3
+ *
4
+ * A function that, given a TypedArray of bytes, can produce a string
5
+ * representation thereof.
6
+ *
7
+ * @example An encoder function that converts bytes to hexadecimal
8
+ * representation would return `'deadbeef'` when given
9
+ * `new Uint8Array([0xde, 0xad, 0xbe, 0xef])`.
10
+ */
11
+ export interface Encoder {
12
+ (input: Uint8Array): string;
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * A function that, given a string, can derive the bytes represented by that
18
+ * string.
19
+ *
20
+ * @example A decoder function that converts bytes to hexadecimal
21
+ * representation would return `new Uint8Array([0xde, 0xad, 0xbe, 0xef])` when
22
+ * given the string `'deadbeef'`.
23
+ */
24
+ export interface Decoder {
25
+ (input: string): Uint8Array;
26
+ }
27
+ /**
28
+ * @public
29
+ *
30
+ * A function that, when invoked, returns a promise that will be fulfilled with
31
+ * a value of type T.
32
+ *
33
+ * @example A function that reads credentials from shared SDK configuration
34
+ * files, assuming roles and collecting MFA tokens as necessary.
35
+ */
36
+ export interface Provider<T> {
37
+ (): Promise<T>;
38
+ }
@@ -0,0 +1,57 @@
1
+ {
2
+ "name": "@smithy/types",
3
+ "version": "1.0.0",
4
+ "scripts": {
5
+ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
6
+ "build:cjs": "tsc -p tsconfig.cjs.json",
7
+ "build:es": "tsc -p tsconfig.es.json",
8
+ "build:types": "tsc -p tsconfig.types.json",
9
+ "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
10
+ "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
11
+ "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
12
+ "format": "prettier --config ../../prettier.config.js --ignore-path ../.prettierignore --write \"**/*.{ts,md,json}\"",
13
+ "test": "tsc -p tsconfig.test.json"
14
+ },
15
+ "main": "./dist-cjs/index.js",
16
+ "module": "./dist-es/index.js",
17
+ "types": "./dist-types/index.d.ts",
18
+ "author": {
19
+ "name": "AWS Smithy Team",
20
+ "email": "",
21
+ "url": "https://smithy.io"
22
+ },
23
+ "license": "Apache-2.0",
24
+ "dependencies": {
25
+ "tslib": "^2.5.0"
26
+ },
27
+ "engines": {
28
+ "node": ">=14.0.0"
29
+ },
30
+ "typesVersions": {
31
+ "<4.0": {
32
+ "dist-types/*": [
33
+ "dist-types/ts3.4/*"
34
+ ]
35
+ }
36
+ },
37
+ "files": [
38
+ "dist-*/**"
39
+ ],
40
+ "homepage": "https://github.com/awslabs/smithy-typescript/tree/main/packages/types",
41
+ "repository": {
42
+ "type": "git",
43
+ "url": "https://github.com/awslabs/smithy-typescript.git",
44
+ "directory": "packages/types"
45
+ },
46
+ "devDependencies": {
47
+ "@tsconfig/recommended": "1.0.1",
48
+ "concurrently": "7.0.0",
49
+ "downlevel-dts": "0.10.1",
50
+ "rimraf": "3.0.2",
51
+ "typedoc": "0.23.23",
52
+ "typescript": "~4.9.5"
53
+ },
54
+ "typedoc": {
55
+ "entryPoint": "src/index.ts"
56
+ }
57
+ }
@@ -1,2 +1,35 @@
1
- export * from '../tslib.js';
1
+ // Note: named reexports are used instead of `export *` because
2
+ // TypeScript itself doesn't resolve the `export *` when checking
3
+ // if a particular helper exists.
4
+ export {
5
+ __extends,
6
+ __assign,
7
+ __rest,
8
+ __decorate,
9
+ __param,
10
+ __esDecorate,
11
+ __runInitializers,
12
+ __propKey,
13
+ __setFunctionName,
14
+ __metadata,
15
+ __awaiter,
16
+ __generator,
17
+ __exportStar,
18
+ __values,
19
+ __read,
20
+ __spread,
21
+ __spreadArrays,
22
+ __spreadArray,
23
+ __await,
24
+ __asyncGenerator,
25
+ __asyncDelegator,
26
+ __asyncValues,
27
+ __makeTemplateObject,
28
+ __importStar,
29
+ __importDefault,
30
+ __classPrivateFieldGet,
31
+ __classPrivateFieldSet,
32
+ __classPrivateFieldIn,
33
+ __createBinding,
34
+ } from '../tslib.js';
2
35
  export * as default from '../tslib.js';
@@ -2,7 +2,7 @@
2
2
  "name": "tslib",
3
3
  "author": "Microsoft Corp.",
4
4
  "homepage": "https://www.typescriptlang.org/",
5
- "version": "2.5.1",
5
+ "version": "2.5.2",
6
6
  "license": "0BSD",
7
7
  "description": "Runtime library for TypeScript helper functions",
8
8
  "keywords": [
package/package.json CHANGED
@@ -78,7 +78,7 @@
78
78
  "aws-cdk-lib": "2.71.0",
79
79
  "aws-sdk-client-mock": "^2.1.1",
80
80
  "aws-sdk-client-mock-jest": "^2.1.1",
81
- "cdk-nag": "^2.27.11",
81
+ "cdk-nag": "^2.27.12",
82
82
  "constructs": "10.0.5",
83
83
  "esbuild": "^0.17.19",
84
84
  "eslint": "^8",
@@ -93,7 +93,7 @@
93
93
  "jsii-pacmak": "^1.81.0",
94
94
  "lambda-tester": "^4.0.1",
95
95
  "npm-check-updates": "^16",
96
- "projen": "0.71.60",
96
+ "projen": "0.71.62",
97
97
  "standard-version": "^9",
98
98
  "ts-jest": "^27",
99
99
  "ts-node": "^10.9.1",
@@ -105,7 +105,7 @@
105
105
  "constructs": "^10.0.5"
106
106
  },
107
107
  "dependencies": {
108
- "@aws-sdk/client-codedeploy": "^3.332.0",
108
+ "@aws-sdk/client-codedeploy": "^3.335.0",
109
109
  "jmespath": "^0.16.0"
110
110
  },
111
111
  "bundledDependencies": [
@@ -127,7 +127,7 @@
127
127
  "publishConfig": {
128
128
  "access": "public"
129
129
  },
130
- "version": "0.0.161",
130
+ "version": "0.0.162",
131
131
  "jest": {
132
132
  "testMatch": [
133
133
  "<rootDir>/src/**/__tests__/**/*.ts?(x)",