p6-cdk-s3-protector 0.0.44 → 0.0.45
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 +5 -5
- package/lib/p6cdks3protector.js +1 -1
- package/node_modules/@aws-sdk/client-s3/package.json +50 -50
- package/node_modules/@aws-sdk/client-s3-control/package.json +40 -40
- package/node_modules/@aws-sdk/client-sso/package.json +32 -32
- package/node_modules/@aws-sdk/client-sts/dist-cjs/STSClient.js +2 -0
- package/node_modules/@aws-sdk/client-sts/dist-cjs/index.js +400 -1095
- package/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.shared.js +7 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/STSClient.js +2 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleCommand.js +3 -10
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleWithSAMLCommand.js +3 -10
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleWithWebIdentityCommand.js +3 -10
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRootCommand.js +3 -10
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/DecodeAuthorizationMessageCommand.js +3 -9
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetAccessKeyInfoCommand.js +3 -9
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetCallerIdentityCommand.js +3 -9
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetDelegatedAccessTokenCommand.js +3 -10
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetFederationTokenCommand.js +3 -10
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetSessionTokenCommand.js +3 -10
- package/node_modules/@aws-sdk/client-sts/dist-es/models/models_0.js +0 -45
- package/node_modules/@aws-sdk/client-sts/dist-es/runtimeConfig.shared.js +7 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/schemas/schemas_0.js +410 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/STSClient.d.ts +10 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/models/models_0.d.ts +0 -44
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.native.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/schemas/schemas_0.d.ts +55 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/STSClient.d.ts +4 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/models/models_0.d.ts +0 -31
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/schemas/schemas_0.d.ts +61 -0
- package/node_modules/@aws-sdk/client-sts/package.json +33 -33
- package/node_modules/@aws-sdk/core/node_modules/@smithy/property-provider/package.json +2 -2
- package/node_modules/@aws-sdk/core/package.json +11 -11
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/credential-provider-env/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/credential-provider-http/package.json +10 -10
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/credential-provider-ini/package.json +13 -13
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/credential-provider-process/package.json +6 -6
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/credential-provider-sso/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/credential-provider-web-identity/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/STSClient.js +2 -0
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +207 -548
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.shared.js +7 -0
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/STSClient.js +2 -0
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/commands/AssumeRoleCommand.js +3 -10
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.js +3 -10
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/models/models_0.js +0 -17
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.shared.js +7 -0
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/schemas/schemas_0.js +214 -0
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/STSClient.d.ts +10 -1
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/models/models_0.d.ts +0 -16
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.browser.d.ts +1 -0
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.native.d.ts +1 -0
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.shared.d.ts +1 -0
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/schemas/schemas_0.d.ts +26 -0
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/STSClient.d.ts +4 -0
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/models/models_0.d.ts +0 -10
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.browser.d.ts +4 -0
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.d.ts +4 -0
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.native.d.ts +4 -0
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.shared.d.ts +4 -0
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/schemas/schemas_0.d.ts +32 -0
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/package.json +32 -32
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/credential-provider-imds/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/property-provider/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-node/package.json +12 -12
- 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 +9 -9
- 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/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +11 -11
- package/node_modules/@aws-sdk/middleware-sdk-s3-control/package.json +8 -8
- 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/region-config-resolver/package.json +5 -5
- package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +6 -6
- package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/STSClient.js +2 -0
- package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +207 -548
- package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.shared.js +7 -0
- package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/STSClient.js +2 -0
- package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/commands/AssumeRoleCommand.js +3 -10
- package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.js +3 -10
- package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/models/models_0.js +0 -17
- package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.shared.js +7 -0
- package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/schemas/schemas_0.js +214 -0
- package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/STSClient.d.ts +10 -1
- package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/models/models_0.d.ts +0 -16
- package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.browser.d.ts +1 -0
- package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.native.d.ts +1 -0
- package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.shared.d.ts +1 -0
- package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/schemas/schemas_0.d.ts +26 -0
- package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/STSClient.d.ts +4 -0
- package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/models/models_0.d.ts +0 -10
- package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.browser.d.ts +4 -0
- package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.d.ts +4 -0
- package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.native.d.ts +4 -0
- package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.shared.d.ts +4 -0
- package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/schemas/schemas_0.d.ts +32 -0
- package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/package.json +32 -32
- package/node_modules/@aws-sdk/token-providers/node_modules/@smithy/property-provider/package.json +2 -2
- package/node_modules/@aws-sdk/token-providers/package.json +7 -7
- 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-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 +5 -5
- package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +4 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +43 -2
- package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +7 -2
- package/node_modules/@smithy/core/dist-es/submodules/cbor/CborCodec.js +4 -1
- package/node_modules/@smithy/core/dist-es/submodules/event-streams/EventStreamSerde.js +44 -3
- package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/protocols/serde/ToStringShapeSerializer.js +7 -2
- package/node_modules/@smithy/core/dist-types/submodules/cbor/CborCodec.d.ts +3 -3
- package/node_modules/@smithy/core/dist-types/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/event-streams/EventStreamSerde.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/protocols/HttpBindingProtocol.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/protocols/HttpProtocol.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/protocols/RpcProtocol.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/protocols/serde/FromStringShapeDeserializer.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/protocols/serde/HttpInterceptingShapeDeserializer.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/protocols/serde/HttpInterceptingShapeSerializer.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/protocols/serde/ToStringShapeSerializer.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/schema/TypeRegistry.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/ErrorSchema.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/ListSchema.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/MapSchema.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/NormalizedSchema.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/OperationSchema.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/Schema.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/SimpleSchema.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/StructureSchema.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/sentinels.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/CborCodec.d.ts +3 -3
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/EventStreamSerde.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpBindingProtocol.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpProtocol.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/RpcProtocol.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/FromStringShapeDeserializer.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/HttpInterceptingShapeDeserializer.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/HttpInterceptingShapeSerializer.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/ToStringShapeSerializer.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/TypeRegistry.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/ErrorSchema.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/ListSchema.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/MapSchema.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/NormalizedSchema.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/OperationSchema.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/Schema.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/SimpleSchema.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/StructureSchema.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/sentinels.d.ts +1 -1
- package/node_modules/@smithy/core/package.json +7 -7
- 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-apply-body-checksum/package.json +3 -3
- 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/node_modules/@smithy/property-provider/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/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/dist-cjs/getSSOTokenFromFile.js +2 -3
- package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js +10 -6
- package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/readFile.js +16 -0
- package/node_modules/@smithy/shared-ini-file-loader/dist-es/externalDataInterceptor.js +1 -1
- package/node_modules/@smithy/shared-ini-file-loader/dist-es/getSSOTokenFromFile.js +1 -2
- package/node_modules/@smithy/shared-ini-file-loader/dist-es/index.js +1 -0
- package/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSharedConfigFiles.js +3 -3
- package/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSsoSessionData.js +2 -2
- package/node_modules/@smithy/shared-ini-file-loader/dist-es/readFile.js +12 -0
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFromFile.d.ts +2 -0
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/index.d.ts +1 -0
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/readFile.d.ts +21 -0
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFromFile.d.ts +2 -0
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/index.d.ts +1 -0
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/readFile.d.ts +21 -0
- package/node_modules/@smithy/shared-ini-file-loader/package.json +5 -5
- 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-deprecated.d.ts +12 -12
- package/node_modules/@smithy/types/dist-types/schema/schema.d.ts +5 -5
- package/node_modules/@smithy/types/dist-types/schema/static-schemas.d.ts +15 -15
- package/node_modules/@smithy/types/dist-types/ts3.4/schema/schema-deprecated.d.ts +12 -12
- package/node_modules/@smithy/types/dist-types/ts3.4/schema/schema.d.ts +5 -5
- package/node_modules/@smithy/types/dist-types/ts3.4/schema/static-schemas.d.ts +15 -15
- 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/node_modules/@smithy/property-provider/package.json +2 -2
- package/node_modules/@smithy/util-defaults-mode-browser/package.json +4 -4
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/package.json +5 -5
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/package.json +2 -2
- 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 +4 -4
- package/node_modules/@aws-sdk/client-sts/dist-es/protocols/Aws_query.js +0 -1003
- package/node_modules/@aws-sdk/client-sts/dist-types/protocols/Aws_query.d.ts +0 -92
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/protocols/Aws_query.d.ts +0 -125
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/protocols/Aws_query.js +0 -528
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/protocols/Aws_query.d.ts +0 -20
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/protocols/Aws_query.d.ts +0 -29
- package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/protocols/Aws_query.js +0 -528
- package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/protocols/Aws_query.d.ts +0 -20
- package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/protocols/Aws_query.d.ts +0 -29
- package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/slurpFile.js +0 -17
- package/node_modules/@smithy/shared-ini-file-loader/dist-es/slurpFile.js +0 -13
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/slurpFile.d.ts +0 -7
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/slurpFile.d.ts +0 -7
package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/nested-clients",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.930.0",
|
|
4
4
|
"description": "Nested clients for AWS SDK packages.",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -29,40 +29,40 @@
|
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
31
31
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
32
|
-
"@aws-sdk/core": "3.
|
|
33
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
34
|
-
"@aws-sdk/middleware-logger": "3.
|
|
35
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
36
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
37
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
38
|
-
"@aws-sdk/types": "3.
|
|
39
|
-
"@aws-sdk/util-endpoints": "3.
|
|
40
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
41
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
42
|
-
"@smithy/config-resolver": "^4.4.
|
|
43
|
-
"@smithy/core": "^3.
|
|
44
|
-
"@smithy/fetch-http-handler": "^5.3.
|
|
45
|
-
"@smithy/hash-node": "^4.2.
|
|
46
|
-
"@smithy/invalid-dependency": "^4.2.
|
|
47
|
-
"@smithy/middleware-content-length": "^4.2.
|
|
48
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
49
|
-
"@smithy/middleware-retry": "^4.4.
|
|
50
|
-
"@smithy/middleware-serde": "^4.2.
|
|
51
|
-
"@smithy/middleware-stack": "^4.2.
|
|
52
|
-
"@smithy/node-config-provider": "^4.3.
|
|
53
|
-
"@smithy/node-http-handler": "^4.4.
|
|
54
|
-
"@smithy/protocol-http": "^5.3.
|
|
55
|
-
"@smithy/smithy-client": "^4.9.
|
|
56
|
-
"@smithy/types": "^4.
|
|
57
|
-
"@smithy/url-parser": "^4.2.
|
|
32
|
+
"@aws-sdk/core": "3.930.0",
|
|
33
|
+
"@aws-sdk/middleware-host-header": "3.930.0",
|
|
34
|
+
"@aws-sdk/middleware-logger": "3.930.0",
|
|
35
|
+
"@aws-sdk/middleware-recursion-detection": "3.930.0",
|
|
36
|
+
"@aws-sdk/middleware-user-agent": "3.930.0",
|
|
37
|
+
"@aws-sdk/region-config-resolver": "3.930.0",
|
|
38
|
+
"@aws-sdk/types": "3.930.0",
|
|
39
|
+
"@aws-sdk/util-endpoints": "3.930.0",
|
|
40
|
+
"@aws-sdk/util-user-agent-browser": "3.930.0",
|
|
41
|
+
"@aws-sdk/util-user-agent-node": "3.930.0",
|
|
42
|
+
"@smithy/config-resolver": "^4.4.3",
|
|
43
|
+
"@smithy/core": "^3.18.2",
|
|
44
|
+
"@smithy/fetch-http-handler": "^5.3.6",
|
|
45
|
+
"@smithy/hash-node": "^4.2.5",
|
|
46
|
+
"@smithy/invalid-dependency": "^4.2.5",
|
|
47
|
+
"@smithy/middleware-content-length": "^4.2.5",
|
|
48
|
+
"@smithy/middleware-endpoint": "^4.3.9",
|
|
49
|
+
"@smithy/middleware-retry": "^4.4.9",
|
|
50
|
+
"@smithy/middleware-serde": "^4.2.5",
|
|
51
|
+
"@smithy/middleware-stack": "^4.2.5",
|
|
52
|
+
"@smithy/node-config-provider": "^4.3.5",
|
|
53
|
+
"@smithy/node-http-handler": "^4.4.5",
|
|
54
|
+
"@smithy/protocol-http": "^5.3.5",
|
|
55
|
+
"@smithy/smithy-client": "^4.9.5",
|
|
56
|
+
"@smithy/types": "^4.9.0",
|
|
57
|
+
"@smithy/url-parser": "^4.2.5",
|
|
58
58
|
"@smithy/util-base64": "^4.3.0",
|
|
59
59
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
60
60
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
61
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
62
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
63
|
-
"@smithy/util-endpoints": "^3.2.
|
|
64
|
-
"@smithy/util-middleware": "^4.2.
|
|
65
|
-
"@smithy/util-retry": "^4.2.
|
|
61
|
+
"@smithy/util-defaults-mode-browser": "^4.3.8",
|
|
62
|
+
"@smithy/util-defaults-mode-node": "^4.2.11",
|
|
63
|
+
"@smithy/util-endpoints": "^3.2.5",
|
|
64
|
+
"@smithy/util-middleware": "^4.2.5",
|
|
65
|
+
"@smithy/util-retry": "^4.2.5",
|
|
66
66
|
"@smithy/util-utf8": "^4.2.0",
|
|
67
67
|
"tslib": "^2.6.2"
|
|
68
68
|
},
|
package/node_modules/@aws-sdk/token-providers/node_modules/@smithy/property-provider/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/property-provider",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.5",
|
|
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 property-provider",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"license": "Apache-2.0",
|
|
25
25
|
"sideEffects": false,
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@smithy/types": "^4.
|
|
27
|
+
"@smithy/types": "^4.9.0",
|
|
28
28
|
"tslib": "^2.6.2"
|
|
29
29
|
},
|
|
30
30
|
"engines": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/token-providers",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.930.0",
|
|
4
4
|
"description": "A collection of token providers",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -29,12 +29,12 @@
|
|
|
29
29
|
},
|
|
30
30
|
"license": "Apache-2.0",
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@aws-sdk/core": "3.
|
|
33
|
-
"@aws-sdk/nested-clients": "3.
|
|
34
|
-
"@aws-sdk/types": "3.
|
|
35
|
-
"@smithy/property-provider": "^4.2.
|
|
36
|
-
"@smithy/shared-ini-file-loader": "^4.
|
|
37
|
-
"@smithy/types": "^4.
|
|
32
|
+
"@aws-sdk/core": "3.930.0",
|
|
33
|
+
"@aws-sdk/nested-clients": "3.930.0",
|
|
34
|
+
"@aws-sdk/types": "3.930.0",
|
|
35
|
+
"@smithy/property-provider": "^4.2.5",
|
|
36
|
+
"@smithy/shared-ini-file-loader": "^4.4.0",
|
|
37
|
+
"@smithy/types": "^4.9.0",
|
|
38
38
|
"tslib": "^2.6.2"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/types",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.930.0",
|
|
4
4
|
"main": "./dist-cjs/index.js",
|
|
5
5
|
"module": "./dist-es/index.js",
|
|
6
6
|
"types": "./dist-types/index.d.ts",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"directory": "packages/types"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@smithy/types": "^4.
|
|
45
|
+
"@smithy/types": "^4.9.0",
|
|
46
46
|
"tslib": "^2.6.2"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/util-endpoints",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.930.0",
|
|
4
4
|
"description": "Utilities to help with endpoint resolution",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -25,10 +25,10 @@
|
|
|
25
25
|
},
|
|
26
26
|
"license": "Apache-2.0",
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@aws-sdk/types": "3.
|
|
29
|
-
"@smithy/types": "^4.
|
|
30
|
-
"@smithy/url-parser": "^4.2.
|
|
31
|
-
"@smithy/util-endpoints": "^3.2.
|
|
28
|
+
"@aws-sdk/types": "3.930.0",
|
|
29
|
+
"@smithy/types": "^4.9.0",
|
|
30
|
+
"@smithy/url-parser": "^4.2.5",
|
|
31
|
+
"@smithy/util-endpoints": "^3.2.5",
|
|
32
32
|
"tslib": "^2.6.2"
|
|
33
33
|
},
|
|
34
34
|
"engines": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/util-user-agent-browser",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.930.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "node ../../scripts/compilation/inline util-user-agent-browser",
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
"license": "Apache-2.0",
|
|
25
25
|
"react-native": "dist-es/index.native.js",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@aws-sdk/types": "3.
|
|
28
|
-
"@smithy/types": "^4.
|
|
27
|
+
"@aws-sdk/types": "3.930.0",
|
|
28
|
+
"@smithy/types": "^4.9.0",
|
|
29
29
|
"bowser": "^2.11.0",
|
|
30
30
|
"tslib": "^2.6.2"
|
|
31
31
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/util-user-agent-node",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.930.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "node ../../scripts/compilation/inline util-user-agent-node",
|
|
@@ -22,10 +22,10 @@
|
|
|
22
22
|
},
|
|
23
23
|
"license": "Apache-2.0",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
26
|
-
"@aws-sdk/types": "3.
|
|
27
|
-
"@smithy/node-config-provider": "^4.3.
|
|
28
|
-
"@smithy/types": "^4.
|
|
25
|
+
"@aws-sdk/middleware-user-agent": "3.930.0",
|
|
26
|
+
"@aws-sdk/types": "3.930.0",
|
|
27
|
+
"@smithy/node-config-provider": "^4.3.5",
|
|
28
|
+
"@smithy/types": "^4.9.0",
|
|
29
29
|
"tslib": "^2.6.2"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/xml-builder",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.930.0",
|
|
4
4
|
"description": "XML builder for the AWS SDK",
|
|
5
5
|
"dependencies": {
|
|
6
|
-
"@smithy/types": "^4.
|
|
6
|
+
"@smithy/types": "^4.9.0",
|
|
7
7
|
"fast-xml-parser": "5.2.5",
|
|
8
8
|
"tslib": "^2.6.2"
|
|
9
9
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/abort-controller",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.5",
|
|
4
4
|
"description": "A simple abort controller library",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"license": "Apache-2.0",
|
|
27
27
|
"sideEffects": false,
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@smithy/types": "^4.
|
|
29
|
+
"@smithy/types": "^4.9.0",
|
|
30
30
|
"tslib": "^2.6.2"
|
|
31
31
|
},
|
|
32
32
|
"engines": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/config-resolver",
|
|
3
|
-
"version": "4.4.
|
|
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 config-resolver",
|
|
@@ -25,11 +25,11 @@
|
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"sideEffects": false,
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@smithy/node-config-provider": "^4.3.
|
|
29
|
-
"@smithy/types": "^4.
|
|
28
|
+
"@smithy/node-config-provider": "^4.3.5",
|
|
29
|
+
"@smithy/types": "^4.9.0",
|
|
30
30
|
"@smithy/util-config-provider": "^4.2.0",
|
|
31
|
-
"@smithy/util-endpoints": "^3.2.
|
|
32
|
-
"@smithy/util-middleware": "^4.2.
|
|
31
|
+
"@smithy/util-endpoints": "^3.2.5",
|
|
32
|
+
"@smithy/util-middleware": "^4.2.5",
|
|
33
33
|
"tslib": "^2.6.2"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
@@ -929,7 +929,10 @@ class CborShapeDeserializer extends protocols.SerdeContext {
|
|
|
929
929
|
}
|
|
930
930
|
else if (ns.isStructSchema()) {
|
|
931
931
|
for (const [key, memberSchema] of ns.structIterator()) {
|
|
932
|
-
|
|
932
|
+
const v = this.readValue(memberSchema, value[key]);
|
|
933
|
+
if (v != null) {
|
|
934
|
+
newObject[key] = v;
|
|
935
|
+
}
|
|
933
936
|
}
|
|
934
937
|
}
|
|
935
938
|
return newObject;
|
|
@@ -76,8 +76,9 @@ class EventStreamSerde {
|
|
|
76
76
|
const unionMember = Object.keys(event).find((key) => {
|
|
77
77
|
return key !== "__type";
|
|
78
78
|
}) ?? "";
|
|
79
|
+
const body = event[unionMember].body;
|
|
79
80
|
if (unionMember === "initial-response") {
|
|
80
|
-
const dataObject = await this.deserializer.read(responseSchema,
|
|
81
|
+
const dataObject = await this.deserializer.read(responseSchema, body);
|
|
81
82
|
delete dataObject[eventStreamMember];
|
|
82
83
|
return {
|
|
83
84
|
[initialResponseMarker]: true,
|
|
@@ -86,8 +87,48 @@ class EventStreamSerde {
|
|
|
86
87
|
}
|
|
87
88
|
else if (unionMember in memberSchemas) {
|
|
88
89
|
const eventStreamSchema = memberSchemas[unionMember];
|
|
90
|
+
if (eventStreamSchema.isStructSchema()) {
|
|
91
|
+
const out = {};
|
|
92
|
+
let hasBindings = false;
|
|
93
|
+
for (const [name, member] of eventStreamSchema.structIterator()) {
|
|
94
|
+
const { eventHeader, eventPayload } = member.getMergedTraits();
|
|
95
|
+
hasBindings = hasBindings || Boolean(eventHeader || eventPayload);
|
|
96
|
+
if (eventPayload) {
|
|
97
|
+
if (member.isBlobSchema()) {
|
|
98
|
+
out[name] = body;
|
|
99
|
+
}
|
|
100
|
+
else if (member.isStringSchema()) {
|
|
101
|
+
out[name] = (this.serdeContext?.utf8Encoder ?? utilUtf8.toUtf8)(body);
|
|
102
|
+
}
|
|
103
|
+
else if (member.isStructSchema()) {
|
|
104
|
+
out[name] = await this.deserializer.read(member, body);
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
else if (eventHeader) {
|
|
108
|
+
const value = event[unionMember].headers[name]?.value;
|
|
109
|
+
if (value != null) {
|
|
110
|
+
if (member.isNumericSchema()) {
|
|
111
|
+
if (value && typeof value === "object" && "bytes" in value) {
|
|
112
|
+
out[name] = BigInt(value.toString());
|
|
113
|
+
}
|
|
114
|
+
else {
|
|
115
|
+
out[name] = Number(value);
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
else {
|
|
119
|
+
out[name] = value;
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
if (hasBindings) {
|
|
125
|
+
return {
|
|
126
|
+
[unionMember]: out,
|
|
127
|
+
};
|
|
128
|
+
}
|
|
129
|
+
}
|
|
89
130
|
return {
|
|
90
|
-
[unionMember]: await this.deserializer.read(eventStreamSchema,
|
|
131
|
+
[unionMember]: await this.deserializer.read(eventStreamSchema, body),
|
|
91
132
|
};
|
|
92
133
|
}
|
|
93
134
|
else {
|
|
@@ -189,7 +189,7 @@ class HttpBindingProtocol extends HttpProtocol {
|
|
|
189
189
|
for (const [memberName, memberNs] of ns.structIterator()) {
|
|
190
190
|
const memberTraits = memberNs.getMergedTraits() ?? {};
|
|
191
191
|
const inputMemberValue = input[memberName];
|
|
192
|
-
if (inputMemberValue == null) {
|
|
192
|
+
if (inputMemberValue == null && !memberNs.isIdempotencyToken()) {
|
|
193
193
|
continue;
|
|
194
194
|
}
|
|
195
195
|
if (memberTraits.httpPayload) {
|
|
@@ -770,7 +770,12 @@ class ToStringShapeSerializer extends SerdeContext {
|
|
|
770
770
|
this.stringBuffer = value;
|
|
771
771
|
break;
|
|
772
772
|
default:
|
|
773
|
-
|
|
773
|
+
if (ns.isIdempotencyToken()) {
|
|
774
|
+
this.stringBuffer = serde.generateIdempotencyToken();
|
|
775
|
+
}
|
|
776
|
+
else {
|
|
777
|
+
this.stringBuffer = String(value);
|
|
778
|
+
}
|
|
774
779
|
}
|
|
775
780
|
}
|
|
776
781
|
flush() {
|
|
@@ -153,7 +153,10 @@ export class CborShapeDeserializer extends SerdeContext {
|
|
|
153
153
|
}
|
|
154
154
|
else if (ns.isStructSchema()) {
|
|
155
155
|
for (const [key, memberSchema] of ns.structIterator()) {
|
|
156
|
-
|
|
156
|
+
const v = this.readValue(memberSchema, value[key]);
|
|
157
|
+
if (v != null) {
|
|
158
|
+
newObject[key] = v;
|
|
159
|
+
}
|
|
157
160
|
}
|
|
158
161
|
}
|
|
159
162
|
return newObject;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { fromUtf8 } from "@smithy/util-utf8";
|
|
1
|
+
import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
|
|
2
2
|
export class EventStreamSerde {
|
|
3
3
|
marshaller;
|
|
4
4
|
serializer;
|
|
@@ -73,8 +73,9 @@ export class EventStreamSerde {
|
|
|
73
73
|
const unionMember = Object.keys(event).find((key) => {
|
|
74
74
|
return key !== "__type";
|
|
75
75
|
}) ?? "";
|
|
76
|
+
const body = event[unionMember].body;
|
|
76
77
|
if (unionMember === "initial-response") {
|
|
77
|
-
const dataObject = await this.deserializer.read(responseSchema,
|
|
78
|
+
const dataObject = await this.deserializer.read(responseSchema, body);
|
|
78
79
|
delete dataObject[eventStreamMember];
|
|
79
80
|
return {
|
|
80
81
|
[initialResponseMarker]: true,
|
|
@@ -83,8 +84,48 @@ export class EventStreamSerde {
|
|
|
83
84
|
}
|
|
84
85
|
else if (unionMember in memberSchemas) {
|
|
85
86
|
const eventStreamSchema = memberSchemas[unionMember];
|
|
87
|
+
if (eventStreamSchema.isStructSchema()) {
|
|
88
|
+
const out = {};
|
|
89
|
+
let hasBindings = false;
|
|
90
|
+
for (const [name, member] of eventStreamSchema.structIterator()) {
|
|
91
|
+
const { eventHeader, eventPayload } = member.getMergedTraits();
|
|
92
|
+
hasBindings = hasBindings || Boolean(eventHeader || eventPayload);
|
|
93
|
+
if (eventPayload) {
|
|
94
|
+
if (member.isBlobSchema()) {
|
|
95
|
+
out[name] = body;
|
|
96
|
+
}
|
|
97
|
+
else if (member.isStringSchema()) {
|
|
98
|
+
out[name] = (this.serdeContext?.utf8Encoder ?? toUtf8)(body);
|
|
99
|
+
}
|
|
100
|
+
else if (member.isStructSchema()) {
|
|
101
|
+
out[name] = await this.deserializer.read(member, body);
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
else if (eventHeader) {
|
|
105
|
+
const value = event[unionMember].headers[name]?.value;
|
|
106
|
+
if (value != null) {
|
|
107
|
+
if (member.isNumericSchema()) {
|
|
108
|
+
if (value && typeof value === "object" && "bytes" in value) {
|
|
109
|
+
out[name] = BigInt(value.toString());
|
|
110
|
+
}
|
|
111
|
+
else {
|
|
112
|
+
out[name] = Number(value);
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
else {
|
|
116
|
+
out[name] = value;
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
if (hasBindings) {
|
|
122
|
+
return {
|
|
123
|
+
[unionMember]: out,
|
|
124
|
+
};
|
|
125
|
+
}
|
|
126
|
+
}
|
|
86
127
|
return {
|
|
87
|
-
[unionMember]: await this.deserializer.read(eventStreamSchema,
|
|
128
|
+
[unionMember]: await this.deserializer.read(eventStreamSchema, body),
|
|
88
129
|
};
|
|
89
130
|
}
|
|
90
131
|
else {
|
|
@@ -48,7 +48,7 @@ export class HttpBindingProtocol extends HttpProtocol {
|
|
|
48
48
|
for (const [memberName, memberNs] of ns.structIterator()) {
|
|
49
49
|
const memberTraits = memberNs.getMergedTraits() ?? {};
|
|
50
50
|
const inputMemberValue = input[memberName];
|
|
51
|
-
if (inputMemberValue == null) {
|
|
51
|
+
if (inputMemberValue == null && !memberNs.isIdempotencyToken()) {
|
|
52
52
|
continue;
|
|
53
53
|
}
|
|
54
54
|
if (memberTraits.httpPayload) {
|
package/node_modules/@smithy/core/dist-es/submodules/protocols/serde/ToStringShapeSerializer.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { NormalizedSchema } from "@smithy/core/schema";
|
|
2
|
-
import { dateToUtcString, LazyJsonString, quoteHeader } from "@smithy/core/serde";
|
|
2
|
+
import { dateToUtcString, generateIdempotencyToken, LazyJsonString, quoteHeader } from "@smithy/core/serde";
|
|
3
3
|
import { toBase64 } from "@smithy/util-base64";
|
|
4
4
|
import { SerdeContext } from "../SerdeContext";
|
|
5
5
|
import { determineTimestampFormat } from "./determineTimestampFormat";
|
|
@@ -75,7 +75,12 @@ export class ToStringShapeSerializer extends SerdeContext {
|
|
|
75
75
|
this.stringBuffer = value;
|
|
76
76
|
break;
|
|
77
77
|
default:
|
|
78
|
-
|
|
78
|
+
if (ns.isIdempotencyToken()) {
|
|
79
|
+
this.stringBuffer = generateIdempotencyToken();
|
|
80
|
+
}
|
|
81
|
+
else {
|
|
82
|
+
this.stringBuffer = String(value);
|
|
83
|
+
}
|
|
79
84
|
}
|
|
80
85
|
}
|
|
81
86
|
flush() {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { SerdeContext } from "@smithy/core/protocols";
|
|
2
2
|
import type { Codec, Schema, ShapeDeserializer, ShapeSerializer } from "@smithy/types";
|
|
3
3
|
/**
|
|
4
|
-
* @
|
|
4
|
+
* @public
|
|
5
5
|
*/
|
|
6
6
|
export declare class CborCodec extends SerdeContext implements Codec<Uint8Array, Uint8Array> {
|
|
7
7
|
createSerializer(): CborShapeSerializer;
|
|
8
8
|
createDeserializer(): CborShapeDeserializer;
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
|
-
* @
|
|
11
|
+
* @public
|
|
12
12
|
*/
|
|
13
13
|
export declare class CborShapeSerializer extends SerdeContext implements ShapeSerializer {
|
|
14
14
|
private value;
|
|
@@ -21,7 +21,7 @@ export declare class CborShapeSerializer extends SerdeContext implements ShapeSe
|
|
|
21
21
|
flush(): Uint8Array;
|
|
22
22
|
}
|
|
23
23
|
/**
|
|
24
|
-
* @
|
|
24
|
+
* @public
|
|
25
25
|
*/
|
|
26
26
|
export declare class CborShapeDeserializer extends SerdeContext implements ShapeDeserializer {
|
|
27
27
|
read(schema: Schema, bytes: Uint8Array): any;
|
|
@@ -4,7 +4,7 @@ import type { EventStreamMarshaller, HttpRequest as IHttpRequest, HttpResponse a
|
|
|
4
4
|
* Separated module for async mixin of EventStream serde capability.
|
|
5
5
|
* This is used by the HttpProtocol base class from \@smithy/core/protocols.
|
|
6
6
|
*
|
|
7
|
-
* @
|
|
7
|
+
* @public
|
|
8
8
|
*/
|
|
9
9
|
export declare class EventStreamSerde {
|
|
10
10
|
private readonly marshaller;
|
|
@@ -6,7 +6,7 @@ import { HttpProtocol } from "./HttpProtocol";
|
|
|
6
6
|
* Base for HTTP-binding protocols. Downstream examples
|
|
7
7
|
* include AWS REST JSON and AWS REST XML.
|
|
8
8
|
*
|
|
9
|
-
* @
|
|
9
|
+
* @public
|
|
10
10
|
*/
|
|
11
11
|
export declare abstract class HttpBindingProtocol extends HttpProtocol {
|
|
12
12
|
serializeRequest<Input extends object>(operationSchema: OperationSchema, _input: Input, context: HandlerExecutionContext & SerdeFunctions & EndpointBearer): Promise<IHttpRequest>;
|
|
@@ -5,7 +5,7 @@ import { SerdeContext } from "./SerdeContext";
|
|
|
5
5
|
/**
|
|
6
6
|
* Abstract base for HTTP-based client protocols.
|
|
7
7
|
*
|
|
8
|
-
* @
|
|
8
|
+
* @public
|
|
9
9
|
*/
|
|
10
10
|
export declare abstract class HttpProtocol extends SerdeContext implements ClientProtocol<IHttpRequest, IHttpResponse> {
|
|
11
11
|
readonly options: {
|
|
@@ -3,7 +3,7 @@ import { HttpProtocol } from "./HttpProtocol";
|
|
|
3
3
|
/**
|
|
4
4
|
* Abstract base for RPC-over-HTTP protocols.
|
|
5
5
|
*
|
|
6
|
-
* @
|
|
6
|
+
* @public
|
|
7
7
|
*/
|
|
8
8
|
export declare abstract class RpcProtocol extends HttpProtocol {
|
|
9
9
|
serializeRequest<Input extends object>(operationSchema: OperationSchema, input: Input, context: HandlerExecutionContext & SerdeFunctions & EndpointBearer): Promise<IHttpRequest>;
|
|
@@ -7,7 +7,7 @@ import { SerdeContext } from "../SerdeContext";
|
|
|
7
7
|
* For example, in a JSON HTTP message, the deserialization of a field will differ depending on whether
|
|
8
8
|
* it is bound to the HTTP header (string) or body (JSON).
|
|
9
9
|
*
|
|
10
|
-
* @
|
|
10
|
+
* @public
|
|
11
11
|
*/
|
|
12
12
|
export declare class HttpInterceptingShapeDeserializer<CodecShapeDeserializer extends ShapeDeserializer<any>> extends SerdeContext implements ShapeDeserializer<string | Uint8Array> {
|
|
13
13
|
private codecDeserializer;
|
|
@@ -7,7 +7,7 @@ import { ToStringShapeSerializer } from "./ToStringShapeSerializer";
|
|
|
7
7
|
* For example, a JavaScript array is serialized differently when being written
|
|
8
8
|
* to a REST JSON HTTP header (comma-delimited string) and a REST JSON HTTP body (JSON array).
|
|
9
9
|
*
|
|
10
|
-
* @
|
|
10
|
+
* @public
|
|
11
11
|
*/
|
|
12
12
|
export declare class HttpInterceptingShapeSerializer<CodecShapeSerializer extends ShapeSerializer<string | Uint8Array>> implements ShapeSerializer<string | Uint8Array>, ConfigurableSerdeContext {
|
|
13
13
|
private codecSerializer;
|
|
@@ -6,7 +6,7 @@ import { StructureSchema } from "./StructureSchema";
|
|
|
6
6
|
* and have an existing notion of a XYZServiceBaseException, the ErrorSchema differs from a StructureSchema
|
|
7
7
|
* by additionally holding the class reference for the corresponding ServiceException class.
|
|
8
8
|
*
|
|
9
|
-
* @
|
|
9
|
+
* @internal
|
|
10
10
|
* @deprecated use StaticSchema
|
|
11
11
|
*/
|
|
12
12
|
export declare class ErrorSchema extends StructureSchema {
|
|
@@ -4,7 +4,7 @@ import { Schema } from "./Schema";
|
|
|
4
4
|
* A schema with a single member schema.
|
|
5
5
|
* The deprecated Set type may be represented as a list.
|
|
6
6
|
*
|
|
7
|
-
* @
|
|
7
|
+
* @internal
|
|
8
8
|
* @deprecated use StaticSchema
|
|
9
9
|
*/
|
|
10
10
|
export declare class ListSchema extends Schema implements IListSchema {
|
|
@@ -2,7 +2,7 @@ import type { MapSchema as IMapSchema, SchemaRef, SchemaTraits } from "@smithy/t
|
|
|
2
2
|
import { Schema } from "./Schema";
|
|
3
3
|
/**
|
|
4
4
|
* A schema with a key schema and value schema.
|
|
5
|
-
* @
|
|
5
|
+
* @internal
|
|
6
6
|
* @deprecated use StaticSchema
|
|
7
7
|
*/
|
|
8
8
|
export declare class MapSchema extends Schema implements IMapSchema {
|