@jjrawlins/cdk-ami-builder 0.0.125 → 0.0.126

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 (48) hide show
  1. package/.jsii +11 -11
  2. package/cdkamibuilder/jsii/jsii.go +2 -2
  3. package/cdkamibuilder/version +1 -1
  4. package/lib/ImagePipeline/ImagePipeline.js +1 -1
  5. package/lib/Lambdas/CheckStateMachineStatus/CheckStateMachineStatus-function.js +1 -1
  6. package/lib/Lambdas/StartStateMachine/StartStateMachine-function.js +1 -1
  7. package/node_modules/@aws-sdk/client-ec2/package.json +12 -12
  8. package/node_modules/@aws-sdk/client-ecs/package.json +11 -11
  9. package/node_modules/@aws-sdk/client-kms/package.json +11 -11
  10. package/node_modules/@aws-sdk/client-s3/package.json +16 -16
  11. package/node_modules/@aws-sdk/client-secrets-manager/package.json +11 -11
  12. package/node_modules/@aws-sdk/client-sfn/package.json +11 -11
  13. package/node_modules/@aws-sdk/client-sns/package.json +11 -11
  14. package/node_modules/@aws-sdk/client-sqs/package.json +12 -12
  15. package/node_modules/@aws-sdk/client-ssm/package.json +11 -11
  16. package/node_modules/@aws-sdk/client-sso/package.json +10 -10
  17. package/node_modules/@aws-sdk/core/package.json +3 -3
  18. package/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
  19. package/node_modules/@aws-sdk/credential-provider-http/package.json +3 -3
  20. package/node_modules/@aws-sdk/credential-provider-ini/package.json +9 -9
  21. package/node_modules/@aws-sdk/credential-provider-login/package.json +3 -3
  22. package/node_modules/@aws-sdk/credential-provider-node/package.json +7 -7
  23. package/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
  24. package/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
  25. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
  26. package/node_modules/@aws-sdk/middleware-bucket-endpoint/package.json +2 -2
  27. package/node_modules/@aws-sdk/middleware-flexible-checksums/package.json +2 -2
  28. package/node_modules/@aws-sdk/middleware-sdk-ec2/package.json +3 -3
  29. package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +5 -5
  30. package/node_modules/@aws-sdk/middleware-sdk-sqs/package.json +2 -2
  31. package/node_modules/@aws-sdk/middleware-user-agent/package.json +3 -3
  32. package/node_modules/@aws-sdk/nested-clients/package.json +10 -10
  33. package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +2 -2
  34. package/node_modules/@aws-sdk/token-providers/package.json +3 -3
  35. package/node_modules/@aws-sdk/util-arn-parser/dist-types/index.d.ts +9 -0
  36. package/node_modules/@aws-sdk/util-arn-parser/package.json +1 -1
  37. package/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
  38. package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +3 -0
  39. package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +3 -0
  40. package/node_modules/@smithy/core/dist-types/submodules/protocols/SerdeContext.d.ts +10 -2
  41. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/SerdeContext.d.ts +10 -2
  42. package/node_modules/@smithy/core/package.json +1 -1
  43. package/node_modules/@smithy/middleware-endpoint/package.json +2 -2
  44. package/node_modules/@smithy/middleware-retry/package.json +2 -2
  45. package/node_modules/@smithy/smithy-client/package.json +3 -3
  46. package/node_modules/@smithy/util-defaults-mode-browser/package.json +2 -2
  47. package/node_modules/@smithy/util-defaults-mode-node/package.json +2 -2
  48. package/package.json +10 -10
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/signature-v4-multi-region",
3
- "version": "3.965.0",
3
+ "version": "3.966.0",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
6
6
  "build:cjs": "node ../../scripts/compilation/inline signature-v4-multi-region",
@@ -25,7 +25,7 @@
25
25
  },
26
26
  "license": "Apache-2.0",
27
27
  "dependencies": {
28
- "@aws-sdk/middleware-sdk-s3": "3.965.0",
28
+ "@aws-sdk/middleware-sdk-s3": "3.966.0",
29
29
  "@aws-sdk/types": "3.965.0",
30
30
  "@smithy/protocol-http": "^5.3.7",
31
31
  "@smithy/signature-v4": "^5.3.7",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/token-providers",
3
- "version": "3.965.0",
3
+ "version": "3.966.0",
4
4
  "description": "A collection of token providers",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -29,8 +29,8 @@
29
29
  },
30
30
  "license": "Apache-2.0",
