@cdk8s/awscdk-resolver 0.0.613 → 0.0.614
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/resolve.js +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/index.js +3710 -15
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.native.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.browser.d.ts +7 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.d.ts +7 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.native.d.ts +7 -1
- package/node_modules/@aws-sdk/client-cloudformation/package.json +8 -8
- package/node_modules/@aws-sdk/core/account-id-endpoint.d.ts +1 -3
- package/node_modules/@aws-sdk/core/client.d.ts +1 -3
- package/node_modules/@aws-sdk/core/httpAuthSchemes.d.ts +1 -3
- package/node_modules/@aws-sdk/core/package.json +8 -14
- package/node_modules/@aws-sdk/core/protocols.d.ts +1 -3
- package/node_modules/@aws-sdk/core/util.d.ts +1 -3
- package/node_modules/@aws-sdk/credential-provider-env/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/index.js +172 -1
- package/node_modules/@aws-sdk/credential-provider-http/package.json +8 -10
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +13 -13
- package/node_modules/@aws-sdk/credential-provider-login/package.json +6 -6
- package/node_modules/@aws-sdk/credential-provider-node/package.json +11 -11
- package/node_modules/@aws-sdk/credential-provider-process/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/index.js +58 -3
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +7 -8
- package/node_modules/@aws-sdk/nested-clients/cognito-identity.d.ts +1 -3
- 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/runtimeConfig.browser.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.native.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.browser.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.native.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.browser.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.native.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.browser.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.native.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.browser.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.native.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.browser.d.ts +7 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.d.ts +7 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.native.d.ts +7 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.browser.d.ts +7 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.d.ts +7 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.native.d.ts +7 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.browser.d.ts +7 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.d.ts +7 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.native.d.ts +7 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.browser.d.ts +7 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.d.ts +7 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.native.d.ts +7 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.browser.d.ts +7 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.d.ts +7 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.native.d.ts +7 -1
- package/node_modules/@aws-sdk/nested-clients/package.json +8 -8
- package/node_modules/@aws-sdk/nested-clients/signin.d.ts +1 -3
- package/node_modules/@aws-sdk/nested-clients/sso-oidc.d.ts +1 -3
- package/node_modules/@aws-sdk/nested-clients/sso.d.ts +1 -3
- package/node_modules/@aws-sdk/nested-clients/sts.d.ts +1 -3
- package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +4 -4
- package/node_modules/@aws-sdk/token-providers/package.json +6 -6
- package/node_modules/@aws-sdk/types/package.json +2 -2
- package/node_modules/@aws-sdk/xml-builder/dist-cjs/index.js +236 -3
- package/node_modules/@aws-sdk/xml-builder/package.json +3 -4
- package/node_modules/@smithy/core/dist-cjs/submodules/checksum/index.browser.js +358 -145
- package/node_modules/@smithy/core/dist-cjs/submodules/checksum/index.js +462 -142
- package/node_modules/@smithy/core/dist-cjs/submodules/checksum/index.native.js +358 -145
- package/node_modules/@smithy/core/dist-cjs/submodules/config/index.js +108 -63
- package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.browser.js +11 -8
- package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +11 -8
- package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +5 -2
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.browser.js +30 -36
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +54 -110
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.native.js +30 -36
- package/node_modules/@smithy/core/dist-es/submodules/checksum/crc32/Crc32Js.js +30 -0
- package/node_modules/@smithy/core/dist-es/submodules/checksum/crc32/Crc32Node.js +24 -0
- package/node_modules/@smithy/core/dist-es/submodules/checksum/index.browser.js +7 -1
- package/node_modules/@smithy/core/dist-es/submodules/checksum/index.js +7 -1
- package/node_modules/@smithy/core/dist-es/submodules/checksum/index.native.js +7 -1
- package/node_modules/@smithy/core/dist-es/submodules/checksum/md5/Md5Js.js +92 -0
- package/node_modules/@smithy/core/dist-es/submodules/checksum/md5/Md5Node.js +29 -0
- package/node_modules/@smithy/core/dist-es/submodules/checksum/sha256/Sha256Js.js +179 -0
- package/node_modules/@smithy/core/dist-es/submodules/checksum/sha256/Sha256Node.js +59 -0
- package/node_modules/@smithy/core/dist-es/submodules/checksum/sha256/Sha256WebCrypto.js +71 -0
- package/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionConfig/config.js +6 -1
- package/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionConfig/getInstanceMetadataRegion.js +92 -0
- package/node_modules/@smithy/core/dist-es/submodules/config/defaults-mode/constants.js +3 -0
- package/node_modules/@smithy/core/dist-es/submodules/config/defaults-mode/resolveDefaultsModeConfig.js +3 -56
- package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-codec/EventStreamCodec.js +5 -3
- package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-codec/splitMessage.js +7 -6
- package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +4 -1
- package/node_modules/@smithy/core/dist-es/submodules/serde/concatBytes.js +15 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/index.browser.js +2 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/index.js +2 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/index.native.js +2 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/checksum/ChecksumStream.js +4 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/headStream.js +2 -1
- package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/stream-collector.browser.js +12 -38
- package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/stream-collector.js +18 -33
- package/node_modules/@smithy/core/dist-es/submodules/serde/util-utf8/toUint8Array.browser.js +3 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/util-utf8/toUint8Array.js +3 -0
- package/node_modules/@smithy/core/dist-types/submodules/checksum/crc32/Crc32Js.d.ts +18 -0
- package/node_modules/@smithy/core/dist-types/submodules/checksum/crc32/Crc32Node.d.ts +18 -0
- package/node_modules/@smithy/core/dist-types/submodules/checksum/index.browser.d.ts +7 -1
- package/node_modules/@smithy/core/dist-types/submodules/checksum/index.d.ts +7 -1
- package/node_modules/@smithy/core/dist-types/submodules/checksum/index.native.d.ts +7 -1
- package/node_modules/@smithy/core/dist-types/submodules/checksum/md5/Md5Js.d.ts +19 -0
- package/node_modules/@smithy/core/dist-types/submodules/checksum/md5/Md5Node.d.ts +17 -0
- package/node_modules/@smithy/core/dist-types/submodules/checksum/sha256/Sha256Js.d.ts +28 -0
- package/node_modules/@smithy/core/dist-types/submodules/checksum/sha256/Sha256Node.d.ts +13 -0
- package/node_modules/@smithy/core/dist-types/submodules/checksum/sha256/Sha256WebCrypto.d.ts +22 -0
- package/node_modules/@smithy/core/dist-types/submodules/config/config-resolver/regionConfig/getInstanceMetadataRegion.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/submodules/config/defaults-mode/constants.d.ts +12 -0
- package/node_modules/@smithy/core/dist-types/submodules/serde/concatBytes.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/submodules/serde/index.browser.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/submodules/serde/index.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/submodules/serde/index.native.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/submodules/serde/util-stream/checksum/ChecksumStream.d.ts +9 -0
- package/node_modules/@smithy/core/dist-types/submodules/serde/util-stream/stream-collector.browser.d.ts +8 -2
- package/node_modules/@smithy/core/dist-types/submodules/serde/util-stream/stream-collector.d.ts +4 -1
- package/node_modules/@smithy/core/package.json +4 -4
- package/node_modules/@smithy/credential-provider-imds/package.json +2 -2
- package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +2 -55
- package/node_modules/@smithy/fetch-http-handler/dist-es/index.js +2 -2
- package/node_modules/@smithy/fetch-http-handler/dist-types/index.d.ts +2 -2
- package/node_modules/@smithy/fetch-http-handler/package.json +2 -2
- package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +3 -51
- package/node_modules/@smithy/node-http-handler/dist-es/index.js +3 -3
- package/node_modules/@smithy/node-http-handler/dist-types/index.d.ts +3 -3
- package/node_modules/@smithy/node-http-handler/package.json +2 -2
- package/node_modules/@smithy/signature-v4/package.json +2 -3
- package/package.json +3 -3
- package/node_modules/@aws-crypto/crc32/CHANGELOG.md +0 -100
- package/node_modules/@aws-crypto/crc32/LICENSE +0 -201
- package/node_modules/@aws-crypto/crc32/README.md +0 -16
- package/node_modules/@aws-crypto/crc32/build/main/aws_crc32.d.ts +0 -7
- package/node_modules/@aws-crypto/crc32/build/main/aws_crc32.js +0 -31
- package/node_modules/@aws-crypto/crc32/build/main/aws_crc32.js.map +0 -1
- package/node_modules/@aws-crypto/crc32/build/main/index.d.ts +0 -7
- package/node_modules/@aws-crypto/crc32/build/main/index.js +0 -108
- package/node_modules/@aws-crypto/crc32/build/main/index.js.map +0 -1
- package/node_modules/@aws-crypto/crc32/build/module/aws_crc32.d.ts +0 -7
- package/node_modules/@aws-crypto/crc32/build/module/aws_crc32.js +0 -28
- package/node_modules/@aws-crypto/crc32/build/module/aws_crc32.js.map +0 -1
- package/node_modules/@aws-crypto/crc32/build/module/index.d.ts +0 -7
- package/node_modules/@aws-crypto/crc32/build/module/index.js +0 -103
- package/node_modules/@aws-crypto/crc32/build/module/index.js.map +0 -1
- package/node_modules/@aws-crypto/crc32/package.json +0 -32
- package/node_modules/@aws-crypto/crc32/src/aws_crc32.ts +0 -24
- package/node_modules/@aws-crypto/crc32/src/index.ts +0 -92
- package/node_modules/@aws-crypto/crc32/tsconfig.json +0 -9
- package/node_modules/@aws-crypto/crc32/tsconfig.module.json +0 -7
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/auth/httpAuthSchemeProvider.js +0 -40
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/endpoint/bdd.js +0 -49
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/endpoint/endpointResolver.js +0 -14
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/models/CloudFormationServiceException.js +0 -8
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/models/errors.js +0 -407
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/runtimeConfig.browser.js +0 -32
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/runtimeConfig.js +0 -45
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/runtimeConfig.native.js +0 -12
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/runtimeConfig.shared.js +0 -39
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/schemas/schemas_0.js +0 -3022
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.browser.js +0 -869
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.native.js +0 -862
- package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/checkUrl.js +0 -42
- package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.browser.js +0 -27
- package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.js +0 -71
- package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/requestHelpers.js +0 -49
- package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/retry-wrapper.js +0 -13
- package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/index.browser.js +0 -2
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromTokenFile.js +0 -29
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromWebToken.js +0 -25
- package/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-parser.browser.js +0 -57
- package/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-parser.js +0 -234
- package/node_modules/@smithy/core/dist-es/submodules/checksum/md5-js/constants.js +0 -3
- package/node_modules/@smithy/core/dist-es/submodules/checksum/md5-js/md5.js +0 -168
- package/node_modules/@smithy/core/dist-types/submodules/checksum/md5-js/constants.d.ts +0 -12
- package/node_modules/@smithy/core/dist-types/submodules/checksum/md5-js/md5.d.ts +0 -16
- package/node_modules/@smithy/fetch-http-handler/dist-es/stream-collector.js +0 -53
- package/node_modules/@smithy/fetch-http-handler/dist-types/stream-collector.d.ts +0 -2
- package/node_modules/@smithy/node-http-handler/dist-es/stream-collector/collector.js +0 -8
- package/node_modules/@smithy/node-http-handler/dist-es/stream-collector/index.js +0 -41
- package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/collector.d.ts +0 -5
- package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/index.d.ts +0 -7
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
import {uint32ArrayFrom} from "@aws-crypto/util";
|
|
2
|
-
|
|
3
|
-
export function crc32(data: Uint8Array): number {
|
|
4
|
-
return new Crc32().update(data).digest();
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
export class Crc32 {
|
|
8
|
-
private checksum = 0xffffffff;
|
|
9
|
-
|
|
10
|
-
update(data: Uint8Array): this {
|
|
11
|
-
for (const byte of data) {
|
|
12
|
-
this.checksum =
|
|
13
|
-
(this.checksum >>> 8) ^ lookupTable[(this.checksum ^ byte) & 0xff];
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
return this;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
digest(): number {
|
|
20
|
-
return (this.checksum ^ 0xffffffff) >>> 0;
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
// prettier-ignore
|
|
25
|
-
const a_lookUpTable = [
|
|
26
|
-
0x00000000, 0x77073096, 0xEE0E612C, 0x990951BA,
|
|
27
|
-
0x076DC419, 0x706AF48F, 0xE963A535, 0x9E6495A3,
|
|
28
|
-
0x0EDB8832, 0x79DCB8A4, 0xE0D5E91E, 0x97D2D988,
|
|
29
|
-
0x09B64C2B, 0x7EB17CBD, 0xE7B82D07, 0x90BF1D91,
|
|
30
|
-
0x1DB71064, 0x6AB020F2, 0xF3B97148, 0x84BE41DE,
|
|
31
|
-
0x1ADAD47D, 0x6DDDE4EB, 0xF4D4B551, 0x83D385C7,
|
|
32
|
-
0x136C9856, 0x646BA8C0, 0xFD62F97A, 0x8A65C9EC,
|
|
33
|
-
0x14015C4F, 0x63066CD9, 0xFA0F3D63, 0x8D080DF5,
|
|
34
|
-
0x3B6E20C8, 0x4C69105E, 0xD56041E4, 0xA2677172,
|
|
35
|
-
0x3C03E4D1, 0x4B04D447, 0xD20D85FD, 0xA50AB56B,
|
|
36
|
-
0x35B5A8FA, 0x42B2986C, 0xDBBBC9D6, 0xACBCF940,
|
|
37
|
-
0x32D86CE3, 0x45DF5C75, 0xDCD60DCF, 0xABD13D59,
|
|
38
|
-
0x26D930AC, 0x51DE003A, 0xC8D75180, 0xBFD06116,
|
|
39
|
-
0x21B4F4B5, 0x56B3C423, 0xCFBA9599, 0xB8BDA50F,
|
|
40
|
-
0x2802B89E, 0x5F058808, 0xC60CD9B2, 0xB10BE924,
|
|
41
|
-
0x2F6F7C87, 0x58684C11, 0xC1611DAB, 0xB6662D3D,
|
|
42
|
-
0x76DC4190, 0x01DB7106, 0x98D220BC, 0xEFD5102A,
|
|
43
|
-
0x71B18589, 0x06B6B51F, 0x9FBFE4A5, 0xE8B8D433,
|
|
44
|
-
0x7807C9A2, 0x0F00F934, 0x9609A88E, 0xE10E9818,
|
|
45
|
-
0x7F6A0DBB, 0x086D3D2D, 0x91646C97, 0xE6635C01,
|
|
46
|
-
0x6B6B51F4, 0x1C6C6162, 0x856530D8, 0xF262004E,
|
|
47
|
-
0x6C0695ED, 0x1B01A57B, 0x8208F4C1, 0xF50FC457,
|
|
48
|
-
0x65B0D9C6, 0x12B7E950, 0x8BBEB8EA, 0xFCB9887C,
|
|
49
|
-
0x62DD1DDF, 0x15DA2D49, 0x8CD37CF3, 0xFBD44C65,
|
|
50
|
-
0x4DB26158, 0x3AB551CE, 0xA3BC0074, 0xD4BB30E2,
|
|
51
|
-
0x4ADFA541, 0x3DD895D7, 0xA4D1C46D, 0xD3D6F4FB,
|
|
52
|
-
0x4369E96A, 0x346ED9FC, 0xAD678846, 0xDA60B8D0,
|
|
53
|
-
0x44042D73, 0x33031DE5, 0xAA0A4C5F, 0xDD0D7CC9,
|
|
54
|
-
0x5005713C, 0x270241AA, 0xBE0B1010, 0xC90C2086,
|
|
55
|
-
0x5768B525, 0x206F85B3, 0xB966D409, 0xCE61E49F,
|
|
56
|
-
0x5EDEF90E, 0x29D9C998, 0xB0D09822, 0xC7D7A8B4,
|
|
57
|
-
0x59B33D17, 0x2EB40D81, 0xB7BD5C3B, 0xC0BA6CAD,
|
|
58
|
-
0xEDB88320, 0x9ABFB3B6, 0x03B6E20C, 0x74B1D29A,
|
|
59
|
-
0xEAD54739, 0x9DD277AF, 0x04DB2615, 0x73DC1683,
|
|
60
|
-
0xE3630B12, 0x94643B84, 0x0D6D6A3E, 0x7A6A5AA8,
|
|
61
|
-
0xE40ECF0B, 0x9309FF9D, 0x0A00AE27, 0x7D079EB1,
|
|
62
|
-
0xF00F9344, 0x8708A3D2, 0x1E01F268, 0x6906C2FE,
|
|
63
|
-
0xF762575D, 0x806567CB, 0x196C3671, 0x6E6B06E7,
|
|
64
|
-
0xFED41B76, 0x89D32BE0, 0x10DA7A5A, 0x67DD4ACC,
|
|
65
|
-
0xF9B9DF6F, 0x8EBEEFF9, 0x17B7BE43, 0x60B08ED5,
|
|
66
|
-
0xD6D6A3E8, 0xA1D1937E, 0x38D8C2C4, 0x4FDFF252,
|
|
67
|
-
0xD1BB67F1, 0xA6BC5767, 0x3FB506DD, 0x48B2364B,
|
|
68
|
-
0xD80D2BDA, 0xAF0A1B4C, 0x36034AF6, 0x41047A60,
|
|
69
|
-
0xDF60EFC3, 0xA867DF55, 0x316E8EEF, 0x4669BE79,
|
|
70
|
-
0xCB61B38C, 0xBC66831A, 0x256FD2A0, 0x5268E236,
|
|
71
|
-
0xCC0C7795, 0xBB0B4703, 0x220216B9, 0x5505262F,
|
|
72
|
-
0xC5BA3BBE, 0xB2BD0B28, 0x2BB45A92, 0x5CB36A04,
|
|
73
|
-
0xC2D7FFA7, 0xB5D0CF31, 0x2CD99E8B, 0x5BDEAE1D,
|
|
74
|
-
0x9B64C2B0, 0xEC63F226, 0x756AA39C, 0x026D930A,
|
|
75
|
-
0x9C0906A9, 0xEB0E363F, 0x72076785, 0x05005713,
|
|
76
|
-
0x95BF4A82, 0xE2B87A14, 0x7BB12BAE, 0x0CB61B38,
|
|
77
|
-
0x92D28E9B, 0xE5D5BE0D, 0x7CDCEFB7, 0x0BDBDF21,
|
|
78
|
-
0x86D3D2D4, 0xF1D4E242, 0x68DDB3F8, 0x1FDA836E,
|
|
79
|
-
0x81BE16CD, 0xF6B9265B, 0x6FB077E1, 0x18B74777,
|
|
80
|
-
0x88085AE6, 0xFF0F6A70, 0x66063BCA, 0x11010B5C,
|
|
81
|
-
0x8F659EFF, 0xF862AE69, 0x616BFFD3, 0x166CCF45,
|
|
82
|
-
0xA00AE278, 0xD70DD2EE, 0x4E048354, 0x3903B3C2,
|
|
83
|
-
0xA7672661, 0xD06016F7, 0x4969474D, 0x3E6E77DB,
|
|
84
|
-
0xAED16A4A, 0xD9D65ADC, 0x40DF0B66, 0x37D83BF0,
|
|
85
|
-
0xA9BCAE53, 0xDEBB9EC5, 0x47B2CF7F, 0x30B5FFE9,
|
|
86
|
-
0xBDBDF21C, 0xCABAC28A, 0x53B39330, 0x24B4A3A6,
|
|
87
|
-
0xBAD03605, 0xCDD70693, 0x54DE5729, 0x23D967BF,
|
|
88
|
-
0xB3667A2E, 0xC4614AB8, 0x5D681B02, 0x2A6F2B94,
|
|
89
|
-
0xB40BBE37, 0xC30C8EA1, 0x5A05DF1B, 0x2D02EF8D,
|
|
90
|
-
];
|
|
91
|
-
const lookupTable: Uint32Array = uint32ArrayFrom(a_lookUpTable)
|
|
92
|
-
export { AwsCrc32 } from "./aws_crc32";
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
const { resolveAwsSdkSigV4Config } = require("@aws-sdk/core/httpAuthSchemes");
|
|
2
|
-
const { getSmithyContext, normalizeProvider } = require("@smithy/core/client");
|
|
3
|
-
exports.defaultCloudFormationHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
4
|
-
return {
|
|
5
|
-
operation: getSmithyContext(context).operation,
|
|
6
|
-
region: await normalizeProvider(config.region)() || (() => {
|
|
7
|
-
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
8
|
-
})(),
|
|
9
|
-
};
|
|
10
|
-
};
|
|
11
|
-
function createAwsAuthSigv4HttpAuthOption(authParameters) {
|
|
12
|
-
return {
|
|
13
|
-
schemeId: "aws.auth#sigv4",
|
|
14
|
-
signingProperties: {
|
|
15
|
-
name: "cloudformation",
|
|
16
|
-
region: authParameters.region,
|
|
17
|
-
},
|
|
18
|
-
propertiesExtractor: (config, context) => ({
|
|
19
|
-
signingProperties: {
|
|
20
|
-
config,
|
|
21
|
-
context,
|
|
22
|
-
},
|
|
23
|
-
}),
|
|
24
|
-
};
|
|
25
|
-
}
|
|
26
|
-
exports.defaultCloudFormationHttpAuthSchemeProvider = (authParameters) => {
|
|
27
|
-
const options = [];
|
|
28
|
-
switch (authParameters.operation) {
|
|
29
|
-
default: {
|
|
30
|
-
options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
return options;
|
|
34
|
-
};
|
|
35
|
-
exports.resolveHttpAuthSchemeConfig = (config) => {
|
|
36
|
-
const config_0 = resolveAwsSdkSigV4Config(config);
|
|
37
|
-
return Object.assign(config_0, {
|
|
38
|
-
authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),
|
|
39
|
-
});
|
|
40
|
-
};
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
const { BinaryDecisionDiagram } = require("@smithy/core/endpoints");
|
|
2
|
-
const k = "ref";
|
|
3
|
-
const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = { [k]: "Endpoint" }, h = { [k]: d }, i = {}, j = [{ [k]: "Region" }];
|
|
4
|
-
const _data = {
|
|
5
|
-
conditions: [
|
|
6
|
-
[c, [g]],
|
|
7
|
-
[c, j],
|
|
8
|
-
["aws.partition", j, d],
|
|
9
|
-
[e, [{ [k]: "UseFIPS" }, b]],
|
|
10
|
-
[e, [{ [k]: "UseDualStack" }, b]],
|
|
11
|
-
[e, [{ fn: f, argv: [h, "supportsDualStack"] }, b]],
|
|
12
|
-
[e, [{ fn: f, argv: [h, "supportsFIPS"] }, b]],
|
|
13
|
-
["stringEquals", [{ fn: f, argv: [h, "name"] }, "aws-us-gov"]]
|
|
14
|
-
],
|
|
15
|
-
results: [
|
|
16
|
-
[a],
|
|
17
|
-
[a, "Invalid Configuration: FIPS and custom endpoint are not supported"],
|
|
18
|
-
[a, "Invalid Configuration: Dualstack and custom endpoint are not supported"],
|
|
19
|
-
[g, i],
|
|
20
|
-
["https://cloudformation-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
|
|
21
|
-
[a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
|
|
22
|
-
["https://cloudformation.{Region}.amazonaws.com", i],
|
|
23
|
-
["https://cloudformation-fips.{Region}.{PartitionResult#dnsSuffix}", i],
|
|
24
|
-
[a, "FIPS is enabled but this partition does not support FIPS"],
|
|
25
|
-
["https://cloudformation.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
|
|
26
|
-
[a, "DualStack is enabled but this partition does not support DualStack"],
|
|
27
|
-
["https://cloudformation.{Region}.{PartitionResult#dnsSuffix}", i],
|
|
28
|
-
[a, "Invalid Configuration: Missing Region"]
|
|
29
|
-
]
|
|
30
|
-
};
|
|
31
|
-
const root = 2;
|
|
32
|
-
const r = 100_000_000;
|
|
33
|
-
const nodes = new Int32Array([
|
|
34
|
-
-1, 1, -1,
|
|
35
|
-
0, 13, 3,
|
|
36
|
-
1, 4, r + 12,
|
|
37
|
-
2, 5, r + 12,
|
|
38
|
-
3, 8, 6,
|
|
39
|
-
4, 7, r + 11,
|
|
40
|
-
5, r + 9, r + 10,
|
|
41
|
-
4, 11, 9,
|
|
42
|
-
6, 10, r + 8,
|
|
43
|
-
7, r + 6, r + 7,
|
|
44
|
-
5, 12, r + 5,
|
|
45
|
-
6, r + 4, r + 5,
|
|
46
|
-
3, r + 1, 14,
|
|
47
|
-
4, r + 2, r + 3,
|
|
48
|
-
]);
|
|
49
|
-
exports.bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
const { awsEndpointFunctions } = require("@aws-sdk/core/client");
|
|
2
|
-
const { customEndpointFunctions, decideEndpoint, EndpointCache } = require("@smithy/core/endpoints");
|
|
3
|
-
const { bdd } = require("./bdd");
|
|
4
|
-
const cache = new EndpointCache({
|
|
5
|
-
size: 50,
|
|
6
|
-
params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
|
|
7
|
-
});
|
|
8
|
-
exports.defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
9
|
-
return cache.get(endpointParams, () => decideEndpoint(bdd, {
|
|
10
|
-
endpointParams: endpointParams,
|
|
11
|
-
logger: context.logger,
|
|
12
|
-
}));
|
|
13
|
-
};
|
|
14
|
-
customEndpointFunctions.aws = awsEndpointFunctions;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
const { ServiceException: __ServiceException } = require("@smithy/core/client");
|
|
2
|
-
exports.__ServiceException = __ServiceException;
|
|
3
|
-
exports.CloudFormationServiceException = class CloudFormationServiceException extends __ServiceException {
|
|
4
|
-
constructor(options) {
|
|
5
|
-
super(options);
|
|
6
|
-
Object.setPrototypeOf(this, CloudFormationServiceException.prototype);
|
|
7
|
-
}
|
|
8
|
-
};
|
|
@@ -1,407 +0,0 @@
|
|
|
1
|
-
const { CloudFormationServiceException: __BaseException } = require("./CloudFormationServiceException");
|
|
2
|
-
exports.InvalidOperationException = class InvalidOperationException extends __BaseException {
|
|
3
|
-
name = "InvalidOperationException";
|
|
4
|
-
$fault = "client";
|
|
5
|
-
Message;
|
|
6
|
-
constructor(opts) {
|
|
7
|
-
super({
|
|
8
|
-
name: "InvalidOperationException",
|
|
9
|
-
$fault: "client",
|
|
10
|
-
...opts,
|
|
11
|
-
});
|
|
12
|
-
Object.setPrototypeOf(this, InvalidOperationException.prototype);
|
|
13
|
-
this.Message = opts.Message;
|
|
14
|
-
}
|
|
15
|
-
};
|
|
16
|
-
exports.OperationNotFoundException = class OperationNotFoundException extends __BaseException {
|
|
17
|
-
name = "OperationNotFoundException";
|
|
18
|
-
$fault = "client";
|
|
19
|
-
Message;
|
|
20
|
-
constructor(opts) {
|
|
21
|
-
super({
|
|
22
|
-
name: "OperationNotFoundException",
|
|
23
|
-
$fault: "client",
|
|
24
|
-
...opts,
|
|
25
|
-
});
|
|
26
|
-
Object.setPrototypeOf(this, OperationNotFoundException.prototype);
|
|
27
|
-
this.Message = opts.Message;
|
|
28
|
-
}
|
|
29
|
-
};
|
|
30
|
-
exports.CFNRegistryException = class CFNRegistryException extends __BaseException {
|
|
31
|
-
name = "CFNRegistryException";
|
|
32
|
-
$fault = "client";
|
|
33
|
-
Message;
|
|
34
|
-
constructor(opts) {
|
|
35
|
-
super({
|
|
36
|
-
name: "CFNRegistryException",
|
|
37
|
-
$fault: "client",
|
|
38
|
-
...opts,
|
|
39
|
-
});
|
|
40
|
-
Object.setPrototypeOf(this, CFNRegistryException.prototype);
|
|
41
|
-
this.Message = opts.Message;
|
|
42
|
-
}
|
|
43
|
-
};
|
|
44
|
-
exports.TypeNotFoundException = class TypeNotFoundException extends __BaseException {
|
|
45
|
-
name = "TypeNotFoundException";
|
|
46
|
-
$fault = "client";
|
|
47
|
-
Message;
|
|
48
|
-
constructor(opts) {
|
|
49
|
-
super({
|
|
50
|
-
name: "TypeNotFoundException",
|
|
51
|
-
$fault: "client",
|
|
52
|
-
...opts,
|
|
53
|
-
});
|
|
54
|
-
Object.setPrototypeOf(this, TypeNotFoundException.prototype);
|
|
55
|
-
this.Message = opts.Message;
|
|
56
|
-
}
|
|
57
|
-
};
|
|
58
|
-
exports.AlreadyExistsException = class AlreadyExistsException extends __BaseException {
|
|
59
|
-
name = "AlreadyExistsException";
|
|
60
|
-
$fault = "client";
|
|
61
|
-
Message;
|
|
62
|
-
constructor(opts) {
|
|
63
|
-
super({
|
|
64
|
-
name: "AlreadyExistsException",
|
|
65
|
-
$fault: "client",
|
|
66
|
-
...opts,
|
|
67
|
-
});
|
|
68
|
-
Object.setPrototypeOf(this, AlreadyExistsException.prototype);
|
|
69
|
-
this.Message = opts.Message;
|
|
70
|
-
}
|
|
71
|
-
};
|
|
72
|
-
exports.TypeConfigurationNotFoundException = class TypeConfigurationNotFoundException extends __BaseException {
|
|
73
|
-
name = "TypeConfigurationNotFoundException";
|
|
74
|
-
$fault = "client";
|
|
75
|
-
Message;
|
|
76
|
-
constructor(opts) {
|
|
77
|
-
super({
|
|
78
|
-
name: "TypeConfigurationNotFoundException",
|
|
79
|
-
$fault: "client",
|
|
80
|
-
...opts,
|
|
81
|
-
});
|
|
82
|
-
Object.setPrototypeOf(this, TypeConfigurationNotFoundException.prototype);
|
|
83
|
-
this.Message = opts.Message;
|
|
84
|
-
}
|
|
85
|
-
};
|
|
86
|
-
exports.TokenAlreadyExistsException = class TokenAlreadyExistsException extends __BaseException {
|
|
87
|
-
name = "TokenAlreadyExistsException";
|
|
88
|
-
$fault = "client";
|
|
89
|
-
Message;
|
|
90
|
-
constructor(opts) {
|
|
91
|
-
super({
|
|
92
|
-
name: "TokenAlreadyExistsException",
|
|
93
|
-
$fault: "client",
|
|
94
|
-
...opts,
|
|
95
|
-
});
|
|
96
|
-
Object.setPrototypeOf(this, TokenAlreadyExistsException.prototype);
|
|
97
|
-
this.Message = opts.Message;
|
|
98
|
-
}
|
|
99
|
-
};
|
|
100
|
-
exports.ChangeSetNotFoundException = class ChangeSetNotFoundException extends __BaseException {
|
|
101
|
-
name = "ChangeSetNotFoundException";
|
|
102
|
-
$fault = "client";
|
|
103
|
-
Message;
|
|
104
|
-
constructor(opts) {
|
|
105
|
-
super({
|
|
106
|
-
name: "ChangeSetNotFoundException",
|
|
107
|
-
$fault: "client",
|
|
108
|
-
...opts,
|
|
109
|
-
});
|
|
110
|
-
Object.setPrototypeOf(this, ChangeSetNotFoundException.prototype);
|
|
111
|
-
this.Message = opts.Message;
|
|
112
|
-
}
|
|
113
|
-
};
|
|
114
|
-
exports.InsufficientCapabilitiesException = class InsufficientCapabilitiesException extends __BaseException {
|
|
115
|
-
name = "InsufficientCapabilitiesException";
|
|
116
|
-
$fault = "client";
|
|
117
|
-
Message;
|
|
118
|
-
constructor(opts) {
|
|
119
|
-
super({
|
|
120
|
-
name: "InsufficientCapabilitiesException",
|
|
121
|
-
$fault: "client",
|
|
122
|
-
...opts,
|
|
123
|
-
});
|
|
124
|
-
Object.setPrototypeOf(this, InsufficientCapabilitiesException.prototype);
|
|
125
|
-
this.Message = opts.Message;
|
|
126
|
-
}
|
|
127
|
-
};
|
|
128
|
-
exports.LimitExceededException = class LimitExceededException extends __BaseException {
|
|
129
|
-
name = "LimitExceededException";
|
|
130
|
-
$fault = "client";
|
|
131
|
-
Message;
|
|
132
|
-
constructor(opts) {
|
|
133
|
-
super({
|
|
134
|
-
name: "LimitExceededException",
|
|
135
|
-
$fault: "client",
|
|
136
|
-
...opts,
|
|
137
|
-
});
|
|
138
|
-
Object.setPrototypeOf(this, LimitExceededException.prototype);
|
|
139
|
-
this.Message = opts.Message;
|
|
140
|
-
}
|
|
141
|
-
};
|
|
142
|
-
exports.ConcurrentResourcesLimitExceededException = class ConcurrentResourcesLimitExceededException extends __BaseException {
|
|
143
|
-
name = "ConcurrentResourcesLimitExceededException";
|
|
144
|
-
$fault = "client";
|
|
145
|
-
Message;
|
|
146
|
-
constructor(opts) {
|
|
147
|
-
super({
|
|
148
|
-
name: "ConcurrentResourcesLimitExceededException",
|
|
149
|
-
$fault: "client",
|
|
150
|
-
...opts,
|
|
151
|
-
});
|
|
152
|
-
Object.setPrototypeOf(this, ConcurrentResourcesLimitExceededException.prototype);
|
|
153
|
-
this.Message = opts.Message;
|
|
154
|
-
}
|
|
155
|
-
};
|
|
156
|
-
exports.OperationIdAlreadyExistsException = class OperationIdAlreadyExistsException extends __BaseException {
|
|
157
|
-
name = "OperationIdAlreadyExistsException";
|
|
158
|
-
$fault = "client";
|
|
159
|
-
Message;
|
|
160
|
-
constructor(opts) {
|
|
161
|
-
super({
|
|
162
|
-
name: "OperationIdAlreadyExistsException",
|
|
163
|
-
$fault: "client",
|
|
164
|
-
...opts,
|
|
165
|
-
});
|
|
166
|
-
Object.setPrototypeOf(this, OperationIdAlreadyExistsException.prototype);
|
|
167
|
-
this.Message = opts.Message;
|
|
168
|
-
}
|
|
169
|
-
};
|
|
170
|
-
exports.OperationInProgressException = class OperationInProgressException extends __BaseException {
|
|
171
|
-
name = "OperationInProgressException";
|
|
172
|
-
$fault = "client";
|
|
173
|
-
Message;
|
|
174
|
-
constructor(opts) {
|
|
175
|
-
super({
|
|
176
|
-
name: "OperationInProgressException",
|
|
177
|
-
$fault: "client",
|
|
178
|
-
...opts,
|
|
179
|
-
});
|
|
180
|
-
Object.setPrototypeOf(this, OperationInProgressException.prototype);
|
|
181
|
-
this.Message = opts.Message;
|
|
182
|
-
}
|
|
183
|
-
};
|
|
184
|
-
exports.StackSetNotFoundException = class StackSetNotFoundException extends __BaseException {
|
|
185
|
-
name = "StackSetNotFoundException";
|
|
186
|
-
$fault = "client";
|
|
187
|
-
Message;
|
|
188
|
-
constructor(opts) {
|
|
189
|
-
super({
|
|
190
|
-
name: "StackSetNotFoundException",
|
|
191
|
-
$fault: "client",
|
|
192
|
-
...opts,
|
|
193
|
-
});
|
|
194
|
-
Object.setPrototypeOf(this, StackSetNotFoundException.prototype);
|
|
195
|
-
this.Message = opts.Message;
|
|
196
|
-
}
|
|
197
|
-
};
|
|
198
|
-
exports.StaleRequestException = class StaleRequestException extends __BaseException {
|
|
199
|
-
name = "StaleRequestException";
|
|
200
|
-
$fault = "client";
|
|
201
|
-
Message;
|
|
202
|
-
constructor(opts) {
|
|
203
|
-
super({
|
|
204
|
-
name: "StaleRequestException",
|
|
205
|
-
$fault: "client",
|
|
206
|
-
...opts,
|
|
207
|
-
});
|
|
208
|
-
Object.setPrototypeOf(this, StaleRequestException.prototype);
|
|
209
|
-
this.Message = opts.Message;
|
|
210
|
-
}
|
|
211
|
-
};
|
|
212
|
-
exports.CreatedButModifiedException = class CreatedButModifiedException extends __BaseException {
|
|
213
|
-
name = "CreatedButModifiedException";
|
|
214
|
-
$fault = "client";
|
|
215
|
-
Message;
|
|
216
|
-
constructor(opts) {
|
|
217
|
-
super({
|
|
218
|
-
name: "CreatedButModifiedException",
|
|
219
|
-
$fault: "client",
|
|
220
|
-
...opts,
|
|
221
|
-
});
|
|
222
|
-
Object.setPrototypeOf(this, CreatedButModifiedException.prototype);
|
|
223
|
-
this.Message = opts.Message;
|
|
224
|
-
}
|
|
225
|
-
};
|
|
226
|
-
exports.NameAlreadyExistsException = class NameAlreadyExistsException extends __BaseException {
|
|
227
|
-
name = "NameAlreadyExistsException";
|
|
228
|
-
$fault = "client";
|
|
229
|
-
Message;
|
|
230
|
-
constructor(opts) {
|
|
231
|
-
super({
|
|
232
|
-
name: "NameAlreadyExistsException",
|
|
233
|
-
$fault: "client",
|
|
234
|
-
...opts,
|
|
235
|
-
});
|
|
236
|
-
Object.setPrototypeOf(this, NameAlreadyExistsException.prototype);
|
|
237
|
-
this.Message = opts.Message;
|
|
238
|
-
}
|
|
239
|
-
};
|
|
240
|
-
exports.InvalidChangeSetStatusException = class InvalidChangeSetStatusException extends __BaseException {
|
|
241
|
-
name = "InvalidChangeSetStatusException";
|
|
242
|
-
$fault = "client";
|
|
243
|
-
Message;
|
|
244
|
-
constructor(opts) {
|
|
245
|
-
super({
|
|
246
|
-
name: "InvalidChangeSetStatusException",
|
|
247
|
-
$fault: "client",
|
|
248
|
-
...opts,
|
|
249
|
-
});
|
|
250
|
-
Object.setPrototypeOf(this, InvalidChangeSetStatusException.prototype);
|
|
251
|
-
this.Message = opts.Message;
|
|
252
|
-
}
|
|
253
|
-
};
|
|
254
|
-
exports.GeneratedTemplateNotFoundException = class GeneratedTemplateNotFoundException extends __BaseException {
|
|
255
|
-
name = "GeneratedTemplateNotFoundException";
|
|
256
|
-
$fault = "client";
|
|
257
|
-
Message;
|
|
258
|
-
constructor(opts) {
|
|
259
|
-
super({
|
|
260
|
-
name: "GeneratedTemplateNotFoundException",
|
|
261
|
-
$fault: "client",
|
|
262
|
-
...opts,
|
|
263
|
-
});
|
|
264
|
-
Object.setPrototypeOf(this, GeneratedTemplateNotFoundException.prototype);
|
|
265
|
-
this.Message = opts.Message;
|
|
266
|
-
}
|
|
267
|
-
};
|
|
268
|
-
exports.StackSetNotEmptyException = class StackSetNotEmptyException extends __BaseException {
|
|
269
|
-
name = "StackSetNotEmptyException";
|
|
270
|
-
$fault = "client";
|
|
271
|
-
Message;
|
|
272
|
-
constructor(opts) {
|
|
273
|
-
super({
|
|
274
|
-
name: "StackSetNotEmptyException",
|
|
275
|
-
$fault: "client",
|
|
276
|
-
...opts,
|
|
277
|
-
});
|
|
278
|
-
Object.setPrototypeOf(this, StackSetNotEmptyException.prototype);
|
|
279
|
-
this.Message = opts.Message;
|
|
280
|
-
}
|
|
281
|
-
};
|
|
282
|
-
exports.ResourceScanNotFoundException = class ResourceScanNotFoundException extends __BaseException {
|
|
283
|
-
name = "ResourceScanNotFoundException";
|
|
284
|
-
$fault = "client";
|
|
285
|
-
Message;
|
|
286
|
-
constructor(opts) {
|
|
287
|
-
super({
|
|
288
|
-
name: "ResourceScanNotFoundException",
|
|
289
|
-
$fault: "client",
|
|
290
|
-
...opts,
|
|
291
|
-
});
|
|
292
|
-
Object.setPrototypeOf(this, ResourceScanNotFoundException.prototype);
|
|
293
|
-
this.Message = opts.Message;
|
|
294
|
-
}
|
|
295
|
-
};
|
|
296
|
-
exports.StackInstanceNotFoundException = class StackInstanceNotFoundException extends __BaseException {
|
|
297
|
-
name = "StackInstanceNotFoundException";
|
|
298
|
-
$fault = "client";
|
|
299
|
-
Message;
|
|
300
|
-
constructor(opts) {
|
|
301
|
-
super({
|
|
302
|
-
name: "StackInstanceNotFoundException",
|
|
303
|
-
$fault: "client",
|
|
304
|
-
...opts,
|
|
305
|
-
});
|
|
306
|
-
Object.setPrototypeOf(this, StackInstanceNotFoundException.prototype);
|
|
307
|
-
this.Message = opts.Message;
|
|
308
|
-
}
|
|
309
|
-
};
|
|
310
|
-
exports.StackRefactorNotFoundException = class StackRefactorNotFoundException extends __BaseException {
|
|
311
|
-
name = "StackRefactorNotFoundException";
|
|
312
|
-
$fault = "client";
|
|
313
|
-
Message;
|
|
314
|
-
constructor(opts) {
|
|
315
|
-
super({
|
|
316
|
-
name: "StackRefactorNotFoundException",
|
|
317
|
-
$fault: "client",
|
|
318
|
-
...opts,
|
|
319
|
-
});
|
|
320
|
-
Object.setPrototypeOf(this, StackRefactorNotFoundException.prototype);
|
|
321
|
-
this.Message = opts.Message;
|
|
322
|
-
}
|
|
323
|
-
};
|
|
324
|
-
exports.HookResultNotFoundException = class HookResultNotFoundException extends __BaseException {
|
|
325
|
-
name = "HookResultNotFoundException";
|
|
326
|
-
$fault = "client";
|
|
327
|
-
Message;
|
|
328
|
-
constructor(opts) {
|
|
329
|
-
super({
|
|
330
|
-
name: "HookResultNotFoundException",
|
|
331
|
-
$fault: "client",
|
|
332
|
-
...opts,
|
|
333
|
-
});
|
|
334
|
-
Object.setPrototypeOf(this, HookResultNotFoundException.prototype);
|
|
335
|
-
this.Message = opts.Message;
|
|
336
|
-
}
|
|
337
|
-
};
|
|
338
|
-
exports.StackNotFoundException = class StackNotFoundException extends __BaseException {
|
|
339
|
-
name = "StackNotFoundException";
|
|
340
|
-
$fault = "client";
|
|
341
|
-
Message;
|
|
342
|
-
constructor(opts) {
|
|
343
|
-
super({
|
|
344
|
-
name: "StackNotFoundException",
|
|
345
|
-
$fault: "client",
|
|
346
|
-
...opts,
|
|
347
|
-
});
|
|
348
|
-
Object.setPrototypeOf(this, StackNotFoundException.prototype);
|
|
349
|
-
this.Message = opts.Message;
|
|
350
|
-
}
|
|
351
|
-
};
|
|
352
|
-
exports.ResourceScanInProgressException = class ResourceScanInProgressException extends __BaseException {
|
|
353
|
-
name = "ResourceScanInProgressException";
|
|
354
|
-
$fault = "client";
|
|
355
|
-
Message;
|
|
356
|
-
constructor(opts) {
|
|
357
|
-
super({
|
|
358
|
-
name: "ResourceScanInProgressException",
|
|
359
|
-
$fault: "client",
|
|
360
|
-
...opts,
|
|
361
|
-
});
|
|
362
|
-
Object.setPrototypeOf(this, ResourceScanInProgressException.prototype);
|
|
363
|
-
this.Message = opts.Message;
|
|
364
|
-
}
|
|
365
|
-
};
|
|
366
|
-
exports.InvalidStateTransitionException = class InvalidStateTransitionException extends __BaseException {
|
|
367
|
-
name = "InvalidStateTransitionException";
|
|
368
|
-
$fault = "client";
|
|
369
|
-
Message;
|
|
370
|
-
constructor(opts) {
|
|
371
|
-
super({
|
|
372
|
-
name: "InvalidStateTransitionException",
|
|
373
|
-
$fault: "client",
|
|
374
|
-
...opts,
|
|
375
|
-
});
|
|
376
|
-
Object.setPrototypeOf(this, InvalidStateTransitionException.prototype);
|
|
377
|
-
this.Message = opts.Message;
|
|
378
|
-
}
|
|
379
|
-
};
|
|
380
|
-
exports.OperationStatusCheckFailedException = class OperationStatusCheckFailedException extends __BaseException {
|
|
381
|
-
name = "OperationStatusCheckFailedException";
|
|
382
|
-
$fault = "client";
|
|
383
|
-
Message;
|
|
384
|
-
constructor(opts) {
|
|
385
|
-
super({
|
|
386
|
-
name: "OperationStatusCheckFailedException",
|
|
387
|
-
$fault: "client",
|
|
388
|
-
...opts,
|
|
389
|
-
});
|
|
390
|
-
Object.setPrototypeOf(this, OperationStatusCheckFailedException.prototype);
|
|
391
|
-
this.Message = opts.Message;
|
|
392
|
-
}
|
|
393
|
-
};
|
|
394
|
-
exports.ResourceScanLimitExceededException = class ResourceScanLimitExceededException extends __BaseException {
|
|
395
|
-
name = "ResourceScanLimitExceededException";
|
|
396
|
-
$fault = "client";
|
|
397
|
-
Message;
|
|
398
|
-
constructor(opts) {
|
|
399
|
-
super({
|
|
400
|
-
name: "ResourceScanLimitExceededException",
|
|
401
|
-
$fault: "client",
|
|
402
|
-
...opts,
|
|
403
|
-
});
|
|
404
|
-
Object.setPrototypeOf(this, ResourceScanLimitExceededException.prototype);
|
|
405
|
-
this.Message = opts.Message;
|
|
406
|
-
}
|
|
407
|
-
};
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
const packageInfo = require("../package.json");
|
|
2
|
-
const { Sha256 } = require("@aws-crypto/sha256-browser");
|
|
3
|
-
const { createDefaultUserAgentProvider } = require("@aws-sdk/core/client");
|
|
4
|
-
const { invalidProvider, loadConfigsForDefaultMode } = require("@smithy/core/client");
|
|
5
|
-
const { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT, resolveDefaultsModeConfig } = require("@smithy/core/config");
|
|
6
|
-
const { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } = require("@smithy/core/retry");
|
|
7
|
-
const { calculateBodyLength } = require("@smithy/core/serde");
|
|
8
|
-
const { FetchHttpHandler: RequestHandler, streamCollector } = require("@smithy/fetch-http-handler");
|
|
9
|
-
const { getRuntimeConfig: getSharedRuntimeConfig } = require("./runtimeConfig.shared");
|
|
10
|
-
const getRuntimeConfig = (config) => {
|
|
11
|
-
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
12
|
-
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
|
13
|
-
const clientSharedValues = getSharedRuntimeConfig(config);
|
|
14
|
-
return {
|
|
15
|
-
...clientSharedValues,
|
|
16
|
-
...config,
|
|
17
|
-
runtime: "browser",
|
|
18
|
-
defaultsMode,
|
|
19
|
-
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
20
|
-
credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
21
|
-
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
22
|
-
maxAttempts: config?.maxAttempts ?? DEFAULT_MAX_ATTEMPTS,
|
|
23
|
-
region: config?.region ?? invalidProvider("Region is missing"),
|
|
24
|
-
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
25
|
-
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
|
|
26
|
-
sha256: config?.sha256 ?? Sha256,
|
|
27
|
-
streamCollector: config?.streamCollector ?? streamCollector,
|
|
28
|
-
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
29
|
-
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
|
|
30
|
-
};
|
|
31
|
-
};
|
|
32
|
-
exports.getRuntimeConfig = getRuntimeConfig;
|