@jjrawlins/cdk-ami-builder 0.0.52 → 0.0.54
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 +11 -11
- package/cdk-ami-builder/go.mod +1 -1
- package/cdk-ami-builder/jsii/jsii.go +2 -2
- package/cdk-ami-builder/version +1 -1
- package/lib/ImagePipeline/ImagePipeline.js +1 -1
- package/lib/Lambdas/CheckStateMachineStatus/CheckStateMachineStatus-function.js +1 -1
- package/lib/Lambdas/StartStateMachine/StartStateMachine-function.js +1 -1
- package/node_modules/@aws-sdk/client-ec2/README.md +8 -0
- package/node_modules/@aws-sdk/client-ec2/dist-cjs/endpoint/ruleset.js +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-cjs/index.js +217 -78
- package/node_modules/@aws-sdk/client-ec2/dist-es/EC2.js +2 -0
- package/node_modules/@aws-sdk/client-ec2/dist-es/commands/CopyVolumesCommand.js +22 -0
- package/node_modules/@aws-sdk/client-ec2/dist-es/commands/index.js +1 -0
- package/node_modules/@aws-sdk/client-ec2/dist-es/endpoint/ruleset.js +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-es/models/models_1.js +64 -9
- package/node_modules/@aws-sdk/client-ec2/dist-es/models/models_2.js +0 -20
- package/node_modules/@aws-sdk/client-ec2/dist-es/models/models_3.js +7 -4
- package/node_modules/@aws-sdk/client-ec2/dist-es/models/models_4.js +4 -4
- package/node_modules/@aws-sdk/client-ec2/dist-es/models/models_5.js +5 -5
- package/node_modules/@aws-sdk/client-ec2/dist-es/models/models_6.js +5 -0
- package/node_modules/@aws-sdk/client-ec2/dist-es/protocols/Aws_ec2.js +113 -36
- package/node_modules/@aws-sdk/client-ec2/dist-types/EC2.d.ts +7 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/EC2Client.d.ts +3 -2
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CopyVolumesCommand.d.ts +137 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateCapacityReservationFleetCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateFleetCommand.d.ts +4 -4
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateLaunchTemplateCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVolumeCommand.d.ts +3 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeCapacityReservationBillingRequestsCommand.d.ts +1 -2
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeCapacityReservationFleetsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeFleetsCommand.d.ts +4 -4
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeInstanceImageMetadataCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeInstanceTypeOfferingsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeInstanceTypesCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeInstancesCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeReservedInstancesCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeReservedInstancesModificationsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeReservedInstancesOfferingsCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeSpotFleetRequestsCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeSpotInstanceRequestsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeSpotPriceHistoryCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeVolumeStatusCommand.d.ts +3 -2
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeVolumesCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetManagedPrefixListEntriesCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetNetworkInsightsAccessScopeAnalysisFindingsCommand.d.ts +1 -2
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ImportInstanceCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifyFleetCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifyReservedInstancesCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifySpotFleetRequestCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ProvisionIpamByoasnCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/RequestSpotFleetCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/RequestSpotInstancesCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/RunInstancesCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/index.d.ts +1 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_1.d.ts +351 -115
- package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_2.d.ts +104 -227
- package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_3.d.ts +45 -83
- package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_4.d.ts +83 -30
- package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_5.d.ts +37 -32
- package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_6.d.ts +32 -46
- package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_7.d.ts +52 -43
- package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_8.d.ts +44 -7
- package/node_modules/@aws-sdk/client-ec2/dist-types/protocols/Aws_ec2.d.ts +9 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/EC2.d.ts +17 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/EC2Client.d.ts +6 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CopyVolumesCommand.d.ts +47 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateVolumeCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeCapacityReservationBillingRequestsCommand.d.ts +4 -2
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeVolumeStatusCommand.d.ts +2 -4
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetManagedPrefixListEntriesCommand.d.ts +2 -4
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetNetworkInsightsAccessScopeAnalysisFindingsCommand.d.ts +4 -2
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ProvisionIpamByoasnCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_1.d.ts +109 -31
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_2.d.ts +18 -57
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_3.d.ts +14 -15
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_4.d.ts +13 -10
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_5.d.ts +13 -14
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_6.d.ts +13 -12
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_7.d.ts +12 -11
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_8.d.ts +12 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/protocols/Aws_ec2.d.ts +12 -0
- package/node_modules/@aws-sdk/client-ec2/package.json +35 -35
- package/node_modules/@aws-sdk/client-ecs/package.json +34 -34
- package/node_modules/@aws-sdk/client-kms/dist-types/models/models_0.d.ts +3 -3
- package/node_modules/@aws-sdk/client-kms/package.json +33 -33
- package/node_modules/@aws-sdk/client-s3/dist-types/models/models_0.d.ts +4 -4
- package/node_modules/@aws-sdk/client-s3/package.json +50 -50
- package/node_modules/@aws-sdk/client-secrets-manager/package.json +33 -33
- package/node_modules/@aws-sdk/client-sfn/package.json +33 -33
- package/node_modules/@aws-sdk/client-sns/package.json +33 -33
- package/node_modules/@aws-sdk/client-sqs/dist-types/models/models_0.d.ts +1 -1
- package/node_modules/@aws-sdk/client-sqs/package.json +35 -35
- 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/index.js +5 -5
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +5 -5
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/cbor/AwsSmithyRpcV2CborProtocol.js +1 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJsonRpcProtocol.js +1 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsRestJsonProtocol.js +1 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/AwsQueryProtocol.js +1 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/AwsRestXmlProtocol.js +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/ProtocolLib.d.ts +4 -4
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/ProtocolLib.d.ts +7 -7
- package/node_modules/@aws-sdk/core/package.json +11 -11
- 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 +7 -7
- package/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-cjs/index.js +334 -450
- package/node_modules/@aws-sdk/middleware-bucket-endpoint/package.json +5 -5
- package/node_modules/@aws-sdk/middleware-expect-continue/dist-cjs/index.js +30 -60
- 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/dist-cjs/index.js +35 -63
- package/node_modules/@aws-sdk/middleware-host-header/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-location-constraint/dist-cjs/index.js +26 -57
- package/node_modules/@aws-sdk/middleware-location-constraint/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-logger/dist-cjs/index.js +44 -75
- package/node_modules/@aws-sdk/middleware-logger/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/index.js +19 -48
- package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-sdk-ec2/package.json +8 -8
- package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +11 -11
- package/node_modules/@aws-sdk/middleware-sdk-sqs/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-ssec/dist-cjs/index.js +65 -92
- 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/dist-cjs/index.js +59 -95
- package/node_modules/@aws-sdk/region-config-resolver/package.json +5 -5
- package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +6 -6
- package/node_modules/@aws-sdk/token-providers/package.json +7 -7
- package/node_modules/@aws-sdk/types/dist-cjs/index.js +18 -290
- package/node_modules/@aws-sdk/types/package.json +2 -2
- package/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +395 -469
- package/node_modules/@aws-sdk/util-endpoints/package.json +5 -5
- package/node_modules/@aws-sdk/util-format-url/dist-cjs/index.js +30 -58
- package/node_modules/@aws-sdk/util-format-url/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/dist-cjs/index.js +106 -160
- 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 +3 -15
- package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +16 -14
- package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +226 -190
- package/node_modules/@smithy/core/dist-es/index.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/cbor/CborCodec.js +4 -15
- package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +3 -2
- package/node_modules/@smithy/core/dist-es/submodules/protocols/SerdeContext.js +6 -0
- package/node_modules/@smithy/core/dist-es/submodules/protocols/index.js +1 -0
- package/node_modules/@smithy/core/dist-es/submodules/protocols/serde/FromStringShapeDeserializer.js +3 -5
- package/node_modules/@smithy/core/dist-es/submodules/protocols/serde/HttpInterceptingShapeDeserializer.js +3 -2
- package/node_modules/@smithy/core/dist-es/submodules/protocols/serde/ToStringShapeSerializer.js +3 -5
- package/node_modules/@smithy/core/dist-es/submodules/schema/TypeRegistry.js +18 -11
- package/node_modules/@smithy/core/dist-es/submodules/schema/middleware/schemaDeserializationMiddleware.js +5 -1
- package/node_modules/@smithy/core/dist-es/submodules/schema/middleware/schemaSerializationMiddleware.js +5 -1
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/NormalizedSchema.js +24 -6
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/Schema.js +0 -2
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/SimpleSchema.js +6 -0
- package/node_modules/@smithy/core/dist-types/index.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/cbor/CborCodec.d.ts +5 -10
- package/node_modules/@smithy/core/dist-types/submodules/protocols/HttpProtocol.d.ts +5 -2
- package/node_modules/@smithy/core/dist-types/submodules/protocols/SerdeContext.d.ts +8 -0
- package/node_modules/@smithy/core/dist-types/submodules/protocols/index.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/submodules/protocols/serde/FromStringShapeDeserializer.d.ts +3 -4
- package/node_modules/@smithy/core/dist-types/submodules/protocols/serde/HttpInterceptingShapeDeserializer.d.ts +5 -2
- package/node_modules/@smithy/core/dist-types/submodules/protocols/serde/HttpInterceptingShapeSerializer.d.ts +5 -2
- package/node_modules/@smithy/core/dist-types/submodules/protocols/serde/ToStringShapeSerializer.d.ts +3 -4
- package/node_modules/@smithy/core/dist-types/submodules/schema/TypeRegistry.d.ts +5 -6
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/NormalizedSchema.d.ts +22 -1
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/SimpleSchema.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/index.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/CborCodec.d.ts +5 -10
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpProtocol.d.ts +5 -2
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/SerdeContext.d.ts +8 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/index.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/FromStringShapeDeserializer.d.ts +3 -4
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/HttpInterceptingShapeDeserializer.d.ts +5 -2
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/HttpInterceptingShapeSerializer.d.ts +5 -2
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/ToStringShapeSerializer.d.ts +3 -4
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/TypeRegistry.d.ts +5 -6
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/NormalizedSchema.d.ts +22 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/SimpleSchema.d.ts +5 -0
- package/node_modules/@smithy/core/package.json +7 -7
- package/node_modules/@smithy/credential-provider-imds/package.json +5 -5
- package/node_modules/@smithy/eventstream-codec/package.json +2 -2
- package/node_modules/@smithy/eventstream-serde-browser/package.json +3 -3
- package/node_modules/@smithy/eventstream-serde-config-resolver/package.json +2 -2
- package/node_modules/@smithy/eventstream-serde-node/package.json +3 -3
- package/node_modules/@smithy/eventstream-serde-universal/package.json +6 -4
- package/node_modules/@smithy/fetch-http-handler/package.json +5 -5
- package/node_modules/@smithy/hash-blob-browser/package.json +2 -2
- package/node_modules/@smithy/hash-node/package.json +2 -2
- package/node_modules/@smithy/hash-stream-node/package.json +2 -2
- package/node_modules/@smithy/invalid-dependency/package.json +2 -2
- package/node_modules/@smithy/md5-js/package.json +3 -3
- package/node_modules/@smithy/middleware-content-length/package.json +3 -3
- package/node_modules/@smithy/middleware-endpoint/package.json +8 -8
- package/node_modules/@smithy/middleware-retry/package.json +8 -8
- package/node_modules/@smithy/middleware-serde/package.json +3 -3
- package/node_modules/@smithy/middleware-stack/package.json +2 -2
- package/node_modules/@smithy/node-config-provider/package.json +4 -4
- package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +30 -6
- package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +7 -3
- package/node_modules/@smithy/node-http-handler/dist-es/set-connection-timeout.js +1 -1
- package/node_modules/@smithy/node-http-handler/dist-es/set-request-timeout.js +21 -0
- package/node_modules/@smithy/node-http-handler/dist-es/set-socket-timeout.js +2 -3
- package/node_modules/@smithy/node-http-handler/dist-types/set-request-timeout.d.ts +6 -0
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-request-timeout.d.ts +6 -0
- package/node_modules/@smithy/node-http-handler/package.json +5 -5
- 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 +5 -4
- package/node_modules/@smithy/smithy-client/dist-es/command.js +5 -4
- package/node_modules/@smithy/smithy-client/dist-types/command.d.ts +3 -3
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/command.d.ts +3 -3
- package/node_modules/@smithy/smithy-client/package.json +7 -7
- package/node_modules/@smithy/types/dist-es/index.js +1 -0
- package/node_modules/@smithy/types/dist-es/schema/static-schemas.js +1 -0
- package/node_modules/@smithy/types/dist-types/http/httpHandlerInitialization.d.ts +17 -10
- package/node_modules/@smithy/types/dist-types/index.d.ts +1 -0
- package/node_modules/@smithy/types/dist-types/schema/schema.d.ts +2 -1
- package/node_modules/@smithy/types/dist-types/schema/static-schemas.d.ts +82 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/http/httpHandlerInitialization.d.ts +17 -10
- package/node_modules/@smithy/types/dist-types/ts3.4/index.d.ts +1 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/schema/schema.d.ts +2 -1
- package/node_modules/@smithy/types/dist-types/ts3.4/schema/static-schemas.d.ts +101 -0
- 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/package.json +13 -13
- /package/node_modules/@smithy/core/dist-es/{protocols → request-builder}/requestBuilder.js +0 -0
- /package/node_modules/@smithy/core/dist-types/{protocols → request-builder}/requestBuilder.d.ts +0 -0
- /package/node_modules/@smithy/core/dist-types/ts3.4/{protocols → request-builder}/requestBuilder.d.ts +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/util-endpoints",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.910.0",
|
|
4
4
|
"description": "Utilities to help with endpoint resolution",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -25,10 +25,10 @@
|
|
|
25
25
|
},
|
|
26
26
|
"license": "Apache-2.0",
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@aws-sdk/types": "3.
|
|
29
|
-
"@smithy/types": "^4.
|
|
30
|
-
"@smithy/url-parser": "^4.2.
|
|
31
|
-
"@smithy/util-endpoints": "^3.2.
|
|
28
|
+
"@aws-sdk/types": "3.910.0",
|
|
29
|
+
"@smithy/types": "^4.7.1",
|
|
30
|
+
"@smithy/url-parser": "^4.2.2",
|
|
31
|
+
"@smithy/util-endpoints": "^3.2.2",
|
|
32
32
|
"tslib": "^2.6.2"
|
|
33
33
|
},
|
|
34
34
|
"engines": {
|
|
@@ -1,62 +1,34 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
var
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
7
|
-
var __export = (target, all) => {
|
|
8
|
-
for (var name in all)
|
|
9
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
-
};
|
|
11
|
-
var __copyProps = (to, from, except, desc) => {
|
|
12
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
-
for (let key of __getOwnPropNames(from))
|
|
14
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
-
}
|
|
17
|
-
return to;
|
|
18
|
-
};
|
|
19
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var querystringBuilder = require('@smithy/querystring-builder');
|
|
20
4
|
|
|
21
|
-
// src/index.ts
|
|
22
|
-
var index_exports = {};
|
|
23
|
-
__export(index_exports, {
|
|
24
|
-
formatUrl: () => formatUrl
|
|
25
|
-
});
|
|
26
|
-
module.exports = __toCommonJS(index_exports);
|
|
27
|
-
var import_querystring_builder = require("@smithy/querystring-builder");
|
|
28
5
|
function formatUrl(request) {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
6
|
+
const { port, query } = request;
|
|
7
|
+
let { protocol, path, hostname } = request;
|
|
8
|
+
if (protocol && protocol.slice(-1) !== ":") {
|
|
9
|
+
protocol += ":";
|
|
10
|
+
}
|
|
11
|
+
if (port) {
|
|
12
|
+
hostname += `:${port}`;
|
|
13
|
+
}
|
|
14
|
+
if (path && path.charAt(0) !== "/") {
|
|
15
|
+
path = `/${path}`;
|
|
16
|
+
}
|
|
17
|
+
let queryString = query ? querystringBuilder.buildQueryString(query) : "";
|
|
18
|
+
if (queryString && queryString[0] !== "?") {
|
|
19
|
+
queryString = `?${queryString}`;
|
|
20
|
+
}
|
|
21
|
+
let auth = "";
|
|
22
|
+
if (request.username != null || request.password != null) {
|
|
23
|
+
const username = request.username ?? "";
|
|
24
|
+
const password = request.password ?? "";
|
|
25
|
+
auth = `${username}:${password}@`;
|
|
26
|
+
}
|
|
27
|
+
let fragment = "";
|
|
28
|
+
if (request.fragment) {
|
|
29
|
+
fragment = `#${request.fragment}`;
|
|
30
|
+
}
|
|
31
|
+
return `${protocol}//${auth}${hostname}${path}${queryString}${fragment}`;
|
|
55
32
|
}
|
|
56
|
-
__name(formatUrl, "formatUrl");
|
|
57
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
58
|
-
|
|
59
|
-
0 && (module.exports = {
|
|
60
|
-
formatUrl
|
|
61
|
-
});
|
|
62
33
|
|
|
34
|
+
exports.formatUrl = formatUrl;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/util-format-url",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.910.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "node ../../scripts/compilation/inline util-format-url",
|
|
@@ -22,9 +22,9 @@
|
|
|
22
22
|
},
|
|
23
23
|
"license": "Apache-2.0",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@aws-sdk/types": "3.
|
|
26
|
-
"@smithy/querystring-builder": "^4.2.
|
|
27
|
-
"@smithy/types": "^4.
|
|
25
|
+
"@aws-sdk/types": "3.910.0",
|
|
26
|
+
"@smithy/querystring-builder": "^4.2.2",
|
|
27
|
+
"@smithy/types": "^4.7.1",
|
|
28
28
|
"tslib": "^2.6.2"
|
|
29
29
|
},
|
|
30
30
|
"engines": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/util-user-agent-browser",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.910.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "node ../../scripts/compilation/inline util-user-agent-browser",
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
"license": "Apache-2.0",
|
|
25
25
|
"react-native": "dist-es/index.native.js",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@aws-sdk/types": "3.
|
|
28
|
-
"@smithy/types": "^4.
|
|
27
|
+
"@aws-sdk/types": "3.910.0",
|
|
28
|
+
"@smithy/types": "^4.7.1",
|
|
29
29
|
"bowser": "^2.11.0",
|
|
30
30
|
"tslib": "^2.6.2"
|
|
31
31
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/util-user-agent-node",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.910.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "node ../../scripts/compilation/inline util-user-agent-node",
|
|
@@ -22,10 +22,10 @@
|
|
|
22
22
|
},
|
|
23
23
|
"license": "Apache-2.0",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
26
|
-
"@aws-sdk/types": "3.
|
|
27
|
-
"@smithy/node-config-provider": "^4.3.
|
|
28
|
-
"@smithy/types": "^4.
|
|
25
|
+
"@aws-sdk/middleware-user-agent": "3.910.0",
|
|
26
|
+
"@aws-sdk/types": "3.910.0",
|
|
27
|
+
"@smithy/node-config-provider": "^4.3.2",
|
|
28
|
+
"@smithy/types": "^4.7.1",
|
|
29
29
|
"tslib": "^2.6.2"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
@@ -1,178 +1,124 @@
|
|
|
1
|
-
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
7
|
-
var __export = (target, all) => {
|
|
8
|
-
for (var name in all)
|
|
9
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
-
};
|
|
11
|
-
var __copyProps = (to, from, except, desc) => {
|
|
12
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
-
for (let key of __getOwnPropNames(from))
|
|
14
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
-
}
|
|
17
|
-
return to;
|
|
18
|
-
};
|
|
19
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
1
|
+
'use strict';
|
|
20
2
|
|
|
21
|
-
|
|
22
|
-
var index_exports = {};
|
|
23
|
-
__export(index_exports, {
|
|
24
|
-
XmlNode: () => XmlNode,
|
|
25
|
-
XmlText: () => XmlText,
|
|
26
|
-
parseXML: () => import_xml_parser.parseXML
|
|
27
|
-
});
|
|
28
|
-
module.exports = __toCommonJS(index_exports);
|
|
3
|
+
var xmlParser = require('./xml-parser');
|
|
29
4
|
|
|
30
|
-
// src/escape-attribute.ts
|
|
31
5
|
function escapeAttribute(value) {
|
|
32
|
-
|
|
6
|
+
return value.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """);
|
|
33
7
|
}
|
|
34
|
-
__name(escapeAttribute, "escapeAttribute");
|
|
35
8
|
|
|
36
|
-
// src/escape-element.ts
|
|
37
9
|
function escapeElement(value) {
|
|
38
|
-
|
|
10
|
+
return value
|
|
11
|
+
.replace(/&/g, "&")
|
|
12
|
+
.replace(/"/g, """)
|
|
13
|
+
.replace(/'/g, "'")
|
|
14
|
+
.replace(/</g, "<")
|
|
15
|
+
.replace(/>/g, ">")
|
|
16
|
+
.replace(/\r/g, "
")
|
|
17
|
+
.replace(/\n/g, "
")
|
|
18
|
+
.replace(/\u0085/g, "…")
|
|
19
|
+
.replace(/\u2028/, "
");
|
|
39
20
|
}
|
|
40
|
-
__name(escapeElement, "escapeElement");
|
|
41
21
|
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
return escapeElement("" + this.value);
|
|
52
|
-
}
|
|
53
|
-
};
|
|
22
|
+
class XmlText {
|
|
23
|
+
value;
|
|
24
|
+
constructor(value) {
|
|
25
|
+
this.value = value;
|
|
26
|
+
}
|
|
27
|
+
toString() {
|
|
28
|
+
return escapeElement("" + this.value);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
54
31
|
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
node.addChildNode(new XmlText(childText));
|
|
32
|
+
class XmlNode {
|
|
33
|
+
name;
|
|
34
|
+
children;
|
|
35
|
+
attributes = {};
|
|
36
|
+
static of(name, childText, withName) {
|
|
37
|
+
const node = new XmlNode(name);
|
|
38
|
+
if (childText !== undefined) {
|
|
39
|
+
node.addChildNode(new XmlText(childText));
|
|
40
|
+
}
|
|
41
|
+
if (withName !== undefined) {
|
|
42
|
+
node.withName(withName);
|
|
43
|
+
}
|
|
44
|
+
return node;
|
|
69
45
|
}
|
|
70
|
-
|
|
71
|
-
|
|
46
|
+
constructor(name, children = []) {
|
|
47
|
+
this.name = name;
|
|
48
|
+
this.children = children;
|
|
72
49
|
}
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
this.name = name;
|
|
77
|
-
return this;
|
|
78
|
-
}
|
|
79
|
-
addAttribute(name, value) {
|
|
80
|
-
this.attributes[name] = value;
|
|
81
|
-
return this;
|
|
82
|
-
}
|
|
83
|
-
addChildNode(child) {
|
|
84
|
-
this.children.push(child);
|
|
85
|
-
return this;
|
|
86
|
-
}
|
|
87
|
-
removeAttribute(name) {
|
|
88
|
-
delete this.attributes[name];
|
|
89
|
-
return this;
|
|
90
|
-
}
|
|
91
|
-
/**
|
|
92
|
-
* @internal
|
|
93
|
-
* Alias of {@link XmlNode#withName(string)} for codegen brevity.
|
|
94
|
-
*/
|
|
95
|
-
n(name) {
|
|
96
|
-
this.name = name;
|
|
97
|
-
return this;
|
|
98
|
-
}
|
|
99
|
-
/**
|
|
100
|
-
* @internal
|
|
101
|
-
* Alias of {@link XmlNode#addChildNode(string)} for codegen brevity.
|
|
102
|
-
*/
|
|
103
|
-
c(child) {
|
|
104
|
-
this.children.push(child);
|
|
105
|
-
return this;
|
|
106
|
-
}
|
|
107
|
-
/**
|
|
108
|
-
* @internal
|
|
109
|
-
* Checked version of {@link XmlNode#addAttribute(string)} for codegen brevity.
|
|
110
|
-
*/
|
|
111
|
-
a(name, value) {
|
|
112
|
-
if (value != null) {
|
|
113
|
-
this.attributes[name] = value;
|
|
50
|
+
withName(name) {
|
|
51
|
+
this.name = name;
|
|
52
|
+
return this;
|
|
114
53
|
}
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
* Create a child node.
|
|
119
|
-
* Used in serialization of string fields.
|
|
120
|
-
* @internal
|
|
121
|
-
*/
|
|
122
|
-
cc(input, field, withName = field) {
|
|
123
|
-
if (input[field] != null) {
|
|
124
|
-
const node = _XmlNode.of(field, input[field]).withName(withName);
|
|
125
|
-
this.c(node);
|
|
54
|
+
addAttribute(name, value) {
|
|
55
|
+
this.attributes[name] = value;
|
|
56
|
+
return this;
|
|
126
57
|
}
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
* @internal
|
|
131
|
-
*/
|
|
132
|
-
l(input, listName, memberName, valueProvider) {
|
|
133
|
-
if (input[listName] != null) {
|
|
134
|
-
const nodes = valueProvider();
|
|
135
|
-
nodes.map((node) => {
|
|
136
|
-
node.withName(memberName);
|
|
137
|
-
this.c(node);
|
|
138
|
-
});
|
|
58
|
+
addChildNode(child) {
|
|
59
|
+
this.children.push(child);
|
|
60
|
+
return this;
|
|
139
61
|
}
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
* @internal
|
|
144
|
-
*/
|
|
145
|
-
lc(input, listName, memberName, valueProvider) {
|
|
146
|
-
if (input[listName] != null) {
|
|
147
|
-
const nodes = valueProvider();
|
|
148
|
-
const containerNode = new _XmlNode(memberName);
|
|
149
|
-
nodes.map((node) => {
|
|
150
|
-
containerNode.c(node);
|
|
151
|
-
});
|
|
152
|
-
this.c(containerNode);
|
|
62
|
+
removeAttribute(name) {
|
|
63
|
+
delete this.attributes[name];
|
|
64
|
+
return this;
|
|
153
65
|
}
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
let xmlText = `<${this.name}`;
|
|
158
|
-
const attributes = this.attributes;
|
|
159
|
-
for (const attributeName of Object.keys(attributes)) {
|
|
160
|
-
const attribute = attributes[attributeName];
|
|
161
|
-
if (attribute != null) {
|
|
162
|
-
xmlText += ` ${attributeName}="${escapeAttribute("" + attribute)}"`;
|
|
163
|
-
}
|
|
66
|
+
n(name) {
|
|
67
|
+
this.name = name;
|
|
68
|
+
return this;
|
|
164
69
|
}
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
70
|
+
c(child) {
|
|
71
|
+
this.children.push(child);
|
|
72
|
+
return this;
|
|
73
|
+
}
|
|
74
|
+
a(name, value) {
|
|
75
|
+
if (value != null) {
|
|
76
|
+
this.attributes[name] = value;
|
|
77
|
+
}
|
|
78
|
+
return this;
|
|
79
|
+
}
|
|
80
|
+
cc(input, field, withName = field) {
|
|
81
|
+
if (input[field] != null) {
|
|
82
|
+
const node = XmlNode.of(field, input[field]).withName(withName);
|
|
83
|
+
this.c(node);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
l(input, listName, memberName, valueProvider) {
|
|
87
|
+
if (input[listName] != null) {
|
|
88
|
+
const nodes = valueProvider();
|
|
89
|
+
nodes.map((node) => {
|
|
90
|
+
node.withName(memberName);
|
|
91
|
+
this.c(node);
|
|
92
|
+
});
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
lc(input, listName, memberName, valueProvider) {
|
|
96
|
+
if (input[listName] != null) {
|
|
97
|
+
const nodes = valueProvider();
|
|
98
|
+
const containerNode = new XmlNode(memberName);
|
|
99
|
+
nodes.map((node) => {
|
|
100
|
+
containerNode.c(node);
|
|
101
|
+
});
|
|
102
|
+
this.c(containerNode);
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
toString() {
|
|
106
|
+
const hasChildren = Boolean(this.children.length);
|
|
107
|
+
let xmlText = `<${this.name}`;
|
|
108
|
+
const attributes = this.attributes;
|
|
109
|
+
for (const attributeName of Object.keys(attributes)) {
|
|
110
|
+
const attribute = attributes[attributeName];
|
|
111
|
+
if (attribute != null) {
|
|
112
|
+
xmlText += ` ${attributeName}="${escapeAttribute("" + attribute)}"`;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
return (xmlText += !hasChildren ? "/>" : `>${this.children.map((c) => c.toString()).join("")}</${this.name}>`);
|
|
116
|
+
}
|
|
117
|
+
}
|
|
172
118
|
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
XmlText
|
|
119
|
+
Object.defineProperty(exports, "parseXML", {
|
|
120
|
+
enumerable: true,
|
|
121
|
+
get: function () { return xmlParser.parseXML; }
|
|
177
122
|
});
|
|
178
|
-
|
|
123
|
+
exports.XmlNode = XmlNode;
|
|
124
|
+
exports.XmlText = XmlText;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/xml-builder",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.910.0",
|
|
4
4
|
"description": "XML builder for the AWS SDK",
|
|
5
5
|
"dependencies": {
|
|
6
|
-
"@smithy/types": "^4.
|
|
6
|
+
"@smithy/types": "^4.7.1",
|
|
7
7
|
"fast-xml-parser": "5.2.5",
|
|
8
8
|
"tslib": "^2.6.2"
|
|
9
9
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/abort-controller",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.2",
|
|
4
4
|
"description": "A simple abort controller library",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"license": "Apache-2.0",
|
|
27
27
|
"sideEffects": false,
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@smithy/types": "^4.
|
|
29
|
+
"@smithy/types": "^4.7.1",
|
|
30
30
|
"tslib": "^2.6.2"
|
|
31
31
|
},
|
|
32
32
|
"engines": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/config-resolver",
|
|
3
|
-
"version": "4.3.
|
|
3
|
+
"version": "4.3.2",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
6
6
|
"build:cjs": "node ../../scripts/inline config-resolver",
|
|
@@ -25,10 +25,10 @@
|
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"sideEffects": false,
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@smithy/node-config-provider": "^4.3.
|
|
29
|
-
"@smithy/types": "^4.
|
|
28
|
+
"@smithy/node-config-provider": "^4.3.2",
|
|
29
|
+
"@smithy/types": "^4.7.1",
|
|
30
30
|
"@smithy/util-config-provider": "^4.2.0",
|
|
31
|
-
"@smithy/util-middleware": "^4.2.
|
|
31
|
+
"@smithy/util-middleware": "^4.2.2",
|
|
32
32
|
"tslib": "^2.6.2"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
@@ -780,8 +780,7 @@ const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, bod
|
|
|
780
780
|
return new protocolHttp.HttpRequest(contents);
|
|
781
781
|
};
|
|
782
782
|
|
|
783
|
-
class CborCodec {
|
|
784
|
-
serdeContext;
|
|
783
|
+
class CborCodec extends protocols.SerdeContext {
|
|
785
784
|
createSerializer() {
|
|
786
785
|
const serializer = new CborShapeSerializer();
|
|
787
786
|
serializer.setSerdeContext(this.serdeContext);
|
|
@@ -792,16 +791,9 @@ class CborCodec {
|
|
|
792
791
|
deserializer.setSerdeContext(this.serdeContext);
|
|
793
792
|
return deserializer;
|
|
794
793
|
}
|
|
795
|
-
setSerdeContext(serdeContext) {
|
|
796
|
-
this.serdeContext = serdeContext;
|
|
797
|
-
}
|
|
798
794
|
}
|
|
799
|
-
class CborShapeSerializer {
|
|
800
|
-
serdeContext;
|
|
795
|
+
class CborShapeSerializer extends protocols.SerdeContext {
|
|
801
796
|
value;
|
|
802
|
-
setSerdeContext(serdeContext) {
|
|
803
|
-
this.serdeContext = serdeContext;
|
|
804
|
-
}
|
|
805
797
|
write(schema, value) {
|
|
806
798
|
this.value = this.serialize(schema, value);
|
|
807
799
|
}
|
|
@@ -875,11 +867,7 @@ class CborShapeSerializer {
|
|
|
875
867
|
return buffer;
|
|
876
868
|
}
|
|
877
869
|
}
|
|
878
|
-
class CborShapeDeserializer {
|
|
879
|
-
serdeContext;
|
|
880
|
-
setSerdeContext(serdeContext) {
|
|
881
|
-
this.serdeContext = serdeContext;
|
|
882
|
-
}
|
|
870
|
+
class CborShapeDeserializer extends protocols.SerdeContext {
|
|
883
871
|
read(schema, bytes) {
|
|
884
872
|
const data = cbor.deserialize(bytes);
|
|
885
873
|
return this.readValue(schema, data);
|
|
@@ -24,10 +24,17 @@ function extendedEncodeURIComponent(str) {
|
|
|
24
24
|
});
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
class
|
|
28
|
-
options;
|
|
27
|
+
class SerdeContext {
|
|
29
28
|
serdeContext;
|
|
29
|
+
setSerdeContext(serdeContext) {
|
|
30
|
+
this.serdeContext = serdeContext;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
class HttpProtocol extends SerdeContext {
|
|
35
|
+
options;
|
|
30
36
|
constructor(options) {
|
|
37
|
+
super();
|
|
31
38
|
this.options = options;
|
|
32
39
|
}
|
|
33
40
|
getRequestType() {
|
|
@@ -591,15 +598,12 @@ function determineTimestampFormat(ns, settings) {
|
|
|
591
598
|
return bindingFormat ?? settings.timestampFormat.default;
|
|
592
599
|
}
|
|
593
600
|
|
|
594
|
-
class FromStringShapeDeserializer {
|
|
601
|
+
class FromStringShapeDeserializer extends SerdeContext {
|
|
595
602
|
settings;
|
|
596
|
-
serdeContext;
|
|
597
603
|
constructor(settings) {
|
|
604
|
+
super();
|
|
598
605
|
this.settings = settings;
|
|
599
606
|
}
|
|
600
|
-
setSerdeContext(serdeContext) {
|
|
601
|
-
this.serdeContext = serdeContext;
|
|
602
|
-
}
|
|
603
607
|
read(_schema, data) {
|
|
604
608
|
const ns = schema.NormalizedSchema.of(_schema);
|
|
605
609
|
if (ns.isListSchema()) {
|
|
@@ -655,11 +659,11 @@ class FromStringShapeDeserializer {
|
|
|
655
659
|
}
|
|
656
660
|
}
|
|
657
661
|
|
|
658
|
-
class HttpInterceptingShapeDeserializer {
|
|
662
|
+
class HttpInterceptingShapeDeserializer extends SerdeContext {
|
|
659
663
|
codecDeserializer;
|
|
660
664
|
stringDeserializer;
|
|
661
|
-
serdeContext;
|
|
662
665
|
constructor(codecDeserializer, codecSettings) {
|
|
666
|
+
super();
|
|
663
667
|
this.codecDeserializer = codecDeserializer;
|
|
664
668
|
this.stringDeserializer = new FromStringShapeDeserializer(codecSettings);
|
|
665
669
|
}
|
|
@@ -694,16 +698,13 @@ class HttpInterceptingShapeDeserializer {
|
|
|
694
698
|
}
|
|
695
699
|
}
|
|
696
700
|
|
|
697
|
-
class ToStringShapeSerializer {
|
|
701
|
+
class ToStringShapeSerializer extends SerdeContext {
|
|
698
702
|
settings;
|
|
699
703
|
stringBuffer = "";
|
|
700
|
-
serdeContext = undefined;
|
|
701
704
|
constructor(settings) {
|
|
705
|
+
super();
|
|
702
706
|
this.settings = settings;
|
|
703
707
|
}
|
|
704
|
-
setSerdeContext(serdeContext) {
|
|
705
|
-
this.serdeContext = serdeContext;
|
|
706
|
-
}
|
|
707
708
|
write(schema$1, value) {
|
|
708
709
|
const ns = schema.NormalizedSchema.of(schema$1);
|
|
709
710
|
switch (typeof value) {
|
|
@@ -818,6 +819,7 @@ exports.HttpInterceptingShapeSerializer = HttpInterceptingShapeSerializer;
|
|
|
818
819
|
exports.HttpProtocol = HttpProtocol;
|
|
819
820
|
exports.RequestBuilder = RequestBuilder;
|
|
820
821
|
exports.RpcProtocol = RpcProtocol;
|
|
822
|
+
exports.SerdeContext = SerdeContext;
|
|
821
823
|
exports.ToStringShapeSerializer = ToStringShapeSerializer;
|
|
822
824
|
exports.collectBody = collectBody;
|
|
823
825
|
exports.determineTimestampFormat = determineTimestampFormat;
|