31
31
  "dependencies": {
32
- "@aws-sdk/core": "3.965.0",
33
- "@aws-sdk/nested-clients": "3.965.0",
32
+ "@aws-sdk/core": "3.966.0",
33
+ "@aws-sdk/nested-clients": "3.966.0",
34
34
  "@aws-sdk/types": "3.965.0",
35
35
  "@smithy/property-provider": "^4.2.7",
36
36
  "@smithy/shared-ini-file-loader": "^4.4.2",
@@ -1,3 +1,6 @@
1
+ /**
2
+ * @internal
3
+ */
1
4
  export interface ARN {
2
5
  partition: string;
3
6
  service: string;
@@ -7,17 +10,23 @@ export interface ARN {
7
10
  }
8
11
  /**
9
12
  * Validate whether a string is an ARN.
13
+ * @internal
10
14
  */
11
15
  export declare const validate: (str: any) => boolean;
12
16
  /**
13
17
  * Parse an ARN string into structure with partition, service, region, accountId and resource values
18
+ * @internal
14
19
  */
15
20
  export declare const parse: (arn: string) => ARN;
21
+ /**
22
+ * @internal
23
+ */
16
24
  type buildOptions = Omit<ARN, "partition"> & {
17
25
  partition?: string;
18
26
  };
19
27
  /**
20
28
  * Build an ARN with service, partition, region, accountId, and resources strings
29
+ * @internal
21
30
  */
22
31
  export declare const build: (arnObject: buildOptions) => string;
23
32
  export {};
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/util-arn-parser",
3
- "version": "3.965.0",
3
+ "version": "3.966.0",
4
4
  "description": "A parser to Amazon Resource Names",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/util-user-agent-node",
3
- "version": "3.965.0",
3
+ "version": "3.966.0",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
6
6
  "build:cjs": "node ../../scripts/compilation/inline util-user-agent-node",
@@ -22,7 +22,7 @@
22
22
  },
23
23
  "license": "Apache-2.0",
24
24
  "dependencies": {
25
- "@aws-sdk/middleware-user-agent": "3.965.0",
25
+ "@aws-sdk/middleware-user-agent": "3.966.0",
26
26
  "@aws-sdk/types": "3.965.0",
27
27
  "@smithy/node-config-provider": "^4.3.7",
28
28
  "@smithy/types": "^4.11.0",
@@ -80,6 +80,9 @@ class HttpProtocol extends SerdeContext {
80
80
  }
81
81
  }
82
82
  setHostPrefix(request, operationSchema, input) {
83
+ if (this.serdeContext?.disableHostPrefix) {
84
+ return;
85
+ }
83
86
  const inputNs = schema.NormalizedSchema.of(operationSchema.input);
84
87
  const opTraits = schema.translateTraits(operationSchema.traits ?? {});
85
88
  if (opTraits.endpoint) {
@@ -50,6 +50,9 @@ export class HttpProtocol extends SerdeContext {
50
50
  }
51
51
  }
52
52
  setHostPrefix(request, operationSchema, input) {
53
+ if (this.serdeContext?.disableHostPrefix) {
54
+ return;
55
+ }
53
56
  const inputNs = NormalizedSchema.of(operationSchema.input);
54
57
  const opTraits = translateTraits(operationSchema.traits ?? {});
55
58
  if (opTraits.endpoint) {
@@ -1,8 +1,16 @@
1
1
  import type { ConfigurableSerdeContext, SerdeFunctions } from "@smithy/types";
2
+ /**
3
+ * This in practice should be the client config object.
4
+ * @internal
5
+ */
6
+ type SerdeContextType = SerdeFunctions & {
7
+ disableHostPrefix?: boolean;
8
+ };
2
9
  /**
3
10
  * @internal
4
11
  */
5
12
  export declare abstract class SerdeContext implements ConfigurableSerdeContext {
6
- protected serdeContext?: SerdeFunctions;
7
- setSerdeContext(serdeContext: SerdeFunctions): void;
13
+ protected serdeContext?: SerdeContextType;
14
+ setSerdeContext(serdeContext: SerdeContextType): void;
8
15
  }
16
+ export {};
@@ -1,8 +1,16 @@
1
1
  import { ConfigurableSerdeContext, SerdeFunctions } from "@smithy/types";
2
+ /**
3
+ * This in practice should be the client config object.
4
+ * @internal
5
+ */
6
+ type SerdeContextType = SerdeFunctions & {
7
+ disableHostPrefix?: boolean;
8
+ };
2
9
  /**
3
10
  * @internal
4
11
  */
5
12
  export declare abstract class SerdeContext implements ConfigurableSerdeContext {
6
- protected serdeContext?: SerdeFunctions;
7
- setSerdeContext(serdeContext: SerdeFunctions): void;
13
+ protected serdeContext?: SerdeContextType;
14
+ setSerdeContext(serdeContext: SerdeContextType): void;
8
15
  }
16
+ export {};
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/core",
3
- "version": "3.20.1",
3
+ "version": "3.20.2",
4
4
  "scripts": {
5
5
  "build": "yarn lint && concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline core",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/middleware-endpoint",
3
- "version": "4.4.2",
3
+ "version": "4.4.3",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline middleware-endpoint",
@@ -25,7 +25,7 @@
25
25
  "license": "Apache-2.0",
26
26
  "sideEffects": false,
27
27
  "dependencies": {
28
- "@smithy/core": "^3.20.1",
28
+ "@smithy/core": "^3.20.2",
29
29
  "@smithy/middleware-serde": "^4.2.8",
30
30
  "@smithy/node-config-provider": "^4.3.7",
31
31
  "@smithy/shared-ini-file-loader": "^4.4.2",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/middleware-retry",
3
- "version": "4.4.18",
3
+ "version": "4.4.19",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline middleware-retry",
@@ -37,7 +37,7 @@
37
37
  "@smithy/node-config-provider": "^4.3.7",
38
38
  "@smithy/protocol-http": "^5.3.7",
39
39
  "@smithy/service-error-classification": "^4.2.7",
40
- "@smithy/smithy-client": "^4.10.3",
40
+ "@smithy/smithy-client": "^4.10.4",
41
41
  "@smithy/types": "^4.11.0",
42
42
  "@smithy/util-middleware": "^4.2.7",
43
43
  "@smithy/util-retry": "^4.2.7",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/smithy-client",
3
- "version": "4.10.3",
3
+ "version": "4.10.4",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline smithy-client",
@@ -25,8 +25,8 @@
25
25
  "license": "Apache-2.0",
26
26
  "sideEffects": false,
27
27
  "dependencies": {
28
- "@smithy/core": "^3.20.1",
29
- "@smithy/middleware-endpoint": "^4.4.2",
28
+ "@smithy/core": "^3.20.2",
29
+ "@smithy/middleware-endpoint": "^4.4.3",
30
30
  "@smithy/middleware-stack": "^4.2.7",
31
31
  "@smithy/protocol-http": "^5.3.7",
32
32
  "@smithy/types": "^4.11.0",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/util-defaults-mode-browser",
3
- "version": "4.3.17",
3
+ "version": "4.3.18",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline util-defaults-mode-browser",
@@ -25,7 +25,7 @@
25
25
  "sideEffects": false,
26
26
  "dependencies": {
27
27
  "@smithy/property-provider": "^4.2.7",
28
- "@smithy/smithy-client": "^4.10.3",
28
+ "@smithy/smithy-client": "^4.10.4",
29
29
  "@smithy/types": "^4.11.0",
30
30
  "tslib": "^2.6.2"
31
31
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/util-defaults-mode-node",
3
- "version": "4.2.20",
3
+ "version": "4.2.21",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline util-defaults-mode-node",
@@ -28,7 +28,7 @@
28
28
  "@smithy/credential-provider-imds": "^4.2.7",
29
29
  "@smithy/node-config-provider": "^4.3.7",
30
30
  "@smithy/property-provider": "^4.2.7",
31
- "@smithy/smithy-client": "^4.10.3",
31
+ "@smithy/smithy-client": "^4.10.4",
32
32
  "@smithy/types": "^4.11.0",
33
33
  "tslib": "^2.6.2"
34
34
  },
package/package.json CHANGED
@@ -78,15 +78,15 @@
78
78
  "constructs": ">=10.0.5 <11.0.0"
79
79
  },
80
80
  "dependencies": {
81
- "@aws-sdk/client-ec2": "^3.965.0",
82
- "@aws-sdk/client-ecs": "^3.965.0",
83
- "@aws-sdk/client-kms": "^3.965.0",
84
- "@aws-sdk/client-s3": "^3.965.0",
85
- "@aws-sdk/client-secrets-manager": "^3.965.0",
86
- "@aws-sdk/client-sfn": "^3.965.0",
87
- "@aws-sdk/client-sns": "^3.965.0",
88
- "@aws-sdk/client-sqs": "^3.965.0",
89
- "@aws-sdk/client-ssm": "^3.965.0",
81
+ "@aws-sdk/client-ec2": "^3.966.0",
82
+ "@aws-sdk/client-ecs": "^3.966.0",
83
+ "@aws-sdk/client-kms": "^3.966.0",
84
+ "@aws-sdk/client-s3": "^3.966.0",
85
+ "@aws-sdk/client-secrets-manager": "^3.966.0",
86
+ "@aws-sdk/client-sfn": "^3.966.0",
87
+ "@aws-sdk/client-sns": "^3.966.0",
88
+ "@aws-sdk/client-sqs": "^3.966.0",
89
+ "@aws-sdk/client-ssm": "^3.966.0",
90
90
  "@types/aws-lambda": "^8.10.159",
91
91
  "@types/crypto-js": "^4.2.2",
92
92
  "@types/js-yaml": "^4.0.9",
@@ -136,7 +136,7 @@
136
136
  "publishConfig": {
137
137
  "access": "public"
138
138
  },
139
- "version": "0.0.125",
139
+ "version": "0.0.126",
140
140
  "jest": {
141
141
  "coverageProvider": "v8",
142
142
  "testMatch": [