@jjrawlins/cdk-ami-builder 0.0.191 → 0.0.192
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/cdkamibuilder/jsii/jsii.go +2 -2
- package/cdkamibuilder/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 +14 -0
- package/node_modules/@aws-sdk/client-ec2/dist-cjs/index.js +41 -0
- package/node_modules/@aws-sdk/client-ec2/dist-cjs/schemas/schemas_0.js +156 -78
- package/node_modules/@aws-sdk/client-ec2/dist-es/EC2.js +6 -0
- package/node_modules/@aws-sdk/client-ec2/dist-es/commands/GetCapacityManagerMonitoredTagKeysCommand.js +16 -0
- package/node_modules/@aws-sdk/client-ec2/dist-es/commands/UpdateCapacityManagerMonitoredTagKeysCommand.js +16 -0
- package/node_modules/@aws-sdk/client-ec2/dist-es/commands/index.js +2 -0
- package/node_modules/@aws-sdk/client-ec2/dist-es/models/enums.js +8 -0
- package/node_modules/@aws-sdk/client-ec2/dist-es/pagination/GetCapacityManagerMonitoredTagKeysPaginator.js +4 -0
- package/node_modules/@aws-sdk/client-ec2/dist-es/pagination/index.js +1 -0
- package/node_modules/@aws-sdk/client-ec2/dist-es/schemas/schemas_0.js +96 -18
- package/node_modules/@aws-sdk/client-ec2/dist-types/EC2.d.ts +23 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/EC2Client.d.ts +4 -2
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetCapacityManagerMetricDataCommand.d.ts +9 -2
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetCapacityManagerMetricDimensionsCommand.d.ts +9 -2
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetCapacityManagerMonitoredTagKeysCommand.d.ts +87 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetConsoleScreenshotCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetDeclarativePoliciesReportSummaryCommand.d.ts +1 -2
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifyTrafficMirrorFilterNetworkServicesCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifyTrafficMirrorFilterRuleCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/UpdateCapacityManagerMonitoredTagKeysCommand.d.ts +91 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/index.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/models/enums.d.ts +16 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_5.d.ts +126 -79
- package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_6.d.ts +81 -122
- package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_7.d.ts +168 -3
- package/node_modules/@aws-sdk/client-ec2/dist-types/pagination/GetCapacityManagerMonitoredTagKeysPaginator.d.ts +7 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/pagination/index.d.ts +1 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/schemas/schemas_0.d.ts +8 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/EC2.d.ts +55 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/EC2Client.d.ts +12 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetCapacityManagerMonitoredTagKeysCommand.d.ts +51 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetConsoleScreenshotCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetDeclarativePoliciesReportSummaryCommand.d.ts +4 -2
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyTrafficMirrorFilterNetworkServicesCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyTrafficMirrorFilterRuleCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/UpdateCapacityManagerMonitoredTagKeysCommand.d.ts +51 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/enums.d.ts +10 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_5.d.ts +23 -18
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_6.d.ts +19 -34
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_7.d.ts +43 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/pagination/GetCapacityManagerMonitoredTagKeysPaginator.d.ts +11 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/schemas/schemas_0.d.ts +8 -0
- package/node_modules/@aws-sdk/client-ec2/package.json +36 -36
- package/node_modules/@aws-sdk/client-ecs/dist-cjs/schemas/schemas_0.js +45 -32
- package/node_modules/@aws-sdk/client-ecs/dist-es/schemas/schemas_0.js +41 -28
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/CreateCapacityProviderCommand.d.ts +3 -0
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/CreateClusterCommand.d.ts +3 -0
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/CreateTaskSetCommand.d.ts +3 -0
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/DeleteAccountSettingCommand.d.ts +3 -0
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/DeleteAttributesCommand.d.ts +9 -0
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/DeleteCapacityProviderCommand.d.ts +6 -0
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/DeleteClusterCommand.d.ts +3 -0
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/DeleteServiceCommand.d.ts +3 -0
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/DeleteTaskDefinitionsCommand.d.ts +6 -0
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/DeleteTaskSetCommand.d.ts +3 -0
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/DeregisterContainerInstanceCommand.d.ts +3 -0
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/DeregisterTaskDefinitionCommand.d.ts +9 -0
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/DescribeCapacityProvidersCommand.d.ts +3 -0
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/DescribeClustersCommand.d.ts +3 -0
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/DescribeContainerInstancesCommand.d.ts +3 -0
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/DescribeServicesCommand.d.ts +3 -0
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/DescribeTaskDefinitionCommand.d.ts +9 -0
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/DescribeTasksCommand.d.ts +3 -0
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/DiscoverPollEndpointCommand.d.ts +6 -0
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/ListAccountSettingsCommand.d.ts +3 -0
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/ListAttributesCommand.d.ts +9 -0
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/ListClustersCommand.d.ts +3 -0
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/ListContainerInstancesCommand.d.ts +3 -0
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/ListServiceDeploymentsCommand.d.ts +3 -0
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/ListServicesByNamespaceCommand.d.ts +3 -0
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/ListServicesCommand.d.ts +3 -0
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -0
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/ListTaskDefinitionFamiliesCommand.d.ts +3 -0
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/ListTaskDefinitionsCommand.d.ts +4 -2
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/ListTasksCommand.d.ts +3 -0
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/PutAccountSettingCommand.d.ts +3 -0
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/PutAccountSettingDefaultCommand.d.ts +3 -0
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/PutAttributesCommand.d.ts +9 -0
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/PutClusterCapacityProvidersCommand.d.ts +3 -0
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/RegisterContainerInstanceCommand.d.ts +6 -0
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/RegisterTaskDefinitionCommand.d.ts +18 -0
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/StartTaskCommand.d.ts +6 -0
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/StopTaskCommand.d.ts +3 -0
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/SubmitAttachmentStateChangesCommand.d.ts +3 -0
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/SubmitContainerStateChangeCommand.d.ts +6 -0
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/SubmitTaskStateChangeCommand.d.ts +3 -0
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/TagResourceCommand.d.ts +6 -0
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/UntagResourceCommand.d.ts +3 -0
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/UpdateCapacityProviderCommand.d.ts +3 -0
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/UpdateClusterCommand.d.ts +3 -0
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/UpdateClusterSettingsCommand.d.ts +6 -0
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/UpdateContainerAgentCommand.d.ts +3 -0
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/UpdateContainerInstancesStateCommand.d.ts +3 -0
- package/node_modules/@aws-sdk/client-ecs/dist-types/commands/UpdateTaskSetCommand.d.ts +3 -0
- package/node_modules/@aws-sdk/client-ecs/dist-types/models/models_0.d.ts +38 -34
- package/node_modules/@aws-sdk/client-ecs/dist-types/models/models_1.d.ts +40 -1
- package/node_modules/@aws-sdk/client-ecs/dist-types/schemas/schemas_0.d.ts +1 -0
- package/node_modules/@aws-sdk/client-ecs/dist-types/ts3.4/commands/ListTaskDefinitionsCommand.d.ts +4 -2
- package/node_modules/@aws-sdk/client-ecs/dist-types/ts3.4/models/models_0.d.ts +7 -7
- package/node_modules/@aws-sdk/client-ecs/dist-types/ts3.4/models/models_1.d.ts +9 -0
- package/node_modules/@aws-sdk/client-ecs/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -0
- package/node_modules/@aws-sdk/client-ecs/package.json +34 -34
- package/node_modules/@aws-sdk/client-kms/package.json +33 -33
- package/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +5 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/models/enums.js +5 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateBucketCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLocationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/models/enums.d.ts +5 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/enums.d.ts +5 -0
- package/node_modules/@aws-sdk/client-s3/package.json +50 -50
- package/node_modules/@aws-sdk/client-secrets-manager/package.json +34 -34
- package/node_modules/@aws-sdk/client-sfn/dist-cjs/index.js +5 -1
- package/node_modules/@aws-sdk/client-sfn/dist-es/commands/GetActivityTaskCommand.js +5 -1
- 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-cjs/index.js +2 -0
- package/node_modules/@aws-sdk/client-sqs/dist-es/commands/ReceiveMessageCommand.js +2 -0
- package/node_modules/@aws-sdk/client-sqs/package.json +36 -36
- package/node_modules/@aws-sdk/client-ssm/package.json +34 -34
- package/node_modules/@aws-sdk/core/dist-cjs/index.js +17 -0
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js +17 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/client/index.js +1 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/client/longPollMiddleware.js +15 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/index.d.ts +1 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/longPollMiddleware.d.ts +14 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/index.d.ts +1 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/longPollMiddleware.d.ts +15 -0
- package/node_modules/@aws-sdk/core/package.json +11 -11
- package/node_modules/@aws-sdk/crc64-nvme/package.json +2 -2
- 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 +14 -14
- package/node_modules/@aws-sdk/credential-provider-login/package.json +8 -8
- 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/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 +10 -10
- 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-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/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +8 -8
- 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/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 +5 -5
- 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/package.json +2 -2
- package/node_modules/@smithy/config-resolver/README.md +10 -3
- package/node_modules/@smithy/config-resolver/package.json +10 -11
- package/node_modules/@smithy/core/dist-cjs/getSmithyContext.js +6 -0
- package/node_modules/@smithy/core/dist-cjs/index.js +1 -1
- package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/getHttpAuthSchemeEndpointRuleSetPlugin.js +21 -0
- package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/getHttpAuthSchemePlugin.js +21 -0
- package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/httpAuthSchemeMiddleware.js +46 -0
- package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/index.js +6 -0
- package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/resolveAuthOptions.js +24 -0
- package/node_modules/@smithy/core/dist-cjs/middleware-http-signing/getHttpSigningMiddleware.js +19 -0
- package/node_modules/@smithy/core/dist-cjs/middleware-http-signing/httpSigningMiddleware.js +27 -0
- package/node_modules/@smithy/core/dist-cjs/middleware-http-signing/index.js +5 -0
- package/node_modules/@smithy/core/dist-cjs/normalizeProvider.js +10 -0
- package/node_modules/@smithy/core/dist-cjs/pagination/createPaginator.js +44 -0
- package/node_modules/@smithy/core/dist-cjs/request-builder/requestBuilder.js +5 -0
- package/node_modules/@smithy/core/dist-cjs/setFeature.js +14 -0
- package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/DefaultIdentityProviderConfig.js +17 -0
- package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/httpAuthSchemes/httpApiKeyAuth.js +38 -0
- package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/httpAuthSchemes/httpBearerAuth.js +15 -0
- package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/httpAuthSchemes/index.js +6 -0
- package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/httpAuthSchemes/noAuth.js +9 -0
- package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/index.js +6 -0
- package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/memoizeIdentityProvider.js +61 -0
- package/node_modules/@smithy/core/package.json +15 -16
- package/node_modules/@smithy/credential-provider-imds/README.md +12 -3
- package/node_modules/@smithy/credential-provider-imds/package.json +9 -10
- package/node_modules/@smithy/eventstream-codec/README.md +13 -0
- package/node_modules/@smithy/eventstream-codec/dist-cjs/index.js +13 -0
- package/node_modules/@smithy/eventstream-codec/package.json +6 -7
- package/node_modules/@smithy/eventstream-serde-browser/README.md +10 -3
- package/node_modules/@smithy/eventstream-serde-browser/package.json +7 -8
- package/node_modules/@smithy/eventstream-serde-config-resolver/README.md +10 -3
- package/node_modules/@smithy/eventstream-serde-config-resolver/package.json +7 -8
- package/node_modules/@smithy/eventstream-serde-node/README.md +10 -3
- package/node_modules/@smithy/eventstream-serde-node/package.json +7 -8
- package/node_modules/@smithy/eventstream-serde-universal/README.md +10 -3
- package/node_modules/@smithy/eventstream-serde-universal/package.json +9 -10
- package/node_modules/@smithy/fetch-http-handler/package.json +12 -13
- package/node_modules/@smithy/hash-blob-browser/README.md +10 -3
- package/node_modules/@smithy/hash-blob-browser/package.json +6 -7
- package/node_modules/@smithy/hash-node/README.md +10 -3
- package/node_modules/@smithy/hash-node/package.json +6 -7
- package/node_modules/@smithy/hash-stream-node/README.md +9 -4
- package/node_modules/@smithy/hash-stream-node/package.json +6 -7
- package/node_modules/@smithy/invalid-dependency/README.md +10 -3
- package/node_modules/@smithy/invalid-dependency/package.json +6 -7
- package/node_modules/@smithy/md5-js/README.md +10 -3
- package/node_modules/@smithy/md5-js/package.json +6 -7
- package/node_modules/@smithy/middleware-content-length/README.md +13 -0
- package/node_modules/@smithy/middleware-content-length/package.json +7 -8
- package/node_modules/@smithy/middleware-endpoint/dist-cjs/index.js +2 -2
- package/node_modules/@smithy/middleware-endpoint/package.json +13 -14
- package/node_modules/@smithy/middleware-retry/dist-cjs/index.js +70 -29
- package/node_modules/@smithy/middleware-retry/dist-es/index.js +5 -4
- package/node_modules/@smithy/middleware-retry/dist-es/longPollMiddleware.js +15 -0
- package/node_modules/@smithy/middleware-retry/dist-es/parseRetryAfterHeader.js +49 -0
- package/node_modules/@smithy/middleware-retry/dist-es/{StandardRetryStrategy.js → retry-pre-sra-deprecated/StandardRetryStrategy.js} +1 -1
- package/node_modules/@smithy/middleware-retry/dist-es/retryMiddleware.js +13 -20
- package/node_modules/@smithy/middleware-retry/dist-types/configurations.d.ts +3 -1
- package/node_modules/@smithy/middleware-retry/dist-types/index.d.ts +5 -4
- package/node_modules/@smithy/middleware-retry/dist-types/longPollMiddleware.d.ts +15 -0
- package/node_modules/@smithy/middleware-retry/dist-types/omitRetryHeadersMiddleware.d.ts +2 -0
- package/node_modules/@smithy/middleware-retry/dist-types/parseRetryAfterHeader.d.ts +10 -0
- package/node_modules/@smithy/middleware-retry/dist-types/{AdaptiveRetryStrategy.d.ts → retry-pre-sra-deprecated/AdaptiveRetryStrategy.d.ts} +2 -1
- package/node_modules/@smithy/middleware-retry/dist-types/{defaultRetryQuota.d.ts → retry-pre-sra-deprecated/defaultRetryQuota.d.ts} +2 -0
- package/node_modules/@smithy/middleware-retry/dist-types/{delayDecider.d.ts → retry-pre-sra-deprecated/delayDecider.d.ts} +2 -1
- package/node_modules/@smithy/middleware-retry/dist-types/retryMiddleware.d.ts +0 -4
- package/node_modules/@smithy/middleware-retry/package.json +16 -16
- package/node_modules/@smithy/middleware-serde/package.json +10 -11
- package/node_modules/@smithy/middleware-stack/README.md +13 -0
- package/node_modules/@smithy/middleware-stack/package.json +7 -8
- package/node_modules/@smithy/node-config-provider/README.md +10 -3
- package/node_modules/@smithy/node-config-provider/package.json +8 -9
- package/node_modules/@smithy/node-http-handler/package.json +10 -11
- package/node_modules/@smithy/property-provider/README.md +10 -3
- package/node_modules/@smithy/property-provider/package.json +6 -7
- package/node_modules/@smithy/protocol-http/README.md +13 -0
- package/node_modules/@smithy/protocol-http/package.json +6 -7
- package/node_modules/@smithy/querystring-builder/README.md +10 -3
- package/node_modules/@smithy/querystring-builder/package.json +6 -7
- package/node_modules/@smithy/querystring-parser/README.md +10 -3
- package/node_modules/@smithy/querystring-parser/package.json +6 -7
- package/node_modules/@smithy/service-error-classification/README.md +13 -0
- package/node_modules/@smithy/service-error-classification/package.json +6 -7
- package/node_modules/@smithy/shared-ini-file-loader/package.json +7 -8
- package/node_modules/@smithy/signature-v4/dist-cjs/index.js +13 -0
- package/node_modules/@smithy/signature-v4/package.json +9 -10
- package/node_modules/@smithy/smithy-client/dist-cjs/index.js +1 -1
- package/node_modules/@smithy/smithy-client/package.json +14 -15
- package/node_modules/@smithy/types/dist-types/middleware.d.ts +6 -0
- package/node_modules/@smithy/types/dist-types/retry.d.ts +4 -0
- package/node_modules/@smithy/types/package.json +7 -8
- package/node_modules/@smithy/url-parser/README.md +10 -3
- package/node_modules/@smithy/url-parser/package.json +7 -8
- package/node_modules/@smithy/util-defaults-mode-browser/package.json +8 -9
- package/node_modules/@smithy/util-defaults-mode-node/package.json +11 -12
- package/node_modules/@smithy/util-endpoints/README.md +10 -3
- package/node_modules/@smithy/util-endpoints/package.json +9 -10
- package/node_modules/@smithy/util-middleware/README.md +9 -4
- package/node_modules/@smithy/util-middleware/package.json +6 -7
- package/node_modules/@smithy/util-retry/dist-cjs/index.js +129 -76
- package/node_modules/@smithy/util-retry/dist-es/AdaptiveRetryStrategy.js +10 -4
- package/node_modules/@smithy/util-retry/dist-es/ConfiguredRetryStrategy.js +2 -2
- package/node_modules/@smithy/util-retry/dist-es/DefaultRateLimiter.js +24 -25
- package/node_modules/@smithy/util-retry/dist-es/DefaultRetryBackoffStrategy.js +14 -0
- package/node_modules/@smithy/util-retry/dist-es/DefaultRetryToken.js +25 -0
- package/node_modules/@smithy/util-retry/dist-es/StandardRetryStrategy.js +42 -26
- package/node_modules/@smithy/util-retry/dist-es/index.js +1 -0
- package/node_modules/@smithy/util-retry/dist-es/retries-2026-config.js +18 -0
- package/node_modules/@smithy/util-retry/dist-types/AdaptiveRetryStrategy.d.ts +13 -8
- package/node_modules/@smithy/util-retry/dist-types/ConfiguredRetryStrategy.d.ts +2 -2
- package/node_modules/@smithy/util-retry/dist-types/DefaultRateLimiter.d.ts +7 -7
- package/node_modules/@smithy/util-retry/dist-types/DefaultRetryBackoffStrategy.d.ts +12 -0
- package/node_modules/@smithy/util-retry/dist-types/DefaultRetryToken.d.ts +15 -0
- package/node_modules/@smithy/util-retry/dist-types/StandardRetryStrategy.d.ts +26 -4
- package/node_modules/@smithy/util-retry/dist-types/config.d.ts +4 -4
- package/node_modules/@smithy/util-retry/dist-types/constants.d.ts +15 -14
- package/node_modules/@smithy/util-retry/dist-types/index.d.ts +1 -0
- package/node_modules/@smithy/util-retry/dist-types/retries-2026-config.d.ts +11 -0
- package/node_modules/@smithy/util-retry/dist-types/types.d.ts +1 -1
- package/node_modules/@smithy/util-retry/package.json +10 -11
- package/node_modules/@smithy/util-stream/package.json +12 -13
- package/node_modules/@smithy/util-waiter/package.json +7 -8
- package/node_modules/path-expression-matcher/README.md +214 -62
- package/node_modules/path-expression-matcher/lib/pem.cjs +1 -1
- package/node_modules/path-expression-matcher/lib/pem.d.cts +111 -0
- package/node_modules/path-expression-matcher/lib/pem.min.js +1 -1
- package/node_modules/path-expression-matcher/lib/pem.min.js.map +1 -1
- package/node_modules/path-expression-matcher/package.json +1 -1
- package/node_modules/path-expression-matcher/src/Expression.js +2 -2
- package/node_modules/path-expression-matcher/src/ExpressionSet.js +209 -0
- package/node_modules/path-expression-matcher/src/Matcher.js +235 -177
- package/node_modules/path-expression-matcher/src/index.d.ts +199 -194
- package/node_modules/path-expression-matcher/src/index.js +3 -2
- package/node_modules/strnum/package.json +1 -1
- package/package.json +13 -13
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/NodeUseDualstackEndpointConfigOptions.d.ts +0 -23
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/NodeUseFipsEndpointConfigOptions.d.ts +0 -23
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/index.d.ts +0 -16
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/resolveCustomEndpointsConfig.d.ts +0 -37
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/resolveEndpointsConfig.d.ts +0 -57
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/utils/getEndpointFromRegion.d.ts +0 -11
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/index.d.ts +0 -12
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionConfig/checkRegion.d.ts +0 -9
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionConfig/config.d.ts +0 -17
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionConfig/getRealRegion.d.ts +0 -4
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionConfig/index.d.ts +0 -8
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionConfig/isFipsRegion.d.ts +0 -4
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionConfig/resolveRegionConfig.d.ts +0 -34
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/EndpointVariant.d.ts +0 -11
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/EndpointVariantTag.d.ts +0 -10
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/PartitionHash.d.ts +0 -15
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/RegionHash.d.ts +0 -13
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/getHostnameFromVariants.d.ts +0 -14
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/getRegionInfo.d.ts +0 -19
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/getResolvedHostname.d.ts +0 -13
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/getResolvedPartition.d.ts +0 -13
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/getResolvedSigningRegion.d.ts +0 -14
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/index.d.ts +0 -12
- package/node_modules/@smithy/core/dist-types/ts3.4/getSmithyContext.d.ts +0 -5
- package/node_modules/@smithy/core/dist-types/ts3.4/index.d.ts +0 -8
- package/node_modules/@smithy/core/dist-types/ts3.4/middleware-http-auth-scheme/getHttpAuthSchemeEndpointRuleSetPlugin.d.ts +0 -18
- package/node_modules/@smithy/core/dist-types/ts3.4/middleware-http-auth-scheme/getHttpAuthSchemePlugin.d.ts +0 -18
- package/node_modules/@smithy/core/dist-types/ts3.4/middleware-http-auth-scheme/httpAuthSchemeMiddleware.d.ts +0 -33
- package/node_modules/@smithy/core/dist-types/ts3.4/middleware-http-auth-scheme/index.d.ts +0 -3
- package/node_modules/@smithy/core/dist-types/ts3.4/middleware-http-auth-scheme/resolveAuthOptions.d.ts +0 -10
- package/node_modules/@smithy/core/dist-types/ts3.4/middleware-http-signing/getHttpSigningMiddleware.d.ts +0 -9
- package/node_modules/@smithy/core/dist-types/ts3.4/middleware-http-signing/httpSigningMiddleware.d.ts +0 -5
- package/node_modules/@smithy/core/dist-types/ts3.4/middleware-http-signing/index.d.ts +0 -2
- package/node_modules/@smithy/core/dist-types/ts3.4/normalizeProvider.d.ts +0 -7
- package/node_modules/@smithy/core/dist-types/ts3.4/pagination/createPaginator.d.ts +0 -7
- package/node_modules/@smithy/core/dist-types/ts3.4/request-builder/requestBuilder.d.ts +0 -5
- package/node_modules/@smithy/core/dist-types/ts3.4/setFeature.d.ts +0 -12
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/CborCodec.d.ts +0 -33
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +0 -28
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/byte-printer.d.ts +0 -6
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/cbor-decode.d.ts +0 -17
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/cbor-encode.d.ts +0 -9
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/cbor-types.d.ts +0 -65
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/cbor.d.ts +0 -26
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/index.d.ts +0 -5
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/parseCborBody.d.ts +0 -31
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/index.d.ts +0 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/toEndpointV1.d.ts +0 -6
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/EventStreamSerde.d.ts +0 -60
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/index.d.ts +0 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpBindingProtocol.d.ts +0 -31
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpProtocol.d.ts +0 -89
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/RpcProtocol.d.ts +0 -16
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/SerdeContext.d.ts +0 -16
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/collect-stream-body.d.ts +0 -10
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/extended-encode-uri-component.d.ts +0 -7
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/index.d.ts +0 -13
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/requestBuilder.d.ts +0 -51
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/resolve-path.d.ts +0 -4
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/FromStringShapeDeserializer.d.ts +0 -13
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/HttpInterceptingShapeDeserializer.d.ts +0 -21
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/HttpInterceptingShapeSerializer.d.ts +0 -23
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/ToStringShapeSerializer.d.ts +0 -14
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/determineTimestampFormat.d.ts +0 -9
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/TypeRegistry.d.ts +0 -71
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/deref.d.ts +0 -6
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/index.d.ts +0 -14
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/middleware/getSchemaSerdePlugin.d.ts +0 -14
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/middleware/schema-middleware-types.d.ts +0 -11
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/middleware/schemaDeserializationMiddleware.d.ts +0 -9
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/middleware/schemaSerializationMiddleware.d.ts +0 -6
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/ErrorSchema.d.ts +0 -37
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/ListSchema.d.ts +0 -23
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/MapSchema.d.ts +0 -24
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/NormalizedSchema.d.ts +0 -146
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/OperationSchema.d.ts +0 -23
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/Schema.d.ts +0 -16
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/SimpleSchema.d.ts +0 -28
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/StructureSchema.d.ts +0 -23
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/operation.d.ts +0 -7
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/sentinels.d.ts +0 -23
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/translateTraits.d.ts +0 -13
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/copyDocumentWithTransform.d.ts +0 -6
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/date-utils.d.ts +0 -73
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/generateIdempotencyToken.d.ts +0 -2
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.d.ts +0 -10
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/lazy-json.d.ts +0 -45
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/parse-utils.d.ts +0 -270
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/quote-header.d.ts +0 -6
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/schema-serde-lib/schema-date-utils.d.ts +0 -47
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/split-every.d.ts +0 -11
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/split-header.d.ts +0 -5
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/value/NumericValue.d.ts +0 -33
- package/node_modules/@smithy/core/dist-types/ts3.4/util-identity-and-auth/DefaultIdentityProviderConfig.d.ts +0 -15
- package/node_modules/@smithy/core/dist-types/ts3.4/util-identity-and-auth/httpAuthSchemes/httpApiKeyAuth.d.ts +0 -8
- package/node_modules/@smithy/core/dist-types/ts3.4/util-identity-and-auth/httpAuthSchemes/httpBearerAuth.d.ts +0 -8
- package/node_modules/@smithy/core/dist-types/ts3.4/util-identity-and-auth/httpAuthSchemes/index.d.ts +0 -3
- package/node_modules/@smithy/core/dist-types/ts3.4/util-identity-and-auth/httpAuthSchemes/noAuth.d.ts +0 -8
- package/node_modules/@smithy/core/dist-types/ts3.4/util-identity-and-auth/index.d.ts +0 -3
- package/node_modules/@smithy/core/dist-types/ts3.4/util-identity-and-auth/memoizeIdentityProvider.d.ts +0 -30
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/config/Endpoint.d.ts +0 -7
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/config/EndpointConfigOptions.d.ts +0 -13
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/config/EndpointMode.d.ts +0 -7
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/config/EndpointModeConfigOptions.d.ts +0 -13
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/error/InstanceMetadataV1FallbackError.d.ts +0 -12
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/fromContainerMetadata.d.ts +0 -21
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/fromInstanceMetadata.d.ts +0 -10
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/index.d.ts +0 -28
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/ImdsCredentials.d.ts +0 -19
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/RemoteProviderInit.d.ts +0 -40
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/httpRequest.d.ts +0 -6
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/index.d.ts +0 -8
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/retry.d.ts +0 -10
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/types.d.ts +0 -7
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/utils/getExtendedInstanceMetadataCredentials.d.ts +0 -6
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/utils/getInstanceMetadataEndpoint.d.ts +0 -21
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/utils/staticStabilityProvider.d.ts +0 -16
- package/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/EventStreamCodec.d.ts +0 -31
- package/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/HeaderMarshaller.d.ts +0 -12
- package/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/Int64.d.ts +0 -20
- package/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/Message.d.ts +0 -26
- package/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/MessageDecoderStream.d.ts +0 -17
- package/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/MessageEncoderStream.d.ts +0 -18
- package/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/SmithyMessageDecoderStream.d.ts +0 -17
- package/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/SmithyMessageEncoderStream.d.ts +0 -17
- package/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/TestVectors.fixture.d.ts +0 -2
- package/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/index.d.ts +0 -8
- package/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/splitMessage.d.ts +0 -11
- package/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/vectorTypes.fixture.d.ts +0 -12
- package/node_modules/@smithy/eventstream-serde-browser/dist-types/ts3.4/EventStreamMarshaller.d.ts +0 -47
- package/node_modules/@smithy/eventstream-serde-browser/dist-types/ts3.4/index.d.ts +0 -12
- package/node_modules/@smithy/eventstream-serde-browser/dist-types/ts3.4/provider.d.ts +0 -3
- package/node_modules/@smithy/eventstream-serde-browser/dist-types/ts3.4/utils.d.ts +0 -13
- package/node_modules/@smithy/eventstream-serde-config-resolver/dist-types/ts3.4/EventStreamSerdeConfig.d.ts +0 -27
- package/node_modules/@smithy/eventstream-serde-config-resolver/dist-types/ts3.4/index.d.ts +0 -4
- package/node_modules/@smithy/eventstream-serde-node/dist-types/ts3.4/EventStreamMarshaller.d.ts +0 -23
- package/node_modules/@smithy/eventstream-serde-node/dist-types/ts3.4/index.d.ts +0 -8
- package/node_modules/@smithy/eventstream-serde-node/dist-types/ts3.4/provider.d.ts +0 -3
- package/node_modules/@smithy/eventstream-serde-node/dist-types/ts3.4/utils.d.ts +0 -12
- package/node_modules/@smithy/eventstream-serde-universal/dist-types/ts3.4/EventStreamMarshaller.d.ts +0 -23
- package/node_modules/@smithy/eventstream-serde-universal/dist-types/ts3.4/getChunkedStream.d.ts +0 -4
- package/node_modules/@smithy/eventstream-serde-universal/dist-types/ts3.4/getUnmarshalledStream.d.ts +0 -18
- package/node_modules/@smithy/eventstream-serde-universal/dist-types/ts3.4/index.d.ts +0 -8
- package/node_modules/@smithy/eventstream-serde-universal/dist-types/ts3.4/provider.d.ts +0 -3
- package/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/create-request.d.ts +0 -6
- package/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/fetch-http-handler.d.ts +0 -42
- package/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/index.d.ts +0 -2
- package/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/request-timeout.d.ts +0 -1
- package/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/stream-collector.d.ts +0 -2
- package/node_modules/@smithy/hash-blob-browser/dist-types/ts3.4/index.d.ts +0 -5
- package/node_modules/@smithy/hash-node/dist-types/ts3.4/index.d.ts +0 -13
- package/node_modules/@smithy/hash-stream-node/dist-types/ts3.4/HashCalculator.d.ts +0 -11
- package/node_modules/@smithy/hash-stream-node/dist-types/ts3.4/fileStreamHasher.d.ts +0 -6
- package/node_modules/@smithy/hash-stream-node/dist-types/ts3.4/index.d.ts +0 -8
- package/node_modules/@smithy/hash-stream-node/dist-types/ts3.4/readableStreamHasher.d.ts +0 -6
- package/node_modules/@smithy/invalid-dependency/dist-types/ts3.4/index.d.ts +0 -8
- package/node_modules/@smithy/invalid-dependency/dist-types/ts3.4/invalidFunction.d.ts +0 -4
- package/node_modules/@smithy/invalid-dependency/dist-types/ts3.4/invalidProvider.d.ts +0 -5
- package/node_modules/@smithy/md5-js/dist-types/ts3.4/constants.d.ts +0 -12
- package/node_modules/@smithy/md5-js/dist-types/ts3.4/index.d.ts +0 -16
- package/node_modules/@smithy/middleware-content-length/dist-types/ts3.4/index.d.ts +0 -6
- package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/adaptors/createConfigValueProvider.d.ts +0 -14
- package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/adaptors/getEndpointFromConfig.browser.d.ts +0 -1
- package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/adaptors/getEndpointFromConfig.d.ts +0 -4
- package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/adaptors/getEndpointFromInstructions.d.ts +0 -28
- package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/adaptors/getEndpointUrlConfig.d.ts +0 -2
- package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/adaptors/index.d.ts +0 -8
- package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/adaptors/toEndpointV1.d.ts +0 -6
- package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/endpointMiddleware.d.ts +0 -10
- package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/getEndpointPlugin.d.ts +0 -11
- package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/index.d.ts +0 -18
- package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/resolveEndpointConfig.d.ts +0 -109
- package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/resolveEndpointRequiredConfig.d.ts +0 -32
- package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/service-customizations/index.d.ts +0 -4
- package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/service-customizations/s3.d.ts +0 -26
- package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/types.d.ts +0 -41
- package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/AdaptiveRetryStrategy.d.ts +0 -23
- package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/StandardRetryStrategy.d.ts +0 -33
- package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/configurations.d.ts +0 -66
- package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/defaultRetryQuota.d.ts +0 -24
- package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/delayDecider.d.ts +0 -5
- package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/index.d.ts +0 -7
- package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/isStreamingPayload/isStreamingPayload.browser.d.ts +0 -5
- package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/isStreamingPayload/isStreamingPayload.d.ts +0 -5
- package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/omitRetryHeadersMiddleware.d.ts +0 -13
- package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/retryDecider.d.ts +0 -6
- package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/retryMiddleware.d.ts +0 -18
- package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/types.d.ts +0 -65
- package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/util.d.ts +0 -2
- package/node_modules/@smithy/middleware-serde/dist-types/ts3.4/deserializerMiddleware.d.ts +0 -6
- package/node_modules/@smithy/middleware-serde/dist-types/ts3.4/index.d.ts +0 -3
- package/node_modules/@smithy/middleware-serde/dist-types/ts3.4/serdePlugin.d.ts +0 -24
- package/node_modules/@smithy/middleware-serde/dist-types/ts3.4/serializerMiddleware.d.ts +0 -6
- package/node_modules/@smithy/middleware-stack/dist-types/ts3.4/MiddlewareStack.d.ts +0 -5
- package/node_modules/@smithy/middleware-stack/dist-types/ts3.4/index.d.ts +0 -1
- package/node_modules/@smithy/middleware-stack/dist-types/ts3.4/types.d.ts +0 -22
- package/node_modules/@smithy/node-config-provider/dist-types/ts3.4/configLoader.d.ts +0 -31
- package/node_modules/@smithy/node-config-provider/dist-types/ts3.4/fromEnv.d.ts +0 -20
- package/node_modules/@smithy/node-config-provider/dist-types/ts3.4/fromSharedConfigFiles.d.ts +0 -22
- package/node_modules/@smithy/node-config-provider/dist-types/ts3.4/fromStatic.d.ts +0 -9
- package/node_modules/@smithy/node-config-provider/dist-types/ts3.4/getSelectorName.d.ts +0 -9
- package/node_modules/@smithy/node-config-provider/dist-types/ts3.4/index.d.ts +0 -4
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/build-abort-error.d.ts +0 -10
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/constants.d.ts +0 -5
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/get-transformed-headers.d.ts +0 -4
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/index.d.ts +0 -3
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http-handler.d.ts +0 -46
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-manager.d.ts +0 -24
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-pool.d.ts +0 -12
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-handler.d.ts +0 -63
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/readable.mock.d.ts +0 -13
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/server.mock.d.ts +0 -12
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-connection-timeout.d.ts +0 -2
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-request-timeout.d.ts +0 -6
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-keep-alive.d.ts +0 -6
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-timeout.d.ts +0 -2
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/collector.d.ts +0 -5
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/index.d.ts +0 -6
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/readable.mock.d.ts +0 -13
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/timing.d.ts +0 -8
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/write-request-body.d.ts +0 -12
- package/node_modules/@smithy/property-provider/dist-types/ts3.4/CredentialsProviderError.d.ts +0 -31
- package/node_modules/@smithy/property-provider/dist-types/ts3.4/ProviderError.d.ts +0 -39
- package/node_modules/@smithy/property-provider/dist-types/ts3.4/TokenProviderError.d.ts +0 -31
- package/node_modules/@smithy/property-provider/dist-types/ts3.4/chain.d.ts +0 -13
- package/node_modules/@smithy/property-provider/dist-types/ts3.4/fromStatic.d.ts +0 -5
- package/node_modules/@smithy/property-provider/dist-types/ts3.4/index.d.ts +0 -24
- package/node_modules/@smithy/property-provider/dist-types/ts3.4/memoize.d.ts +0 -40
- package/node_modules/@smithy/protocol-http/dist-types/ts3.4/Field.d.ts +0 -50
- package/node_modules/@smithy/protocol-http/dist-types/ts3.4/Fields.d.ts +0 -44
- package/node_modules/@smithy/protocol-http/dist-types/ts3.4/extensions/httpExtensionConfiguration.d.ts +0 -33
- package/node_modules/@smithy/protocol-http/dist-types/ts3.4/extensions/index.d.ts +0 -1
- package/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpHandler.d.ts +0 -35
- package/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpRequest.d.ts +0 -56
- package/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpResponse.d.ts +0 -29
- package/node_modules/@smithy/protocol-http/dist-types/ts3.4/index.d.ts +0 -8
- package/node_modules/@smithy/protocol-http/dist-types/ts3.4/isValidHostname.d.ts +0 -1
- package/node_modules/@smithy/protocol-http/dist-types/ts3.4/types.d.ts +0 -21
- package/node_modules/@smithy/querystring-builder/dist-types/ts3.4/index.d.ts +0 -5
- package/node_modules/@smithy/querystring-parser/dist-types/ts3.4/index.d.ts +0 -5
- package/node_modules/@smithy/service-error-classification/dist-types/ts3.4/constants.d.ts +0 -30
- package/node_modules/@smithy/service-error-classification/dist-types/ts3.4/index.d.ts +0 -24
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/constants.d.ts +0 -4
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/externalDataInterceptor.d.ts +0 -9
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getConfigData.d.ts +0 -8
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getConfigFilepath.d.ts +0 -2
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getCredentialsFilepath.d.ts +0 -2
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getHomeDir.d.ts +0 -6
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getProfileName.d.ts +0 -15
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFilepath.d.ts +0 -5
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFromFile.d.ts +0 -52
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSsoSessionData.d.ts +0 -6
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/index.d.ts +0 -10
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSharedConfigFiles.d.ts +0 -33
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSsoSessionData.d.ts +0 -17
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/mergeConfigFiles.d.ts +0 -7
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/parseIni.d.ts +0 -2
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/parseKnownFiles.d.ts +0 -18
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/readFile.d.ts +0 -21
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/types.d.ts +0 -16
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/HeaderFormatter.d.ts +0 -24
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/SignatureV4.d.ts +0 -21
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/SignatureV4Base.d.ts +0 -69
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/constants.d.ts +0 -43
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/credentialDerivation.d.ts +0 -30
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/getCanonicalHeaders.d.ts +0 -5
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/getCanonicalQuery.d.ts +0 -5
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/getPayloadHash.d.ts +0 -5
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/headerUtil.d.ts +0 -4
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/index.d.ts +0 -11
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/moveHeadersToQuery.d.ts +0 -10
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/prepareRequest.d.ts +0 -5
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/signature-v4a-container.d.ts +0 -24
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/suite.fixture.d.ts +0 -14
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/utilDate.d.ts +0 -2
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/NoOpLogger.d.ts +0 -11
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/client.d.ts +0 -87
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/collect-stream-body.d.ts +0 -5
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/command.d.ts +0 -119
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/constants.d.ts +0 -4
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/create-aggregated-client.d.ts +0 -18
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/default-error-handler.d.ts +0 -15
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/defaults-mode.d.ts +0 -28
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/emitWarningIfUnsupportedVersion.d.ts +0 -8
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/exceptions.d.ts +0 -42
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/extended-encode-uri-component.d.ts +0 -5
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/extensions/checksum.d.ts +0 -26
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/extensions/defaultExtensionConfiguration.d.ts +0 -38
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/extensions/index.d.ts +0 -1
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/extensions/retry.d.ts +0 -18
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/get-array-if-single-item.d.ts +0 -7
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/get-value-from-text-node.d.ts +0 -7
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/index.d.ts +0 -21
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/is-serializable-header-value.d.ts +0 -5
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/object-mapping.d.ts +0 -178
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/resolve-path.d.ts +0 -5
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/schemaLogFilter.d.ts +0 -9
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/ser-utils.d.ts +0 -15
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/serde-json.d.ts +0 -12
- package/node_modules/@smithy/types/dist-types/ts3.4/abort-handler.d.ts +0 -7
- package/node_modules/@smithy/types/dist-types/ts3.4/abort.d.ts +0 -50
- package/node_modules/@smithy/types/dist-types/ts3.4/auth/HttpApiKeyAuth.d.ts +0 -7
- package/node_modules/@smithy/types/dist-types/ts3.4/auth/HttpAuthScheme.d.ts +0 -49
- package/node_modules/@smithy/types/dist-types/ts3.4/auth/HttpAuthSchemeProvider.d.ts +0 -20
- package/node_modules/@smithy/types/dist-types/ts3.4/auth/HttpSigner.d.ts +0 -41
- package/node_modules/@smithy/types/dist-types/ts3.4/auth/IdentityProviderConfig.d.ts +0 -14
- package/node_modules/@smithy/types/dist-types/ts3.4/auth/auth.d.ts +0 -57
- package/node_modules/@smithy/types/dist-types/ts3.4/auth/index.d.ts +0 -6
- package/node_modules/@smithy/types/dist-types/ts3.4/blob/blob-payload-input-types.d.ts +0 -40
- package/node_modules/@smithy/types/dist-types/ts3.4/checksum.d.ts +0 -63
- package/node_modules/@smithy/types/dist-types/ts3.4/client.d.ts +0 -57
- package/node_modules/@smithy/types/dist-types/ts3.4/command.d.ts +0 -28
- package/node_modules/@smithy/types/dist-types/ts3.4/connection/config.d.ts +0 -10
- package/node_modules/@smithy/types/dist-types/ts3.4/connection/index.d.ts +0 -3
- package/node_modules/@smithy/types/dist-types/ts3.4/connection/manager.d.ts +0 -34
- package/node_modules/@smithy/types/dist-types/ts3.4/connection/pool.d.ts +0 -32
- package/node_modules/@smithy/types/dist-types/ts3.4/crypto.d.ts +0 -60
- package/node_modules/@smithy/types/dist-types/ts3.4/downlevel-ts3.4/transform/type-transform.d.ts +0 -41
- package/node_modules/@smithy/types/dist-types/ts3.4/encode.d.ts +0 -31
- package/node_modules/@smithy/types/dist-types/ts3.4/endpoint.d.ts +0 -77
- package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/EndpointRuleObject.d.ts +0 -27
- package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/ErrorRuleObject.d.ts +0 -10
- package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/RuleSetObject.d.ts +0 -28
- package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/TreeRuleObject.d.ts +0 -16
- package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/index.d.ts +0 -5
- package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/shared.d.ts +0 -55
- package/node_modules/@smithy/types/dist-types/ts3.4/eventStream.d.ts +0 -137
- package/node_modules/@smithy/types/dist-types/ts3.4/extensions/checksum.d.ts +0 -58
- package/node_modules/@smithy/types/dist-types/ts3.4/extensions/defaultClientConfiguration.d.ts +0 -33
- package/node_modules/@smithy/types/dist-types/ts3.4/extensions/defaultExtensionConfiguration.d.ts +0 -9
- package/node_modules/@smithy/types/dist-types/ts3.4/extensions/index.d.ts +0 -4
- package/node_modules/@smithy/types/dist-types/ts3.4/extensions/retry.d.ts +0 -18
- package/node_modules/@smithy/types/dist-types/ts3.4/externals-check/browser-externals-check.d.ts +0 -35
- package/node_modules/@smithy/types/dist-types/ts3.4/feature-ids.d.ts +0 -16
- package/node_modules/@smithy/types/dist-types/ts3.4/http/httpHandlerInitialization.d.ts +0 -128
- package/node_modules/@smithy/types/dist-types/ts3.4/http.d.ts +0 -113
- package/node_modules/@smithy/types/dist-types/ts3.4/identity/apiKeyIdentity.d.ts +0 -14
- package/node_modules/@smithy/types/dist-types/ts3.4/identity/awsCredentialIdentity.d.ts +0 -31
- package/node_modules/@smithy/types/dist-types/ts3.4/identity/identity.d.ts +0 -15
- package/node_modules/@smithy/types/dist-types/ts3.4/identity/index.d.ts +0 -4
- package/node_modules/@smithy/types/dist-types/ts3.4/identity/tokenIdentity.d.ts +0 -14
- package/node_modules/@smithy/types/dist-types/ts3.4/index.d.ts +0 -43
- package/node_modules/@smithy/types/dist-types/ts3.4/logger.d.ts +0 -13
- package/node_modules/@smithy/types/dist-types/ts3.4/middleware.d.ts +0 -534
- package/node_modules/@smithy/types/dist-types/ts3.4/pagination.d.ts +0 -33
- package/node_modules/@smithy/types/dist-types/ts3.4/profile.d.ts +0 -30
- package/node_modules/@smithy/types/dist-types/ts3.4/response.d.ts +0 -40
- package/node_modules/@smithy/types/dist-types/ts3.4/retry.d.ts +0 -133
- package/node_modules/@smithy/types/dist-types/ts3.4/schema/schema-deprecated.d.ts +0 -149
- package/node_modules/@smithy/types/dist-types/ts3.4/schema/schema.d.ts +0 -251
- package/node_modules/@smithy/types/dist-types/ts3.4/schema/sentinels.d.ts +0 -65
- package/node_modules/@smithy/types/dist-types/ts3.4/schema/static-schemas.d.ts +0 -118
- package/node_modules/@smithy/types/dist-types/ts3.4/schema/traits.d.ts +0 -46
- package/node_modules/@smithy/types/dist-types/ts3.4/serde.d.ts +0 -114
- package/node_modules/@smithy/types/dist-types/ts3.4/shapes.d.ts +0 -82
- package/node_modules/@smithy/types/dist-types/ts3.4/signature.d.ts +0 -155
- package/node_modules/@smithy/types/dist-types/ts3.4/stream.d.ts +0 -22
- package/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-common-types.d.ts +0 -32
- package/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-payload-input-types.d.ts +0 -60
- package/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-payload-output-types.d.ts +0 -51
- package/node_modules/@smithy/types/dist-types/ts3.4/transfer.d.ts +0 -41
- package/node_modules/@smithy/types/dist-types/ts3.4/transform/client-method-transforms.d.ts +0 -26
- package/node_modules/@smithy/types/dist-types/ts3.4/transform/client-payload-blob-type-narrow.d.ts +0 -81
- package/node_modules/@smithy/types/dist-types/ts3.4/transform/exact.d.ts +0 -14
- package/node_modules/@smithy/types/dist-types/ts3.4/transform/mutable.d.ts +0 -6
- package/node_modules/@smithy/types/dist-types/ts3.4/transform/no-undefined.d.ts +0 -88
- package/node_modules/@smithy/types/dist-types/ts3.4/transform/type-transform.d.ts +0 -41
- package/node_modules/@smithy/types/dist-types/ts3.4/uri.d.ts +0 -17
- package/node_modules/@smithy/types/dist-types/ts3.4/util.d.ts +0 -192
- package/node_modules/@smithy/types/dist-types/ts3.4/waiter.d.ts +0 -35
- package/node_modules/@smithy/url-parser/dist-types/ts3.4/index.d.ts +0 -5
- package/node_modules/@smithy/util-defaults-mode-browser/dist-types/ts3.4/constants.d.ts +0 -12
- package/node_modules/@smithy/util-defaults-mode-browser/dist-types/ts3.4/index.d.ts +0 -4
- package/node_modules/@smithy/util-defaults-mode-browser/dist-types/ts3.4/resolveDefaultsModeConfig.d.ts +0 -17
- package/node_modules/@smithy/util-defaults-mode-browser/dist-types/ts3.4/resolveDefaultsModeConfig.native.d.ts +0 -16
- package/node_modules/@smithy/util-defaults-mode-node/dist-types/ts3.4/constants.d.ts +0 -24
- package/node_modules/@smithy/util-defaults-mode-node/dist-types/ts3.4/defaultsModeConfig.d.ts +0 -6
- package/node_modules/@smithy/util-defaults-mode-node/dist-types/ts3.4/index.d.ts +0 -4
- package/node_modules/@smithy/util-defaults-mode-node/dist-types/ts3.4/resolveDefaultsModeConfig.d.ts +0 -17
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/cache/EndpointCache.d.ts +0 -34
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/debug/debugId.d.ts +0 -1
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/debug/index.d.ts +0 -2
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/debug/toDebugString.d.ts +0 -9
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/getEndpointUrlConfig.d.ts +0 -2
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/index.d.ts +0 -6
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/booleanEquals.d.ts +0 -5
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/getAttr.d.ts +0 -7
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/getAttrPathList.d.ts +0 -4
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/index.d.ts +0 -9
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/isIpAddress.d.ts +0 -4
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/isSet.d.ts +0 -5
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/isValidHostLabel.d.ts +0 -7
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/not.d.ts +0 -5
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/parseURL.d.ts +0 -5
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/stringEquals.d.ts +0 -5
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/substring.d.ts +0 -7
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/uriEncode.d.ts +0 -4
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/resolveEndpoint.d.ts +0 -6
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/types/EndpointError.d.ts +0 -3
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/types/EndpointFunctions.d.ts +0 -2
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/types/EndpointRuleObject.d.ts +0 -5
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/types/ErrorRuleObject.d.ts +0 -2
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/types/RuleSetObject.d.ts +0 -4
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/types/TreeRuleObject.d.ts +0 -3
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/types/index.d.ts +0 -7
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/types/shared.d.ts +0 -25
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/callFunction.d.ts +0 -1
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/customEndpointFunctions.d.ts +0 -4
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/endpointFunctions.d.ts +0 -11
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateCondition.d.ts +0 -8
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateConditions.d.ts +0 -8
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateEndpointRule.d.ts +0 -3
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateErrorRule.d.ts +0 -2
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateExpression.d.ts +0 -7
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateRules.d.ts +0 -8
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateTemplate.d.ts +0 -2
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateTreeRule.d.ts +0 -1
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/getEndpointHeaders.d.ts +0 -2
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/getEndpointProperties.d.ts +0 -8
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/getEndpointProperty.d.ts +0 -1
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/getEndpointUrl.d.ts +0 -2
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/getReferenceValue.d.ts +0 -2
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/index.d.ts +0 -2
- package/node_modules/@smithy/util-middleware/dist-types/ts3.4/getSmithyContext.d.ts +0 -5
- package/node_modules/@smithy/util-middleware/dist-types/ts3.4/index.d.ts +0 -8
- package/node_modules/@smithy/util-middleware/dist-types/ts3.4/normalizeProvider.d.ts +0 -7
- package/node_modules/@smithy/util-retry/dist-es/defaultRetryBackoffStrategy.js +0 -14
- package/node_modules/@smithy/util-retry/dist-es/defaultRetryToken.js +0 -11
- package/node_modules/@smithy/util-retry/dist-types/defaultRetryBackoffStrategy.d.ts +0 -5
- package/node_modules/@smithy/util-retry/dist-types/defaultRetryToken.d.ts +0 -9
- package/node_modules/@smithy/util-retry/dist-types/ts3.4/AdaptiveRetryStrategy.d.ts +0 -33
- package/node_modules/@smithy/util-retry/dist-types/ts3.4/ConfiguredRetryStrategy.d.ts +0 -32
- package/node_modules/@smithy/util-retry/dist-types/ts3.4/DefaultRateLimiter.d.ts +0 -119
- package/node_modules/@smithy/util-retry/dist-types/ts3.4/StandardRetryStrategy.d.ts +0 -26
- package/node_modules/@smithy/util-retry/dist-types/ts3.4/config.d.ts +0 -20
- package/node_modules/@smithy/util-retry/dist-types/ts3.4/constants.d.ts +0 -59
- package/node_modules/@smithy/util-retry/dist-types/ts3.4/defaultRetryBackoffStrategy.d.ts +0 -5
- package/node_modules/@smithy/util-retry/dist-types/ts3.4/defaultRetryToken.d.ts +0 -9
- package/node_modules/@smithy/util-retry/dist-types/ts3.4/index.d.ts +0 -7
- package/node_modules/@smithy/util-retry/dist-types/ts3.4/types.d.ts +0 -19
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/ByteArrayCollector.d.ts +0 -13
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/blob/Uint8ArrayBlobAdapter.d.ts +0 -22
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/checksum/ChecksumStream.browser.d.ts +0 -37
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/checksum/ChecksumStream.d.ts +0 -61
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/checksum/createChecksumStream.browser.d.ts +0 -14
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/checksum/createChecksumStream.d.ts +0 -13
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/createBufferedReadable.d.ts +0 -15
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/createBufferedReadableStream.d.ts +0 -54
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/getAwsChunkedEncodingStream.browser.d.ts +0 -5
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/getAwsChunkedEncodingStream.d.ts +0 -10
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/headStream.browser.d.ts +0 -7
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/headStream.d.ts +0 -9
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/index.d.ts +0 -12
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/sdk-stream-mixin.browser.d.ts +0 -7
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/sdk-stream-mixin.d.ts +0 -8
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/splitStream.browser.d.ts +0 -8
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/splitStream.d.ts +0 -17
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/stream-type-check.d.ts +0 -17
- package/node_modules/@smithy/util-waiter/dist-types/ts3.4/circularReplacer.d.ts +0 -6
- package/node_modules/@smithy/util-waiter/dist-types/ts3.4/createWaiter.d.ts +0 -11
- package/node_modules/@smithy/util-waiter/dist-types/ts3.4/index.d.ts +0 -2
- package/node_modules/@smithy/util-waiter/dist-types/ts3.4/poller.d.ts +0 -10
- package/node_modules/@smithy/util-waiter/dist-types/ts3.4/utils/index.d.ts +0 -8
- package/node_modules/@smithy/util-waiter/dist-types/ts3.4/utils/sleep.d.ts +0 -4
- package/node_modules/@smithy/util-waiter/dist-types/ts3.4/utils/validate.d.ts +0 -8
- package/node_modules/@smithy/util-waiter/dist-types/ts3.4/waiter.d.ts +0 -49
- package/node_modules/strnum/.github/SECURITY.md +0 -5
- package/node_modules/strnum/.vscode/launch.json +0 -25
- package/node_modules/strnum/algo.stflow +0 -84
- package/node_modules/strnum/tests/infinity_test.js +0 -18
- package/node_modules/strnum/tests/strnum_test.js +0 -175
- package/node_modules/strnum/tests/temp.js +0 -8
- /package/node_modules/@smithy/middleware-retry/dist-es/{AdaptiveRetryStrategy.js → retry-pre-sra-deprecated/AdaptiveRetryStrategy.js} +0 -0
- /package/node_modules/@smithy/middleware-retry/dist-es/{defaultRetryQuota.js → retry-pre-sra-deprecated/defaultRetryQuota.js} +0 -0
- /package/node_modules/@smithy/middleware-retry/dist-es/{delayDecider.js → retry-pre-sra-deprecated/delayDecider.js} +0 -0
- /package/node_modules/@smithy/middleware-retry/dist-es/{retryDecider.js → retry-pre-sra-deprecated/retryDecider.js} +0 -0
- /package/node_modules/@smithy/middleware-retry/dist-es/{types.js → retry-pre-sra-deprecated/types.js} +0 -0
- /package/node_modules/@smithy/middleware-retry/dist-types/{StandardRetryStrategy.d.ts → retry-pre-sra-deprecated/StandardRetryStrategy.d.ts} +0 -0
- /package/node_modules/@smithy/middleware-retry/dist-types/{retryDecider.d.ts → retry-pre-sra-deprecated/retryDecider.d.ts} +0 -0
- /package/node_modules/@smithy/middleware-retry/dist-types/{types.d.ts → retry-pre-sra-deprecated/types.d.ts} +0 -0
|
@@ -34,18 +34,37 @@ class DefaultRateLimiter {
|
|
|
34
34
|
this.minFillRate = options?.minFillRate ?? 0.5;
|
|
35
35
|
this.scaleConstant = options?.scaleConstant ?? 0.4;
|
|
36
36
|
this.smooth = options?.smooth ?? 0.8;
|
|
37
|
-
|
|
38
|
-
this.lastThrottleTime = currentTimeInSeconds;
|
|
37
|
+
this.lastThrottleTime = this.getCurrentTimeInSeconds();
|
|
39
38
|
this.lastTxRateBucket = Math.floor(this.getCurrentTimeInSeconds());
|
|
40
39
|
this.fillRate = this.minFillRate;
|
|
41
40
|
this.maxCapacity = this.minCapacity;
|
|
42
41
|
}
|
|
43
|
-
getCurrentTimeInSeconds() {
|
|
44
|
-
return Date.now() / 1000;
|
|
45
|
-
}
|
|
46
42
|
async getSendToken() {
|
|
47
43
|
return this.acquireTokenBucket(1);
|
|
48
44
|
}
|
|
45
|
+
updateClientSendingRate(response) {
|
|
46
|
+
let calculatedRate;
|
|
47
|
+
this.updateMeasuredRate();
|
|
48
|
+
const retryErrorInfo = response;
|
|
49
|
+
const isThrottling = retryErrorInfo?.errorType === "THROTTLING" || serviceErrorClassification.isThrottlingError(retryErrorInfo?.error ?? response);
|
|
50
|
+
if (isThrottling) {
|
|
51
|
+
const rateToUse = !this.enabled ? this.measuredTxRate : Math.min(this.measuredTxRate, this.fillRate);
|
|
52
|
+
this.lastMaxRate = rateToUse;
|
|
53
|
+
this.calculateTimeWindow();
|
|
54
|
+
this.lastThrottleTime = this.getCurrentTimeInSeconds();
|
|
55
|
+
calculatedRate = this.cubicThrottle(rateToUse);
|
|
56
|
+
this.enableTokenBucket();
|
|
57
|
+
}
|
|
58
|
+
else {
|
|
59
|
+
this.calculateTimeWindow();
|
|
60
|
+
calculatedRate = this.cubicSuccess(this.getCurrentTimeInSeconds());
|
|
61
|
+
}
|
|
62
|
+
const newRate = Math.min(calculatedRate, 2 * this.measuredTxRate);
|
|
63
|
+
this.updateTokenBucketRate(newRate);
|
|
64
|
+
}
|
|
65
|
+
getCurrentTimeInSeconds() {
|
|
66
|
+
return Date.now() / 1000;
|
|
67
|
+
}
|
|
49
68
|
async acquireTokenBucket(amount) {
|
|
50
69
|
if (!this.enabled) {
|
|
51
70
|
return;
|
|
@@ -67,26 +86,6 @@ class DefaultRateLimiter {
|
|
|
67
86
|
this.availableTokens = Math.min(this.maxCapacity, this.availableTokens + fillAmount);
|
|
68
87
|
this.lastTimestamp = timestamp;
|
|
69
88
|
}
|
|
70
|
-
updateClientSendingRate(response) {
|
|
71
|
-
let calculatedRate;
|
|
72
|
-
this.updateMeasuredRate();
|
|
73
|
-
const retryErrorInfo = response;
|
|
74
|
-
const isThrottling = retryErrorInfo?.errorType === "THROTTLING" || serviceErrorClassification.isThrottlingError(retryErrorInfo?.error ?? response);
|
|
75
|
-
if (isThrottling) {
|
|
76
|
-
const rateToUse = !this.enabled ? this.measuredTxRate : Math.min(this.measuredTxRate, this.fillRate);
|
|
77
|
-
this.lastMaxRate = rateToUse;
|
|
78
|
-
this.calculateTimeWindow();
|
|
79
|
-
this.lastThrottleTime = this.getCurrentTimeInSeconds();
|
|
80
|
-
calculatedRate = this.cubicThrottle(rateToUse);
|
|
81
|
-
this.enableTokenBucket();
|
|
82
|
-
}
|
|
83
|
-
else {
|
|
84
|
-
this.calculateTimeWindow();
|
|
85
|
-
calculatedRate = this.cubicSuccess(this.getCurrentTimeInSeconds());
|
|
86
|
-
}
|
|
87
|
-
const newRate = Math.min(calculatedRate, 2 * this.measuredTxRate);
|
|
88
|
-
this.updateTokenBucketRate(newRate);
|
|
89
|
-
}
|
|
90
89
|
calculateTimeWindow() {
|
|
91
90
|
this.timeWindow = this.getPrecise(Math.pow((this.lastMaxRate * (1 - this.beta)) / this.scaleConstant, 1 / 3));
|
|
92
91
|
}
|
|
@@ -131,68 +130,112 @@ const NO_RETRY_INCREMENT = 1;
|
|
|
131
130
|
const INVOCATION_ID_HEADER = "amz-sdk-invocation-id";
|
|
132
131
|
const REQUEST_HEADER = "amz-sdk-request";
|
|
133
132
|
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
return
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
133
|
+
class Retry {
|
|
134
|
+
static v2026 = typeof process !== "undefined" && process.env?.SMITHY_NEW_RETRIES_2026 === "true";
|
|
135
|
+
static delay() {
|
|
136
|
+
return Retry.v2026 ? 50 : 100;
|
|
137
|
+
}
|
|
138
|
+
static throttlingDelay() {
|
|
139
|
+
return Retry.v2026 ? 1_000 : 500;
|
|
140
|
+
}
|
|
141
|
+
static cost() {
|
|
142
|
+
return Retry.v2026 ? 14 : 5;
|
|
143
|
+
}
|
|
144
|
+
static throttlingCost() {
|
|
145
|
+
return Retry.v2026 ? 5 : 10;
|
|
146
|
+
}
|
|
147
|
+
static modifiedCostType() {
|
|
148
|
+
return Retry.v2026 ? "THROTTLING" : "TRANSIENT";
|
|
149
|
+
}
|
|
150
|
+
}
|
|
147
151
|
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
152
|
+
class DefaultRetryBackoffStrategy {
|
|
153
|
+
x = Retry.delay();
|
|
154
|
+
computeNextBackoffDelay(i) {
|
|
155
|
+
const b = Math.random();
|
|
156
|
+
const r = 2;
|
|
157
|
+
const t_i = b * Math.min(this.x * r ** i, MAXIMUM_RETRY_DELAY);
|
|
158
|
+
return Math.floor(t_i);
|
|
159
|
+
}
|
|
160
|
+
setDelayBase(delay) {
|
|
161
|
+
this.x = delay;
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
class DefaultRetryToken {
|
|
166
|
+
delay;
|
|
167
|
+
count;
|
|
168
|
+
cost;
|
|
169
|
+
longPoll;
|
|
170
|
+
constructor(delay, count, cost, longPoll) {
|
|
171
|
+
this.delay = delay;
|
|
172
|
+
this.count = count;
|
|
173
|
+
this.cost = cost;
|
|
174
|
+
this.longPoll = longPoll;
|
|
175
|
+
}
|
|
176
|
+
getRetryCount() {
|
|
177
|
+
return this.count;
|
|
178
|
+
}
|
|
179
|
+
getRetryDelay() {
|
|
180
|
+
return Math.min(MAXIMUM_RETRY_DELAY, this.delay);
|
|
181
|
+
}
|
|
182
|
+
getRetryCost() {
|
|
183
|
+
return this.cost;
|
|
184
|
+
}
|
|
185
|
+
isLongPoll() {
|
|
186
|
+
return this.longPoll;
|
|
187
|
+
}
|
|
188
|
+
}
|
|
158
189
|
|
|
159
190
|
class StandardRetryStrategy {
|
|
160
|
-
maxAttempts;
|
|
161
191
|
mode = exports.RETRY_MODES.STANDARD;
|
|
162
192
|
capacity = INITIAL_RETRY_TOKENS;
|
|
163
|
-
retryBackoffStrategy
|
|
193
|
+
retryBackoffStrategy;
|
|
164
194
|
maxAttemptsProvider;
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
195
|
+
baseDelay;
|
|
196
|
+
constructor(arg1) {
|
|
197
|
+
if (typeof arg1 === "number") {
|
|
198
|
+
this.maxAttemptsProvider = async () => arg1;
|
|
199
|
+
}
|
|
200
|
+
else if (typeof arg1 === "function") {
|
|
201
|
+
this.maxAttemptsProvider = arg1;
|
|
202
|
+
}
|
|
203
|
+
else if (arg1 && typeof arg1 === "object") {
|
|
204
|
+
this.maxAttemptsProvider = async () => arg1.maxAttempts;
|
|
205
|
+
this.baseDelay = arg1.baseDelay;
|
|
206
|
+
this.retryBackoffStrategy = arg1.backoff;
|
|
207
|
+
}
|
|
208
|
+
this.maxAttemptsProvider ??= async () => DEFAULT_MAX_ATTEMPTS;
|
|
209
|
+
this.baseDelay ??= Retry.delay();
|
|
210
|
+
this.retryBackoffStrategy ??= new DefaultRetryBackoffStrategy();
|
|
168
211
|
}
|
|
169
212
|
async acquireInitialRetryToken(retryTokenScope) {
|
|
170
|
-
return
|
|
171
|
-
retryDelay: DEFAULT_RETRY_DELAY_BASE,
|
|
172
|
-
retryCount: 0,
|
|
173
|
-
});
|
|
213
|
+
return new DefaultRetryToken(Retry.delay(), 0, undefined, Retry.v2026 && retryTokenScope.includes(":longpoll"));
|
|
174
214
|
}
|
|
175
215
|
async refreshRetryTokenForRetry(token, errorInfo) {
|
|
176
216
|
const maxAttempts = await this.getMaxAttempts();
|
|
177
|
-
|
|
217
|
+
const shouldRetry = this.shouldRetry(token, errorInfo, maxAttempts);
|
|
218
|
+
if (shouldRetry || token.isLongPoll?.()) {
|
|
178
219
|
const errorType = errorInfo.errorType;
|
|
179
|
-
this.retryBackoffStrategy.setDelayBase(errorType === "THROTTLING" ?
|
|
220
|
+
this.retryBackoffStrategy.setDelayBase(errorType === "THROTTLING" ? Retry.throttlingDelay() : this.baseDelay);
|
|
180
221
|
const delayFromErrorType = this.retryBackoffStrategy.computeNextBackoffDelay(token.getRetryCount());
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
222
|
+
let retryDelay = delayFromErrorType;
|
|
223
|
+
if (errorInfo.retryAfterHint instanceof Date) {
|
|
224
|
+
retryDelay = Math.max(delayFromErrorType, Math.min(errorInfo.retryAfterHint.getTime() - Date.now(), delayFromErrorType + 5_000));
|
|
225
|
+
}
|
|
226
|
+
if (!shouldRetry) {
|
|
227
|
+
throw Object.assign(new Error("No retry token available"), { $backoff: Retry.v2026 ? retryDelay : 0 });
|
|
228
|
+
}
|
|
229
|
+
else {
|
|
230
|
+
const capacityCost = this.getCapacityCost(errorType);
|
|
231
|
+
this.capacity -= capacityCost;
|
|
232
|
+
return new DefaultRetryToken(retryDelay, token.getRetryCount() + 1, capacityCost, token.isLongPoll?.() ?? false);
|
|
233
|
+
}
|
|
191
234
|
}
|
|
192
235
|
throw new Error("No retry token available");
|
|
193
236
|
}
|
|
194
237
|
recordSuccess(token) {
|
|
195
|
-
this.capacity = Math.
|
|
238
|
+
this.capacity = Math.min(INITIAL_RETRY_TOKENS, this.capacity + (token.getRetryCost() ?? NO_RETRY_INCREMENT));
|
|
196
239
|
}
|
|
197
240
|
getCapacity() {
|
|
198
241
|
return this.capacity;
|
|
@@ -213,23 +256,29 @@ class StandardRetryStrategy {
|
|
|
213
256
|
this.isRetryableError(errorInfo.errorType));
|
|
214
257
|
}
|
|
215
258
|
getCapacityCost(errorType) {
|
|
216
|
-
return errorType ===
|
|
259
|
+
return errorType === Retry.modifiedCostType() ? Retry.throttlingCost() : Retry.cost();
|
|
217
260
|
}
|
|
218
261
|
isRetryableError(errorType) {
|
|
219
262
|
return errorType === "THROTTLING" || errorType === "TRANSIENT";
|
|
220
263
|
}
|
|
264
|
+
async maxAttempts() {
|
|
265
|
+
return this.maxAttemptsProvider();
|
|
266
|
+
}
|
|
221
267
|
}
|
|
222
268
|
|
|
223
269
|
class AdaptiveRetryStrategy {
|
|
224
|
-
|
|
270
|
+
mode = exports.RETRY_MODES.ADAPTIVE;
|
|
225
271
|
rateLimiter;
|
|
226
272
|
standardRetryStrategy;
|
|
227
|
-
mode = exports.RETRY_MODES.ADAPTIVE;
|
|
228
273
|
constructor(maxAttemptsProvider, options) {
|
|
229
|
-
this.maxAttemptsProvider = maxAttemptsProvider;
|
|
230
274
|
const { rateLimiter } = options ?? {};
|
|
231
275
|
this.rateLimiter = rateLimiter ?? new DefaultRateLimiter();
|
|
232
|
-
this.standardRetryStrategy =
|
|
276
|
+
this.standardRetryStrategy = options
|
|
277
|
+
? new StandardRetryStrategy({
|
|
278
|
+
maxAttempts: typeof maxAttemptsProvider === "number" ? maxAttemptsProvider : 3,
|
|
279
|
+
...options,
|
|
280
|
+
})
|
|
281
|
+
: new StandardRetryStrategy(maxAttemptsProvider);
|
|
233
282
|
}
|
|
234
283
|
async acquireInitialRetryToken(retryTokenScope) {
|
|
235
284
|
await this.rateLimiter.getSendToken();
|
|
@@ -243,11 +292,14 @@ class AdaptiveRetryStrategy {
|
|
|
243
292
|
this.rateLimiter.updateClientSendingRate({});
|
|
244
293
|
this.standardRetryStrategy.recordSuccess(token);
|
|
245
294
|
}
|
|
295
|
+
async maxAttemptsProvider() {
|
|
296
|
+
return this.standardRetryStrategy.maxAttempts();
|
|
297
|
+
}
|
|
246
298
|
}
|
|
247
299
|
|
|
248
300
|
class ConfiguredRetryStrategy extends StandardRetryStrategy {
|
|
249
301
|
computeNextBackoffDelay;
|
|
250
|
-
constructor(maxAttempts, computeNextBackoffDelay =
|
|
302
|
+
constructor(maxAttempts, computeNextBackoffDelay = Retry.delay()) {
|
|
251
303
|
super(typeof maxAttempts === "function" ? maxAttempts : async () => maxAttempts);
|
|
252
304
|
if (typeof computeNextBackoffDelay === "number") {
|
|
253
305
|
this.computeNextBackoffDelay = () => computeNextBackoffDelay;
|
|
@@ -275,6 +327,7 @@ exports.MAXIMUM_RETRY_DELAY = MAXIMUM_RETRY_DELAY;
|
|
|
275
327
|
exports.NO_RETRY_INCREMENT = NO_RETRY_INCREMENT;
|
|
276
328
|
exports.REQUEST_HEADER = REQUEST_HEADER;
|
|
277
329
|
exports.RETRY_COST = RETRY_COST;
|
|
330
|
+
exports.Retry = Retry;
|
|
278
331
|
exports.StandardRetryStrategy = StandardRetryStrategy;
|
|
279
332
|
exports.THROTTLING_RETRY_DELAY_BASE = THROTTLING_RETRY_DELAY_BASE;
|
|
280
333
|
exports.TIMEOUT_RETRY_COST = TIMEOUT_RETRY_COST;
|
|
@@ -2,15 +2,18 @@ import { RETRY_MODES } from "./config";
|
|
|
2
2
|
import { DefaultRateLimiter } from "./DefaultRateLimiter";
|
|
3
3
|
import { StandardRetryStrategy } from "./StandardRetryStrategy";
|
|
4
4
|
export class AdaptiveRetryStrategy {
|
|
5
|
-
|
|
5
|
+
mode = RETRY_MODES.ADAPTIVE;
|
|
6
6
|
rateLimiter;
|
|
7
7
|
standardRetryStrategy;
|
|
8
|
-
mode = RETRY_MODES.ADAPTIVE;
|
|
9
8
|
constructor(maxAttemptsProvider, options) {
|
|
10
|
-
this.maxAttemptsProvider = maxAttemptsProvider;
|
|
11
9
|
const { rateLimiter } = options ?? {};
|
|
12
10
|
this.rateLimiter = rateLimiter ?? new DefaultRateLimiter();
|
|
13
|
-
this.standardRetryStrategy =
|
|
11
|
+
this.standardRetryStrategy = options
|
|
12
|
+
? new StandardRetryStrategy({
|
|
13
|
+
maxAttempts: typeof maxAttemptsProvider === "number" ? maxAttemptsProvider : 3,
|
|
14
|
+
...options,
|
|
15
|
+
})
|
|
16
|
+
: new StandardRetryStrategy(maxAttemptsProvider);
|
|
14
17
|
}
|
|
15
18
|
async acquireInitialRetryToken(retryTokenScope) {
|
|
16
19
|
await this.rateLimiter.getSendToken();
|
|
@@ -24,4 +27,7 @@ export class AdaptiveRetryStrategy {
|
|
|
24
27
|
this.rateLimiter.updateClientSendingRate({});
|
|
25
28
|
this.standardRetryStrategy.recordSuccess(token);
|
|
26
29
|
}
|
|
30
|
+
async maxAttemptsProvider() {
|
|
31
|
+
return this.standardRetryStrategy.maxAttempts();
|
|
32
|
+
}
|
|
27
33
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Retry } from "./retries-2026-config";
|
|
2
2
|
import { StandardRetryStrategy } from "./StandardRetryStrategy";
|
|
3
3
|
export class ConfiguredRetryStrategy extends StandardRetryStrategy {
|
|
4
4
|
computeNextBackoffDelay;
|
|
5
|
-
constructor(maxAttempts, computeNextBackoffDelay =
|
|
5
|
+
constructor(maxAttempts, computeNextBackoffDelay = Retry.delay()) {
|
|
6
6
|
super(typeof maxAttempts === "function" ? maxAttempts : async () => maxAttempts);
|
|
7
7
|
if (typeof computeNextBackoffDelay === "number") {
|
|
8
8
|
this.computeNextBackoffDelay = () => computeNextBackoffDelay;
|
|
@@ -23,18 +23,37 @@ export class DefaultRateLimiter {
|
|
|
23
23
|
this.minFillRate = options?.minFillRate ?? 0.5;
|
|
24
24
|
this.scaleConstant = options?.scaleConstant ?? 0.4;
|
|
25
25
|
this.smooth = options?.smooth ?? 0.8;
|
|
26
|
-
|
|
27
|
-
this.lastThrottleTime = currentTimeInSeconds;
|
|
26
|
+
this.lastThrottleTime = this.getCurrentTimeInSeconds();
|
|
28
27
|
this.lastTxRateBucket = Math.floor(this.getCurrentTimeInSeconds());
|
|
29
28
|
this.fillRate = this.minFillRate;
|
|
30
29
|
this.maxCapacity = this.minCapacity;
|
|
31
30
|
}
|
|
32
|
-
getCurrentTimeInSeconds() {
|
|
33
|
-
return Date.now() / 1000;
|
|
34
|
-
}
|
|
35
31
|
async getSendToken() {
|
|
36
32
|
return this.acquireTokenBucket(1);
|
|
37
33
|
}
|
|
34
|
+
updateClientSendingRate(response) {
|
|
35
|
+
let calculatedRate;
|
|
36
|
+
this.updateMeasuredRate();
|
|
37
|
+
const retryErrorInfo = response;
|
|
38
|
+
const isThrottling = retryErrorInfo?.errorType === "THROTTLING" || isThrottlingError(retryErrorInfo?.error ?? response);
|
|
39
|
+
if (isThrottling) {
|
|
40
|
+
const rateToUse = !this.enabled ? this.measuredTxRate : Math.min(this.measuredTxRate, this.fillRate);
|
|
41
|
+
this.lastMaxRate = rateToUse;
|
|
42
|
+
this.calculateTimeWindow();
|
|
43
|
+
this.lastThrottleTime = this.getCurrentTimeInSeconds();
|
|
44
|
+
calculatedRate = this.cubicThrottle(rateToUse);
|
|
45
|
+
this.enableTokenBucket();
|
|
46
|
+
}
|
|
47
|
+
else {
|
|
48
|
+
this.calculateTimeWindow();
|
|
49
|
+
calculatedRate = this.cubicSuccess(this.getCurrentTimeInSeconds());
|
|
50
|
+
}
|
|
51
|
+
const newRate = Math.min(calculatedRate, 2 * this.measuredTxRate);
|
|
52
|
+
this.updateTokenBucketRate(newRate);
|
|
53
|
+
}
|
|
54
|
+
getCurrentTimeInSeconds() {
|
|
55
|
+
return Date.now() / 1000;
|
|
56
|
+
}
|
|
38
57
|
async acquireTokenBucket(amount) {
|
|
39
58
|
if (!this.enabled) {
|
|
40
59
|
return;
|
|
@@ -56,26 +75,6 @@ export class DefaultRateLimiter {
|
|
|
56
75
|
this.availableTokens = Math.min(this.maxCapacity, this.availableTokens + fillAmount);
|
|
57
76
|
this.lastTimestamp = timestamp;
|
|
58
77
|
}
|
|
59
|
-
updateClientSendingRate(response) {
|
|
60
|
-
let calculatedRate;
|
|
61
|
-
this.updateMeasuredRate();
|
|
62
|
-
const retryErrorInfo = response;
|
|
63
|
-
const isThrottling = retryErrorInfo?.errorType === "THROTTLING" || isThrottlingError(retryErrorInfo?.error ?? response);
|
|
64
|
-
if (isThrottling) {
|
|
65
|
-
const rateToUse = !this.enabled ? this.measuredTxRate : Math.min(this.measuredTxRate, this.fillRate);
|
|
66
|
-
this.lastMaxRate = rateToUse;
|
|
67
|
-
this.calculateTimeWindow();
|
|
68
|
-
this.lastThrottleTime = this.getCurrentTimeInSeconds();
|
|
69
|
-
calculatedRate = this.cubicThrottle(rateToUse);
|
|
70
|
-
this.enableTokenBucket();
|
|
71
|
-
}
|
|
72
|
-
else {
|
|
73
|
-
this.calculateTimeWindow();
|
|
74
|
-
calculatedRate = this.cubicSuccess(this.getCurrentTimeInSeconds());
|
|
75
|
-
}
|
|
76
|
-
const newRate = Math.min(calculatedRate, 2 * this.measuredTxRate);
|
|
77
|
-
this.updateTokenBucketRate(newRate);
|
|
78
|
-
}
|
|
79
78
|
calculateTimeWindow() {
|
|
80
79
|
this.timeWindow = this.getPrecise(Math.pow((this.lastMaxRate * (1 - this.beta)) / this.scaleConstant, 1 / 3));
|
|
81
80
|
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { MAXIMUM_RETRY_DELAY } from "./constants";
|
|
2
|
+
import { Retry } from "./retries-2026-config";
|
|
3
|
+
export class DefaultRetryBackoffStrategy {
|
|
4
|
+
x = Retry.delay();
|
|
5
|
+
computeNextBackoffDelay(i) {
|
|
6
|
+
const b = Math.random();
|
|
7
|
+
const r = 2;
|
|
8
|
+
const t_i = b * Math.min(this.x * r ** i, MAXIMUM_RETRY_DELAY);
|
|
9
|
+
return Math.floor(t_i);
|
|
10
|
+
}
|
|
11
|
+
setDelayBase(delay) {
|
|
12
|
+
this.x = delay;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { MAXIMUM_RETRY_DELAY } from "./constants";
|
|
2
|
+
export class DefaultRetryToken {
|
|
3
|
+
delay;
|
|
4
|
+
count;
|
|
5
|
+
cost;
|
|
6
|
+
longPoll;
|
|
7
|
+
constructor(delay, count, cost, longPoll) {
|
|
8
|
+
this.delay = delay;
|
|
9
|
+
this.count = count;
|
|
10
|
+
this.cost = cost;
|
|
11
|
+
this.longPoll = longPoll;
|
|
12
|
+
}
|
|
13
|
+
getRetryCount() {
|
|
14
|
+
return this.count;
|
|
15
|
+
}
|
|
16
|
+
getRetryDelay() {
|
|
17
|
+
return Math.min(MAXIMUM_RETRY_DELAY, this.delay);
|
|
18
|
+
}
|
|
19
|
+
getRetryCost() {
|
|
20
|
+
return this.cost;
|
|
21
|
+
}
|
|
22
|
+
isLongPoll() {
|
|
23
|
+
return this.longPoll;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -1,44 +1,57 @@
|
|
|
1
1
|
import { DEFAULT_MAX_ATTEMPTS, RETRY_MODES } from "./config";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
2
|
+
import { INITIAL_RETRY_TOKENS, NO_RETRY_INCREMENT } from "./constants";
|
|
3
|
+
import { DefaultRetryBackoffStrategy } from "./DefaultRetryBackoffStrategy";
|
|
4
|
+
import { DefaultRetryToken } from "./DefaultRetryToken";
|
|
5
|
+
import { Retry } from "./retries-2026-config";
|
|
5
6
|
export class StandardRetryStrategy {
|
|
6
|
-
maxAttempts;
|
|
7
7
|
mode = RETRY_MODES.STANDARD;
|
|
8
8
|
capacity = INITIAL_RETRY_TOKENS;
|
|
9
|
-
retryBackoffStrategy
|
|
9
|
+
retryBackoffStrategy;
|
|
10
10
|
maxAttemptsProvider;
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
baseDelay;
|
|
12
|
+
constructor(arg1) {
|
|
13
|
+
if (typeof arg1 === "number") {
|
|
14
|
+
this.maxAttemptsProvider = async () => arg1;
|
|
15
|
+
}
|
|
16
|
+
else if (typeof arg1 === "function") {
|
|
17
|
+
this.maxAttemptsProvider = arg1;
|
|
18
|
+
}
|
|
19
|
+
else if (arg1 && typeof arg1 === "object") {
|
|
20
|
+
this.maxAttemptsProvider = async () => arg1.maxAttempts;
|
|
21
|
+
this.baseDelay = arg1.baseDelay;
|
|
22
|
+
this.retryBackoffStrategy = arg1.backoff;
|
|
23
|
+
}
|
|
24
|
+
this.maxAttemptsProvider ??= async () => DEFAULT_MAX_ATTEMPTS;
|
|
25
|
+
this.baseDelay ??= Retry.delay();
|
|
26
|
+
this.retryBackoffStrategy ??= new DefaultRetryBackoffStrategy();
|
|
14
27
|
}
|
|
15
28
|
async acquireInitialRetryToken(retryTokenScope) {
|
|
16
|
-
return
|
|
17
|
-
retryDelay: DEFAULT_RETRY_DELAY_BASE,
|
|
18
|
-
retryCount: 0,
|
|
19
|
-
});
|
|
29
|
+
return new DefaultRetryToken(Retry.delay(), 0, undefined, Retry.v2026 && retryTokenScope.includes(":longpoll"));
|
|
20
30
|
}
|
|
21
31
|
async refreshRetryTokenForRetry(token, errorInfo) {
|
|
22
32
|
const maxAttempts = await this.getMaxAttempts();
|
|
23
|
-
|
|
33
|
+
const shouldRetry = this.shouldRetry(token, errorInfo, maxAttempts);
|
|
34
|
+
if (shouldRetry || token.isLongPoll?.()) {
|
|
24
35
|
const errorType = errorInfo.errorType;
|
|
25
|
-
this.retryBackoffStrategy.setDelayBase(errorType === "THROTTLING" ?
|
|
36
|
+
this.retryBackoffStrategy.setDelayBase(errorType === "THROTTLING" ? Retry.throttlingDelay() : this.baseDelay);
|
|
26
37
|
const delayFromErrorType = this.retryBackoffStrategy.computeNextBackoffDelay(token.getRetryCount());
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
38
|
+
let retryDelay = delayFromErrorType;
|
|
39
|
+
if (errorInfo.retryAfterHint instanceof Date) {
|
|
40
|
+
retryDelay = Math.max(delayFromErrorType, Math.min(errorInfo.retryAfterHint.getTime() - Date.now(), delayFromErrorType + 5_000));
|
|
41
|
+
}
|
|
42
|
+
if (!shouldRetry) {
|
|
43
|
+
throw Object.assign(new Error("No retry token available"), { $backoff: Retry.v2026 ? retryDelay : 0 });
|
|
44
|
+
}
|
|
45
|
+
else {
|
|
46
|
+
const capacityCost = this.getCapacityCost(errorType);
|
|
47
|
+
this.capacity -= capacityCost;
|
|
48
|
+
return new DefaultRetryToken(retryDelay, token.getRetryCount() + 1, capacityCost, token.isLongPoll?.() ?? false);
|
|
49
|
+
}
|
|
37
50
|
}
|
|
38
51
|
throw new Error("No retry token available");
|
|
39
52
|
}
|
|
40
53
|
recordSuccess(token) {
|
|
41
|
-
this.capacity = Math.
|
|
54
|
+
this.capacity = Math.min(INITIAL_RETRY_TOKENS, this.capacity + (token.getRetryCost() ?? NO_RETRY_INCREMENT));
|
|
42
55
|
}
|
|
43
56
|
getCapacity() {
|
|
44
57
|
return this.capacity;
|
|
@@ -59,9 +72,12 @@ export class StandardRetryStrategy {
|
|
|
59
72
|
this.isRetryableError(errorInfo.errorType));
|
|
60
73
|
}
|
|
61
74
|
getCapacityCost(errorType) {
|
|
62
|
-
return errorType ===
|
|
75
|
+
return errorType === Retry.modifiedCostType() ? Retry.throttlingCost() : Retry.cost();
|
|
63
76
|
}
|
|
64
77
|
isRetryableError(errorType) {
|
|
65
78
|
return errorType === "THROTTLING" || errorType === "TRANSIENT";
|
|
66
79
|
}
|
|
80
|
+
async maxAttempts() {
|
|
81
|
+
return this.maxAttemptsProvider();
|
|
82
|
+
}
|
|
67
83
|
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export class Retry {
|
|
2
|
+
static v2026 = typeof process !== "undefined" && process.env?.SMITHY_NEW_RETRIES_2026 === "true";
|
|
3
|
+
static delay() {
|
|
4
|
+
return Retry.v2026 ? 50 : 100;
|
|
5
|
+
}
|
|
6
|
+
static throttlingDelay() {
|
|
7
|
+
return Retry.v2026 ? 1_000 : 500;
|
|
8
|
+
}
|
|
9
|
+
static cost() {
|
|
10
|
+
return Retry.v2026 ? 14 : 5;
|
|
11
|
+
}
|
|
12
|
+
static throttlingCost() {
|
|
13
|
+
return Retry.v2026 ? 5 : 10;
|
|
14
|
+
}
|
|
15
|
+
static modifiedCostType() {
|
|
16
|
+
return Retry.v2026 ? "THROTTLING" : "TRANSIENT";
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
import type { Provider, RetryErrorInfo, RetryStrategyV2, RetryToken, StandardRetryToken } from "@smithy/types";
|
|
2
|
+
import type { StandardRetryStrategyOptions } from "./StandardRetryStrategy";
|
|
2
3
|
import type { RateLimiter } from "./types";
|
|
3
4
|
/**
|
|
4
|
-
* @public
|
|
5
|
-
*
|
|
6
5
|
* Strategy options to be passed to AdaptiveRetryStrategy
|
|
6
|
+
*
|
|
7
|
+
* @public
|
|
7
8
|
*/
|
|
8
|
-
export interface AdaptiveRetryStrategyOptions {
|
|
9
|
+
export interface AdaptiveRetryStrategyOptions extends Partial<StandardRetryStrategyOptions> {
|
|
9
10
|
rateLimiter?: RateLimiter;
|
|
10
11
|
}
|
|
11
12
|
/**
|
|
12
|
-
* @public
|
|
13
|
-
*
|
|
14
13
|
* The AdaptiveRetryStrategy is a retry strategy for executing against a very
|
|
15
14
|
* resource constrained set of resources. Care should be taken when using this
|
|
16
15
|
* retry strategy. By default, it uses a dynamic backoff delay based on load
|
|
@@ -18,16 +17,22 @@ export interface AdaptiveRetryStrategyOptions {
|
|
|
18
17
|
* breaking to disable retries in the event of high downstream failures using
|
|
19
18
|
* the DefaultRateLimiter.
|
|
20
19
|
*
|
|
20
|
+
* @public
|
|
21
|
+
*
|
|
21
22
|
* @see {@link StandardRetryStrategy}
|
|
22
23
|
* @see {@link DefaultRateLimiter }
|
|
23
24
|
*/
|
|
24
25
|
export declare class AdaptiveRetryStrategy implements RetryStrategyV2 {
|
|
25
|
-
|
|
26
|
+
readonly mode: string;
|
|
26
27
|
private rateLimiter;
|
|
27
28
|
private standardRetryStrategy;
|
|
28
|
-
|
|
29
|
-
constructor(maxAttemptsProvider: Provider<number>, options?: AdaptiveRetryStrategyOptions);
|
|
29
|
+
constructor(maxAttemptsProvider: number | Provider<number>, options?: AdaptiveRetryStrategyOptions);
|
|
30
30
|
acquireInitialRetryToken(retryTokenScope: string): Promise<RetryToken>;
|
|
31
31
|
refreshRetryTokenForRetry(tokenToRenew: StandardRetryToken, errorInfo: RetryErrorInfo): Promise<RetryToken>;
|
|
32
32
|
recordSuccess(token: StandardRetryToken): void;
|
|
33
|
+
/**
|
|
34
|
+
* There is an existing integration which accesses this field.
|
|
35
|
+
* @deprecated
|
|
36
|
+
*/
|
|
37
|
+
maxAttemptsProvider(): Promise<number>;
|
|
33
38
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type { Provider, RetryBackoffStrategy, RetryErrorInfo, RetryStrategyV2, StandardRetryToken } from "@smithy/types";
|
|
2
2
|
import { StandardRetryStrategy } from "./StandardRetryStrategy";
|
|
3
3
|
/**
|
|
4
|
-
* @public
|
|
5
|
-
*
|
|
6
4
|
* This extension of the StandardRetryStrategy allows customizing the
|
|
7
5
|
* backoff computation.
|
|
6
|
+
*
|
|
7
|
+
* @public
|
|
8
8
|
*/
|
|
9
9
|
export declare class ConfiguredRetryStrategy extends StandardRetryStrategy implements RetryStrategyV2 {
|
|
10
10
|
private readonly computeNextBackoffDelay;
|
|
@@ -37,11 +37,11 @@ export declare class DefaultRateLimiter implements RateLimiter {
|
|
|
37
37
|
* Only used in testing.
|
|
38
38
|
*/
|
|
39
39
|
private static setTimeoutFn;
|
|
40
|
-
private beta;
|
|
41
|
-
private minCapacity;
|
|
42
|
-
private minFillRate;
|
|
43
|
-
private scaleConstant;
|
|
44
|
-
private smooth;
|
|
40
|
+
private readonly beta;
|
|
41
|
+
private readonly minCapacity;
|
|
42
|
+
private readonly minFillRate;
|
|
43
|
+
private readonly scaleConstant;
|
|
44
|
+
private readonly smooth;
|
|
45
45
|
/**
|
|
46
46
|
* Whether adaptive retry rate limiting is active.
|
|
47
47
|
* Remains `false` until a throttling error is detected.
|
|
@@ -89,11 +89,11 @@ export declare class DefaultRateLimiter implements RateLimiter {
|
|
|
89
89
|
*/
|
|
90
90
|
private timeWindow;
|
|
91
91
|
constructor(options?: DefaultRateLimiterOptions);
|
|
92
|
-
private getCurrentTimeInSeconds;
|
|
93
92
|
getSendToken(): Promise<void>;
|
|
93
|
+
updateClientSendingRate(response: any): void;
|
|
94
|
+
private getCurrentTimeInSeconds;
|
|
94
95
|
private acquireTokenBucket;
|
|
95
96
|
private refillTokenBucket;
|
|
96
|
-
updateClientSendingRate(response: any): void;
|
|
97
97
|
private calculateTimeWindow;
|
|
98
98
|
/**
|
|
99
99
|
* Returns a new fill rate in adaptive-tokens per second by reducing
|