@cdklabs/cdk-ssm-documents 0.0.63 → 0.0.65
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 +12 -12
- package/lib/construct/synth-utils.js +1 -1
- package/lib/document/automation-document.js +1 -1
- package/lib/document/command-document.js +1 -1
- package/lib/document/document-builder.js +2 -2
- package/lib/document/ssm-document.js +1 -1
- package/lib/domain/aws-service.js +1 -1
- package/lib/domain/choice.js +1 -1
- package/lib/domain/data-type.js +1 -1
- package/lib/domain/enum/install-action.js +2 -2
- package/lib/domain/enum/install-uninstall-repair.js +2 -2
- package/lib/domain/enum/installation-type.js +2 -2
- package/lib/domain/enum/package-name.js +2 -2
- package/lib/domain/input.js +1 -1
- package/lib/domain/operation.js +1 -1
- package/lib/domain/platform.js +1 -1
- package/lib/domain/precondition.js +1 -1
- package/lib/incident-response/incident-response.js +3 -3
- package/lib/interface/approve-hook.js +2 -2
- package/lib/interface/auth-method.js +3 -3
- package/lib/interface/aws-invoker.js +2 -2
- package/lib/interface/downloadable-content.js +8 -8
- package/lib/interface/environment.js +3 -3
- package/lib/interface/execute-automation-hook/api-execute-automation-hook.js +1 -1
- package/lib/interface/observer.js +1 -1
- package/lib/interface/on-failure.js +6 -6
- package/lib/interface/pause-hook.js +2 -2
- package/lib/interface/run-command-hook/api-run-command-hook.js +1 -1
- package/lib/interface/run-document-location.js +2 -2
- package/lib/interface/sleep-hook.js +2 -2
- package/lib/interface/step-ref.js +1 -1
- package/lib/interface/variables/boolean-variable.js +2 -2
- package/lib/interface/variables/map-list-variable.js +2 -2
- package/lib/interface/variables/number-variable.js +2 -2
- package/lib/interface/variables/secure-string-variable.js +4 -4
- package/lib/interface/variables/string-list-variable.js +2 -2
- package/lib/interface/variables/string-map-variable.js +2 -2
- package/lib/interface/variables/string-variable.js +4 -4
- package/lib/interface/variables/variable.js +2 -2
- package/lib/interface/webhook.js +1 -1
- package/lib/parent-steps/automation/approve-step.js +1 -1
- package/lib/parent-steps/automation/assert-aws-resource-step.js +1 -1
- package/lib/parent-steps/automation/aws-api-step.js +1 -1
- package/lib/parent-steps/automation/branch-step.js +1 -1
- package/lib/parent-steps/automation/change-instance-state-step.js +3 -3
- package/lib/parent-steps/automation/copy-image-step.js +1 -1
- package/lib/parent-steps/automation/create-image-step.js +1 -1
- package/lib/parent-steps/automation/create-stack-step.js +3 -3
- package/lib/parent-steps/automation/create-tags-step.js +3 -3
- package/lib/parent-steps/automation/delete-image-step.js +1 -1
- package/lib/parent-steps/automation/delete-stack-step.js +1 -1
- package/lib/parent-steps/automation/execute-automation-step.js +1 -1
- package/lib/parent-steps/automation/execute-script-step.js +5 -5
- package/lib/parent-steps/automation/execute-state-machine-step.js +1 -1
- package/lib/parent-steps/automation/invoke-lambda-function-step.js +1 -1
- package/lib/parent-steps/automation/invoke-webhook-step.js +1 -1
- package/lib/parent-steps/automation/pause-step.js +1 -1
- package/lib/parent-steps/automation/run-command-step.js +3 -3
- package/lib/parent-steps/automation/run-instance-step.js +1 -1
- package/lib/parent-steps/automation/sleep-step.js +1 -1
- package/lib/parent-steps/automation/update-variable.js +1 -1
- package/lib/parent-steps/automation/wait-for-resource-step.js +1 -1
- package/lib/parent-steps/automation-step.js +1 -1
- package/lib/parent-steps/command/applications-step.js +1 -1
- package/lib/parent-steps/command/configure-docker-step.js +1 -1
- package/lib/parent-steps/command/configure-package-step.js +1 -1
- package/lib/parent-steps/command/domain-join-step.js +1 -1
- package/lib/parent-steps/command/download-content-step.js +1 -1
- package/lib/parent-steps/command/ps-module-step.js +1 -1
- package/lib/parent-steps/command/run-docker-action-step.js +1 -1
- package/lib/parent-steps/command/run-document-step.js +1 -1
- package/lib/parent-steps/command/run-powershell-script-step.js +1 -1
- package/lib/parent-steps/command/run-shell-script-step.js +1 -1
- package/lib/parent-steps/command/software-inventory-step.js +1 -1
- package/lib/parent-steps/command/update-agent-step.js +1 -1
- package/lib/parent-steps/command/update-ssm-agent-step.js +1 -1
- package/lib/parent-steps/command-step.js +1 -1
- package/lib/parent-steps/step.js +1 -1
- package/lib/patterns/automation/composite-step.js +2 -2
- package/lib/patterns/automation/reboot-instance-and-wait.js +1 -1
- package/lib/patterns/automation/string-step.js +1 -1
- package/lib/patterns/document/string-document.js +1 -1
- package/lib/patterns/document/timed-document.js +1 -1
- package/lib/samples/hello-world.js +1 -1
- package/lib/simulation/automation/approve-simulation.js +1 -1
- package/lib/simulation/automation/assert-aws-resource-simulation.js +1 -1
- package/lib/simulation/automation/automation-simulation-base.js +1 -1
- package/lib/simulation/automation/aws-api-simulation.js +1 -1
- package/lib/simulation/automation/branch-simulation.js +1 -1
- package/lib/simulation/automation/change-instance-state-simulation.js +1 -1
- package/lib/simulation/automation/copy-image-simulation.js +1 -1
- package/lib/simulation/automation/create-image-simulation.js +1 -1
- package/lib/simulation/automation/create-stack-simulation.js +1 -1
- package/lib/simulation/automation/create-tags-simulation.js +1 -1
- package/lib/simulation/automation/delete-image-simulation.js +1 -1
- package/lib/simulation/automation/delete-stack-simulation.js +1 -1
- package/lib/simulation/automation/execute-script-simulation.js +1 -1
- package/lib/simulation/automation/execute-state-machine-simulation.js +1 -1
- package/lib/simulation/automation/invoke-lambda-function-simulation.js +1 -1
- package/lib/simulation/automation/invoke-webhook-simulation.js +1 -1
- package/lib/simulation/automation/pause-simulation.js +1 -1
- package/lib/simulation/automation/run-command-simulation.js +1 -1
- package/lib/simulation/automation/run-instance-simulation.js +1 -1
- package/lib/simulation/automation/sleep-simulation.js +1 -1
- package/lib/simulation/automation/update-variable-simulation.js +1 -1
- package/lib/simulation/automation/wait-for-resource-simulation.js +1 -1
- package/lib/simulation/automation-step-simulation.js +1 -1
- package/lib/simulation/command/command-simulation-base.js +1 -1
- package/lib/simulation/command/ps-module-simulation.js +1 -1
- package/lib/simulation/command/run-powershell-script-simulation.js +1 -1
- package/lib/simulation/command/run-shell-script-simulation.js +1 -1
- package/lib/simulation/command-step-simulation.js +1 -1
- package/lib/simulation/document/automation-simulation.js +1 -1
- package/lib/simulation/document/command-simulation.js +1 -1
- package/lib/simulation/simulation.js +1 -1
- package/node_modules/@aws-sdk/{middleware-ssec → checksums}/LICENSE +1 -1
- package/node_modules/@aws-sdk/checksums/README.md +6 -0
- package/node_modules/@aws-sdk/checksums/dist-cjs/index.js +547 -0
- package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-es → checksums/dist-es/flexible-checksums}/selectChecksumAlgorithmFunction.js +2 -1
- package/node_modules/@aws-sdk/checksums/dist-es/index.js +8 -0
- package/node_modules/@aws-sdk/checksums/dist-types/index.d.ts +11 -0
- package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/index.d.ts +33 -0
- package/node_modules/@aws-sdk/{middleware-ssec → checksums}/package.json +33 -17
- package/node_modules/@aws-sdk/client-cloudformation/README.md +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/CloudFormation.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/CloudFormationClient.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/index.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/models/models_0.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/package.json +10 -10
- package/node_modules/@aws-sdk/client-cloudwatch/README.md +21 -0
- package/node_modules/@aws-sdk/client-cloudwatch/dist-cjs/index.js +42 -0
- package/node_modules/@aws-sdk/client-cloudwatch/dist-cjs/models/errors.js +75 -30
- package/node_modules/@aws-sdk/client-cloudwatch/dist-cjs/schemas/schemas_0.js +77 -4
- package/node_modules/@aws-sdk/client-cloudwatch/dist-es/CloudWatch.js +6 -0
- package/node_modules/@aws-sdk/client-cloudwatch/dist-es/commands/AssociateDatasetKmsKeyCommand.js +16 -0
- package/node_modules/@aws-sdk/client-cloudwatch/dist-es/commands/DisassociateDatasetKmsKeyCommand.js +16 -0
- package/node_modules/@aws-sdk/client-cloudwatch/dist-es/commands/GetDatasetCommand.js +16 -0
- package/node_modules/@aws-sdk/client-cloudwatch/dist-es/commands/index.js +3 -0
- package/node_modules/@aws-sdk/client-cloudwatch/dist-es/models/errors.js +68 -26
- package/node_modules/@aws-sdk/client-cloudwatch/dist-es/schemas/schemas_0.js +73 -1
- package/node_modules/@aws-sdk/client-cloudwatch/dist-types/CloudWatch.d.ts +21 -0
- package/node_modules/@aws-sdk/client-cloudwatch/dist-types/CloudWatchClient.d.ts +5 -2
- package/node_modules/@aws-sdk/client-cloudwatch/dist-types/commands/AssociateDatasetKmsKeyCommand.d.ts +161 -0
- package/node_modules/@aws-sdk/client-cloudwatch/dist-types/commands/DisassociateDatasetKmsKeyCommand.d.ts +105 -0
- package/node_modules/@aws-sdk/client-cloudwatch/dist-types/commands/GetDatasetCommand.d.ts +91 -0
- package/node_modules/@aws-sdk/client-cloudwatch/dist-types/commands/index.d.ts +3 -0
- package/node_modules/@aws-sdk/client-cloudwatch/dist-types/models/errors.d.ts +74 -23
- package/node_modules/@aws-sdk/client-cloudwatch/dist-types/models/models_0.d.ts +90 -0
- package/node_modules/@aws-sdk/client-cloudwatch/dist-types/schemas/schemas_0.d.ts +12 -0
- package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/CloudWatch.d.ts +51 -0
- package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/CloudWatchClient.d.ts +18 -0
- package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/commands/AssociateDatasetKmsKeyCommand.d.ts +53 -0
- package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/commands/DisassociateDatasetKmsKeyCommand.d.ts +53 -0
- package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/commands/GetDatasetCommand.d.ts +49 -0
- package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/models/errors.d.ts +40 -16
- package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/models/models_0.d.ts +17 -0
- package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/schemas/schemas_0.d.ts +12 -0
- package/node_modules/@aws-sdk/client-cloudwatch/package.json +16 -16
- package/node_modules/@aws-sdk/client-ec2/README.md +28 -0
- package/node_modules/@aws-sdk/client-ec2/dist-cjs/index.js +75 -0
- package/node_modules/@aws-sdk/client-ec2/dist-cjs/schemas/schemas_0.js +280 -82
- package/node_modules/@aws-sdk/client-ec2/dist-es/EC2.js +8 -0
- package/node_modules/@aws-sdk/client-ec2/dist-es/commands/AttachImageWatermarkCommand.js +16 -0
- package/node_modules/@aws-sdk/client-ec2/dist-es/commands/CreateCapacityReservationCancellationQuoteCommand.js +16 -0
- package/node_modules/@aws-sdk/client-ec2/dist-es/commands/DescribeCapacityReservationCancellationQuotesCommand.js +16 -0
- package/node_modules/@aws-sdk/client-ec2/dist-es/commands/DetachImageWatermarkCommand.js +16 -0
- package/node_modules/@aws-sdk/client-ec2/dist-es/commands/index.js +4 -0
- package/node_modules/@aws-sdk/client-ec2/dist-es/models/enums.js +16 -0
- package/node_modules/@aws-sdk/client-ec2/dist-es/schemas/schemas_0.js +218 -21
- package/node_modules/@aws-sdk/client-ec2/dist-types/EC2.d.ts +29 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/EC2Client.d.ts +6 -2
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/AcceptAddressTransferCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/AllocateAddressCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/AllocateHostsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/AllocateIpamPoolCidrCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/AssociateIpamResourceDiscoveryCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/AttachImageWatermarkCommand.d.ts +84 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/AuthorizeSecurityGroupEgressCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/AuthorizeSecurityGroupIngressCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CancelCapacityReservationCommand.d.ts +16 -2
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CopyImageCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CopySnapshotCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CopyVolumesCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateCapacityManagerDataExportCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateCapacityReservationBySplittingCommand.d.ts +5 -5
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateCapacityReservationCancellationQuoteCommand.d.ts +117 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateCapacityReservationCommand.d.ts +3 -3
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateCapacityReservationFleetCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateCarrierGatewayCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateClientVpnEndpointCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateCoipPoolCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateCustomerGatewayCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateDefaultSubnetCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateDefaultVpcCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateDelegateMacVolumeOwnershipTaskCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateDhcpOptionsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateEgressOnlyInternetGatewayCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateFleetCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateFlowLogsCommand.d.ts +9 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateFpgaImageCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateImageCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateImageUsageReportCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateInstanceConnectEndpointCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateInstanceEventWindowCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateInstanceExportTaskCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateInternetGatewayCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateInterruptibleCapacityReservationAllocationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateIpamCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateIpamExternalResourceVerificationTokenCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateIpamPolicyCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateIpamPoolCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateIpamPrefixListResolverCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateIpamPrefixListResolverTargetCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateIpamResourceDiscoveryCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateIpamScopeCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateKeyPairCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateLaunchTemplateCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateLocalGatewayRouteTableCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateLocalGatewayRouteTableVpcAssociationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateLocalGatewayVirtualInterfaceCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateLocalGatewayVirtualInterfaceGroupCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateMacSystemIntegrityProtectionModificationTaskCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateManagedPrefixListCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateNatGatewayCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateNetworkAclCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateNetworkInsightsAccessScopeCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateNetworkInsightsPathCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateNetworkInterfaceCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreatePlacementGroupCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreatePublicIpv4PoolCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateReplaceRootVolumeTaskCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateRestoreImageTaskCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateRouteServerCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateRouteServerEndpointCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateRouteServerPeerCommand.d.ts +3 -2
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateRouteTableCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateSecondaryNetworkCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateSecondarySubnetCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateSecurityGroupCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateSnapshotCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateSnapshotsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateSubnetCidrReservationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateSubnetCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTrafficMirrorFilterCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTrafficMirrorFilterRuleCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTrafficMirrorSessionCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTrafficMirrorTargetCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTransitGatewayCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTransitGatewayConnectCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTransitGatewayConnectPeerCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTransitGatewayMeteringPolicyCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTransitGatewayMulticastDomainCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTransitGatewayPeeringAttachmentCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTransitGatewayPolicyTableCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTransitGatewayRouteTableAnnouncementCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTransitGatewayRouteTableCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTransitGatewayVpcAttachmentCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVerifiedAccessEndpointCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVerifiedAccessGroupCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVerifiedAccessInstanceCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVerifiedAccessTrustProviderCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVolumeCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVpcBlockPublicAccessExclusionCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVpcCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVpcEncryptionControlCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVpcEndpointCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVpcEndpointServiceConfigurationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVpcPeeringConnectionCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVpnConcentratorCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVpnConnectionCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVpnGatewayCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DeleteSecurityGroupCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DeleteSnapshotCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DeleteSpotDatafeedSubscriptionCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DeleteSubnetCidrReservationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DeleteSubnetCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DeleteTagsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DeleteTrafficMirrorFilterCommand.d.ts +1 -2
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeCapacityReservationCancellationQuotesCommand.d.ts +119 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeCapacityReservationsCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeFlowLogsCommand.d.ts +8 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeImagesCommand.d.ts +9 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeImportSnapshotTasksCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeInstanceAttributeCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeInstanceConnectEndpointsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeInstanceImageMetadataCommand.d.ts +9 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeSpotFleetRequestsCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeSpotInstanceRequestsCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeSpotPriceHistoryCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeStaleSecurityGroupsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeStoreImageTasksCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeSubnetsCommand.d.ts +1 -2
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeTagsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeVolumesModificationsCommand.d.ts +0 -5
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DetachImageWatermarkCommand.d.ts +82 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ExportImageCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetCapacityManagerAttributesCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetCapacityManagerMetricDataCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetCapacityManagerMetricDimensionsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetCapacityManagerMonitoredTagKeysCommand.d.ts +1 -2
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetCapacityReservationUsageCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ImportImageCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ImportKeyPairCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ImportSnapshotCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifyIpamScopeCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifyLaunchTemplateCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifyLocalGatewayRouteCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifyManagedPrefixListCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifyManagedResourceVisibilityCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifyNetworkInterfaceAttributeCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifyPrivateDnsNameOptionsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifyVolumeCommand.d.ts +0 -5
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/MoveCapacityReservationInstancesCommand.d.ts +4 -4
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ProvisionByoipCidrCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/PurchaseCapacityBlockCommand.d.ts +3 -3
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/PurchaseHostReservationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/RegisterImageCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/RequestSpotFleetCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/RequestSpotInstancesCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/RunInstancesCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/StartDeclarativePoliciesReportCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/StartNetworkInsightsAccessScopeAnalysisCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/StartNetworkInsightsAnalysisCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/index.d.ts +4 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/models/enums.d.ts +40 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_0.d.ts +196 -207
- package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_1.d.ts +237 -356
- package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_2.d.ts +354 -140
- package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_3.d.ts +249 -434
- package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_4.d.ts +2348 -2496
- package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_5.d.ts +907 -861
- package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_6.d.ts +580 -384
- package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_7.d.ts +385 -7
- package/node_modules/@aws-sdk/client-ec2/dist-types/schemas/schemas_0.d.ts +18 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/EC2.d.ts +81 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/EC2Client.d.ts +24 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/AttachImageWatermarkCommand.d.ts +53 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateCapacityReservationCancellationQuoteCommand.d.ts +53 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateDefaultSubnetCommand.d.ts +2 -4
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateDefaultVpcCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateRouteServerPeerCommand.d.ts +2 -4
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateRouteTableCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteSecurityGroupCommand.d.ts +2 -4
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteSnapshotCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteSpotDatafeedSubscriptionCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteSubnetCidrReservationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteSubnetCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteTagsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteTrafficMirrorFilterCommand.d.ts +4 -2
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeCapacityReservationCancellationQuotesCommand.d.ts +53 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeImportSnapshotTasksCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeInstanceAttributeCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeInstanceConnectEndpointsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeSpotInstanceRequestsCommand.d.ts +2 -4
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeSpotPriceHistoryCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeStaleSecurityGroupsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeStoreImageTasksCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeSubnetsCommand.d.ts +4 -2
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DetachImageWatermarkCommand.d.ts +53 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetCapacityManagerAttributesCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetCapacityManagerMetricDataCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetCapacityManagerMetricDimensionsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetCapacityManagerMonitoredTagKeysCommand.d.ts +4 -2
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyIpamScopeCommand.d.ts +2 -4
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyLaunchTemplateCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyLocalGatewayRouteCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyManagedPrefixListCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyManagedResourceVisibilityCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyNetworkInterfaceAttributeCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyPrivateDnsNameOptionsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/enums.d.ts +22 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_0.d.ts +45 -52
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_1.d.ts +60 -74
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_2.d.ts +79 -34
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_3.d.ts +61 -90
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_4.d.ts +92 -87
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_5.d.ts +98 -110
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_6.d.ts +109 -92
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_7.d.ts +89 -3
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/schemas/schemas_0.d.ts +18 -0
- package/node_modules/@aws-sdk/client-ec2/package.json +16 -14
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/CreateServiceSpecificCredentialCommand.d.ts +18 -3
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListServiceSpecificCredentialsCommand.d.ts +17 -2
- package/node_modules/@aws-sdk/client-iam/dist-types/models/models_0.d.ts +5 -2
- package/node_modules/@aws-sdk/client-iam/package.json +15 -15
- package/node_modules/@aws-sdk/client-lambda/dist-cjs/index.js +5 -0
- package/node_modules/@aws-sdk/client-lambda/dist-cjs/schemas/schemas_0.js +20 -13
- package/node_modules/@aws-sdk/client-lambda/dist-es/models/enums.js +4 -0
- package/node_modules/@aws-sdk/client-lambda/dist-es/schemas/schemas_0.js +16 -9
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/CreateCapacityProviderCommand.d.ts +12 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/DeleteCapacityProviderCommand.d.ts +6 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetCapacityProviderCommand.d.ts +6 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetProvisionedConcurrencyConfigCommand.d.ts +4 -4
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/ListCapacityProvidersCommand.d.ts +6 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/UpdateCapacityProviderCommand.d.ts +12 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/models/enums.d.ts +18 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/models/models_0.d.ts +32 -1
- package/node_modules/@aws-sdk/client-lambda/dist-types/schemas/schemas_0.d.ts +1 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/models/enums.d.ts +6 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/models/models_0.d.ts +8 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -0
- package/node_modules/@aws-sdk/client-lambda/package.json +11 -11
- package/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +85 -88
- package/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.js +3 -4
- package/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.shared.js +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-es/S3Client.js +1 -2
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/AbortMultipartUploadCommand.js +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/CompleteMultipartUploadCommand.js +1 -2
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/CopyObjectCommand.js +1 -2
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateBucketCommand.js +1 -2
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateMultipartUploadCommand.js +1 -2
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateSessionCommand.js +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteObjectCommand.js +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteObjectTaggingCommand.js +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteObjectsCommand.js +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketAbacCommand.js +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketAccelerateConfigurationCommand.js +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketAclCommand.js +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketAnalyticsConfigurationCommand.js +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketCorsCommand.js +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketEncryptionCommand.js +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketIntelligentTieringConfigurationCommand.js +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketInventoryConfigurationCommand.js +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketLifecycleConfigurationCommand.js +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketLocationCommand.js +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketLoggingCommand.js +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketMetadataConfigurationCommand.js +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketMetadataTableConfigurationCommand.js +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketMetricsConfigurationCommand.js +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketNotificationConfigurationCommand.js +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketOwnershipControlsCommand.js +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketPolicyStatusCommand.js +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketReplicationCommand.js +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketRequestPaymentCommand.js +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketTaggingCommand.js +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketVersioningCommand.js +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketWebsiteCommand.js +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectAclCommand.js +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectAttributesCommand.js +1 -2
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectCommand.js +1 -2
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectLegalHoldCommand.js +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectLockConfigurationCommand.js +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectRetentionCommand.js +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectTaggingCommand.js +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetPublicAccessBlockCommand.js +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/HeadBucketCommand.js +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/HeadObjectCommand.js +1 -2
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketAnalyticsConfigurationsCommand.js +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketIntelligentTieringConfigurationsCommand.js +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketInventoryConfigurationsCommand.js +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketMetricsConfigurationsCommand.js +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketsCommand.js +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/ListDirectoryBucketsCommand.js +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/ListMultipartUploadsCommand.js +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/ListObjectVersionsCommand.js +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/ListObjectsCommand.js +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/ListObjectsV2Command.js +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/ListPartsCommand.js +1 -2
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketLifecycleConfigurationCommand.js +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectAclCommand.js +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectCommand.js +1 -2
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectLegalHoldCommand.js +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectLockConfigurationCommand.js +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectRetentionCommand.js +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectTaggingCommand.js +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/RenameObjectCommand.js +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/RestoreObjectCommand.js +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/SelectObjectContentCommand.js +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/UpdateObjectEncryptionCommand.js +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/UploadPartCommand.js +1 -2
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/UploadPartCopyCommand.js +1 -2
- package/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.js +1 -2
- package/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.shared.js +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/S3Client.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.browser.d.ts +4 -4
- package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.d.ts +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.native.d.ts +4 -4
- package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.shared.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/S3Client.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.browser.d.ts +6 -6
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.native.d.ts +6 -6
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/package.json +15 -19
- package/node_modules/@aws-sdk/client-sns/dist-types/commands/ConfirmSubscriptionCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-sns/dist-types/commands/SetSubscriptionAttributesCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-sns/dist-types/commands/SubscribeCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-sns/dist-types/models/errors.d.ts +1 -1
- package/node_modules/@aws-sdk/client-sns/package.json +10 -10
- package/node_modules/@aws-sdk/client-sqs/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/client-sqs/dist-es/commands/ReceiveMessageCommand.js +1 -1
- package/node_modules/@aws-sdk/client-sqs/package.json +12 -12
- package/node_modules/@aws-sdk/client-ssm/package.json +10 -10
- package/node_modules/@aws-sdk/core/dist-cjs/index.js +47 -2291
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +12 -6
- package/node_modules/@aws-sdk/core/dist-es/index.js +3 -3
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.js +1 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.js +11 -6
- package/node_modules/@aws-sdk/core/dist-types/index.d.ts +5 -5
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/index.d.ts +5 -5
- package/node_modules/@aws-sdk/core/package.json +12 -12
- package/node_modules/@aws-sdk/credential-provider-env/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-http/package.json +11 -10
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +15 -15
- package/node_modules/@aws-sdk/credential-provider-login/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-node/package.json +13 -13
- package/node_modules/@aws-sdk/credential-provider-process/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js +4 -1
- package/node_modules/@aws-sdk/credential-provider-sso/dist-es/resolveSSOCredentials.js +4 -1
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +12 -10
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +8 -8
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-cjs/index.js +21 -447
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/index.js +1 -6
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/index.d.ts +2 -6
- package/node_modules/@aws-sdk/middleware-flexible-checksums/package.json +5 -36
- package/node_modules/@aws-sdk/middleware-sdk-ec2/package.json +8 -8
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/index.browser.js +34 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/index.js +57 -53
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/submodules/s3/index.browser.js +1028 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/submodules/s3/index.js +1042 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/submodules/s3-control/index.js +215 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/index.browser.js +1 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/index.js +1 -9
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/submodules/s3/index.browser.js +30 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/submodules/s3/index.js +25 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/{s3Configuration.js → submodules/s3/middleware-s3-configuration/s3Configuration.js} +1 -1
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/{throw-200-exceptions.js → submodules/s3/middleware-throw-200-exceptions/throw-200-exceptions.js} +1 -1
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/{validate-bucket-name.js → submodules/s3/middleware-validate-bucket-name/validate-bucket-name.js} +1 -1
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/submodules/s3-control/configurations.js +7 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/submodules/s3-control/constants.js +5 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/submodules/s3-control/index.js +7 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/submodules/s3-control/middleware-host-prefix-deduplication/hostPrefixDeduplicationMiddleware.js +17 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/submodules/s3-control/middleware-process-arnables/getOutpostEndpoint.js +18 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/submodules/s3-control/middleware-process-arnables/getProcessArnablesPlugin.js +8 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/submodules/s3-control/middleware-process-arnables/parse-outpost-arnables.js +94 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/submodules/s3-control/middleware-process-arnables/update-arnables-request.js +31 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/submodules/s3-control/middleware-redirect-from-postid/redirect-from-postid.js +26 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/index.browser.d.ts +2 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/index.d.ts +2 -9
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/submodules/s3/index.browser.d.ts +36 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/submodules/s3/index.d.ts +32 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/{s3Configuration.d.ts → submodules/s3/middleware-s3-configuration/s3Configuration.d.ts} +1 -1
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/{validate-bucket-name.d.ts → submodules/s3/middleware-validate-bucket-name/validate-bucket-name.d.ts} +1 -1
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/submodules/s3-control/configurations.d.ts +47 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/submodules/s3-control/constants.d.ts +5 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/submodules/s3-control/index.d.ts +9 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/submodules/s3-control/middleware-host-prefix-deduplication/hostPrefixDeduplicationMiddleware.d.ts +17 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/submodules/s3-control/middleware-process-arnables/getOutpostEndpoint.d.ts +6 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/submodules/s3-control/middleware-process-arnables/getProcessArnablesPlugin.d.ts +3 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/submodules/s3-control/middleware-process-arnables/parse-outpost-arnables.d.ts +27 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/submodules/s3-control/middleware-process-arnables/update-arnables-request.d.ts +19 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/submodules/s3-control/middleware-redirect-from-postid/redirect-from-postid.d.ts +17 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/index.browser.d.ts +39 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/index.d.ts +39 -9
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/index.browser.d.ts +103 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/index.d.ts +107 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/{s3Configuration.d.ts → submodules/s3/middleware-s3-configuration/s3Configuration.d.ts} +1 -1
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/{validate-bucket-name.d.ts → submodules/s3/middleware-validate-bucket-name/validate-bucket-name.d.ts} +1 -1
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3-control/configurations.d.ts +23 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3-control/constants.d.ts +5 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3-control/index.d.ts +26 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3-control/middleware-host-prefix-deduplication/hostPrefixDeduplicationMiddleware.d.ts +13 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3-control/middleware-process-arnables/getOutpostEndpoint.d.ts +13 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3-control/middleware-process-arnables/getProcessArnablesPlugin.d.ts +5 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3-control/middleware-process-arnables/parse-outpost-arnables.d.ts +12 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3-control/middleware-process-arnables/update-arnables-request.d.ts +13 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3-control/middleware-redirect-from-postid/redirect-from-postid.d.ts +22 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +66 -15
- package/node_modules/@aws-sdk/middleware-sdk-s3/s3-control.d.ts +7 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/s3-control.js +5 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/s3.d.ts +7 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/s3.js +5 -0
- package/node_modules/@aws-sdk/middleware-sdk-sqs/package.json +7 -7
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +99 -106
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +62 -120
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +55 -86
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +73 -104
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +102 -185
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/auth/httpAuthSchemeProvider.js +4 -5
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/endpoint/bdd.js +21 -57
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeConfig.browser.js +1 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeConfig.js +2 -4
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/schemas/schemas_0.js +73 -41
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/auth/httpAuthSchemeProvider.js +4 -5
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/bdd.js +20 -52
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.browser.js +1 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.js +2 -4
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/schemas/schemas_0.js +36 -59
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/auth/httpAuthSchemeProvider.js +4 -5
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/endpoint/bdd.js +17 -45
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.browser.js +1 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.js +2 -4
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/schemas/schemas_0.js +32 -32
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/auth/httpAuthSchemeProvider.js +4 -5
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/bdd.js +17 -45
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.browser.js +1 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.js +2 -4
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/schemas/schemas_0.js +50 -50
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/auth/httpAuthSchemeProvider.js +4 -5
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/defaultRoleAssumers.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/bdd.js +34 -96
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.browser.js +1 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.js +3 -6
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/schemas/schemas_0.js +63 -80
- package/node_modules/@aws-sdk/nested-clients/package.json +11 -11
- package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +10 -9
- package/node_modules/@aws-sdk/token-providers/package.json +8 -8
- package/node_modules/@aws-sdk/types/package.json +4 -4
- package/node_modules/@aws-sdk/util-locate-window/package.json +3 -3
- package/node_modules/{strnum → @aws-sdk/xml-builder/node_modules/strnum}/CHANGELOG.md +8 -0
- package/node_modules/{strnum → @aws-sdk/xml-builder/node_modules/strnum}/README.md +9 -0
- package/node_modules/{strnum → @aws-sdk/xml-builder/node_modules/strnum}/package.json +4 -1
- package/node_modules/{strnum → @aws-sdk/xml-builder/node_modules/strnum}/strnum.js +9 -1
- package/node_modules/@aws-sdk/xml-builder/package.json +4 -4
- package/node_modules/@nodable/entities/package.json +4 -1
- package/node_modules/@nodable/entities/src/EntityDecoder.js +104 -3
- package/node_modules/@nodable/entities/src/index.d.ts +77 -0
- package/node_modules/@nodable/entities/src/index.js +1 -1
- package/node_modules/@smithy/core/dist-cjs/index.js +13 -15
- package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +29 -31
- package/node_modules/@smithy/core/dist-cjs/submodules/checksum/index.browser.js +2 -4
- package/node_modules/@smithy/core/dist-cjs/submodules/checksum/index.js +7 -9
- package/node_modules/@smithy/core/dist-cjs/submodules/checksum/index.native.js +3 -5
- package/node_modules/@smithy/core/dist-cjs/submodules/client/index.js +22 -23
- package/node_modules/@smithy/core/dist-cjs/submodules/config/index.browser.js +10 -11
- package/node_modules/@smithy/core/dist-cjs/submodules/config/index.js +38 -39
- package/node_modules/@smithy/core/dist-cjs/submodules/config/index.native.js +10 -11
- package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.browser.js +14 -17
- package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.js +20 -23
- package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.browser.js +9 -11
- package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +11 -13
- package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +59 -60
- package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.browser.js +26 -27
- package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.js +28 -29
- package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +5 -7
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.browser.js +4 -6
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +23 -25
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.native.js +4 -6
- package/node_modules/@smithy/core/dist-cjs/submodules/transport/index.js +2 -4
- package/node_modules/@smithy/core/dist-es/legacy-root-exports/middleware-http-auth-scheme/httpAuthSchemeMiddleware.js +1 -1
- package/node_modules/@smithy/core/dist-es/legacy-root-exports/middleware-http-signing/httpSigningMiddleware.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/cbor/SmithyRpcV2CborProtocol.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/endpointMiddleware.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/retry-pre-sra-deprecated/StandardRetryStrategy.js +2 -2
- package/node_modules/@smithy/core/dist-es/submodules/retry/util-retry/DefaultRateLimiter.js +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/schema/TypeRegistry.d.ts +1 -1
- package/node_modules/@smithy/core/package.json +18 -17
- package/node_modules/@smithy/credential-provider-imds/dist-cjs/index.js +23 -24
- package/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/httpRequest.js +2 -2
- package/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/node-http.js +2 -0
- package/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/httpRequest.d.ts +1 -1
- package/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/node-http.d.ts +2 -0
- package/node_modules/@smithy/credential-provider-imds/package.json +7 -7
- package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +6 -8
- package/node_modules/@smithy/fetch-http-handler/package.json +10 -10
- package/node_modules/@smithy/middleware-compression/dist-cjs/compressStream.browser.js +3 -7
- package/node_modules/@smithy/middleware-compression/dist-cjs/compressStream.js +2 -6
- package/node_modules/@smithy/middleware-compression/dist-cjs/compressString.browser.js +4 -8
- package/node_modules/@smithy/middleware-compression/dist-cjs/compressString.js +7 -11
- package/node_modules/@smithy/middleware-compression/dist-cjs/index.js +18 -20
- package/node_modules/@smithy/middleware-compression/package.json +6 -6
- package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +15 -15
- package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +7 -6
- package/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +2 -1
- package/node_modules/@smithy/node-http-handler/dist-es/node-http2.js +2 -0
- package/node_modules/@smithy/node-http-handler/dist-es/node-https.js +2 -0
- package/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts +2 -2
- package/node_modules/@smithy/node-http-handler/dist-types/node-http2-handler.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/node-http2.d.ts +2 -0
- package/node_modules/@smithy/node-http-handler/dist-types/node-https.d.ts +2 -0
- package/node_modules/@smithy/node-http-handler/package.json +8 -8
- package/node_modules/@smithy/signature-v4/dist-cjs/index.js +27 -29
- package/node_modules/@smithy/signature-v4/package.json +7 -7
- package/node_modules/@smithy/types/dist-cjs/index.js +23 -18
- package/node_modules/@smithy/types/package.json +10 -10
- package/node_modules/anynum/LICENSE +21 -0
- package/node_modules/anynum/README.md +142 -0
- package/node_modules/anynum/anynum.js +135 -0
- package/node_modules/anynum/digitTable.js +116 -0
- package/node_modules/anynum/package.json +42 -0
- package/package.json +10 -10
- package/node_modules/@aws-sdk/crc64-nvme/LICENSE +0 -201
- package/node_modules/@aws-sdk/crc64-nvme/README.md +0 -61
- package/node_modules/@aws-sdk/crc64-nvme/dist-cjs/index.js +0 -101
- package/node_modules/@aws-sdk/crc64-nvme/dist-es/index.js +0 -2
- package/node_modules/@aws-sdk/crc64-nvme/dist-types/index.d.ts +0 -2
- package/node_modules/@aws-sdk/crc64-nvme/dist-types/ts3.4/index.d.ts +0 -2
- package/node_modules/@aws-sdk/crc64-nvme/package.json +0 -49
- package/node_modules/@aws-sdk/middleware-bucket-endpoint/LICENSE +0 -201
- package/node_modules/@aws-sdk/middleware-bucket-endpoint/README.md +0 -4
- package/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-cjs/index.js +0 -352
- package/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-es/index.js +0 -6
- package/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-types/index.d.ts +0 -6
- package/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-types/ts3.4/index.d.ts +0 -16
- package/node_modules/@aws-sdk/middleware-bucket-endpoint/package.json +0 -58
- package/node_modules/@aws-sdk/middleware-expect-continue/LICENSE +0 -201
- package/node_modules/@aws-sdk/middleware-expect-continue/README.md +0 -4
- package/node_modules/@aws-sdk/middleware-expect-continue/dist-cjs/index.js +0 -48
- package/node_modules/@aws-sdk/middleware-expect-continue/package.json +0 -58
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/index.d.ts +0 -6
- package/node_modules/@aws-sdk/middleware-location-constraint/LICENSE +0 -201
- package/node_modules/@aws-sdk/middleware-location-constraint/README.md +0 -4
- package/node_modules/@aws-sdk/middleware-location-constraint/dist-cjs/index.js +0 -30
- package/node_modules/@aws-sdk/middleware-location-constraint/package.json +0 -57
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/toStream.browser.js +0 -11
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/toStream.js +0 -7
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/index.js +0 -7
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-express/index.d.ts +0 -9
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/s3-express/index.d.ts +0 -17
- package/node_modules/@aws-sdk/middleware-ssec/README.md +0 -4
- package/node_modules/@aws-sdk/middleware-ssec/dist-cjs/index.js +0 -73
- /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-cjs → checksums/dist-cjs/flexible-checksums}/getCrc32ChecksumAlgorithmFunction.browser.js +0 -0
- /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-cjs → checksums/dist-cjs/flexible-checksums}/getCrc32ChecksumAlgorithmFunction.js +0 -0
- /package/node_modules/@aws-sdk/{crc64-nvme/dist-es → checksums/dist-es/crc64-nvme}/Crc64Nvme.js +0 -0
- /package/node_modules/@aws-sdk/{crc64-nvme/dist-es → checksums/dist-es/crc64-nvme}/crc64-nvme-crt-container.js +0 -0
- /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-es → checksums/dist-es/flexible-checksums}/NODE_REQUEST_CHECKSUM_CALCULATION_CONFIG_OPTIONS.js +0 -0
- /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-es → checksums/dist-es/flexible-checksums}/NODE_RESPONSE_CHECKSUM_VALIDATION_CONFIG_OPTIONS.js +0 -0
- /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-es → checksums/dist-es/flexible-checksums}/configuration.js +0 -0
- /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-es → checksums/dist-es/flexible-checksums}/constants.js +0 -0
- /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-es → checksums/dist-es/flexible-checksums}/flexibleChecksumsInputMiddleware.js +0 -0
- /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-es → checksums/dist-es/flexible-checksums}/flexibleChecksumsMiddleware.js +0 -0
- /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-es → checksums/dist-es/flexible-checksums}/flexibleChecksumsResponseMiddleware.js +0 -0
- /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-es → checksums/dist-es/flexible-checksums}/getChecksum.js +0 -0
- /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-es → checksums/dist-es/flexible-checksums}/getChecksumAlgorithmForRequest.js +0 -0
- /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-es → checksums/dist-es/flexible-checksums}/getChecksumAlgorithmListForResponse.js +0 -0
- /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-es → checksums/dist-es/flexible-checksums}/getChecksumLocationName.js +0 -0
- /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-es → checksums/dist-es/flexible-checksums}/getCrc32ChecksumAlgorithmFunction.browser.js +0 -0
- /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-es → checksums/dist-es/flexible-checksums}/getCrc32ChecksumAlgorithmFunction.js +0 -0
- /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-es → checksums/dist-es/flexible-checksums}/getFlexibleChecksumsPlugin.js +0 -0
- /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-es → checksums/dist-es/flexible-checksums}/hasHeader.js +0 -0
- /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-es → checksums/dist-es/flexible-checksums}/hasHeaderWithPrefix.js +0 -0
- /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-es → checksums/dist-es/flexible-checksums}/isChecksumWithPartNumber.js +0 -0
- /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-es → checksums/dist-es/flexible-checksums}/isStreaming.js +0 -0
- /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-es → checksums/dist-es/flexible-checksums}/resolveFlexibleChecksumsConfig.js +0 -0
- /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-es → checksums/dist-es/flexible-checksums}/stringHasher.js +0 -0
- /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-es → checksums/dist-es/flexible-checksums}/stringUnionSelector.js +0 -0
- /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-es → checksums/dist-es/flexible-checksums}/types.js +0 -0
- /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-es → checksums/dist-es/flexible-checksums}/validateChecksumFromResponse.js +0 -0
- /package/node_modules/@aws-sdk/{crc64-nvme/dist-types → checksums/dist-types/crc64-nvme}/Crc64Nvme.d.ts +0 -0
- /package/node_modules/@aws-sdk/{crc64-nvme/dist-types → checksums/dist-types/crc64-nvme}/crc64-nvme-crt-container.d.ts +0 -0
- /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-types → checksums/dist-types/flexible-checksums}/NODE_REQUEST_CHECKSUM_CALCULATION_CONFIG_OPTIONS.d.ts +0 -0
- /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-types → checksums/dist-types/flexible-checksums}/NODE_RESPONSE_CHECKSUM_VALIDATION_CONFIG_OPTIONS.d.ts +0 -0
- /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-types → checksums/dist-types/flexible-checksums}/configuration.d.ts +0 -0
- /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-types → checksums/dist-types/flexible-checksums}/constants.d.ts +0 -0
- /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-types → checksums/dist-types/flexible-checksums}/flexibleChecksumsInputMiddleware.d.ts +0 -0
- /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-types → checksums/dist-types/flexible-checksums}/flexibleChecksumsMiddleware.d.ts +0 -0
- /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-types → checksums/dist-types/flexible-checksums}/flexibleChecksumsResponseMiddleware.d.ts +0 -0
- /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-types → checksums/dist-types/flexible-checksums}/getChecksum.d.ts +0 -0
- /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-types → checksums/dist-types/flexible-checksums}/getChecksumAlgorithmForRequest.d.ts +0 -0
- /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-types → checksums/dist-types/flexible-checksums}/getChecksumAlgorithmListForResponse.d.ts +0 -0
- /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-types → checksums/dist-types/flexible-checksums}/getChecksumLocationName.d.ts +0 -0
- /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-types → checksums/dist-types/flexible-checksums}/getCrc32ChecksumAlgorithmFunction.browser.d.ts +0 -0
- /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-types → checksums/dist-types/flexible-checksums}/getCrc32ChecksumAlgorithmFunction.d.ts +0 -0
- /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-types → checksums/dist-types/flexible-checksums}/getFlexibleChecksumsPlugin.d.ts +0 -0
- /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-types → checksums/dist-types/flexible-checksums}/hasHeader.d.ts +0 -0
- /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-types → checksums/dist-types/flexible-checksums}/hasHeaderWithPrefix.d.ts +0 -0
- /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-types → checksums/dist-types/flexible-checksums}/isChecksumWithPartNumber.d.ts +0 -0
- /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-types → checksums/dist-types/flexible-checksums}/isStreaming.d.ts +0 -0
- /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-types → checksums/dist-types/flexible-checksums}/resolveFlexibleChecksumsConfig.d.ts +0 -0
- /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-types → checksums/dist-types/flexible-checksums}/selectChecksumAlgorithmFunction.d.ts +0 -0
- /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-types → checksums/dist-types/flexible-checksums}/stringHasher.d.ts +0 -0
- /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-types → checksums/dist-types/flexible-checksums}/stringUnionSelector.d.ts +0 -0
- /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-types → checksums/dist-types/flexible-checksums}/types.d.ts +0 -0
- /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-types → checksums/dist-types/flexible-checksums}/validateChecksumFromResponse.d.ts +0 -0
- /package/node_modules/@aws-sdk/{crc64-nvme/dist-types/ts3.4 → checksums/dist-types/ts3.4/crc64-nvme}/Crc64Nvme.d.ts +0 -0
- /package/node_modules/@aws-sdk/{crc64-nvme/dist-types/ts3.4 → checksums/dist-types/ts3.4/crc64-nvme}/crc64-nvme-crt-container.d.ts +0 -0
- /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-types/ts3.4 → checksums/dist-types/ts3.4/flexible-checksums}/NODE_REQUEST_CHECKSUM_CALCULATION_CONFIG_OPTIONS.d.ts +0 -0
- /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-types/ts3.4 → checksums/dist-types/ts3.4/flexible-checksums}/NODE_RESPONSE_CHECKSUM_VALIDATION_CONFIG_OPTIONS.d.ts +0 -0
- /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-types/ts3.4 → checksums/dist-types/ts3.4/flexible-checksums}/configuration.d.ts +0 -0
- /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-types/ts3.4 → checksums/dist-types/ts3.4/flexible-checksums}/constants.d.ts +0 -0
- /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-types/ts3.4 → checksums/dist-types/ts3.4/flexible-checksums}/flexibleChecksumsInputMiddleware.d.ts +0 -0
- /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-types/ts3.4 → checksums/dist-types/ts3.4/flexible-checksums}/flexibleChecksumsMiddleware.d.ts +0 -0
- /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-types/ts3.4 → checksums/dist-types/ts3.4/flexible-checksums}/flexibleChecksumsResponseMiddleware.d.ts +0 -0
- /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-types/ts3.4 → checksums/dist-types/ts3.4/flexible-checksums}/getChecksum.d.ts +0 -0
- /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-types/ts3.4 → checksums/dist-types/ts3.4/flexible-checksums}/getChecksumAlgorithmForRequest.d.ts +0 -0
- /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-types/ts3.4 → checksums/dist-types/ts3.4/flexible-checksums}/getChecksumAlgorithmListForResponse.d.ts +0 -0
- /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-types/ts3.4 → checksums/dist-types/ts3.4/flexible-checksums}/getChecksumLocationName.d.ts +0 -0
- /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-types/ts3.4 → checksums/dist-types/ts3.4/flexible-checksums}/getCrc32ChecksumAlgorithmFunction.browser.d.ts +0 -0
- /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-types/ts3.4 → checksums/dist-types/ts3.4/flexible-checksums}/getCrc32ChecksumAlgorithmFunction.d.ts +0 -0
- /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-types/ts3.4 → checksums/dist-types/ts3.4/flexible-checksums}/getFlexibleChecksumsPlugin.d.ts +0 -0
- /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-types/ts3.4 → checksums/dist-types/ts3.4/flexible-checksums}/hasHeader.d.ts +0 -0
- /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-types/ts3.4 → checksums/dist-types/ts3.4/flexible-checksums}/hasHeaderWithPrefix.d.ts +0 -0
- /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-types/ts3.4 → checksums/dist-types/ts3.4/flexible-checksums}/isChecksumWithPartNumber.d.ts +0 -0
- /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-types/ts3.4 → checksums/dist-types/ts3.4/flexible-checksums}/isStreaming.d.ts +0 -0
- /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-types/ts3.4 → checksums/dist-types/ts3.4/flexible-checksums}/resolveFlexibleChecksumsConfig.d.ts +0 -0
- /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-types/ts3.4 → checksums/dist-types/ts3.4/flexible-checksums}/selectChecksumAlgorithmFunction.d.ts +0 -0
- /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-types/ts3.4 → checksums/dist-types/ts3.4/flexible-checksums}/stringHasher.d.ts +0 -0
- /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-types/ts3.4 → checksums/dist-types/ts3.4/flexible-checksums}/stringUnionSelector.d.ts +0 -0
- /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-types/ts3.4 → checksums/dist-types/ts3.4/flexible-checksums}/types.d.ts +0 -0
- /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-types/ts3.4 → checksums/dist-types/ts3.4/flexible-checksums}/validateChecksumFromResponse.d.ts +0 -0
- /package/node_modules/@aws-sdk/{middleware-bucket-endpoint/dist-es → middleware-sdk-s3/dist-es/submodules/s3}/NodeDisableMultiregionAccessPointConfigOptions.js +0 -0
- /package/node_modules/@aws-sdk/{middleware-bucket-endpoint/dist-es → middleware-sdk-s3/dist-es/submodules/s3}/NodeUseArnRegionConfigOptions.js +0 -0
- /package/node_modules/@aws-sdk/{middleware-bucket-endpoint/dist-es → middleware-sdk-s3/dist-es/submodules/s3/middleware-bucket-endpoint}/bucketEndpointMiddleware.js +0 -0
- /package/node_modules/@aws-sdk/{middleware-bucket-endpoint/dist-es → middleware-sdk-s3/dist-es/submodules/s3/middleware-bucket-endpoint}/bucketHostname.js +0 -0
- /package/node_modules/@aws-sdk/{middleware-bucket-endpoint/dist-es → middleware-sdk-s3/dist-es/submodules/s3/middleware-bucket-endpoint}/bucketHostnameUtils.js +0 -0
- /package/node_modules/@aws-sdk/{middleware-bucket-endpoint/dist-es → middleware-sdk-s3/dist-es/submodules/s3/middleware-bucket-endpoint}/configurations.js +0 -0
- /package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/{check-content-length-header.js → submodules/s3/middleware-check-content-length-header/check-content-length-header.js} +0 -0
- /package/node_modules/@aws-sdk/{middleware-expect-continue/dist-es/index.js → middleware-sdk-s3/dist-es/submodules/s3/middleware-expect-continue/middleware-expect-continue.js} +0 -0
- /package/node_modules/@aws-sdk/{middleware-location-constraint/dist-es → middleware-sdk-s3/dist-es/submodules/s3/middleware-location-constraint}/configuration.js +0 -0
- /package/node_modules/@aws-sdk/{middleware-location-constraint/dist-es/index.js → middleware-sdk-s3/dist-es/submodules/s3/middleware-location-constraint/middleware-location-constraint.js} +0 -0
- /package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/{bucket-endpoint-middleware.js → submodules/s3/middleware-region-redirect/bucket-endpoint-middleware.js} +0 -0
- /package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/{region-redirect-endpoint-middleware.js → submodules/s3/middleware-region-redirect/region-redirect-endpoint-middleware.js} +0 -0
- /package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/{region-redirect-middleware.js → submodules/s3/middleware-region-redirect/region-redirect-middleware.js} +0 -0
- /package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/{s3-expires-middleware.js → submodules/s3/middleware-s3-expires/s3-expires-middleware.js} +0 -0
- /package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/{s3-express → submodules/s3/middleware-s3-express}/classes/S3ExpressIdentityCache.js +0 -0
- /package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/{s3-express → submodules/s3/middleware-s3-express}/classes/S3ExpressIdentityCacheEntry.js +0 -0
- /package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/{s3-express → submodules/s3/middleware-s3-express}/classes/S3ExpressIdentityProviderImpl.js +0 -0
- /package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/{s3-express → submodules/s3/middleware-s3-express}/classes/SignatureV4S3Express.js +0 -0
- /package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/{s3-express → submodules/s3/middleware-s3-express}/constants.js +0 -0
- /package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/{s3-express → submodules/s3/middleware-s3-express}/functions/s3ExpressHttpSigningMiddleware.js +0 -0
- /package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/{s3-express → submodules/s3/middleware-s3-express}/functions/s3ExpressMiddleware.js +0 -0
- /package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/{s3-express → submodules/s3/middleware-s3-express}/functions/signS3Express.js +0 -0
- /package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/{s3-express → submodules/s3/middleware-s3-express}/interfaces/S3ExpressIdentity.js +0 -0
- /package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/{s3-express → submodules/s3/middleware-s3-express}/interfaces/S3ExpressIdentityProvider.js +0 -0
- /package/node_modules/@aws-sdk/{middleware-ssec/dist-es/index.js → middleware-sdk-s3/dist-es/submodules/s3/middleware-ssec/middleware-ssec.js} +0 -0
- /package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/{protocol → submodules/s3/protocol}/S3RestXmlProtocol.js +0 -0
- /package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/{toStream.browser.js → submodules/s3/to-stream/toStream.browser.js} +0 -0
- /package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/{toStream.js → submodules/s3/to-stream/toStream.js} +0 -0
- /package/node_modules/@aws-sdk/{middleware-bucket-endpoint/dist-types → middleware-sdk-s3/dist-types/submodules/s3}/NodeDisableMultiregionAccessPointConfigOptions.d.ts +0 -0
- /package/node_modules/@aws-sdk/{middleware-bucket-endpoint/dist-types → middleware-sdk-s3/dist-types/submodules/s3}/NodeUseArnRegionConfigOptions.d.ts +0 -0
- /package/node_modules/@aws-sdk/{middleware-bucket-endpoint/dist-types → middleware-sdk-s3/dist-types/submodules/s3/middleware-bucket-endpoint}/bucketEndpointMiddleware.d.ts +0 -0
- /package/node_modules/@aws-sdk/{middleware-bucket-endpoint/dist-types → middleware-sdk-s3/dist-types/submodules/s3/middleware-bucket-endpoint}/bucketHostname.d.ts +0 -0
- /package/node_modules/@aws-sdk/{middleware-bucket-endpoint/dist-types → middleware-sdk-s3/dist-types/submodules/s3/middleware-bucket-endpoint}/bucketHostnameUtils.d.ts +0 -0
- /package/node_modules/@aws-sdk/{middleware-bucket-endpoint/dist-types → middleware-sdk-s3/dist-types/submodules/s3/middleware-bucket-endpoint}/configurations.d.ts +0 -0
- /package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/{check-content-length-header.d.ts → submodules/s3/middleware-check-content-length-header/check-content-length-header.d.ts} +0 -0
- /package/node_modules/@aws-sdk/{middleware-expect-continue/dist-types/index.d.ts → middleware-sdk-s3/dist-types/submodules/s3/middleware-expect-continue/middleware-expect-continue.d.ts} +0 -0
- /package/node_modules/@aws-sdk/{middleware-location-constraint/dist-types → middleware-sdk-s3/dist-types/submodules/s3/middleware-location-constraint}/configuration.d.ts +0 -0
- /package/node_modules/@aws-sdk/{middleware-location-constraint/dist-types/index.d.ts → middleware-sdk-s3/dist-types/submodules/s3/middleware-location-constraint/middleware-location-constraint.d.ts} +0 -0
- /package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/{bucket-endpoint-middleware.d.ts → submodules/s3/middleware-region-redirect/bucket-endpoint-middleware.d.ts} +0 -0
- /package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/{region-redirect-endpoint-middleware.d.ts → submodules/s3/middleware-region-redirect/region-redirect-endpoint-middleware.d.ts} +0 -0
- /package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/{region-redirect-middleware.d.ts → submodules/s3/middleware-region-redirect/region-redirect-middleware.d.ts} +0 -0
- /package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/{s3-expires-middleware.d.ts → submodules/s3/middleware-s3-expires/s3-expires-middleware.d.ts} +0 -0
- /package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/{s3-express → submodules/s3/middleware-s3-express}/classes/S3ExpressIdentityCache.d.ts +0 -0
- /package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/{s3-express → submodules/s3/middleware-s3-express}/classes/S3ExpressIdentityCacheEntry.d.ts +0 -0
- /package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/{s3-express → submodules/s3/middleware-s3-express}/classes/S3ExpressIdentityProviderImpl.d.ts +0 -0
- /package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/{s3-express → submodules/s3/middleware-s3-express}/classes/SignatureV4S3Express.d.ts +0 -0
- /package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/{s3-express → submodules/s3/middleware-s3-express}/constants.d.ts +0 -0
- /package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/{s3-express → submodules/s3/middleware-s3-express}/functions/s3ExpressHttpSigningMiddleware.d.ts +0 -0
- /package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/{s3-express → submodules/s3/middleware-s3-express}/functions/s3ExpressMiddleware.d.ts +0 -0
- /package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/{s3-express → submodules/s3/middleware-s3-express}/functions/signS3Express.d.ts +0 -0
- /package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/{s3-express → submodules/s3/middleware-s3-express}/interfaces/S3ExpressIdentity.d.ts +0 -0
- /package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/{s3-express → submodules/s3/middleware-s3-express}/interfaces/S3ExpressIdentityProvider.d.ts +0 -0
- /package/node_modules/@aws-sdk/{middleware-ssec/dist-types/index.d.ts → middleware-sdk-s3/dist-types/submodules/s3/middleware-ssec/middleware-ssec.d.ts} +0 -0
- /package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/{throw-200-exceptions.d.ts → submodules/s3/middleware-throw-200-exceptions/throw-200-exceptions.d.ts} +0 -0
- /package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/{protocol → submodules/s3/protocol}/S3RestXmlProtocol.d.ts +0 -0
- /package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/{toStream.browser.d.ts → submodules/s3/to-stream/toStream.browser.d.ts} +0 -0
- /package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/{toStream.d.ts → submodules/s3/to-stream/toStream.d.ts} +0 -0
- /package/node_modules/@aws-sdk/{middleware-bucket-endpoint/dist-types/ts3.4 → middleware-sdk-s3/dist-types/ts3.4/submodules/s3}/NodeDisableMultiregionAccessPointConfigOptions.d.ts +0 -0
- /package/node_modules/@aws-sdk/{middleware-bucket-endpoint/dist-types/ts3.4 → middleware-sdk-s3/dist-types/ts3.4/submodules/s3}/NodeUseArnRegionConfigOptions.d.ts +0 -0
- /package/node_modules/@aws-sdk/{middleware-bucket-endpoint/dist-types/ts3.4 → middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-bucket-endpoint}/bucketEndpointMiddleware.d.ts +0 -0
- /package/node_modules/@aws-sdk/{middleware-bucket-endpoint/dist-types/ts3.4 → middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-bucket-endpoint}/bucketHostname.d.ts +0 -0
- /package/node_modules/@aws-sdk/{middleware-bucket-endpoint/dist-types/ts3.4 → middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-bucket-endpoint}/bucketHostnameUtils.d.ts +0 -0
- /package/node_modules/@aws-sdk/{middleware-bucket-endpoint/dist-types/ts3.4 → middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-bucket-endpoint}/configurations.d.ts +0 -0
- /package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/{check-content-length-header.d.ts → submodules/s3/middleware-check-content-length-header/check-content-length-header.d.ts} +0 -0
- /package/node_modules/@aws-sdk/{middleware-expect-continue/dist-types/ts3.4/index.d.ts → middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-expect-continue/middleware-expect-continue.d.ts} +0 -0
- /package/node_modules/@aws-sdk/{middleware-location-constraint/dist-types/ts3.4 → middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-location-constraint}/configuration.d.ts +0 -0
- /package/node_modules/@aws-sdk/{middleware-location-constraint/dist-types/ts3.4/index.d.ts → middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-location-constraint/middleware-location-constraint.d.ts} +0 -0
- /package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/{bucket-endpoint-middleware.d.ts → submodules/s3/middleware-region-redirect/bucket-endpoint-middleware.d.ts} +0 -0
- /package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/{region-redirect-endpoint-middleware.d.ts → submodules/s3/middleware-region-redirect/region-redirect-endpoint-middleware.d.ts} +0 -0
- /package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/{region-redirect-middleware.d.ts → submodules/s3/middleware-region-redirect/region-redirect-middleware.d.ts} +0 -0
- /package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/{s3-expires-middleware.d.ts → submodules/s3/middleware-s3-expires/s3-expires-middleware.d.ts} +0 -0
- /package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/{s3-express → submodules/s3/middleware-s3-express}/classes/S3ExpressIdentityCache.d.ts +0 -0
- /package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/{s3-express → submodules/s3/middleware-s3-express}/classes/S3ExpressIdentityCacheEntry.d.ts +0 -0
- /package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/{s3-express → submodules/s3/middleware-s3-express}/classes/S3ExpressIdentityProviderImpl.d.ts +0 -0
- /package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/{s3-express → submodules/s3/middleware-s3-express}/classes/SignatureV4S3Express.d.ts +0 -0
- /package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/{s3-express → submodules/s3/middleware-s3-express}/constants.d.ts +0 -0
- /package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/{s3-express → submodules/s3/middleware-s3-express}/functions/s3ExpressHttpSigningMiddleware.d.ts +0 -0
- /package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/{s3-express → submodules/s3/middleware-s3-express}/functions/s3ExpressMiddleware.d.ts +0 -0
- /package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/{s3-express → submodules/s3/middleware-s3-express}/functions/signS3Express.d.ts +0 -0
- /package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/{s3-express → submodules/s3/middleware-s3-express}/interfaces/S3ExpressIdentity.d.ts +0 -0
- /package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/{s3-express → submodules/s3/middleware-s3-express}/interfaces/S3ExpressIdentityProvider.d.ts +0 -0
- /package/node_modules/@aws-sdk/{middleware-ssec/dist-types/ts3.4/index.d.ts → middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-ssec/middleware-ssec.d.ts} +0 -0
- /package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/{throw-200-exceptions.d.ts → submodules/s3/middleware-throw-200-exceptions/throw-200-exceptions.d.ts} +0 -0
- /package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/{protocol → submodules/s3/protocol}/S3RestXmlProtocol.d.ts +0 -0
- /package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/{toStream.browser.d.ts → submodules/s3/to-stream/toStream.browser.d.ts} +0 -0
- /package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/{toStream.d.ts → submodules/s3/to-stream/toStream.d.ts} +0 -0
- /package/node_modules/{strnum → @aws-sdk/xml-builder/node_modules/strnum}/LICENSE +0 -0
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
var protocols = require('@smithy/core/protocols');
|
|
5
|
-
var serde = require('@smithy/core/serde');
|
|
1
|
+
const { NoOpLogger, normalizeProvider } = require("@smithy/core/client");
|
|
2
|
+
const { HttpResponse, HttpRequest } = require("@smithy/core/protocols");
|
|
3
|
+
const { parseRfc7231DateTime, v4 } = require("@smithy/core/serde");
|
|
6
4
|
|
|
7
5
|
const isStreamingPayload = (request) => request?.body instanceof ReadableStream;
|
|
8
6
|
|
|
@@ -90,7 +88,7 @@ const INVOCATION_ID_HEADER = "amz-sdk-invocation-id";
|
|
|
90
88
|
const REQUEST_HEADER = "amz-sdk-request";
|
|
91
89
|
|
|
92
90
|
function parseRetryAfterHeader(response, logger) {
|
|
93
|
-
if (!
|
|
91
|
+
if (!HttpResponse.isInstance(response)) {
|
|
94
92
|
return;
|
|
95
93
|
}
|
|
96
94
|
for (const header of Object.keys(response.headers)) {
|
|
@@ -100,7 +98,7 @@ function parseRetryAfterHeader(response, logger) {
|
|
|
100
98
|
let retryAfterSeconds = NaN;
|
|
101
99
|
if (retryAfter.endsWith("GMT")) {
|
|
102
100
|
try {
|
|
103
|
-
const date =
|
|
101
|
+
const date = parseRfc7231DateTime(retryAfter);
|
|
104
102
|
retryAfterSeconds = (date.getTime() - Date.now()) / 1000;
|
|
105
103
|
}
|
|
106
104
|
catch (e) {
|
|
@@ -158,9 +156,9 @@ function bindRetryMiddleware(isStreamingPayload) {
|
|
|
158
156
|
let attempts = 0;
|
|
159
157
|
let totalRetryDelay = 0;
|
|
160
158
|
const { request } = args;
|
|
161
|
-
const isRequest =
|
|
159
|
+
const isRequest = HttpRequest.isInstance(request);
|
|
162
160
|
if (isRequest) {
|
|
163
|
-
request.headers[INVOCATION_ID_HEADER] =
|
|
161
|
+
request.headers[INVOCATION_ID_HEADER] = v4();
|
|
164
162
|
}
|
|
165
163
|
while (true) {
|
|
166
164
|
try {
|
|
@@ -177,7 +175,7 @@ function bindRetryMiddleware(isStreamingPayload) {
|
|
|
177
175
|
const retryErrorInfo = getRetryErrorInfo(e, options.logger);
|
|
178
176
|
lastError = asSdkError(e);
|
|
179
177
|
if (isRequest && isStreamingPayload(request)) {
|
|
180
|
-
(context.logger instanceof
|
|
178
|
+
(context.logger instanceof NoOpLogger ? console : context.logger)?.warn("An error was encountered in a non-retryable streaming request.");
|
|
181
179
|
throw lastError;
|
|
182
180
|
}
|
|
183
181
|
try {
|
|
@@ -250,7 +248,7 @@ function bindGetRetryPlugin(isStreamingPayload) {
|
|
|
250
248
|
}
|
|
251
249
|
|
|
252
250
|
class DefaultRateLimiter {
|
|
253
|
-
static setTimeoutFn = setTimeout;
|
|
251
|
+
static setTimeoutFn = (fn, delay) => setTimeout(fn, delay);
|
|
254
252
|
beta;
|
|
255
253
|
minCapacity;
|
|
256
254
|
minFillRate;
|
|
@@ -420,13 +418,13 @@ class DefaultRetryToken {
|
|
|
420
418
|
}
|
|
421
419
|
}
|
|
422
420
|
|
|
423
|
-
|
|
421
|
+
var RETRY_MODES;
|
|
424
422
|
(function (RETRY_MODES) {
|
|
425
423
|
RETRY_MODES["STANDARD"] = "standard";
|
|
426
424
|
RETRY_MODES["ADAPTIVE"] = "adaptive";
|
|
427
|
-
})(
|
|
425
|
+
})(RETRY_MODES || (RETRY_MODES = {}));
|
|
428
426
|
const DEFAULT_MAX_ATTEMPTS = 3;
|
|
429
|
-
const DEFAULT_RETRY_MODE =
|
|
427
|
+
const DEFAULT_RETRY_MODE = RETRY_MODES.STANDARD;
|
|
430
428
|
|
|
431
429
|
const refusal = {
|
|
432
430
|
incompatible: 1,
|
|
@@ -434,7 +432,7 @@ const refusal = {
|
|
|
434
432
|
capacity: 3,
|
|
435
433
|
};
|
|
436
434
|
let StandardRetryStrategy$1 = class StandardRetryStrategy {
|
|
437
|
-
mode =
|
|
435
|
+
mode = RETRY_MODES.STANDARD;
|
|
438
436
|
retryBackoffStrategy;
|
|
439
437
|
capacity = INITIAL_RETRY_TOKENS;
|
|
440
438
|
maxAttemptsProvider;
|
|
@@ -522,7 +520,7 @@ let StandardRetryStrategy$1 = class StandardRetryStrategy {
|
|
|
522
520
|
};
|
|
523
521
|
|
|
524
522
|
let AdaptiveRetryStrategy$1 = class AdaptiveRetryStrategy {
|
|
525
|
-
mode =
|
|
523
|
+
mode = RETRY_MODES.ADAPTIVE;
|
|
526
524
|
rateLimiter;
|
|
527
525
|
standardRetryStrategy;
|
|
528
526
|
constructor(maxAttemptsProvider, options) {
|
|
@@ -613,7 +611,7 @@ class StandardRetryStrategy {
|
|
|
613
611
|
retryDecider;
|
|
614
612
|
delayDecider;
|
|
615
613
|
retryQuota;
|
|
616
|
-
mode =
|
|
614
|
+
mode = RETRY_MODES.STANDARD;
|
|
617
615
|
constructor(maxAttemptsProvider, options) {
|
|
618
616
|
this.maxAttemptsProvider = maxAttemptsProvider;
|
|
619
617
|
this.retryDecider = options?.retryDecider ?? defaultRetryDecider;
|
|
@@ -639,12 +637,12 @@ class StandardRetryStrategy {
|
|
|
639
637
|
let totalDelay = 0;
|
|
640
638
|
const maxAttempts = await this.getMaxAttempts();
|
|
641
639
|
const { request } = args;
|
|
642
|
-
if (
|
|
643
|
-
request.headers[INVOCATION_ID_HEADER] =
|
|
640
|
+
if (HttpRequest.isInstance(request)) {
|
|
641
|
+
request.headers[INVOCATION_ID_HEADER] = v4();
|
|
644
642
|
}
|
|
645
643
|
while (true) {
|
|
646
644
|
try {
|
|
647
|
-
if (
|
|
645
|
+
if (HttpRequest.isInstance(request)) {
|
|
648
646
|
request.headers[REQUEST_HEADER] = `attempt=${attempts + 1}; max=${maxAttempts}`;
|
|
649
647
|
}
|
|
650
648
|
if (options?.beforeRequest) {
|
|
@@ -682,7 +680,7 @@ class StandardRetryStrategy {
|
|
|
682
680
|
}
|
|
683
681
|
}
|
|
684
682
|
const getDelayFromRetryAfterHeader = (response) => {
|
|
685
|
-
if (!
|
|
683
|
+
if (!HttpResponse.isInstance(response))
|
|
686
684
|
return;
|
|
687
685
|
const retryAfterHeaderName = Object.keys(response.headers).find((key) => key.toLowerCase() === "retry-after");
|
|
688
686
|
if (!retryAfterHeaderName)
|
|
@@ -690,9 +688,9 @@ const getDelayFromRetryAfterHeader = (response) => {
|
|
|
690
688
|
const retryAfter = response.headers[retryAfterHeaderName];
|
|
691
689
|
const retryAfterSeconds = Number(retryAfter);
|
|
692
690
|
if (!Number.isNaN(retryAfterSeconds))
|
|
693
|
-
return retryAfterSeconds * 1000;
|
|
691
|
+
return Math.min(retryAfterSeconds * 1000, 20_000);
|
|
694
692
|
const retryAfterDate = new Date(retryAfter);
|
|
695
|
-
return retryAfterDate.getTime() - Date.now();
|
|
693
|
+
return Math.min(retryAfterDate.getTime() - Date.now(), 20_000);
|
|
696
694
|
};
|
|
697
695
|
|
|
698
696
|
class AdaptiveRetryStrategy extends StandardRetryStrategy {
|
|
@@ -701,7 +699,7 @@ class AdaptiveRetryStrategy extends StandardRetryStrategy {
|
|
|
701
699
|
const { rateLimiter, ...superOptions } = options ?? {};
|
|
702
700
|
super(maxAttemptsProvider, superOptions);
|
|
703
701
|
this.rateLimiter = rateLimiter ?? new DefaultRateLimiter();
|
|
704
|
-
this.mode =
|
|
702
|
+
this.mode = RETRY_MODES.ADAPTIVE;
|
|
705
703
|
}
|
|
706
704
|
async retry(next, args) {
|
|
707
705
|
return super.retry(next, args, {
|
|
@@ -718,13 +716,13 @@ class AdaptiveRetryStrategy extends StandardRetryStrategy {
|
|
|
718
716
|
const resolveRetryConfig = (input, defaults) => {
|
|
719
717
|
const { retryStrategy, retryMode } = input;
|
|
720
718
|
const { defaultMaxAttempts = DEFAULT_MAX_ATTEMPTS, defaultBaseDelay = Retry.delay() } = defaults ?? {};
|
|
721
|
-
const maxAttemptsProvider =
|
|
719
|
+
const maxAttemptsProvider = normalizeProvider(input.maxAttempts ?? defaultMaxAttempts);
|
|
722
720
|
let controller = retryStrategy
|
|
723
721
|
? Promise.resolve(retryStrategy)
|
|
724
722
|
: undefined;
|
|
725
723
|
const getDefault = async () => {
|
|
726
724
|
const maxAttempts = await maxAttemptsProvider();
|
|
727
|
-
const adaptive = (await
|
|
725
|
+
const adaptive = (await normalizeProvider(retryMode)()) === RETRY_MODES.ADAPTIVE;
|
|
728
726
|
if (adaptive) {
|
|
729
727
|
return new AdaptiveRetryStrategy$1(maxAttemptsProvider, {
|
|
730
728
|
maxAttempts,
|
|
@@ -744,7 +742,7 @@ const resolveRetryConfig = (input, defaults) => {
|
|
|
744
742
|
|
|
745
743
|
const omitRetryHeadersMiddleware = () => (next) => async (args) => {
|
|
746
744
|
const { request } = args;
|
|
747
|
-
if (
|
|
745
|
+
if (HttpRequest.isInstance(request)) {
|
|
748
746
|
delete request.headers[INVOCATION_ID_HEADER];
|
|
749
747
|
delete request.headers[REQUEST_HEADER];
|
|
750
748
|
}
|
|
@@ -793,6 +791,7 @@ exports.NODE_RETRY_MODE_CONFIG_OPTIONS = NODE_RETRY_MODE_CONFIG_OPTIONS;
|
|
|
793
791
|
exports.NO_RETRY_INCREMENT = NO_RETRY_INCREMENT;
|
|
794
792
|
exports.REQUEST_HEADER = REQUEST_HEADER;
|
|
795
793
|
exports.RETRY_COST = RETRY_COST;
|
|
794
|
+
exports.RETRY_MODES = RETRY_MODES;
|
|
796
795
|
exports.Retry = Retry;
|
|
797
796
|
exports.StandardRetryStrategy = StandardRetryStrategy$1;
|
|
798
797
|
exports.THROTTLING_RETRY_DELAY_BASE = THROTTLING_RETRY_DELAY_BASE;
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
const { Readable } = require("node:stream");
|
|
2
|
+
const { NoOpLogger, normalizeProvider } = require("@smithy/core/client");
|
|
3
|
+
const { HttpResponse, HttpRequest } = require("@smithy/core/protocols");
|
|
4
|
+
const { parseRfc7231DateTime, v4 } = require("@smithy/core/serde");
|
|
2
5
|
|
|
3
|
-
|
|
4
|
-
var client = require('@smithy/core/client');
|
|
5
|
-
var protocols = require('@smithy/core/protocols');
|
|
6
|
-
var serde = require('@smithy/core/serde');
|
|
7
|
-
|
|
8
|
-
const isStreamingPayload = (request) => request?.body instanceof node_stream.Readable ||
|
|
6
|
+
const isStreamingPayload = (request) => request?.body instanceof Readable ||
|
|
9
7
|
(typeof ReadableStream !== "undefined" && request?.body instanceof ReadableStream);
|
|
10
8
|
|
|
11
9
|
const CLOCK_SKEW_ERROR_CODES = [
|
|
@@ -92,7 +90,7 @@ const INVOCATION_ID_HEADER = "amz-sdk-invocation-id";
|
|
|
92
90
|
const REQUEST_HEADER = "amz-sdk-request";
|
|
93
91
|
|
|
94
92
|
function parseRetryAfterHeader(response, logger) {
|
|
95
|
-
if (!
|
|
93
|
+
if (!HttpResponse.isInstance(response)) {
|
|
96
94
|
return;
|
|
97
95
|
}
|
|
98
96
|
for (const header of Object.keys(response.headers)) {
|
|
@@ -102,7 +100,7 @@ function parseRetryAfterHeader(response, logger) {
|
|
|
102
100
|
let retryAfterSeconds = NaN;
|
|
103
101
|
if (retryAfter.endsWith("GMT")) {
|
|
104
102
|
try {
|
|
105
|
-
const date =
|
|
103
|
+
const date = parseRfc7231DateTime(retryAfter);
|
|
106
104
|
retryAfterSeconds = (date.getTime() - Date.now()) / 1000;
|
|
107
105
|
}
|
|
108
106
|
catch (e) {
|
|
@@ -160,9 +158,9 @@ function bindRetryMiddleware(isStreamingPayload) {
|
|
|
160
158
|
let attempts = 0;
|
|
161
159
|
let totalRetryDelay = 0;
|
|
162
160
|
const { request } = args;
|
|
163
|
-
const isRequest =
|
|
161
|
+
const isRequest = HttpRequest.isInstance(request);
|
|
164
162
|
if (isRequest) {
|
|
165
|
-
request.headers[INVOCATION_ID_HEADER] =
|
|
163
|
+
request.headers[INVOCATION_ID_HEADER] = v4();
|
|
166
164
|
}
|
|
167
165
|
while (true) {
|
|
168
166
|
try {
|
|
@@ -179,7 +177,7 @@ function bindRetryMiddleware(isStreamingPayload) {
|
|
|
179
177
|
const retryErrorInfo = getRetryErrorInfo(e, options.logger);
|
|
180
178
|
lastError = asSdkError(e);
|
|
181
179
|
if (isRequest && isStreamingPayload(request)) {
|
|
182
|
-
(context.logger instanceof
|
|
180
|
+
(context.logger instanceof NoOpLogger ? console : context.logger)?.warn("An error was encountered in a non-retryable streaming request.");
|
|
183
181
|
throw lastError;
|
|
184
182
|
}
|
|
185
183
|
try {
|
|
@@ -252,7 +250,7 @@ function bindGetRetryPlugin(isStreamingPayload) {
|
|
|
252
250
|
}
|
|
253
251
|
|
|
254
252
|
class DefaultRateLimiter {
|
|
255
|
-
static setTimeoutFn = setTimeout;
|
|
253
|
+
static setTimeoutFn = (fn, delay) => setTimeout(fn, delay);
|
|
256
254
|
beta;
|
|
257
255
|
minCapacity;
|
|
258
256
|
minFillRate;
|
|
@@ -422,13 +420,13 @@ class DefaultRetryToken {
|
|
|
422
420
|
}
|
|
423
421
|
}
|
|
424
422
|
|
|
425
|
-
|
|
423
|
+
var RETRY_MODES;
|
|
426
424
|
(function (RETRY_MODES) {
|
|
427
425
|
RETRY_MODES["STANDARD"] = "standard";
|
|
428
426
|
RETRY_MODES["ADAPTIVE"] = "adaptive";
|
|
429
|
-
})(
|
|
427
|
+
})(RETRY_MODES || (RETRY_MODES = {}));
|
|
430
428
|
const DEFAULT_MAX_ATTEMPTS = 3;
|
|
431
|
-
const DEFAULT_RETRY_MODE =
|
|
429
|
+
const DEFAULT_RETRY_MODE = RETRY_MODES.STANDARD;
|
|
432
430
|
|
|
433
431
|
const refusal = {
|
|
434
432
|
incompatible: 1,
|
|
@@ -436,7 +434,7 @@ const refusal = {
|
|
|
436
434
|
capacity: 3,
|
|
437
435
|
};
|
|
438
436
|
let StandardRetryStrategy$1 = class StandardRetryStrategy {
|
|
439
|
-
mode =
|
|
437
|
+
mode = RETRY_MODES.STANDARD;
|
|
440
438
|
retryBackoffStrategy;
|
|
441
439
|
capacity = INITIAL_RETRY_TOKENS;
|
|
442
440
|
maxAttemptsProvider;
|
|
@@ -524,7 +522,7 @@ let StandardRetryStrategy$1 = class StandardRetryStrategy {
|
|
|
524
522
|
};
|
|
525
523
|
|
|
526
524
|
let AdaptiveRetryStrategy$1 = class AdaptiveRetryStrategy {
|
|
527
|
-
mode =
|
|
525
|
+
mode = RETRY_MODES.ADAPTIVE;
|
|
528
526
|
rateLimiter;
|
|
529
527
|
standardRetryStrategy;
|
|
530
528
|
constructor(maxAttemptsProvider, options) {
|
|
@@ -615,7 +613,7 @@ class StandardRetryStrategy {
|
|
|
615
613
|
retryDecider;
|
|
616
614
|
delayDecider;
|
|
617
615
|
retryQuota;
|
|
618
|
-
mode =
|
|
616
|
+
mode = RETRY_MODES.STANDARD;
|
|
619
617
|
constructor(maxAttemptsProvider, options) {
|
|
620
618
|
this.maxAttemptsProvider = maxAttemptsProvider;
|
|
621
619
|
this.retryDecider = options?.retryDecider ?? defaultRetryDecider;
|
|
@@ -641,12 +639,12 @@ class StandardRetryStrategy {
|
|
|
641
639
|
let totalDelay = 0;
|
|
642
640
|
const maxAttempts = await this.getMaxAttempts();
|
|
643
641
|
const { request } = args;
|
|
644
|
-
if (
|
|
645
|
-
request.headers[INVOCATION_ID_HEADER] =
|
|
642
|
+
if (HttpRequest.isInstance(request)) {
|
|
643
|
+
request.headers[INVOCATION_ID_HEADER] = v4();
|
|
646
644
|
}
|
|
647
645
|
while (true) {
|
|
648
646
|
try {
|
|
649
|
-
if (
|
|
647
|
+
if (HttpRequest.isInstance(request)) {
|
|
650
648
|
request.headers[REQUEST_HEADER] = `attempt=${attempts + 1}; max=${maxAttempts}`;
|
|
651
649
|
}
|
|
652
650
|
if (options?.beforeRequest) {
|
|
@@ -684,7 +682,7 @@ class StandardRetryStrategy {
|
|
|
684
682
|
}
|
|
685
683
|
}
|
|
686
684
|
const getDelayFromRetryAfterHeader = (response) => {
|
|
687
|
-
if (!
|
|
685
|
+
if (!HttpResponse.isInstance(response))
|
|
688
686
|
return;
|
|
689
687
|
const retryAfterHeaderName = Object.keys(response.headers).find((key) => key.toLowerCase() === "retry-after");
|
|
690
688
|
if (!retryAfterHeaderName)
|
|
@@ -692,9 +690,9 @@ const getDelayFromRetryAfterHeader = (response) => {
|
|
|
692
690
|
const retryAfter = response.headers[retryAfterHeaderName];
|
|
693
691
|
const retryAfterSeconds = Number(retryAfter);
|
|
694
692
|
if (!Number.isNaN(retryAfterSeconds))
|
|
695
|
-
return retryAfterSeconds * 1000;
|
|
693
|
+
return Math.min(retryAfterSeconds * 1000, 20_000);
|
|
696
694
|
const retryAfterDate = new Date(retryAfter);
|
|
697
|
-
return retryAfterDate.getTime() - Date.now();
|
|
695
|
+
return Math.min(retryAfterDate.getTime() - Date.now(), 20_000);
|
|
698
696
|
};
|
|
699
697
|
|
|
700
698
|
class AdaptiveRetryStrategy extends StandardRetryStrategy {
|
|
@@ -703,7 +701,7 @@ class AdaptiveRetryStrategy extends StandardRetryStrategy {
|
|
|
703
701
|
const { rateLimiter, ...superOptions } = options ?? {};
|
|
704
702
|
super(maxAttemptsProvider, superOptions);
|
|
705
703
|
this.rateLimiter = rateLimiter ?? new DefaultRateLimiter();
|
|
706
|
-
this.mode =
|
|
704
|
+
this.mode = RETRY_MODES.ADAPTIVE;
|
|
707
705
|
}
|
|
708
706
|
async retry(next, args) {
|
|
709
707
|
return super.retry(next, args, {
|
|
@@ -745,13 +743,13 @@ const NODE_MAX_ATTEMPT_CONFIG_OPTIONS = {
|
|
|
745
743
|
const resolveRetryConfig = (input, defaults) => {
|
|
746
744
|
const { retryStrategy, retryMode } = input;
|
|
747
745
|
const { defaultMaxAttempts = DEFAULT_MAX_ATTEMPTS, defaultBaseDelay = Retry.delay() } = defaults ?? {};
|
|
748
|
-
const maxAttemptsProvider =
|
|
746
|
+
const maxAttemptsProvider = normalizeProvider(input.maxAttempts ?? defaultMaxAttempts);
|
|
749
747
|
let controller = retryStrategy
|
|
750
748
|
? Promise.resolve(retryStrategy)
|
|
751
749
|
: undefined;
|
|
752
750
|
const getDefault = async () => {
|
|
753
751
|
const maxAttempts = await maxAttemptsProvider();
|
|
754
|
-
const adaptive = (await
|
|
752
|
+
const adaptive = (await normalizeProvider(retryMode)()) === RETRY_MODES.ADAPTIVE;
|
|
755
753
|
if (adaptive) {
|
|
756
754
|
return new AdaptiveRetryStrategy$1(maxAttemptsProvider, {
|
|
757
755
|
maxAttempts,
|
|
@@ -778,7 +776,7 @@ const NODE_RETRY_MODE_CONFIG_OPTIONS = {
|
|
|
778
776
|
|
|
779
777
|
const omitRetryHeadersMiddleware = () => (next) => async (args) => {
|
|
780
778
|
const { request } = args;
|
|
781
|
-
if (
|
|
779
|
+
if (HttpRequest.isInstance(request)) {
|
|
782
780
|
delete request.headers[INVOCATION_ID_HEADER];
|
|
783
781
|
delete request.headers[REQUEST_HEADER];
|
|
784
782
|
}
|
|
@@ -820,6 +818,7 @@ exports.NODE_RETRY_MODE_CONFIG_OPTIONS = NODE_RETRY_MODE_CONFIG_OPTIONS;
|
|
|
820
818
|
exports.NO_RETRY_INCREMENT = NO_RETRY_INCREMENT;
|
|
821
819
|
exports.REQUEST_HEADER = REQUEST_HEADER;
|
|
822
820
|
exports.RETRY_COST = RETRY_COST;
|
|
821
|
+
exports.RETRY_MODES = RETRY_MODES;
|
|
823
822
|
exports.Retry = Retry;
|
|
824
823
|
exports.StandardRetryStrategy = StandardRetryStrategy$1;
|
|
825
824
|
exports.THROTTLING_RETRY_DELAY_BASE = THROTTLING_RETRY_DELAY_BASE;
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
var transport = require('@smithy/core/transport');
|
|
1
|
+
const { getSmithyContext, HttpResponse, toEndpointV1 } = require("@smithy/core/transport");
|
|
4
2
|
|
|
5
3
|
const deref = (schemaRef) => {
|
|
6
4
|
if (typeof schemaRef === "function") {
|
|
@@ -19,7 +17,7 @@ const operation = (namespace, name, traits, input, output) => ({
|
|
|
19
17
|
|
|
20
18
|
const schemaDeserializationMiddleware = (config) => (next, context) => async (args) => {
|
|
21
19
|
const { response } = await next(args);
|
|
22
|
-
const { operationSchema } =
|
|
20
|
+
const { operationSchema } = getSmithyContext(context);
|
|
23
21
|
const [, ns, n, t, i, o] = operationSchema ?? [];
|
|
24
22
|
try {
|
|
25
23
|
const parsed = await config.protocol.deserializeResponse(operation(ns, n, t, i, o), {
|
|
@@ -57,7 +55,7 @@ const schemaDeserializationMiddleware = (config) => (next, context) => async (ar
|
|
|
57
55
|
}
|
|
58
56
|
}
|
|
59
57
|
try {
|
|
60
|
-
if (
|
|
58
|
+
if (HttpResponse.isInstance(response)) {
|
|
61
59
|
const { headers = {}, statusCode } = response;
|
|
62
60
|
const headerEntries = Object.entries(headers);
|
|
63
61
|
error.$metadata = {
|
|
@@ -81,10 +79,10 @@ const findHeader = (pattern, headers) => {
|
|
|
81
79
|
};
|
|
82
80
|
|
|
83
81
|
const schemaSerializationMiddleware = (config) => (next, context) => async (args) => {
|
|
84
|
-
const { operationSchema } =
|
|
82
|
+
const { operationSchema } = getSmithyContext(context);
|
|
85
83
|
const [, ns, n, t, i, o] = operationSchema ?? [];
|
|
86
84
|
const endpoint = context.endpointV2
|
|
87
|
-
? async () =>
|
|
85
|
+
? async () => toEndpointV1(context.endpointV2)
|
|
88
86
|
: config.endpoint;
|
|
89
87
|
const request = await config.protocol.serializeRequest(operation(ns, n, t, i, o), args.input, {
|
|
90
88
|
...config,
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
var transport = require('@smithy/core/transport');
|
|
4
|
-
var endpoints = require('@smithy/core/endpoints');
|
|
1
|
+
const { HttpResponse } = require("@smithy/core/transport");
|
|
2
|
+
const { toEndpointV1 } = require("@smithy/core/endpoints");
|
|
5
3
|
|
|
6
4
|
const chars = `ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/`;
|
|
7
5
|
const alphabetByEncoding = Object.entries(chars).reduce((acc, [i, c]) => {
|
|
@@ -912,7 +910,7 @@ const deserializerMiddleware = (options, deserializer) => (next, context) => asy
|
|
|
912
910
|
}
|
|
913
911
|
}
|
|
914
912
|
try {
|
|
915
|
-
if (
|
|
913
|
+
if (HttpResponse.isInstance(response)) {
|
|
916
914
|
const { headers = {} } = response;
|
|
917
915
|
const headerEntries = Object.entries(headers);
|
|
918
916
|
error.$metadata = {
|
|
@@ -938,7 +936,7 @@ const findHeader = (pattern, headers) => {
|
|
|
938
936
|
const serializerMiddleware = (options, serializer) => (next, context) => async (args) => {
|
|
939
937
|
const endpointConfig = options;
|
|
940
938
|
const endpoint = context.endpointV2
|
|
941
|
-
? async () =>
|
|
939
|
+
? async () => toEndpointV1(context.endpointV2)
|
|
942
940
|
: endpointConfig.endpoint;
|
|
943
941
|
if (!endpoint) {
|
|
944
942
|
throw new Error("No valid endpoint provider available.");
|
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
var endpoints = require('@smithy/core/endpoints');
|
|
7
|
-
var node_stream = require('node:stream');
|
|
1
|
+
const { createHmac, createHash, getRandomValues } = require("node:crypto");
|
|
2
|
+
const { ReadStream, lstatSync, fstatSync } = require("node:fs");
|
|
3
|
+
const { HttpResponse } = require("@smithy/core/transport");
|
|
4
|
+
const { toEndpointV1 } = require("@smithy/core/endpoints");
|
|
5
|
+
const { Duplex, Readable, Writable, PassThrough } = require("node:stream");
|
|
8
6
|
|
|
9
7
|
const isArrayBuffer = (arg) => (typeof ArrayBuffer === "function" && arg instanceof ArrayBuffer) ||
|
|
10
8
|
Object.prototype.toString.call(arg) === "[object ArrayBuffer]";
|
|
@@ -821,12 +819,12 @@ const calculateBodyLength = (body) => {
|
|
|
821
819
|
else if (typeof body.start === "number" && typeof body.end === "number") {
|
|
822
820
|
return body.end + 1 - body.start;
|
|
823
821
|
}
|
|
824
|
-
else if (body instanceof
|
|
822
|
+
else if (body instanceof ReadStream) {
|
|
825
823
|
if (body.path != null) {
|
|
826
|
-
return
|
|
824
|
+
return lstatSync(body.path).size;
|
|
827
825
|
}
|
|
828
826
|
else if (typeof body.fd === "number") {
|
|
829
|
-
return
|
|
827
|
+
return fstatSync(body.fd).size;
|
|
830
828
|
}
|
|
831
829
|
}
|
|
832
830
|
throw new Error(`Body Length computation failed for ${body}`);
|
|
@@ -877,7 +875,7 @@ const deserializerMiddleware = (options, deserializer) => (next, context) => asy
|
|
|
877
875
|
}
|
|
878
876
|
}
|
|
879
877
|
try {
|
|
880
|
-
if (
|
|
878
|
+
if (HttpResponse.isInstance(response)) {
|
|
881
879
|
const { headers = {} } = response;
|
|
882
880
|
const headerEntries = Object.entries(headers);
|
|
883
881
|
error.$metadata = {
|
|
@@ -903,7 +901,7 @@ const findHeader = (pattern, headers) => {
|
|
|
903
901
|
const serializerMiddleware = (options, serializer) => (next, context) => async (args) => {
|
|
904
902
|
const endpointConfig = options;
|
|
905
903
|
const endpoint = context.endpointV2
|
|
906
|
-
? async () =>
|
|
904
|
+
? async () => toEndpointV1(context.endpointV2)
|
|
907
905
|
: endpointConfig.endpoint;
|
|
908
906
|
if (!endpoint) {
|
|
909
907
|
throw new Error("No valid endpoint provider available.");
|
|
@@ -953,8 +951,8 @@ class Hash {
|
|
|
953
951
|
}
|
|
954
952
|
reset() {
|
|
955
953
|
this.hash = this.secret
|
|
956
|
-
?
|
|
957
|
-
:
|
|
954
|
+
? createHmac(this.algorithmIdentifier, castSourceData(this.secret))
|
|
955
|
+
: createHash(this.algorithmIdentifier);
|
|
958
956
|
}
|
|
959
957
|
}
|
|
960
958
|
function castSourceData(toCast, encoding) {
|
|
@@ -970,7 +968,7 @@ function castSourceData(toCast, encoding) {
|
|
|
970
968
|
return fromArrayBuffer(toCast);
|
|
971
969
|
}
|
|
972
970
|
|
|
973
|
-
let ChecksumStream$1 = class ChecksumStream extends
|
|
971
|
+
let ChecksumStream$1 = class ChecksumStream extends Duplex {
|
|
974
972
|
expectedChecksum;
|
|
975
973
|
checksumSourceLocation;
|
|
976
974
|
checksum;
|
|
@@ -1256,7 +1254,7 @@ function createBufferedReadable(upstream, size, logger) {
|
|
|
1256
1254
|
if (isReadableStream(upstream)) {
|
|
1257
1255
|
return createBufferedReadableStream(upstream, size, logger);
|
|
1258
1256
|
}
|
|
1259
|
-
const downstream = new
|
|
1257
|
+
const downstream = new Readable({ read() { } });
|
|
1260
1258
|
let streamBufferingLoggedWarning = false;
|
|
1261
1259
|
let bytesSeen = 0;
|
|
1262
1260
|
const buffers = [
|
|
@@ -1346,7 +1344,7 @@ function getAwsChunkedEncodingStream(stream, options) {
|
|
|
1346
1344
|
checksumLocationName !== undefined &&
|
|
1347
1345
|
streamHasher !== undefined;
|
|
1348
1346
|
const digest = checksumRequired ? streamHasher(checksumAlgorithmFn, readable) : undefined;
|
|
1349
|
-
const awsChunkedEncodingStream = new
|
|
1347
|
+
const awsChunkedEncodingStream = new Readable({
|
|
1350
1348
|
read: () => { },
|
|
1351
1349
|
});
|
|
1352
1350
|
readable.on("data", (data) => {
|
|
@@ -1421,7 +1419,7 @@ const headStream = (stream, bytes) => {
|
|
|
1421
1419
|
});
|
|
1422
1420
|
});
|
|
1423
1421
|
};
|
|
1424
|
-
let Collector$1 = class Collector extends
|
|
1422
|
+
let Collector$1 = class Collector extends Writable {
|
|
1425
1423
|
buffers = [];
|
|
1426
1424
|
limit = Infinity;
|
|
1427
1425
|
bytesBuffered = 0;
|
|
@@ -1597,7 +1595,7 @@ const sdkStreamMixin$1 = (stream) => {
|
|
|
1597
1595
|
};
|
|
1598
1596
|
const isBlobInstance = (stream) => typeof Blob === "function" && stream instanceof Blob;
|
|
1599
1597
|
|
|
1600
|
-
class Collector extends
|
|
1598
|
+
class Collector extends Writable {
|
|
1601
1599
|
bufferedBytes = [];
|
|
1602
1600
|
_write(chunk, encoding, callback) {
|
|
1603
1601
|
this.bufferedBytes.push(chunk);
|
|
@@ -1647,7 +1645,7 @@ const streamCollector = (stream) => {
|
|
|
1647
1645
|
|
|
1648
1646
|
const ERR_MSG_STREAM_HAS_BEEN_TRANSFORMED = "The stream has already been transformed.";
|
|
1649
1647
|
const sdkStreamMixin = (stream) => {
|
|
1650
|
-
if (!(stream instanceof
|
|
1648
|
+
if (!(stream instanceof Readable)) {
|
|
1651
1649
|
try {
|
|
1652
1650
|
return sdkStreamMixin$1(stream);
|
|
1653
1651
|
}
|
|
@@ -1683,11 +1681,11 @@ const sdkStreamMixin = (stream) => {
|
|
|
1683
1681
|
if (stream.readableFlowing !== null) {
|
|
1684
1682
|
throw new Error("The stream has been consumed by other callbacks.");
|
|
1685
1683
|
}
|
|
1686
|
-
if (typeof
|
|
1684
|
+
if (typeof Readable.toWeb !== "function") {
|
|
1687
1685
|
throw new Error("Readable.toWeb() is not supported. Please ensure a polyfill is available.");
|
|
1688
1686
|
}
|
|
1689
1687
|
transformed = true;
|
|
1690
|
-
return
|
|
1688
|
+
return Readable.toWeb(stream);
|
|
1691
1689
|
},
|
|
1692
1690
|
});
|
|
1693
1691
|
};
|
|
@@ -1704,8 +1702,8 @@ async function splitStream(stream) {
|
|
|
1704
1702
|
if (isReadableStream(stream) || isBlob(stream)) {
|
|
1705
1703
|
return splitStream$1(stream);
|
|
1706
1704
|
}
|
|
1707
|
-
const stream1 = new
|
|
1708
|
-
const stream2 = new
|
|
1705
|
+
const stream1 = new PassThrough();
|
|
1706
|
+
const stream2 = new PassThrough();
|
|
1709
1707
|
stream.pipe(stream1);
|
|
1710
1708
|
stream.pipe(stream2);
|
|
1711
1709
|
return [stream1, stream2];
|
|
@@ -1713,7 +1711,7 @@ async function splitStream(stream) {
|
|
|
1713
1711
|
|
|
1714
1712
|
class Uint8ArrayBlobAdapter extends bindUint8ArrayBlobAdapter(toUtf8$1, fromUtf8$1, toBase64$1, fromBase64$1) {
|
|
1715
1713
|
}
|
|
1716
|
-
const _getRandomValues =
|
|
1714
|
+
const _getRandomValues = getRandomValues;
|
|
1717
1715
|
const v4 = bindV4(_getRandomValues);
|
|
1718
1716
|
const generateIdempotencyToken = v4;
|
|
1719
1717
|
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
var transport = require('@smithy/core/transport');
|
|
4
|
-
var endpoints = require('@smithy/core/endpoints');
|
|
1
|
+
const { HttpResponse } = require("@smithy/core/transport");
|
|
2
|
+
const { toEndpointV1 } = require("@smithy/core/endpoints");
|
|
5
3
|
|
|
6
4
|
const chars = `ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/`;
|
|
7
5
|
const alphabetByEncoding = Object.entries(chars).reduce((acc, [i, c]) => {
|
|
@@ -912,7 +910,7 @@ const deserializerMiddleware = (options, deserializer) => (next, context) => asy
|
|
|
912
910
|
}
|
|
913
911
|
}
|
|
914
912
|
try {
|
|
915
|
-
if (
|
|
913
|
+
if (HttpResponse.isInstance(response)) {
|
|
916
914
|
const { headers = {} } = response;
|
|
917
915
|
const headerEntries = Object.entries(headers);
|
|
918
916
|
error.$metadata = {
|
|
@@ -938,7 +936,7 @@ const findHeader = (pattern, headers) => {
|
|
|
938
936
|
const serializerMiddleware = (options, serializer) => (next, context) => async (args) => {
|
|
939
937
|
const endpointConfig = options;
|
|
940
938
|
const endpoint = context.endpointV2
|
|
941
|
-
? async () =>
|
|
939
|
+
? async () => toEndpointV1(context.endpointV2)
|
|
942
940
|
: endpointConfig.endpoint;
|
|
943
941
|
if (!endpoint) {
|
|
944
942
|
throw new Error("No valid endpoint provider available.");
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
const { SMITHY_CONTEXT_KEY } = require("@smithy/types");
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
const getSmithyContext = (context) => context[types.SMITHY_CONTEXT_KEY] || (context[types.SMITHY_CONTEXT_KEY] = {});
|
|
3
|
+
const getSmithyContext = (context) => context[SMITHY_CONTEXT_KEY] || (context[SMITHY_CONTEXT_KEY] = {});
|
|
6
4
|
|
|
7
5
|
class HttpRequest {
|
|
8
6
|
method;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getSmithyContext } from "@smithy/core/client";
|
|
2
1
|
import { RpcProtocol } from "@smithy/core/protocols";
|
|
3
2
|
import { NormalizedSchema, TypeRegistry, deref } from "@smithy/core/schema";
|
|
3
|
+
import { getSmithyContext } from "@smithy/core/transport";
|
|
4
4
|
import { CborCodec } from "./CborCodec";
|
|
5
5
|
import { loadSmithyRpcV2CborErrorCode } from "./parseCborBody";
|
|
6
6
|
export class SmithyRpcV2CborProtocol extends RpcProtocol {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { getSmithyContext } from "@smithy/core/
|
|
1
|
+
import { getSmithyContext } from "@smithy/core/transport";
|
|
2
2
|
import { bindGetEndpointFromInstructions } from "./adaptors/getEndpointFromInstructions";
|
|
3
3
|
function setFeature(context, feature, value) {
|
|
4
4
|
if (!context.__smithy_context) {
|
|
@@ -89,7 +89,7 @@ const getDelayFromRetryAfterHeader = (response) => {
|
|
|
89
89
|
const retryAfter = response.headers[retryAfterHeaderName];
|
|
90
90
|
const retryAfterSeconds = Number(retryAfter);
|
|
91
91
|
if (!Number.isNaN(retryAfterSeconds))
|
|
92
|
-
return retryAfterSeconds * 1000;
|
|
92
|
+
return Math.min(retryAfterSeconds * 1000, 20_000);
|
|
93
93
|
const retryAfterDate = new Date(retryAfter);
|
|
94
|
-
return retryAfterDate.getTime() - Date.now();
|
|
94
|
+
return Math.min(retryAfterDate.getTime() - Date.now(), 20_000);
|
|
95
95
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { isThrottlingError } from "../service-error-classification/service-error-classification";
|
|
2
2
|
export class DefaultRateLimiter {
|
|
3
|
-
static setTimeoutFn = setTimeout;
|
|
3
|
+
static setTimeoutFn = (fn, delay) => setTimeout(fn, delay);
|
|
4
4
|
beta;
|
|
5
5
|
minCapacity;
|
|
6
6
|
minFillRate;
|