@mavogel/awscdk-rootmail 0.0.309 → 0.0.311
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/rootmail.js +1 -1
- package/lib/ses-receive.js +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/package.json +36 -36
- package/node_modules/@aws-sdk/client-route-53/dist-cjs/index.js +3 -0
- package/node_modules/@aws-sdk/client-route-53/dist-es/models/models_0.js +3 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/AssociateVPCWithHostedZoneCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/ChangeResourceRecordSetsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/CreateHealthCheckCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/CreateHostedZoneCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/CreateVPCAssociationAuthorizationCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/DeleteVPCAssociationAuthorizationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/DisassociateVPCFromHostedZoneCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/GetHealthCheckCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/GetHostedZoneCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/ListHealthChecksCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/ListHostedZonesByVPCCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/ListResourceRecordSetsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/ListVPCAssociationAuthorizationsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/UpdateHealthCheckCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-route-53/dist-types/models/models_0.d.ts +3 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/models/models_0.d.ts +3 -0
- package/node_modules/@aws-sdk/client-route-53/package.json +36 -36
- package/node_modules/@aws-sdk/client-s3/dist-cjs/auth/httpAuthSchemeProvider.js +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +3 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/auth/httpAuthSchemeProvider.js +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketOwnershipControlsCommand.js +1 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/protocols/Aws_restXml.js +1 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectAttributesCommand.d.ts +22 -14
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketOwnershipControlsCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/models/models_0.d.ts +23 -23
- package/node_modules/@aws-sdk/client-s3/dist-types/models/models_1.d.ts +21 -9
- package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.native.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.shared.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_1.d.ts +1 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -2
- package/node_modules/@aws-sdk/client-s3/package.json +50 -50
- package/node_modules/@aws-sdk/client-ses/package.json +34 -34
- package/node_modules/@aws-sdk/client-ssm/package.json +34 -34
- package/node_modules/@aws-sdk/client-sso/package.json +32 -32
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +1496 -14
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/ConfigurableSerdeContext.js +6 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/index.js +13 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJson1_0Protocol.js +14 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJson1_1Protocol.js +14 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJsonRpcProtocol.js +84 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsRestJsonProtocol.js +118 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonCodec.js +20 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeDeserializer.js +105 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeSerializer.js +106 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/jsonReplacer.js +46 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/jsonReviver.js +18 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/AwsEc2QueryProtocol.js +17 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/AwsQueryProtocol.js +147 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/QueryShapeSerializer.js +152 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/AwsRestXmlProtocol.js +126 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlCodec.js +20 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeDeserializer.js +154 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeSerializer.js +279 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/simpleFormatXml.js +27 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/ConfigurableSerdeContext.d.ts +8 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/common.d.ts +2 -2
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/index.d.ts +13 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJson1_0Protocol.d.ts +12 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJson1_1Protocol.d.ts +12 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJsonRpcProtocol.d.ts +18 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsRestJsonProtocol.d.ts +19 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/JsonCodec.d.ts +19 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/JsonShapeDeserializer.d.ts +13 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/JsonShapeSerializer.d.ts +15 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/jsonReplacer.d.ts +21 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/jsonReviver.d.ts +15 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/parseJsonBody.d.ts +3 -3
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/AwsEc2QueryProtocol.d.ts +20 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/AwsQueryProtocol.d.ts +39 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/QuerySerializerSettings.d.ts +6 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/QueryShapeSerializer.d.ts +16 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/AwsRestXmlProtocol.d.ts +21 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/XmlCodec.d.ts +14 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/XmlShapeDeserializer.d.ts +20 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/XmlShapeSerializer.d.ts +21 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/simpleFormatXml.d.ts +6 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/ConfigurableSerdeContext.d.ts +5 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/common.d.ts +2 -2
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/index.d.ts +13 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJson1_0Protocol.d.ts +6 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJson1_1Protocol.d.ts +6 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJsonRpcProtocol.d.ts +33 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsRestJsonProtocol.d.ts +34 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/JsonCodec.d.ts +16 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/JsonShapeDeserializer.d.ts +13 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/JsonShapeSerializer.d.ts +15 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/jsonReplacer.d.ts +7 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/jsonReviver.d.ts +7 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/parseJsonBody.d.ts +3 -3
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/AwsEc2QueryProtocol.d.ts +14 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/AwsQueryProtocol.d.ts +55 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/QuerySerializerSettings.d.ts +6 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/QueryShapeSerializer.d.ts +16 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/AwsRestXmlProtocol.d.ts +39 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/XmlCodec.d.ts +17 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/XmlShapeDeserializer.d.ts +15 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/XmlShapeSerializer.d.ts +21 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/simpleFormatXml.d.ts +1 -0
- package/node_modules/@aws-sdk/core/package.json +14 -10
- package/node_modules/@aws-sdk/credential-provider-env/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-http/package.json +10 -10
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +13 -13
- package/node_modules/@aws-sdk/credential-provider-node/package.json +12 -12
- package/node_modules/@aws-sdk/credential-provider-process/package.json +6 -6
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +6 -6
- 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-route53/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +11 -11
- package/node_modules/@aws-sdk/middleware-ssec/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +7 -7
- package/node_modules/@aws-sdk/nested-clients/package.json +32 -32
- package/node_modules/@aws-sdk/region-config-resolver/package.json +5 -5
- package/node_modules/@aws-sdk/signature-v4-multi-region/dist-cjs/index.js +8 -0
- package/node_modules/@aws-sdk/signature-v4-multi-region/dist-es/SignatureV4MultiRegion.js +9 -0
- package/node_modules/@aws-sdk/signature-v4-multi-region/dist-types/SignatureV4MultiRegion.d.ts +1 -0
- package/node_modules/@aws-sdk/signature-v4-multi-region/dist-types/ts3.4/SignatureV4MultiRegion.d.ts +1 -0
- package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +6 -6
- 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 +4 -4
- package/node_modules/@aws-sdk/util-user-agent-browser/package.json +3 -3
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +5 -5
- package/node_modules/@aws-sdk/xml-builder/package.json +2 -2
- package/node_modules/@smithy/abort-controller/package.json +2 -2
- package/node_modules/@smithy/config-resolver/package.json +4 -4
- package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +209 -0
- package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +668 -2
- package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +774 -0
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +108 -53
- package/node_modules/@smithy/core/dist-es/submodules/cbor/CborCodec.js +136 -0
- package/node_modules/@smithy/core/dist-es/submodules/cbor/SmithyRpcV2CborProtocol.js +74 -0
- package/node_modules/@smithy/core/dist-es/submodules/cbor/index.js +3 -1
- package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js +178 -0
- package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +171 -0
- package/node_modules/@smithy/core/dist-es/submodules/protocols/RpcProtocol.js +68 -0
- package/node_modules/@smithy/core/dist-es/submodules/protocols/index.js +7 -0
- package/node_modules/@smithy/core/dist-es/submodules/protocols/serde/FromStringShapeDeserializer.js +64 -0
- package/node_modules/@smithy/core/dist-es/submodules/protocols/serde/HttpInterceptingShapeDeserializer.js +38 -0
- package/node_modules/@smithy/core/dist-es/submodules/protocols/serde/HttpInterceptingShapeSerializer.js +30 -0
- package/node_modules/@smithy/core/dist-es/submodules/protocols/serde/ToStringShapeSerializer.js +87 -0
- package/node_modules/@smithy/core/dist-es/submodules/protocols/serde/determineTimestampFormat.js +20 -0
- package/node_modules/@smithy/core/dist-es/submodules/schema/TypeRegistry.js +49 -0
- package/node_modules/@smithy/core/dist-es/submodules/schema/deref.js +6 -0
- package/node_modules/@smithy/core/dist-es/submodules/schema/index.js +12 -0
- package/node_modules/@smithy/core/dist-es/submodules/schema/middleware/getSchemaSerdePlugin.js +23 -0
- package/node_modules/@smithy/core/dist-es/submodules/schema/middleware/schemaDeserializationMiddleware.js +60 -0
- package/node_modules/@smithy/core/dist-es/submodules/schema/middleware/schemaSerializationMiddleware.js +16 -0
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/ErrorSchema.js +17 -0
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/ListSchema.js +15 -0
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/MapSchema.js +16 -0
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/NormalizedSchema.js +294 -0
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/OperationSchema.js +16 -0
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/Schema.js +6 -0
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/SimpleSchema.js +15 -0
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/StructureSchema.js +22 -0
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/sentinels.js +16 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/copyDocumentWithTransform.js +53 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/index.js +4 -3
- package/node_modules/@smithy/core/dist-types/submodules/cbor/CborCodec.d.ts +29 -0
- package/node_modules/@smithy/core/dist-types/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +22 -0
- package/node_modules/@smithy/core/dist-types/submodules/cbor/index.d.ts +3 -1
- package/node_modules/@smithy/core/dist-types/submodules/protocols/HttpBindingProtocol.d.ts +15 -0
- package/node_modules/@smithy/core/dist-types/submodules/protocols/HttpProtocol.d.ts +33 -0
- package/node_modules/@smithy/core/dist-types/submodules/protocols/RpcProtocol.d.ts +11 -0
- package/node_modules/@smithy/core/dist-types/submodules/protocols/index.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/submodules/protocols/serde/FromStringShapeDeserializer.d.ts +14 -0
- package/node_modules/@smithy/core/dist-types/submodules/protocols/serde/HttpInterceptingShapeDeserializer.d.ts +18 -0
- package/node_modules/@smithy/core/dist-types/submodules/protocols/serde/HttpInterceptingShapeSerializer.d.ts +20 -0
- package/node_modules/@smithy/core/dist-types/submodules/protocols/serde/ToStringShapeSerializer.d.ts +15 -0
- package/node_modules/@smithy/core/dist-types/submodules/protocols/serde/determineTimestampFormat.d.ts +9 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/TypeRegistry.d.ts +55 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/deref.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/index.d.ts +12 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/middleware/getSchemaSerdePlugin.d.ts +14 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/middleware/schema-middleware-types.d.ts +8 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/middleware/schemaDeserializationMiddleware.d.ts +9 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/middleware/schemaSerializationMiddleware.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/ErrorSchema.d.ts +38 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/ListSchema.d.ts +20 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/MapSchema.d.ts +25 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/NormalizedSchema.d.ts +122 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/OperationSchema.d.ts +20 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/Schema.d.ts +11 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/SimpleSchema.d.ts +20 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/StructureSchema.d.ts +21 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/sentinels.d.ts +21 -0
- package/node_modules/@smithy/core/dist-types/submodules/serde/copyDocumentWithTransform.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/submodules/serde/index.d.ts +4 -3
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/CborCodec.d.ts +29 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +22 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/index.d.ts +3 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpBindingProtocol.d.ts +15 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpProtocol.d.ts +33 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/RpcProtocol.d.ts +11 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/index.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/FromStringShapeDeserializer.d.ts +14 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/HttpInterceptingShapeDeserializer.d.ts +18 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/HttpInterceptingShapeSerializer.d.ts +20 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/ToStringShapeSerializer.d.ts +15 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/determineTimestampFormat.d.ts +9 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/TypeRegistry.d.ts +55 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/deref.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/index.d.ts +12 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/middleware/getSchemaSerdePlugin.d.ts +14 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/middleware/schema-middleware-types.d.ts +11 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/middleware/schemaDeserializationMiddleware.d.ts +9 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/middleware/schemaSerializationMiddleware.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/ErrorSchema.d.ts +38 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/ListSchema.d.ts +20 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/MapSchema.d.ts +25 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/NormalizedSchema.d.ts +125 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/OperationSchema.d.ts +20 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/Schema.d.ts +11 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/SimpleSchema.d.ts +20 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/StructureSchema.d.ts +24 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/sentinels.d.ts +21 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/copyDocumentWithTransform.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.d.ts +4 -3
- package/node_modules/@smithy/core/package.json +17 -7
- package/node_modules/@smithy/core/schema.d.ts +7 -0
- package/node_modules/@smithy/core/schema.js +6 -0
- package/node_modules/@smithy/credential-provider-imds/package.json +5 -5
- package/node_modules/@smithy/eventstream-codec/dist-types/MessageEncoderStream.d.ts +1 -1
- package/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/MessageEncoderStream.d.ts +1 -1
- 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/dist-types/EventStreamMarshaller.d.ts +0 -1
- package/node_modules/@smithy/eventstream-serde-node/dist-types/ts3.4/EventStreamMarshaller.d.ts +0 -1
- package/node_modules/@smithy/eventstream-serde-node/dist-types/ts3.4/utils.d.ts +0 -1
- package/node_modules/@smithy/eventstream-serde-node/dist-types/utils.d.ts +0 -1
- 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/dist-types/HashCalculator.d.ts +0 -3
- package/node_modules/@smithy/hash-stream-node/dist-types/fileStreamHasher.d.ts +0 -1
- package/node_modules/@smithy/hash-stream-node/dist-types/readableStreamHasher.d.ts +0 -1
- package/node_modules/@smithy/hash-stream-node/dist-types/ts3.4/HashCalculator.d.ts +0 -1
- package/node_modules/@smithy/hash-stream-node/dist-types/ts3.4/fileStreamHasher.d.ts +0 -1
- package/node_modules/@smithy/hash-stream-node/dist-types/ts3.4/readableStreamHasher.d.ts +0 -1
- package/node_modules/@smithy/hash-stream-node/package.json +2 -2
- package/node_modules/@smithy/invalid-dependency/package.json +2 -2
- package/node_modules/@smithy/md5-js/package.json +2 -2
- package/node_modules/@smithy/middleware-content-length/dist-cjs/index.js +2 -2
- package/node_modules/@smithy/middleware-content-length/package.json +3 -3
- package/node_modules/@smithy/middleware-endpoint/package.json +8 -8
- package/node_modules/@smithy/middleware-retry/package.json +8 -8
- package/node_modules/@smithy/middleware-serde/dist-types/deserializerMiddleware.d.ts +1 -0
- package/node_modules/@smithy/middleware-serde/dist-types/serdePlugin.d.ts +7 -1
- package/node_modules/@smithy/middleware-serde/dist-types/serializerMiddleware.d.ts +1 -0
- package/node_modules/@smithy/middleware-serde/dist-types/ts3.4/deserializerMiddleware.d.ts +1 -0
- package/node_modules/@smithy/middleware-serde/dist-types/ts3.4/serdePlugin.d.ts +7 -1
- package/node_modules/@smithy/middleware-serde/dist-types/ts3.4/serializerMiddleware.d.ts +1 -0
- package/node_modules/@smithy/middleware-serde/package.json +3 -3
- package/node_modules/@smithy/middleware-stack/package.json +2 -2
- package/node_modules/@smithy/node-config-provider/package.json +4 -4
- package/node_modules/@smithy/node-http-handler/package.json +5 -5
- package/node_modules/@smithy/property-provider/dist-types/chain.d.ts +1 -1
- package/node_modules/@smithy/property-provider/dist-types/ts3.4/chain.d.ts +1 -1
- package/node_modules/@smithy/property-provider/package.json +2 -2
- package/node_modules/@smithy/protocol-http/package.json +2 -2
- package/node_modules/@smithy/querystring-builder/package.json +2 -2
- package/node_modules/@smithy/querystring-parser/package.json +2 -2
- package/node_modules/@smithy/service-error-classification/package.json +2 -2
- package/node_modules/@smithy/shared-ini-file-loader/package.json +2 -2
- package/node_modules/@smithy/signature-v4/package.json +4 -4
- package/node_modules/@smithy/smithy-client/dist-cjs/index.js +10 -0
- package/node_modules/@smithy/smithy-client/dist-es/command.js +6 -0
- package/node_modules/@smithy/smithy-client/dist-types/command.d.ts +7 -1
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/command.d.ts +7 -1
- package/node_modules/@smithy/smithy-client/package.json +7 -7
- package/node_modules/@smithy/types/dist-types/command.d.ts +5 -2
- package/node_modules/@smithy/types/dist-types/schema/schema.d.ts +2 -4
- package/node_modules/@smithy/types/dist-types/ts3.4/command.d.ts +5 -2
- package/node_modules/@smithy/types/dist-types/ts3.4/schema/schema.d.ts +2 -4
- package/node_modules/@smithy/types/package.json +1 -1
- package/node_modules/@smithy/url-parser/package.json +3 -3
- package/node_modules/@smithy/util-defaults-mode-browser/package.json +4 -4
- package/node_modules/@smithy/util-defaults-mode-node/package.json +7 -7
- package/node_modules/@smithy/util-endpoints/package.json +3 -3
- package/node_modules/@smithy/util-middleware/package.json +2 -2
- package/node_modules/@smithy/util-retry/package.json +3 -3
- package/node_modules/@smithy/util-stream/package.json +4 -4
- package/node_modules/@smithy/util-waiter/package.json +3 -3
- package/node_modules/cdk-nag/.jsii +61 -5
- package/node_modules/cdk-nag/API.md +66 -0
- package/node_modules/cdk-nag/README.md +1 -0
- package/node_modules/cdk-nag/RULES.md +32 -0
- package/node_modules/cdk-nag/lib/ignore-suppression-conditions.js +5 -5
- package/node_modules/cdk-nag/lib/index.d.ts +1 -0
- package/node_modules/cdk-nag/lib/index.js +2 -1
- package/node_modules/cdk-nag/lib/nag-logger.js +2 -2
- package/node_modules/cdk-nag/lib/nag-pack.js +1 -1
- package/node_modules/cdk-nag/lib/nag-rules.js +1 -1
- package/node_modules/cdk-nag/lib/nag-suppressions.js +1 -1
- package/node_modules/cdk-nag/lib/packs/aws-solutions.js +1 -1
- package/node_modules/cdk-nag/lib/packs/hipaa-security.js +1 -1
- package/node_modules/cdk-nag/lib/packs/nist-800-53-r4.js +1 -1
- package/node_modules/cdk-nag/lib/packs/nist-800-53-r5.js +1 -1
- package/node_modules/cdk-nag/lib/packs/pci-dss-321.js +1 -1
- package/node_modules/cdk-nag/lib/packs/serverless.d.ts +58 -0
- package/node_modules/cdk-nag/lib/packs/serverless.js +228 -0
- package/node_modules/cdk-nag/lib/rules/apigw/APIGWAccessLogging.d.ts +1 -0
- package/node_modules/cdk-nag/lib/rules/apigw/APIGWAccessLogging.js +2 -1
- package/node_modules/cdk-nag/lib/rules/apigw/APIGWDefaultThrottling.d.ts +8 -0
- package/node_modules/cdk-nag/lib/rules/apigw/APIGWDefaultThrottling.js +36 -0
- package/node_modules/cdk-nag/lib/rules/apigw/APIGWStructuredLogging.d.ts +8 -0
- package/node_modules/cdk-nag/lib/rules/apigw/APIGWStructuredLogging.js +62 -0
- package/node_modules/cdk-nag/lib/rules/apigw/index.d.ts +2 -0
- package/node_modules/cdk-nag/lib/rules/apigw/index.js +6 -2
- package/node_modules/cdk-nag/lib/rules/appsync/AppSyncTracing.d.ts +8 -0
- package/node_modules/cdk-nag/lib/rules/appsync/AppSyncTracing.js +24 -0
- package/node_modules/cdk-nag/lib/rules/appsync/index.d.ts +1 -0
- package/node_modules/cdk-nag/lib/rules/appsync/index.js +4 -2
- package/node_modules/cdk-nag/lib/rules/eventbridge/EventBusDLQ.d.ts +8 -0
- package/node_modules/cdk-nag/lib/rules/eventbridge/EventBusDLQ.js +25 -0
- package/node_modules/cdk-nag/lib/rules/eventbridge/index.d.ts +1 -0
- package/node_modules/cdk-nag/lib/rules/eventbridge/index.js +4 -2
- package/node_modules/cdk-nag/lib/rules/lambda/LambdaAsyncFailureDestination.d.ts +8 -0
- package/node_modules/cdk-nag/lib/rules/lambda/LambdaAsyncFailureDestination.js +25 -0
- package/node_modules/cdk-nag/lib/rules/lambda/LambdaDefaultMemorySize.d.ts +8 -0
- package/node_modules/cdk-nag/lib/rules/lambda/LambdaDefaultMemorySize.js +25 -0
- package/node_modules/cdk-nag/lib/rules/lambda/LambdaDefaultTimeout.d.ts +8 -0
- package/node_modules/cdk-nag/lib/rules/lambda/LambdaDefaultTimeout.js +25 -0
- package/node_modules/cdk-nag/lib/rules/lambda/LambdaEventSourceMappingDestination.d.ts +8 -0
- package/node_modules/cdk-nag/lib/rules/lambda/LambdaEventSourceMappingDestination.js +27 -0
- package/node_modules/cdk-nag/lib/rules/lambda/LambdaLogLevel.d.ts +8 -0
- package/node_modules/cdk-nag/lib/rules/lambda/LambdaLogLevel.js +25 -0
- package/node_modules/cdk-nag/lib/rules/lambda/LambdaLogging.d.ts +8 -0
- package/node_modules/cdk-nag/lib/rules/lambda/LambdaLogging.js +24 -0
- package/node_modules/cdk-nag/lib/rules/lambda/LambdaStarPermissions.d.ts +8 -0
- package/node_modules/cdk-nag/lib/rules/lambda/LambdaStarPermissions.js +107 -0
- package/node_modules/cdk-nag/lib/rules/lambda/LambdaTracing.d.ts +8 -0
- package/node_modules/cdk-nag/lib/rules/lambda/LambdaTracing.js +24 -0
- package/node_modules/cdk-nag/lib/rules/lambda/index.d.ts +6 -0
- package/node_modules/cdk-nag/lib/rules/lambda/index.js +14 -2
- package/node_modules/cdk-nag/lib/rules/sns/SNSRedrivePolicy.d.ts +9 -0
- package/node_modules/cdk-nag/lib/rules/sns/SNSRedrivePolicy.js +24 -0
- package/node_modules/cdk-nag/lib/rules/sns/index.d.ts +1 -0
- package/node_modules/cdk-nag/lib/rules/sns/index.js +4 -2
- package/node_modules/cdk-nag/lib/rules/sqs/SQSRedrivePolicy.d.ts +8 -0
- package/node_modules/cdk-nag/lib/rules/sqs/SQSRedrivePolicy.js +26 -0
- package/node_modules/cdk-nag/lib/rules/sqs/index.d.ts +1 -0
- package/node_modules/cdk-nag/lib/rules/sqs/index.js +4 -2
- package/node_modules/cdk-nag/package.json +2 -2
- package/package.json +1 -1
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/LICENSE +0 -201
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/README.md +0 -105
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getConfigData.js +0 -1
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getConfigFilepath.js +0 -1
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getCredentialsFilepath.js +0 -1
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getHomeDir.js +0 -26
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getProfileName.js +0 -1
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFilepath.js +0 -12
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFromFile.js +0 -12
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSsoSessionData.js +0 -1
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js +0 -206
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/loadSharedConfigFiles.js +0 -1
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/loadSsoSessionData.js +0 -1
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/mergeConfigFiles.js +0 -1
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/parseIni.js +0 -1
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/parseKnownFiles.js +0 -1
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/slurpFile.js +0 -13
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/types.js +0 -1
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getConfigData.js +0 -18
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getConfigFilepath.js +0 -4
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getCredentialsFilepath.js +0 -4
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getHomeDir.js +0 -22
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getProfileName.js +0 -3
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getSSOTokenFilepath.js +0 -8
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getSSOTokenFromFile.js +0 -8
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getSsoSessionData.js +0 -5
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/index.js +0 -8
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSharedConfigFiles.js +0 -39
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSsoSessionData.js +0 -9
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/mergeConfigFiles.js +0 -14
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/parseIni.js +0 -52
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/parseKnownFiles.js +0 -6
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/slurpFile.js +0 -9
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getConfigData.d.ts +0 -8
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getConfigFilepath.d.ts +0 -2
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getCredentialsFilepath.d.ts +0 -2
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getHomeDir.d.ts +0 -6
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getProfileName.d.ts +0 -15
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFilepath.d.ts +0 -5
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFromFile.d.ts +0 -46
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getSsoSessionData.d.ts +0 -6
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/index.d.ts +0 -8
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSharedConfigFiles.d.ts +0 -36
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSsoSessionData.d.ts +0 -17
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/mergeConfigFiles.d.ts +0 -7
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/parseIni.d.ts +0 -2
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/parseKnownFiles.d.ts +0 -18
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/slurpFile.d.ts +0 -5
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getConfigData.d.ts +0 -8
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getConfigFilepath.d.ts +0 -2
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getCredentialsFilepath.d.ts +0 -2
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getHomeDir.d.ts +0 -6
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getProfileName.d.ts +0 -15
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFilepath.d.ts +0 -5
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFromFile.d.ts +0 -46
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSsoSessionData.d.ts +0 -6
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/index.d.ts +0 -8
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSharedConfigFiles.d.ts +0 -36
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSsoSessionData.d.ts +0 -17
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/mergeConfigFiles.d.ts +0 -7
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/parseIni.d.ts +0 -2
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/parseKnownFiles.d.ts +0 -18
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/slurpFile.d.ts +0 -5
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/types.d.ts +0 -16
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/types.d.ts +0 -16
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/package.json +0 -72
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/LICENSE +0 -201
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/README.md +0 -10
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-cjs/CredentialsProviderError.js +0 -1
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-cjs/ProviderError.js +0 -1
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-cjs/TokenProviderError.js +0 -1
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-cjs/chain.js +0 -1
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-cjs/fromStatic.js +0 -1
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-cjs/index.js +0 -170
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-cjs/memoize.js +0 -1
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/CredentialsProviderError.js +0 -8
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/ProviderError.js +0 -22
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/TokenProviderError.js +0 -8
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/chain.js +0 -21
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/fromStatic.js +0 -1
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/index.js +0 -6
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/memoize.js +0 -45
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/CredentialsProviderError.d.ts +0 -30
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/ProviderError.d.ts +0 -39
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/TokenProviderError.d.ts +0 -30
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/chain.d.ts +0 -13
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/fromStatic.d.ts +0 -5
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/index.d.ts +0 -24
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/memoize.d.ts +0 -40
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/ts3.4/CredentialsProviderError.d.ts +0 -30
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/ts3.4/ProviderError.d.ts +0 -39
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/ts3.4/TokenProviderError.d.ts +0 -30
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/ts3.4/chain.d.ts +0 -13
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/ts3.4/fromStatic.d.ts +0 -5
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/ts3.4/index.d.ts +0 -24
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/ts3.4/memoize.d.ts +0 -40
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/package.json +0 -60
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/LICENSE +0 -201
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/README.md +0 -105
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getConfigData.js +0 -1
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getConfigFilepath.js +0 -1
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getCredentialsFilepath.js +0 -1
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getHomeDir.js +0 -26
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getProfileName.js +0 -1
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFilepath.js +0 -12
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFromFile.js +0 -12
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSsoSessionData.js +0 -1
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js +0 -206
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/loadSharedConfigFiles.js +0 -1
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/loadSsoSessionData.js +0 -1
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/mergeConfigFiles.js +0 -1
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/parseIni.js +0 -1
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/parseKnownFiles.js +0 -1
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/slurpFile.js +0 -13
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/types.js +0 -1
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getConfigData.js +0 -18
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getConfigFilepath.js +0 -4
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getCredentialsFilepath.js +0 -4
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getHomeDir.js +0 -22
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getProfileName.js +0 -3
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getSSOTokenFilepath.js +0 -8
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getSSOTokenFromFile.js +0 -8
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getSsoSessionData.js +0 -5
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/index.js +0 -8
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSharedConfigFiles.js +0 -39
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSsoSessionData.js +0 -9
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/mergeConfigFiles.js +0 -14
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/parseIni.js +0 -52
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/parseKnownFiles.js +0 -6
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/slurpFile.js +0 -9
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getConfigData.d.ts +0 -8
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getConfigFilepath.d.ts +0 -2
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getCredentialsFilepath.d.ts +0 -2
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getHomeDir.d.ts +0 -6
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getProfileName.d.ts +0 -15
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFilepath.d.ts +0 -5
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFromFile.d.ts +0 -46
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getSsoSessionData.d.ts +0 -6
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/index.d.ts +0 -8
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSharedConfigFiles.d.ts +0 -36
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSsoSessionData.d.ts +0 -17
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/mergeConfigFiles.d.ts +0 -7
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/parseIni.d.ts +0 -2
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/parseKnownFiles.d.ts +0 -18
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/slurpFile.d.ts +0 -5
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getConfigData.d.ts +0 -8
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getConfigFilepath.d.ts +0 -2
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getCredentialsFilepath.d.ts +0 -2
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getHomeDir.d.ts +0 -6
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getProfileName.d.ts +0 -15
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFilepath.d.ts +0 -5
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFromFile.d.ts +0 -46
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSsoSessionData.d.ts +0 -6
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/index.d.ts +0 -8
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSharedConfigFiles.d.ts +0 -36
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSsoSessionData.d.ts +0 -17
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/mergeConfigFiles.d.ts +0 -7
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/parseIni.d.ts +0 -2
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/parseKnownFiles.d.ts +0 -18
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/slurpFile.d.ts +0 -5
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/types.d.ts +0 -16
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/types.d.ts +0 -16
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/package.json +0 -72
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/LICENSE +0 -201
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/README.md +0 -4
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-cjs/AbortController.js +0 -1
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-cjs/AbortSignal.js +0 -1
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-cjs/index.js +0 -84
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-es/AbortController.js +0 -9
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-es/AbortSignal.js +0 -20
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-es/index.js +0 -2
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-types/AbortController.d.ts +0 -16
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-types/AbortSignal.d.ts +0 -21
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-types/index.d.ts +0 -9
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-types/ts3.4/AbortController.d.ts +0 -16
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-types/ts3.4/AbortSignal.d.ts +0 -21
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-types/ts3.4/index.d.ts +0 -9
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/package.json +0 -62
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/LICENSE +0 -201
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/README.md +0 -10
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-cjs/CredentialsProviderError.js +0 -1
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-cjs/ProviderError.js +0 -1
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-cjs/TokenProviderError.js +0 -1
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-cjs/chain.js +0 -1
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-cjs/fromStatic.js +0 -1
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-cjs/index.js +0 -170
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-cjs/memoize.js +0 -1
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-es/CredentialsProviderError.js +0 -8
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-es/ProviderError.js +0 -22
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-es/TokenProviderError.js +0 -8
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-es/chain.js +0 -21
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-es/fromStatic.js +0 -1
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-es/index.js +0 -6
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-es/memoize.js +0 -45
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/CredentialsProviderError.d.ts +0 -30
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/ProviderError.d.ts +0 -39
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/TokenProviderError.d.ts +0 -30
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/chain.d.ts +0 -13
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/fromStatic.d.ts +0 -5
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/index.d.ts +0 -24
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/memoize.d.ts +0 -40
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/ts3.4/CredentialsProviderError.d.ts +0 -30
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/ts3.4/ProviderError.d.ts +0 -39
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/ts3.4/TokenProviderError.d.ts +0 -30
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/ts3.4/chain.d.ts +0 -13
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/ts3.4/fromStatic.d.ts +0 -5
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/ts3.4/index.d.ts +0 -24
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/ts3.4/memoize.d.ts +0 -40
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/package.json +0 -60
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/LICENSE +0 -201
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/README.md +0 -11
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/config/Endpoint.js +0 -1
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/config/EndpointConfigOptions.js +0 -1
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/config/EndpointMode.js +0 -1
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/config/EndpointModeConfigOptions.js +0 -1
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/error/InstanceMetadataV1FallbackError.js +0 -1
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/fromContainerMetadata.js +0 -1
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/fromInstanceMetadata.js +0 -1
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/index.js +0 -445
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/remoteProvider/ImdsCredentials.js +0 -1
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/remoteProvider/RemoteProviderInit.js +0 -1
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/remoteProvider/httpRequest.js +0 -1
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/remoteProvider/index.js +0 -1
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/remoteProvider/retry.js +0 -1
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/types.js +0 -1
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/utils/getExtendedInstanceMetadataCredentials.js +0 -1
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/utils/getInstanceMetadataEndpoint.js +0 -1
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/utils/staticStabilityProvider.js +0 -1
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/config/Endpoint.js +0 -5
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/config/EndpointConfigOptions.js +0 -7
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/config/EndpointMode.js +0 -5
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/config/EndpointModeConfigOptions.js +0 -8
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/error/InstanceMetadataV1FallbackError.js +0 -9
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/fromContainerMetadata.js +0 -77
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/fromInstanceMetadata.js +0 -134
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/index.js +0 -7
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/ImdsCredentials.js +0 -13
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/RemoteProviderInit.js +0 -3
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/httpRequest.js +0 -36
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/index.js +0 -2
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/retry.js +0 -7
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/types.js +0 -1
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/utils/getExtendedInstanceMetadataCredentials.js +0 -17
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/utils/getInstanceMetadataEndpoint.js +0 -19
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/utils/staticStabilityProvider.js +0 -25
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/config/Endpoint.d.ts +0 -7
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/config/EndpointConfigOptions.d.ts +0 -13
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/config/EndpointMode.d.ts +0 -7
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/config/EndpointModeConfigOptions.d.ts +0 -13
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/error/InstanceMetadataV1FallbackError.d.ts +0 -12
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/fromContainerMetadata.d.ts +0 -21
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/fromInstanceMetadata.d.ts +0 -10
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/index.d.ts +0 -28
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/ImdsCredentials.d.ts +0 -19
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/RemoteProviderInit.d.ts +0 -40
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/httpRequest.d.ts +0 -6
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/index.d.ts +0 -8
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/retry.d.ts +0 -10
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/config/Endpoint.d.ts +0 -7
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/config/EndpointConfigOptions.d.ts +0 -13
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/config/EndpointMode.d.ts +0 -7
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/config/EndpointModeConfigOptions.d.ts +0 -13
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/error/InstanceMetadataV1FallbackError.d.ts +0 -12
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/fromContainerMetadata.d.ts +0 -21
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/fromInstanceMetadata.d.ts +0 -10
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/index.d.ts +0 -28
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/ImdsCredentials.d.ts +0 -19
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/RemoteProviderInit.d.ts +0 -40
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/httpRequest.d.ts +0 -6
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/index.d.ts +0 -8
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/retry.d.ts +0 -10
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/types.d.ts +0 -7
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/utils/getExtendedInstanceMetadataCredentials.d.ts +0 -6
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/utils/getInstanceMetadataEndpoint.d.ts +0 -21
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/utils/staticStabilityProvider.d.ts +0 -16
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/types.d.ts +0 -7
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/utils/getExtendedInstanceMetadataCredentials.d.ts +0 -6
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/utils/getInstanceMetadataEndpoint.d.ts +0 -21
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/utils/staticStabilityProvider.d.ts +0 -16
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/package.json +0 -69
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/LICENSE +0 -201
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/README.md +0 -10
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-cjs/CredentialsProviderError.js +0 -1
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-cjs/ProviderError.js +0 -1
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-cjs/TokenProviderError.js +0 -1
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-cjs/chain.js +0 -1
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-cjs/fromStatic.js +0 -1
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-cjs/index.js +0 -170
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-cjs/memoize.js +0 -1
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-es/CredentialsProviderError.js +0 -8
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-es/ProviderError.js +0 -22
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-es/TokenProviderError.js +0 -8
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-es/chain.js +0 -21
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-es/fromStatic.js +0 -1
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-es/index.js +0 -6
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-es/memoize.js +0 -45
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/CredentialsProviderError.d.ts +0 -30
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/ProviderError.d.ts +0 -39
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/TokenProviderError.d.ts +0 -30
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/chain.d.ts +0 -13
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/fromStatic.d.ts +0 -5
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/index.d.ts +0 -24
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/memoize.d.ts +0 -40
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/ts3.4/CredentialsProviderError.d.ts +0 -30
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/ts3.4/ProviderError.d.ts +0 -39
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/ts3.4/TokenProviderError.d.ts +0 -30
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/ts3.4/chain.d.ts +0 -13
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/ts3.4/fromStatic.d.ts +0 -5
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/ts3.4/index.d.ts +0 -24
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/ts3.4/memoize.d.ts +0 -40
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/package.json +0 -60
- /package/node_modules/{@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/types.js → @aws-sdk/core/dist-es/submodules/protocols/query/QuerySerializerSettings.js} +0 -0
- /package/node_modules/@smithy/{node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/types.js → core/dist-es/submodules/schema/middleware/schema-middleware-types.js} +0 -0
|
@@ -0,0 +1,279 @@
|
|
|
1
|
+
import { XmlNode, XmlText } from "@aws-sdk/xml-builder";
|
|
2
|
+
import { NormalizedSchema, SCHEMA } from "@smithy/core/schema";
|
|
3
|
+
import { NumericValue } from "@smithy/core/serde";
|
|
4
|
+
import { dateToUtcString } from "@smithy/smithy-client";
|
|
5
|
+
import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
6
|
+
import { SerdeContextConfig } from "../ConfigurableSerdeContext";
|
|
7
|
+
export class XmlShapeSerializer extends SerdeContextConfig {
|
|
8
|
+
settings;
|
|
9
|
+
stringBuffer;
|
|
10
|
+
byteBuffer;
|
|
11
|
+
buffer;
|
|
12
|
+
constructor(settings) {
|
|
13
|
+
super();
|
|
14
|
+
this.settings = settings;
|
|
15
|
+
}
|
|
16
|
+
write(schema, value) {
|
|
17
|
+
const ns = NormalizedSchema.of(schema);
|
|
18
|
+
if (ns.isStringSchema() && typeof value === "string") {
|
|
19
|
+
this.stringBuffer = value;
|
|
20
|
+
}
|
|
21
|
+
else if (ns.isBlobSchema()) {
|
|
22
|
+
this.byteBuffer =
|
|
23
|
+
"byteLength" in value
|
|
24
|
+
? value
|
|
25
|
+
: (this.serdeContext?.base64Decoder ?? fromBase64)(value);
|
|
26
|
+
}
|
|
27
|
+
else {
|
|
28
|
+
this.buffer = this.writeStruct(ns, value, undefined);
|
|
29
|
+
const traits = ns.getMergedTraits();
|
|
30
|
+
if (traits.httpPayload && !traits.xmlName) {
|
|
31
|
+
this.buffer.withName(ns.getName());
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
flush() {
|
|
36
|
+
if (this.byteBuffer !== undefined) {
|
|
37
|
+
const bytes = this.byteBuffer;
|
|
38
|
+
delete this.byteBuffer;
|
|
39
|
+
return bytes;
|
|
40
|
+
}
|
|
41
|
+
if (this.stringBuffer !== undefined) {
|
|
42
|
+
const str = this.stringBuffer;
|
|
43
|
+
delete this.stringBuffer;
|
|
44
|
+
return str;
|
|
45
|
+
}
|
|
46
|
+
const buffer = this.buffer;
|
|
47
|
+
if (this.settings.xmlNamespace) {
|
|
48
|
+
if (!buffer?.attributes?.["xmlns"]) {
|
|
49
|
+
buffer.addAttribute("xmlns", this.settings.xmlNamespace);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
delete this.buffer;
|
|
53
|
+
return buffer.toString();
|
|
54
|
+
}
|
|
55
|
+
writeStruct(ns, value, parentXmlns) {
|
|
56
|
+
const traits = ns.getMergedTraits();
|
|
57
|
+
const name = ns.isMemberSchema() && !traits.httpPayload
|
|
58
|
+
? ns.getMemberTraits().xmlName ?? ns.getMemberName()
|
|
59
|
+
: traits.xmlName ?? ns.getName();
|
|
60
|
+
if (!name || !ns.isStructSchema()) {
|
|
61
|
+
throw new Error(`@aws-sdk/core/protocols - xml serializer, cannot write struct with empty name or non-struct, schema=${ns.getName(true)}.`);
|
|
62
|
+
}
|
|
63
|
+
const structXmlNode = XmlNode.of(name);
|
|
64
|
+
const [xmlnsAttr, xmlns] = this.getXmlnsAttribute(ns, parentXmlns);
|
|
65
|
+
if (xmlns) {
|
|
66
|
+
structXmlNode.addAttribute(xmlnsAttr, xmlns);
|
|
67
|
+
}
|
|
68
|
+
for (const [memberName, memberSchema] of ns.structIterator()) {
|
|
69
|
+
const val = value[memberName];
|
|
70
|
+
if (val != null) {
|
|
71
|
+
if (memberSchema.getMergedTraits().xmlAttribute) {
|
|
72
|
+
structXmlNode.addAttribute(memberSchema.getMergedTraits().xmlName ?? memberName, this.writeSimple(memberSchema, val));
|
|
73
|
+
continue;
|
|
74
|
+
}
|
|
75
|
+
if (memberSchema.isListSchema()) {
|
|
76
|
+
this.writeList(memberSchema, val, structXmlNode, xmlns);
|
|
77
|
+
}
|
|
78
|
+
else if (memberSchema.isMapSchema()) {
|
|
79
|
+
this.writeMap(memberSchema, val, structXmlNode, xmlns);
|
|
80
|
+
}
|
|
81
|
+
else if (memberSchema.isStructSchema()) {
|
|
82
|
+
structXmlNode.addChildNode(this.writeStruct(memberSchema, val, xmlns));
|
|
83
|
+
}
|
|
84
|
+
else {
|
|
85
|
+
const memberNode = XmlNode.of(memberSchema.getMergedTraits().xmlName ?? memberSchema.getMemberName());
|
|
86
|
+
this.writeSimpleInto(memberSchema, val, memberNode, xmlns);
|
|
87
|
+
structXmlNode.addChildNode(memberNode);
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
return structXmlNode;
|
|
92
|
+
}
|
|
93
|
+
writeList(listMember, array, container, parentXmlns) {
|
|
94
|
+
if (!listMember.isMemberSchema()) {
|
|
95
|
+
throw new Error(`@aws-sdk/core/protocols - xml serializer, cannot write non-member list: ${listMember.getName(true)}`);
|
|
96
|
+
}
|
|
97
|
+
const listTraits = listMember.getMergedTraits();
|
|
98
|
+
const listValueSchema = listMember.getValueSchema();
|
|
99
|
+
const listValueTraits = listValueSchema.getMergedTraits();
|
|
100
|
+
const sparse = !!listValueTraits.sparse;
|
|
101
|
+
const flat = !!listTraits.xmlFlattened;
|
|
102
|
+
const [xmlnsAttr, xmlns] = this.getXmlnsAttribute(listMember, parentXmlns);
|
|
103
|
+
const writeItem = (container, value) => {
|
|
104
|
+
if (listValueSchema.isListSchema()) {
|
|
105
|
+
this.writeList(listValueSchema, Array.isArray(value) ? value : [value], container, xmlns);
|
|
106
|
+
}
|
|
107
|
+
else if (listValueSchema.isMapSchema()) {
|
|
108
|
+
this.writeMap(listValueSchema, value, container, xmlns);
|
|
109
|
+
}
|
|
110
|
+
else if (listValueSchema.isStructSchema()) {
|
|
111
|
+
const struct = this.writeStruct(listValueSchema, value, xmlns);
|
|
112
|
+
container.addChildNode(struct.withName(flat ? listTraits.xmlName ?? listMember.getMemberName() : listValueTraits.xmlName ?? "member"));
|
|
113
|
+
}
|
|
114
|
+
else {
|
|
115
|
+
const listItemNode = XmlNode.of(flat ? listTraits.xmlName ?? listMember.getMemberName() : listValueTraits.xmlName ?? "member");
|
|
116
|
+
this.writeSimpleInto(listValueSchema, value, listItemNode, xmlns);
|
|
117
|
+
container.addChildNode(listItemNode);
|
|
118
|
+
}
|
|
119
|
+
};
|
|
120
|
+
if (flat) {
|
|
121
|
+
for (const value of array) {
|
|
122
|
+
if (sparse || value != null) {
|
|
123
|
+
writeItem(container, value);
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
else {
|
|
128
|
+
const listNode = XmlNode.of(listTraits.xmlName ?? listMember.getMemberName());
|
|
129
|
+
if (xmlns) {
|
|
130
|
+
listNode.addAttribute(xmlnsAttr, xmlns);
|
|
131
|
+
}
|
|
132
|
+
for (const value of array) {
|
|
133
|
+
if (sparse || value != null) {
|
|
134
|
+
writeItem(listNode, value);
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
container.addChildNode(listNode);
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
writeMap(mapMember, map, container, parentXmlns, containerIsMap = false) {
|
|
141
|
+
if (!mapMember.isMemberSchema()) {
|
|
142
|
+
throw new Error(`@aws-sdk/core/protocols - xml serializer, cannot write non-member map: ${mapMember.getName(true)}`);
|
|
143
|
+
}
|
|
144
|
+
const mapTraits = mapMember.getMergedTraits();
|
|
145
|
+
const mapKeySchema = mapMember.getKeySchema();
|
|
146
|
+
const mapKeyTraits = mapKeySchema.getMergedTraits();
|
|
147
|
+
const keyTag = mapKeyTraits.xmlName ?? "key";
|
|
148
|
+
const mapValueSchema = mapMember.getValueSchema();
|
|
149
|
+
const mapValueTraits = mapValueSchema.getMergedTraits();
|
|
150
|
+
const valueTag = mapValueTraits.xmlName ?? "value";
|
|
151
|
+
const sparse = !!mapValueTraits.sparse;
|
|
152
|
+
const flat = !!mapTraits.xmlFlattened;
|
|
153
|
+
const [xmlnsAttr, xmlns] = this.getXmlnsAttribute(mapMember, parentXmlns);
|
|
154
|
+
const addKeyValue = (entry, key, val) => {
|
|
155
|
+
const keyNode = XmlNode.of(keyTag, key);
|
|
156
|
+
const [keyXmlnsAttr, keyXmlns] = this.getXmlnsAttribute(mapKeySchema, xmlns);
|
|
157
|
+
if (keyXmlns) {
|
|
158
|
+
keyNode.addAttribute(keyXmlnsAttr, keyXmlns);
|
|
159
|
+
}
|
|
160
|
+
entry.addChildNode(keyNode);
|
|
161
|
+
let valueNode = XmlNode.of(valueTag);
|
|
162
|
+
if (mapValueSchema.isListSchema()) {
|
|
163
|
+
this.writeList(mapValueSchema, val, valueNode, xmlns);
|
|
164
|
+
}
|
|
165
|
+
else if (mapValueSchema.isMapSchema()) {
|
|
166
|
+
this.writeMap(mapValueSchema, val, valueNode, xmlns, true);
|
|
167
|
+
}
|
|
168
|
+
else if (mapValueSchema.isStructSchema()) {
|
|
169
|
+
valueNode = this.writeStruct(mapValueSchema, val, xmlns);
|
|
170
|
+
}
|
|
171
|
+
else {
|
|
172
|
+
this.writeSimpleInto(mapValueSchema, val, valueNode, xmlns);
|
|
173
|
+
}
|
|
174
|
+
entry.addChildNode(valueNode);
|
|
175
|
+
};
|
|
176
|
+
if (flat) {
|
|
177
|
+
for (const [key, val] of Object.entries(map)) {
|
|
178
|
+
if (sparse || val != null) {
|
|
179
|
+
const entry = XmlNode.of(mapTraits.xmlName ?? mapMember.getMemberName());
|
|
180
|
+
addKeyValue(entry, key, val);
|
|
181
|
+
container.addChildNode(entry);
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
else {
|
|
186
|
+
let mapNode;
|
|
187
|
+
if (!containerIsMap) {
|
|
188
|
+
mapNode = XmlNode.of(mapTraits.xmlName ?? mapMember.getMemberName());
|
|
189
|
+
if (xmlns) {
|
|
190
|
+
mapNode.addAttribute(xmlnsAttr, xmlns);
|
|
191
|
+
}
|
|
192
|
+
container.addChildNode(mapNode);
|
|
193
|
+
}
|
|
194
|
+
for (const [key, val] of Object.entries(map)) {
|
|
195
|
+
if (sparse || val != null) {
|
|
196
|
+
const entry = XmlNode.of("entry");
|
|
197
|
+
addKeyValue(entry, key, val);
|
|
198
|
+
(containerIsMap ? container : mapNode).addChildNode(entry);
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
writeSimple(_schema, value) {
|
|
204
|
+
if (null === value) {
|
|
205
|
+
throw new Error("@aws-sdk/core/protocols - (XML serializer) cannot write null value.");
|
|
206
|
+
}
|
|
207
|
+
const ns = NormalizedSchema.of(_schema);
|
|
208
|
+
let nodeContents = null;
|
|
209
|
+
if (value && typeof value === "object") {
|
|
210
|
+
if (ns.isBlobSchema()) {
|
|
211
|
+
nodeContents = (this.serdeContext?.base64Encoder ?? toBase64)(value);
|
|
212
|
+
}
|
|
213
|
+
else if (ns.isTimestampSchema() && value instanceof Date) {
|
|
214
|
+
const options = this.settings.timestampFormat;
|
|
215
|
+
const format = options.useTrait
|
|
216
|
+
? ns.getSchema() === SCHEMA.TIMESTAMP_DEFAULT
|
|
217
|
+
? options.default
|
|
218
|
+
: ns.getSchema() ?? options.default
|
|
219
|
+
: options.default;
|
|
220
|
+
switch (format) {
|
|
221
|
+
case SCHEMA.TIMESTAMP_DATE_TIME:
|
|
222
|
+
nodeContents = value.toISOString().replace(".000Z", "Z");
|
|
223
|
+
break;
|
|
224
|
+
case SCHEMA.TIMESTAMP_HTTP_DATE:
|
|
225
|
+
nodeContents = dateToUtcString(value);
|
|
226
|
+
break;
|
|
227
|
+
case SCHEMA.TIMESTAMP_EPOCH_SECONDS:
|
|
228
|
+
nodeContents = String(value.getTime() / 1000);
|
|
229
|
+
break;
|
|
230
|
+
default:
|
|
231
|
+
console.warn("Missing timestamp format, using http date", value);
|
|
232
|
+
nodeContents = dateToUtcString(value);
|
|
233
|
+
break;
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
else if (ns.isBigDecimalSchema() && value) {
|
|
237
|
+
if (value instanceof NumericValue) {
|
|
238
|
+
return value.string;
|
|
239
|
+
}
|
|
240
|
+
return String(value);
|
|
241
|
+
}
|
|
242
|
+
else if (ns.isMapSchema() || ns.isListSchema()) {
|
|
243
|
+
throw new Error("@aws-sdk/core/protocols - xml serializer, cannot call _write() on List/Map schema, call writeList or writeMap() instead.");
|
|
244
|
+
}
|
|
245
|
+
else {
|
|
246
|
+
throw new Error(`@aws-sdk/core/protocols - xml serializer, unhandled schema type for object value and schema: ${ns.getName(true)}`);
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
if (ns.isStringSchema() ||
|
|
250
|
+
ns.isBooleanSchema() ||
|
|
251
|
+
ns.isNumericSchema() ||
|
|
252
|
+
ns.isBigIntegerSchema() ||
|
|
253
|
+
ns.isBigDecimalSchema()) {
|
|
254
|
+
nodeContents = String(value);
|
|
255
|
+
}
|
|
256
|
+
if (nodeContents === null) {
|
|
257
|
+
throw new Error(`Unhandled schema-value pair ${ns.getName(true)}=${value}`);
|
|
258
|
+
}
|
|
259
|
+
return nodeContents;
|
|
260
|
+
}
|
|
261
|
+
writeSimpleInto(_schema, value, into, parentXmlns) {
|
|
262
|
+
const nodeContents = this.writeSimple(_schema, value);
|
|
263
|
+
const ns = NormalizedSchema.of(_schema);
|
|
264
|
+
const content = new XmlText(nodeContents);
|
|
265
|
+
const [xmlnsAttr, xmlns] = this.getXmlnsAttribute(ns, parentXmlns);
|
|
266
|
+
if (xmlns) {
|
|
267
|
+
into.addAttribute(xmlnsAttr, xmlns);
|
|
268
|
+
}
|
|
269
|
+
into.addChildNode(content);
|
|
270
|
+
}
|
|
271
|
+
getXmlnsAttribute(ns, parentXmlns) {
|
|
272
|
+
const traits = ns.getMergedTraits();
|
|
273
|
+
const [prefix, xmlns] = traits.xmlNamespace ?? [];
|
|
274
|
+
if (xmlns && xmlns !== parentXmlns) {
|
|
275
|
+
return [prefix ? `xmlns:${prefix}` : "xmlns", xmlns];
|
|
276
|
+
}
|
|
277
|
+
return [void 0, void 0];
|
|
278
|
+
}
|
|
279
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export function simpleFormatXml(xml) {
|
|
2
|
+
let b = "";
|
|
3
|
+
let indentation = 0;
|
|
4
|
+
for (let i = 0; i < xml.length; ++i) {
|
|
5
|
+
const c = xml[i];
|
|
6
|
+
if (c === "<") {
|
|
7
|
+
if (xml[i + 1] === "/") {
|
|
8
|
+
b += "\n" + " ".repeat(indentation - 2) + c;
|
|
9
|
+
indentation -= 4;
|
|
10
|
+
}
|
|
11
|
+
else {
|
|
12
|
+
b += c;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
else if (c === ">") {
|
|
16
|
+
indentation += 2;
|
|
17
|
+
b += c + "\n" + " ".repeat(indentation);
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
b += c;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
return b
|
|
24
|
+
.split("\n")
|
|
25
|
+
.filter((s) => !!s.trim())
|
|
26
|
+
.join("\n");
|
|
27
|
+
}
|
package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/ConfigurableSerdeContext.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ConfigurableSerdeContext, SerdeFunctions } from "@smithy/types";
|
|
2
|
+
/**
|
|
3
|
+
* @internal
|
|
4
|
+
*/
|
|
5
|
+
export declare class SerdeContextConfig implements ConfigurableSerdeContext {
|
|
6
|
+
protected serdeContext?: SerdeFunctions;
|
|
7
|
+
setSerdeContext(serdeContext: SerdeFunctions): void;
|
|
8
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
export declare const collectBodyString: (streamBody: any, context:
|
|
1
|
+
import type { SerdeFunctions } from "@smithy/types";
|
|
2
|
+
export declare const collectBodyString: (streamBody: any, context: SerdeFunctions) => Promise<string>;
|
|
@@ -1,4 +1,17 @@
|
|
|
1
1
|
export * from "./coercing-serializers";
|
|
2
|
+
export * from "./json/AwsJson1_0Protocol";
|
|
3
|
+
export * from "./json/AwsJson1_1Protocol";
|
|
4
|
+
export * from "./json/AwsJsonRpcProtocol";
|
|
5
|
+
export * from "./json/AwsRestJsonProtocol";
|
|
6
|
+
export * from "./json/JsonCodec";
|
|
7
|
+
export * from "./json/JsonShapeDeserializer";
|
|
8
|
+
export * from "./json/JsonShapeSerializer";
|
|
2
9
|
export * from "./json/awsExpectUnion";
|
|
3
10
|
export * from "./json/parseJsonBody";
|
|
11
|
+
export * from "./query/AwsEc2QueryProtocol";
|
|
12
|
+
export * from "./query/AwsQueryProtocol";
|
|
13
|
+
export * from "./xml/AwsRestXmlProtocol";
|
|
14
|
+
export * from "./xml/XmlCodec";
|
|
15
|
+
export * from "./xml/XmlShapeDeserializer";
|
|
16
|
+
export * from "./xml/XmlShapeSerializer";
|
|
4
17
|
export * from "./xml/parseXmlBody";
|
package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJson1_0Protocol.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { AwsJsonRpcProtocol } from "./AwsJsonRpcProtocol";
|
|
2
|
+
/**
|
|
3
|
+
* @alpha
|
|
4
|
+
* @see https://smithy.io/2.0/aws/protocols/aws-json-1_1-protocol.html#differences-between-awsjson1-0-and-awsjson1-1
|
|
5
|
+
*/
|
|
6
|
+
export declare class AwsJson1_0Protocol extends AwsJsonRpcProtocol {
|
|
7
|
+
constructor({ defaultNamespace }: {
|
|
8
|
+
defaultNamespace: string;
|
|
9
|
+
});
|
|
10
|
+
getShapeId(): string;
|
|
11
|
+
protected getJsonRpcVersion(): "1.0";
|
|
12
|
+
}
|
package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJson1_1Protocol.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { AwsJsonRpcProtocol } from "./AwsJsonRpcProtocol";
|
|
2
|
+
/**
|
|
3
|
+
* @alpha
|
|
4
|
+
* @see https://smithy.io/2.0/aws/protocols/aws-json-1_1-protocol.html#differences-between-awsjson1-0-and-awsjson1-1
|
|
5
|
+
*/
|
|
6
|
+
export declare class AwsJson1_1Protocol extends AwsJsonRpcProtocol {
|
|
7
|
+
constructor({ defaultNamespace }: {
|
|
8
|
+
defaultNamespace: string;
|
|
9
|
+
});
|
|
10
|
+
getShapeId(): string;
|
|
11
|
+
protected getJsonRpcVersion(): "1.1";
|
|
12
|
+
}
|
package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJsonRpcProtocol.d.ts
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { RpcProtocol } from "@smithy/core/protocols";
|
|
2
|
+
import { EndpointBearer, HandlerExecutionContext, HttpRequest, HttpResponse, OperationSchema, ResponseMetadata, SerdeFunctions, ShapeDeserializer, ShapeSerializer } from "@smithy/types";
|
|
3
|
+
import { JsonCodec } from "./JsonCodec";
|
|
4
|
+
/**
|
|
5
|
+
* @alpha
|
|
6
|
+
*/
|
|
7
|
+
export declare abstract class AwsJsonRpcProtocol extends RpcProtocol {
|
|
8
|
+
protected serializer: ShapeSerializer<string | Uint8Array>;
|
|
9
|
+
protected deserializer: ShapeDeserializer<string | Uint8Array>;
|
|
10
|
+
private codec;
|
|
11
|
+
protected constructor({ defaultNamespace }: {
|
|
12
|
+
defaultNamespace: string;
|
|
13
|
+
});
|
|
14
|
+
serializeRequest<Input extends object>(operationSchema: OperationSchema, input: Input, context: HandlerExecutionContext & SerdeFunctions & EndpointBearer): Promise<HttpRequest>;
|
|
15
|
+
getPayloadCodec(): JsonCodec;
|
|
16
|
+
protected abstract getJsonRpcVersion(): "1.1" | "1.0";
|
|
17
|
+
protected handleError(operationSchema: OperationSchema, context: HandlerExecutionContext & SerdeFunctions, response: HttpResponse, dataObject: any, metadata: ResponseMetadata): Promise<never>;
|
|
18
|
+
}
|
package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsRestJsonProtocol.d.ts
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { HttpBindingProtocol } from "@smithy/core/protocols";
|
|
2
|
+
import { EndpointBearer, HandlerExecutionContext, HttpRequest, HttpResponse, OperationSchema, ResponseMetadata, SerdeFunctions, ShapeDeserializer, ShapeSerializer } from "@smithy/types";
|
|
3
|
+
import { JsonCodec } from "./JsonCodec";
|
|
4
|
+
/**
|
|
5
|
+
* @alpha
|
|
6
|
+
*/
|
|
7
|
+
export declare class AwsRestJsonProtocol extends HttpBindingProtocol {
|
|
8
|
+
protected serializer: ShapeSerializer<string | Uint8Array>;
|
|
9
|
+
protected deserializer: ShapeDeserializer<string | Uint8Array>;
|
|
10
|
+
private readonly codec;
|
|
11
|
+
constructor({ defaultNamespace }: {
|
|
12
|
+
defaultNamespace: string;
|
|
13
|
+
});
|
|
14
|
+
getShapeId(): string;
|
|
15
|
+
getPayloadCodec(): JsonCodec;
|
|
16
|
+
setSerdeContext(serdeContext: SerdeFunctions): void;
|
|
17
|
+
serializeRequest<Input extends object>(operationSchema: OperationSchema, input: Input, context: HandlerExecutionContext & SerdeFunctions & EndpointBearer): Promise<HttpRequest>;
|
|
18
|
+
protected handleError(operationSchema: OperationSchema, context: HandlerExecutionContext & SerdeFunctions, response: HttpResponse, dataObject: any, metadata: ResponseMetadata): Promise<never>;
|
|
19
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Codec, CodecSettings } from "@smithy/types";
|
|
2
|
+
import { SerdeContextConfig } from "../ConfigurableSerdeContext";
|
|
3
|
+
import { JsonShapeDeserializer } from "./JsonShapeDeserializer";
|
|
4
|
+
import { JsonShapeSerializer } from "./JsonShapeSerializer";
|
|
5
|
+
/**
|
|
6
|
+
* @alpha
|
|
7
|
+
*/
|
|
8
|
+
export type JsonSettings = CodecSettings & {
|
|
9
|
+
jsonName: boolean;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* @public
|
|
13
|
+
*/
|
|
14
|
+
export declare class JsonCodec extends SerdeContextConfig implements Codec<string, string> {
|
|
15
|
+
readonly settings: JsonSettings;
|
|
16
|
+
constructor(settings: JsonSettings);
|
|
17
|
+
createSerializer(): JsonShapeSerializer;
|
|
18
|
+
createDeserializer(): JsonShapeDeserializer;
|
|
19
|
+
}
|
package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/JsonShapeDeserializer.d.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { DocumentType, Schema, ShapeDeserializer } from "@smithy/types";
|
|
2
|
+
import { SerdeContextConfig } from "../ConfigurableSerdeContext";
|
|
3
|
+
import { JsonSettings } from "./JsonCodec";
|
|
4
|
+
/**
|
|
5
|
+
* @alpha
|
|
6
|
+
*/
|
|
7
|
+
export declare class JsonShapeDeserializer extends SerdeContextConfig implements ShapeDeserializer<string> {
|
|
8
|
+
readonly settings: JsonSettings;
|
|
9
|
+
constructor(settings: JsonSettings);
|
|
10
|
+
read(schema: Schema, data: string | Uint8Array | unknown): Promise<any>;
|
|
11
|
+
readObject(schema: Schema, data: DocumentType): any;
|
|
12
|
+
private _read;
|
|
13
|
+
}
|
package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/JsonShapeSerializer.d.ts
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Schema, ShapeSerializer } from "@smithy/types";
|
|
2
|
+
import { SerdeContextConfig } from "../ConfigurableSerdeContext";
|
|
3
|
+
import { JsonSettings } from "./JsonCodec";
|
|
4
|
+
/**
|
|
5
|
+
* @alpha
|
|
6
|
+
*/
|
|
7
|
+
export declare class JsonShapeSerializer extends SerdeContextConfig implements ShapeSerializer<string> {
|
|
8
|
+
readonly settings: JsonSettings;
|
|
9
|
+
private buffer;
|
|
10
|
+
private rootSchema;
|
|
11
|
+
constructor(settings: JsonSettings);
|
|
12
|
+
write(schema: Schema, value: unknown): void;
|
|
13
|
+
flush(): string;
|
|
14
|
+
private _write;
|
|
15
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Serializes BigInt and NumericValue to JSON-number.
|
|
3
|
+
* @internal
|
|
4
|
+
*/
|
|
5
|
+
export declare class JsonReplacer {
|
|
6
|
+
/**
|
|
7
|
+
* Stores placeholder key to true serialized value lookup.
|
|
8
|
+
*/
|
|
9
|
+
private readonly values;
|
|
10
|
+
private counter;
|
|
11
|
+
private stage;
|
|
12
|
+
/**
|
|
13
|
+
* Creates a jsonReplacer function that reserves big integer and big decimal values
|
|
14
|
+
* for later replacement.
|
|
15
|
+
*/
|
|
16
|
+
createReplacer(): (key: string, value: unknown) => unknown;
|
|
17
|
+
/**
|
|
18
|
+
* Replaces placeholder keys with their true values.
|
|
19
|
+
*/
|
|
20
|
+
replaceInJson(json: string): string;
|
|
21
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @param key - JSON object key.
|
|
3
|
+
* @param value - parsed value.
|
|
4
|
+
* @param context - original JSON string for reference. Not available until Node.js 21 and unavailable in Safari as
|
|
5
|
+
* of April 2025.
|
|
6
|
+
*
|
|
7
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/parse#browser_compatibility
|
|
8
|
+
*
|
|
9
|
+
* @alpha
|
|
10
|
+
*
|
|
11
|
+
* @returns transformed value.
|
|
12
|
+
*/
|
|
13
|
+
export declare function jsonReviver(key: string, value: any, context?: {
|
|
14
|
+
source?: string;
|
|
15
|
+
}): any;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import type { HttpResponse,
|
|
1
|
+
import type { HttpResponse, SerdeFunctions } from "@smithy/types";
|
|
2
2
|
/**
|
|
3
3
|
* @internal
|
|
4
4
|
*/
|
|
5
|
-
export declare const parseJsonBody: (streamBody: any, context:
|
|
5
|
+
export declare const parseJsonBody: (streamBody: any, context: SerdeFunctions) => any;
|
|
6
6
|
/**
|
|
7
7
|
* @internal
|
|
8
8
|
*/
|
|
9
|
-
export declare const parseJsonErrorBody: (errorBody: any, context:
|
|
9
|
+
export declare const parseJsonErrorBody: (errorBody: any, context: SerdeFunctions) => Promise<any>;
|
|
10
10
|
/**
|
|
11
11
|
* @internal
|
|
12
12
|
*/
|
package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/AwsEc2QueryProtocol.d.ts
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { AwsQueryProtocol } from "./AwsQueryProtocol";
|
|
2
|
+
/**
|
|
3
|
+
* @alpha
|
|
4
|
+
*/
|
|
5
|
+
export declare class AwsEc2QueryProtocol extends AwsQueryProtocol {
|
|
6
|
+
options: {
|
|
7
|
+
defaultNamespace: string;
|
|
8
|
+
xmlNamespace: string;
|
|
9
|
+
version: string;
|
|
10
|
+
};
|
|
11
|
+
constructor(options: {
|
|
12
|
+
defaultNamespace: string;
|
|
13
|
+
xmlNamespace: string;
|
|
14
|
+
version: string;
|
|
15
|
+
});
|
|
16
|
+
/**
|
|
17
|
+
* EC2 Query reads XResponse.XResult instead of XResponse directly.
|
|
18
|
+
*/
|
|
19
|
+
protected useNestedResult(): boolean;
|
|
20
|
+
}
|
package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/AwsQueryProtocol.d.ts
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { RpcProtocol } from "@smithy/core/protocols";
|
|
2
|
+
import { Codec, EndpointBearer, HandlerExecutionContext, HttpRequest, MetadataBearer, OperationSchema, ResponseMetadata, SerdeFunctions } from "@smithy/types";
|
|
3
|
+
import type { HttpResponse as IHttpResponse } from "@smithy/types/dist-types/http";
|
|
4
|
+
import { XmlShapeDeserializer } from "../xml/XmlShapeDeserializer";
|
|
5
|
+
import { QueryShapeSerializer } from "./QueryShapeSerializer";
|
|
6
|
+
/**
|
|
7
|
+
* @alpha
|
|
8
|
+
*/
|
|
9
|
+
export declare class AwsQueryProtocol extends RpcProtocol {
|
|
10
|
+
options: {
|
|
11
|
+
defaultNamespace: string;
|
|
12
|
+
xmlNamespace: string;
|
|
13
|
+
version: string;
|
|
14
|
+
};
|
|
15
|
+
protected serializer: QueryShapeSerializer;
|
|
16
|
+
protected deserializer: XmlShapeDeserializer;
|
|
17
|
+
constructor(options: {
|
|
18
|
+
defaultNamespace: string;
|
|
19
|
+
xmlNamespace: string;
|
|
20
|
+
version: string;
|
|
21
|
+
});
|
|
22
|
+
getShapeId(): string;
|
|
23
|
+
setSerdeContext(serdeContext: SerdeFunctions): void;
|
|
24
|
+
getPayloadCodec(): Codec<any, any>;
|
|
25
|
+
serializeRequest<Input extends object>(operationSchema: OperationSchema, input: Input, context: HandlerExecutionContext & SerdeFunctions & EndpointBearer): Promise<HttpRequest>;
|
|
26
|
+
deserializeResponse<Output extends MetadataBearer>(operationSchema: OperationSchema, context: HandlerExecutionContext & SerdeFunctions, response: IHttpResponse): Promise<Output>;
|
|
27
|
+
/**
|
|
28
|
+
* EC2 Query overrides this.
|
|
29
|
+
*/
|
|
30
|
+
protected useNestedResult(): boolean;
|
|
31
|
+
protected handleError(operationSchema: OperationSchema, context: HandlerExecutionContext & SerdeFunctions, response: IHttpResponse, dataObject: any, metadata: ResponseMetadata): Promise<never>;
|
|
32
|
+
/**
|
|
33
|
+
* The variations in the error and error message locations are attributed to
|
|
34
|
+
* divergence between AWS Query and EC2 Query behavior.
|
|
35
|
+
*/
|
|
36
|
+
protected loadQueryErrorCode(output: IHttpResponse, data: any): string | undefined;
|
|
37
|
+
protected loadQueryError(data: any): any | undefined;
|
|
38
|
+
protected loadQueryErrorMessage(data: any): string;
|
|
39
|
+
}
|
package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/QueryShapeSerializer.d.ts
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { Schema, ShapeSerializer } from "@smithy/types";
|
|
2
|
+
import { SerdeContextConfig } from "../ConfigurableSerdeContext";
|
|
3
|
+
import type { QuerySerializerSettings } from "./QuerySerializerSettings";
|
|
4
|
+
/**
|
|
5
|
+
* @alpha
|
|
6
|
+
*/
|
|
7
|
+
export declare class QueryShapeSerializer extends SerdeContextConfig implements ShapeSerializer<string | Uint8Array> {
|
|
8
|
+
readonly settings: QuerySerializerSettings;
|
|
9
|
+
private buffer;
|
|
10
|
+
constructor(settings: QuerySerializerSettings);
|
|
11
|
+
write(schema: Schema, value: unknown, prefix?: string): void;
|
|
12
|
+
flush(): string | Uint8Array;
|
|
13
|
+
protected getKey(memberName: string, xmlName?: string): string;
|
|
14
|
+
protected writeKey(key: string): void;
|
|
15
|
+
protected writeValue(value: string): void;
|
|
16
|
+
}
|
package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/AwsRestXmlProtocol.d.ts
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { HttpBindingProtocol } from "@smithy/core/protocols";
|
|
2
|
+
import { OperationSchema } from "@smithy/core/schema";
|
|
3
|
+
import type { EndpointBearer, HandlerExecutionContext, HttpRequest as IHttpRequest, HttpResponse as IHttpResponse, MetadataBearer, ResponseMetadata, SerdeFunctions, ShapeDeserializer, ShapeSerializer } from "@smithy/types";
|
|
4
|
+
import { XmlCodec } from "./XmlCodec";
|
|
5
|
+
/**
|
|
6
|
+
* @alpha
|
|
7
|
+
*/
|
|
8
|
+
export declare class AwsRestXmlProtocol extends HttpBindingProtocol {
|
|
9
|
+
private readonly codec;
|
|
10
|
+
protected serializer: ShapeSerializer<string | Uint8Array>;
|
|
11
|
+
protected deserializer: ShapeDeserializer<string | Uint8Array>;
|
|
12
|
+
constructor(options: {
|
|
13
|
+
defaultNamespace: string;
|
|
14
|
+
xmlNamespace: string;
|
|
15
|
+
});
|
|
16
|
+
getPayloadCodec(): XmlCodec;
|
|
17
|
+
getShapeId(): string;
|
|
18
|
+
serializeRequest<Input extends object>(operationSchema: OperationSchema, input: Input, context: HandlerExecutionContext & SerdeFunctions & EndpointBearer): Promise<IHttpRequest>;
|
|
19
|
+
deserializeResponse<Output extends MetadataBearer>(operationSchema: OperationSchema, context: HandlerExecutionContext & SerdeFunctions, response: IHttpResponse): Promise<Output>;
|
|
20
|
+
protected handleError(operationSchema: OperationSchema, context: HandlerExecutionContext & SerdeFunctions, response: IHttpResponse, dataObject: any, metadata: ResponseMetadata): Promise<never>;
|
|
21
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Codec, CodecSettings } from "@smithy/types";
|
|
2
|
+
import { SerdeContextConfig } from "../ConfigurableSerdeContext";
|
|
3
|
+
import { XmlShapeDeserializer } from "./XmlShapeDeserializer";
|
|
4
|
+
import { XmlShapeSerializer } from "./XmlShapeSerializer";
|
|
5
|
+
export type XmlSettings = CodecSettings & {
|
|
6
|
+
xmlNamespace: string;
|
|
7
|
+
serviceNamespace: string;
|
|
8
|
+
};
|
|
9
|
+
export declare class XmlCodec extends SerdeContextConfig implements Codec<Uint8Array | string, Uint8Array | string> {
|
|
10
|
+
readonly settings: XmlSettings;
|
|
11
|
+
constructor(settings: XmlSettings);
|
|
12
|
+
createSerializer(): XmlShapeSerializer;
|
|
13
|
+
createDeserializer(): XmlShapeDeserializer;
|
|
14
|
+
}
|
package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/XmlShapeDeserializer.d.ts
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Schema, SerdeFunctions, ShapeDeserializer } from "@smithy/types";
|
|
2
|
+
import { SerdeContextConfig } from "../ConfigurableSerdeContext";
|
|
3
|
+
import { XmlSettings } from "./XmlCodec";
|
|
4
|
+
/**
|
|
5
|
+
* @alpha
|
|
6
|
+
*/
|
|
7
|
+
export declare class XmlShapeDeserializer extends SerdeContextConfig implements ShapeDeserializer<Uint8Array | string> {
|
|
8
|
+
readonly settings: XmlSettings;
|
|
9
|
+
private stringDeserializer;
|
|
10
|
+
constructor(settings: XmlSettings);
|
|
11
|
+
setSerdeContext(serdeContext: SerdeFunctions): void;
|
|
12
|
+
/**
|
|
13
|
+
* @param schema - describing the data.
|
|
14
|
+
* @param bytes - serialized data.
|
|
15
|
+
* @param key - used by AwsQuery to step one additional depth into the object before reading it.
|
|
16
|
+
*/
|
|
17
|
+
read(schema: Schema, bytes: Uint8Array | string, key?: string): any;
|
|
18
|
+
readSchema(_schema: Schema, value: any): any;
|
|
19
|
+
protected parseXml(xml: string): any;
|
|
20
|
+
}
|