@cdklabs/cdk-ssm-documents 0.0.56 → 0.0.58
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/client-cloudformation/dist-cjs/endpoint/bdd.js +52 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/endpoint/endpointResolver.js +2 -2
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/endpoint/bdd.js +49 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/endpoint/endpointResolver.js +3 -3
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/endpoint/bdd.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/endpoint/bdd.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudformation/package.json +34 -34
- package/node_modules/@aws-sdk/client-cloudwatch/dist-cjs/endpoint/bdd.js +52 -0
- package/node_modules/@aws-sdk/client-cloudwatch/dist-cjs/endpoint/endpointResolver.js +2 -2
- package/node_modules/@aws-sdk/client-cloudwatch/dist-es/endpoint/bdd.js +49 -0
- package/node_modules/@aws-sdk/client-cloudwatch/dist-es/endpoint/endpointResolver.js +3 -3
- package/node_modules/@aws-sdk/client-cloudwatch/dist-types/endpoint/bdd.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudwatch/dist-types/models/models_0.d.ts +2 -2
- package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/endpoint/bdd.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudwatch/package.json +36 -36
- package/node_modules/@aws-sdk/client-ec2/README.md +35 -0
- package/node_modules/@aws-sdk/client-ec2/dist-cjs/endpoint/bdd.js +52 -0
- package/node_modules/@aws-sdk/client-ec2/dist-cjs/endpoint/endpointResolver.js +2 -2
- package/node_modules/@aws-sdk/client-ec2/dist-cjs/index.js +86 -0
- package/node_modules/@aws-sdk/client-ec2/dist-cjs/schemas/schemas_0.js +257 -106
- package/node_modules/@aws-sdk/client-ec2/dist-es/EC2.js +10 -0
- package/node_modules/@aws-sdk/client-ec2/dist-es/commands/AcceptTransitGatewayClientVpnAttachmentCommand.js +16 -0
- package/node_modules/@aws-sdk/client-ec2/dist-es/commands/DeleteTransitGatewayClientVpnAttachmentCommand.js +16 -0
- package/node_modules/@aws-sdk/client-ec2/dist-es/commands/GetManagedResourceVisibilityCommand.js +16 -0
- package/node_modules/@aws-sdk/client-ec2/dist-es/commands/ModifyManagedResourceVisibilityCommand.js +16 -0
- package/node_modules/@aws-sdk/client-ec2/dist-es/commands/RejectTransitGatewayClientVpnAttachmentCommand.js +16 -0
- package/node_modules/@aws-sdk/client-ec2/dist-es/commands/index.js +5 -0
- package/node_modules/@aws-sdk/client-ec2/dist-es/endpoint/bdd.js +49 -0
- package/node_modules/@aws-sdk/client-ec2/dist-es/endpoint/endpointResolver.js +3 -3
- package/node_modules/@aws-sdk/client-ec2/dist-es/models/enums.js +14 -0
- package/node_modules/@aws-sdk/client-ec2/dist-es/schemas/schemas_0.js +194 -43
- package/node_modules/@aws-sdk/client-ec2/dist-types/EC2.d.ts +37 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/EC2Client.d.ts +7 -2
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/AcceptTransitGatewayClientVpnAttachmentCommand.d.ts +82 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/AcceptTransitGatewayMulticastDomainAssociationsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/AssociateClientVpnTargetNetworkCommand.d.ts +3 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/AssociateTransitGatewayMulticastDomainCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/AssociateTransitGatewayPolicyTableCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/AssociateTransitGatewayRouteTableCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CopyVolumesCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateClientVpnEndpointCommand.d.ts +10 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateClientVpnRouteCommand.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/CreateLaunchTemplateCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateNetworkInterfaceCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreatePlacementGroupCommand.d.ts +1 -0
- 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/CreateTransitGatewayMeteringPolicyEntryCommand.d.ts +4 -4
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTransitGatewayPrefixListReferenceCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTransitGatewayRouteCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVolumeCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DeleteClientVpnEndpointCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DeleteLaunchTemplateCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DeleteTrafficMirrorFilterCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DeleteTrafficMirrorFilterRuleCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DeleteTrafficMirrorSessionCommand.d.ts +1 -2
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DeleteTransitGatewayClientVpnAttachmentCommand.d.ts +82 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DeleteTransitGatewayMeteringPolicyEntryCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DeleteTransitGatewayPrefixListReferenceCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DeleteTransitGatewayRouteCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeClientVpnEndpointsCommand.d.ts +11 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeClientVpnRoutesCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeClientVpnTargetNetworksCommand.d.ts +6 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeInstanceAttributeCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeInstanceCreditSpecificationsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeInstanceEventNotificationAttributesCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeInstanceEventWindowsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeInstanceImageMetadataCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeInstanceStatusCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeInstancesCommand.d.ts +3 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +3 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeLaunchTemplatesCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeNetworkInterfacesCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribePlacementGroupsCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeTagsCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeTrafficMirrorFilterRulesCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeTrafficMirrorFiltersCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeTrafficMirrorSessionsCommand.d.ts +1 -2
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeTransitGatewayAttachmentsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeVolumeStatusCommand.d.ts +6 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeVolumesCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeVolumesModificationsCommand.d.ts +5 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DisableTransitGatewayRouteTablePropagationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DisassociateTransitGatewayMulticastDomainCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DisassociateTransitGatewayPolicyTableCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DisassociateTransitGatewayRouteTableCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/EnableTransitGatewayRouteTablePropagationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetCapacityReservationUsageCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetCoipPoolUsageCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetConsoleOutputCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetManagedResourceVisibilityCommand.d.ts +77 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetTransitGatewayMeteringPolicyEntriesCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetTransitGatewayMulticastDomainAssociationsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetTransitGatewayPolicyTableAssociationsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetTransitGatewayPrefixListReferencesCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetTransitGatewayRouteTableAssociationsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetTransitGatewayRouteTablePropagationsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ListVolumesInRecycleBinCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifyClientVpnEndpointCommand.d.ts +9 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifyLaunchTemplateCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifyManagedResourceVisibilityCommand.d.ts +80 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifyRouteServerCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifySecurityGroupRulesCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifySnapshotAttributeCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifySnapshotTierCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifySpotFleetRequestCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifySubnetAttributeCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifyTransitGatewayPrefixListReferenceCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifyVolumeCommand.d.ts +5 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/RejectTransitGatewayClientVpnAttachmentCommand.d.ts +82 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/RejectTransitGatewayMulticastDomainAssociationsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ReplaceTransitGatewayRouteCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/RunInstancesCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/SearchTransitGatewayMulticastGroupsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/SearchTransitGatewayRoutesCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/index.d.ts +5 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/endpoint/bdd.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/models/enums.d.ts +30 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_0.d.ts +112 -181
- package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_1.d.ts +179 -119
- package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_2.d.ts +119 -56
- package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_3.d.ts +126 -205
- package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_4.d.ts +239 -266
- package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_5.d.ts +288 -292
- package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_6.d.ts +360 -374
- package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_7.d.ts +399 -4
- package/node_modules/@aws-sdk/client-ec2/dist-types/schemas/schemas_0.d.ts +19 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/EC2.d.ts +105 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/EC2Client.d.ts +30 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/AcceptTransitGatewayClientVpnAttachmentCommand.d.ts +51 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateDelegateMacVolumeOwnershipTaskCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateSecondaryNetworkCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteTrafficMirrorFilterCommand.d.ts +2 -4
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteTrafficMirrorFilterRuleCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteTrafficMirrorSessionCommand.d.ts +4 -2
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteTransitGatewayClientVpnAttachmentCommand.d.ts +51 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeInstanceCreditSpecificationsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeInstanceEventNotificationAttributesCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeInstanceEventWindowsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeTagsCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeTrafficMirrorFilterRulesCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeTrafficMirrorFiltersCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeTrafficMirrorSessionsCommand.d.ts +4 -2
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetCapacityReservationUsageCommand.d.ts +2 -4
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetCoipPoolUsageCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetConsoleOutputCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetManagedResourceVisibilityCommand.d.ts +51 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyManagedResourceVisibilityCommand.d.ts +51 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyRouteServerCommand.d.ts +2 -4
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifySecurityGroupRulesCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifySnapshotAttributeCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifySnapshotTierCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifySpotFleetRequestCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifySubnetAttributeCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/RejectTransitGatewayClientVpnAttachmentCommand.d.ts +51 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/endpoint/bdd.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/enums.d.ts +18 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_0.d.ts +31 -36
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_1.d.ts +33 -33
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_2.d.ts +31 -15
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_3.d.ts +36 -33
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_4.d.ts +41 -44
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_5.d.ts +48 -48
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_6.d.ts +69 -77
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_7.d.ts +87 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/schemas/schemas_0.d.ts +19 -0
- package/node_modules/@aws-sdk/client-ec2/package.json +36 -36
- package/node_modules/@aws-sdk/client-iam/dist-cjs/endpoint/bdd.js +85 -0
- package/node_modules/@aws-sdk/client-iam/dist-cjs/endpoint/endpointResolver.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/endpoint/bdd.js +82 -0
- package/node_modules/@aws-sdk/client-iam/dist-es/endpoint/endpointResolver.js +3 -3
- package/node_modules/@aws-sdk/client-iam/dist-types/endpoint/bdd.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/endpoint/bdd.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/package.json +35 -35
- package/node_modules/@aws-sdk/client-lambda/dist-cjs/endpoint/bdd.js +49 -0
- package/node_modules/@aws-sdk/client-lambda/dist-cjs/endpoint/endpointResolver.js +2 -2
- package/node_modules/@aws-sdk/client-lambda/dist-cjs/index.js +1 -0
- package/node_modules/@aws-sdk/client-lambda/dist-es/endpoint/bdd.js +46 -0
- package/node_modules/@aws-sdk/client-lambda/dist-es/endpoint/endpointResolver.js +3 -3
- package/node_modules/@aws-sdk/client-lambda/dist-es/models/enums.js +1 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/CreateFunctionCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetFunctionCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetFunctionConfigurationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetLayerVersionByArnCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetLayerVersionCommand.d.ts +1 -1
- 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/ListFunctionsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/ListLayerVersionsCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/ListLayersCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/ListVersionsByFunctionCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/PublishLayerVersionCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/PublishVersionCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/UpdateFunctionCodeCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/UpdateFunctionConfigurationCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-lambda/dist-types/endpoint/bdd.d.ts +2 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/models/enums.d.ts +1 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/endpoint/bdd.d.ts +2 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/models/enums.d.ts +1 -0
- package/node_modules/@aws-sdk/client-lambda/package.json +46 -40
- package/node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/bdd.js +757 -0
- package/node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/endpointResolver.js +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +7 -6
- package/node_modules/@aws-sdk/client-s3/dist-cjs/schemas/schemas_0.js +75 -60
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketPolicyCommand.js +1 -5
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectCommand.js +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/SelectObjectContentCommand.js +0 -2
- package/node_modules/@aws-sdk/client-s3/dist-es/endpoint/bdd.js +754 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/endpoint/endpointResolver.js +3 -3
- package/node_modules/@aws-sdk/client-s3/dist-es/models/enums.js +5 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/schemas/schemas_0.js +75 -60
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/CompleteMultipartUploadCommand.d.ts +15 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/CopyObjectCommand.d.ts +6 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateBucketMetadataConfigurationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateBucketMetadataTableConfigurationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateMultipartUploadCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketInventoryConfigurationCommand.d.ts +38 -7
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketInventoryConfigurationCommand.d.ts +39 -8
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectAttributesCommand.d.ts +10 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectCommand.d.ts +5 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/HeadObjectCommand.d.ts +5 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketInventoryConfigurationsCommand.d.ts +39 -8
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListMultipartUploadsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectVersionsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectsV2Command.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListPartsCommand.d.ts +6 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAbacCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAccelerateConfigurationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAclCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketCorsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketEncryptionCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketInventoryConfigurationCommand.d.ts +31 -5
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketLoggingCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketOwnershipControlsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketPolicyCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketReplicationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketRequestPaymentCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketTaggingCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketVersioningCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketWebsiteCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectAclCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectCommand.d.ts +11 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectLegalHoldCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectLockConfigurationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectRetentionCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectTaggingCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutPublicAccessBlockCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/RestoreObjectCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/UpdateBucketMetadataInventoryTableConfigurationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/UpdateBucketMetadataJournalTableConfigurationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/UpdateObjectEncryptionCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/UploadPartCommand.d.ts +11 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/UploadPartCopyCommand.d.ts +5 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/WriteGetObjectResponseCommand.d.ts +5 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/endpoint/bdd.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/models/enums.d.ts +5 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/models/models_0.d.ts +546 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/models/models_1.d.ts +194 -34
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/endpoint/bdd.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/enums.d.ts +5 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_0.d.ts +55 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_1.d.ts +20 -0
- package/node_modules/@aws-sdk/client-s3/package.json +50 -50
- package/node_modules/@aws-sdk/client-sns/dist-cjs/endpoint/bdd.js +55 -0
- package/node_modules/@aws-sdk/client-sns/dist-cjs/endpoint/endpointResolver.js +2 -2
- package/node_modules/@aws-sdk/client-sns/dist-es/endpoint/bdd.js +52 -0
- package/node_modules/@aws-sdk/client-sns/dist-es/endpoint/endpointResolver.js +3 -3
- package/node_modules/@aws-sdk/client-sns/dist-types/endpoint/bdd.d.ts +2 -0
- package/node_modules/@aws-sdk/client-sns/dist-types/ts3.4/endpoint/bdd.d.ts +2 -0
- package/node_modules/@aws-sdk/client-sns/package.json +33 -33
- package/node_modules/@aws-sdk/client-sqs/dist-cjs/endpoint/bdd.js +52 -0
- package/node_modules/@aws-sdk/client-sqs/dist-cjs/endpoint/endpointResolver.js +2 -2
- package/node_modules/@aws-sdk/client-sqs/dist-es/endpoint/bdd.js +49 -0
- package/node_modules/@aws-sdk/client-sqs/dist-es/endpoint/endpointResolver.js +3 -3
- package/node_modules/@aws-sdk/client-sqs/dist-types/endpoint/bdd.d.ts +2 -0
- package/node_modules/@aws-sdk/client-sqs/dist-types/ts3.4/endpoint/bdd.d.ts +2 -0
- package/node_modules/@aws-sdk/client-sqs/package.json +36 -36
- package/node_modules/@aws-sdk/client-ssm/dist-cjs/endpoint/bdd.js +52 -0
- package/node_modules/@aws-sdk/client-ssm/dist-cjs/endpoint/endpointResolver.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/endpoint/bdd.js +49 -0
- package/node_modules/@aws-sdk/client-ssm/dist-es/endpoint/endpointResolver.js +3 -3
- package/node_modules/@aws-sdk/client-ssm/dist-types/endpoint/bdd.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/endpoint/bdd.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/package.json +34 -34
- package/node_modules/@aws-sdk/core/dist-cjs/index.js +72 -61
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js +3 -0
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +70 -61
- package/node_modules/@aws-sdk/core/dist-es/submodules/client/setFeature.js +2 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/ProtocolLib.js +11 -10
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/UnionSerde.js +4 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJsonRpcProtocol.js +4 -5
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsRestJsonProtocol.js +2 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeDeserializer.js +6 -4
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeSerializer.js +15 -10
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/experimental/SinglePassJsonShapeSerializer.js +2 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/parseJsonBody.js +17 -17
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/AwsQueryProtocol.js +3 -8
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/QueryShapeSerializer.js +2 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/AwsRestXmlProtocol.js +2 -2
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeSerializer.js +4 -2
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/setFeature.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/JsonShapeSerializer.d.ts +2 -2
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/JsonShapeSerializer.d.ts +1 -1
- package/node_modules/@aws-sdk/core/package.json +14 -12
- package/node_modules/@aws-sdk/crc64-nvme/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-env/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-http/package.json +10 -10
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +14 -14
- package/node_modules/@aws-sdk/credential-provider-login/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-node/package.json +12 -12
- package/node_modules/@aws-sdk/credential-provider-process/package.json +6 -6
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +7 -7
- package/node_modules/@aws-sdk/middleware-bucket-endpoint/package.json +5 -5
- package/node_modules/@aws-sdk/middleware-expect-continue/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-flexible-checksums/package.json +10 -10
- package/node_modules/@aws-sdk/middleware-host-header/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-location-constraint/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-logger/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-sdk-ec2/package.json +8 -8
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/index.js +9 -25
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/toStream.browser.js +11 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/toStream.js +7 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/throw-200-exceptions.js +9 -25
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/toStream.browser.js +8 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/toStream.js +4 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/throw-200-exceptions.d.ts +2 -1
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/toStream.browser.d.ts +4 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/toStream.d.ts +5 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/throw-200-exceptions.d.ts +2 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/toStream.browser.d.ts +1 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/toStream.d.ts +2 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +21 -14
- package/node_modules/@aws-sdk/middleware-sdk-sqs/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-ssec/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +8 -8
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/endpoint/bdd.js +100 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/endpoint/endpointResolver.js +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/endpoint/bdd.js +90 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/endpoint/endpointResolver.js +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/endpoint/bdd.js +80 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/endpoint/endpointResolver.js +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/endpoint/bdd.js +80 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/endpoint/endpointResolver.js +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/STSClient.js +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/auth/httpAuthSchemeProvider.js +87 -5
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/bdd.js +150 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/endpointResolver.js +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/models/errors.js +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.js +6 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.shared.js +7 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/endpoint/bdd.js +97 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/endpoint/endpointResolver.js +3 -3
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/bdd.js +87 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/endpointResolver.js +3 -3
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/endpoint/bdd.js +77 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/endpoint/endpointResolver.js +3 -3
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/bdd.js +77 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/endpointResolver.js +3 -3
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/STSClient.js +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/auth/httpAuthSchemeProvider.js +88 -4
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/bdd.js +147 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/endpointResolver.js +3 -3
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/models/errors.js +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.js +7 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.shared.js +8 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/endpoint/bdd.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/endpoint/bdd.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/endpoint/bdd.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/endpoint/bdd.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/auth/httpAuthSchemeProvider.d.ts +15 -7
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/endpoint/bdd.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/models/errors.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.browser.d.ts +3 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.d.ts +10 -4
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.native.d.ts +3 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.shared.d.ts +3 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/endpoint/bdd.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/endpoint/bdd.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/endpoint/bdd.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/endpoint/bdd.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/auth/httpAuthSchemeProvider.d.ts +20 -9
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/endpoint/bdd.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/models/errors.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.browser.d.ts +11 -5
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.d.ts +35 -16
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.native.d.ts +11 -5
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.shared.d.ts +8 -1
- package/node_modules/@aws-sdk/nested-clients/package.json +33 -32
- package/node_modules/@aws-sdk/region-config-resolver/package.json +5 -5
- package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +6 -6
- package/node_modules/@aws-sdk/token-providers/package.json +7 -7
- package/node_modules/@aws-sdk/types/package.json +2 -2
- package/node_modules/@aws-sdk/util-endpoints/package.json +5 -5
- package/node_modules/@aws-sdk/util-format-url/package.json +4 -4
- package/node_modules/@aws-sdk/util-user-agent-browser/package.json +3 -3
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +5 -5
- package/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-parser.js +0 -2
- package/node_modules/@aws-sdk/xml-builder/dist-es/xml-parser.js +0 -2
- package/node_modules/@aws-sdk/xml-builder/package.json +3 -3
- package/node_modules/@nodable/entities/README.md +41 -0
- package/node_modules/@nodable/entities/package.json +54 -0
- package/node_modules/@nodable/entities/src/EntityDecoder.js +543 -0
- package/node_modules/@nodable/entities/src/EntityEncoder.js +194 -0
- package/node_modules/@nodable/entities/src/entities.js +1177 -0
- package/node_modules/@nodable/entities/src/entityTries.js +49 -0
- package/node_modules/@nodable/entities/src/index.d.ts +264 -0
- package/node_modules/@nodable/entities/src/index.js +29 -0
- package/node_modules/@smithy/config-resolver/package.json +5 -5
- package/node_modules/@smithy/core/dist-cjs/index.js +2 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +32 -14
- package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.js +2 -2
- package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +16 -8
- package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +17 -10
- package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +6 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +6 -3
- package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/DefaultIdentityProviderConfig.js +2 -1
- package/node_modules/@smithy/core/dist-es/submodules/cbor/CborCodec.js +23 -11
- package/node_modules/@smithy/core/dist-es/submodules/cbor/parseCborBody.js +9 -3
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/toEndpointV1.js +2 -2
- package/node_modules/@smithy/core/dist-es/submodules/event-streams/EventStreamSerde.js +16 -8
- package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js +9 -4
- package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +8 -6
- package/node_modules/@smithy/core/dist-es/submodules/schema/TypeRegistry.js +6 -1
- package/node_modules/@smithy/core/dist-es/submodules/serde/parse-utils.js +6 -3
- package/node_modules/@smithy/core/dist-es/util-identity-and-auth/DefaultIdentityProviderConfig.js +2 -1
- package/node_modules/@smithy/core/dist-types/submodules/schema/TypeRegistry.d.ts +1 -1
- package/node_modules/@smithy/core/package.json +7 -7
- package/node_modules/@smithy/credential-provider-imds/package.json +5 -5
- package/node_modules/@smithy/eventstream-codec/package.json +2 -2
- package/node_modules/@smithy/eventstream-serde-browser/package.json +3 -3
- package/node_modules/@smithy/eventstream-serde-config-resolver/package.json +2 -2
- package/node_modules/@smithy/eventstream-serde-node/package.json +3 -3
- package/node_modules/@smithy/eventstream-serde-universal/package.json +3 -3
- package/node_modules/@smithy/fetch-http-handler/package.json +5 -5
- package/node_modules/@smithy/hash-blob-browser/package.json +2 -2
- package/node_modules/@smithy/hash-node/package.json +2 -2
- package/node_modules/@smithy/hash-stream-node/package.json +2 -2
- package/node_modules/@smithy/invalid-dependency/package.json +2 -2
- package/node_modules/@smithy/md5-js/package.json +2 -2
- package/node_modules/@smithy/middleware-compression/package.json +6 -6
- package/node_modules/@smithy/middleware-content-length/package.json +3 -3
- package/node_modules/@smithy/middleware-endpoint/package.json +8 -8
- package/node_modules/@smithy/middleware-retry/package.json +9 -9
- package/node_modules/@smithy/middleware-serde/package.json +4 -4
- package/node_modules/@smithy/middleware-stack/package.json +2 -2
- package/node_modules/@smithy/node-config-provider/package.json +4 -4
- package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +208 -102
- package/node_modules/@smithy/node-http-handler/dist-es/http2/ClientHttp2SessionRef.js +50 -0
- package/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-manager.js +83 -41
- package/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-pool.js +32 -18
- package/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +44 -43
- package/node_modules/@smithy/node-http-handler/dist-types/http2/ClientHttp2SessionRef.d.ts +46 -0
- package/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-manager.d.ts +32 -14
- package/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-pool.d.ts +32 -8
- package/node_modules/@smithy/node-http-handler/dist-types/node-http2-handler.d.ts +14 -6
- package/node_modules/@smithy/node-http-handler/package.json +5 -5
- package/node_modules/@smithy/property-provider/package.json +2 -2
- package/node_modules/@smithy/protocol-http/package.json +2 -2
- package/node_modules/@smithy/querystring-builder/package.json +2 -2
- package/node_modules/@smithy/querystring-parser/package.json +2 -2
- package/node_modules/@smithy/service-error-classification/dist-cjs/index.js +6 -0
- package/node_modules/@smithy/service-error-classification/dist-es/index.js +5 -0
- package/node_modules/@smithy/service-error-classification/dist-types/index.d.ts +6 -0
- package/node_modules/@smithy/service-error-classification/package.json +2 -2
- package/node_modules/@smithy/shared-ini-file-loader/package.json +2 -2
- package/node_modules/@smithy/signature-v4/dist-cjs/index.js +11 -5
- package/node_modules/@smithy/signature-v4/dist-es/SignatureV4.js +11 -5
- package/node_modules/@smithy/signature-v4/dist-types/SignatureV4.d.ts +3 -3
- package/node_modules/@smithy/signature-v4/package.json +4 -4
- package/node_modules/@smithy/smithy-client/dist-cjs/index.js +8 -1
- package/node_modules/@smithy/smithy-client/dist-es/command.js +8 -1
- package/node_modules/@smithy/smithy-client/package.json +7 -7
- package/node_modules/@smithy/types/dist-types/connection/config.d.ts +5 -0
- package/node_modules/@smithy/types/dist-types/signature.d.ts +20 -3
- package/node_modules/@smithy/types/package.json +1 -1
- package/node_modules/@smithy/url-parser/package.json +3 -3
- package/node_modules/@smithy/util-defaults-mode-browser/package.json +4 -4
- package/node_modules/@smithy/util-defaults-mode-node/package.json +7 -7
- package/node_modules/@smithy/util-endpoints/dist-cjs/index.js +79 -71
- package/node_modules/@smithy/util-endpoints/dist-es/decideEndpoint.js +4 -3
- package/node_modules/@smithy/util-endpoints/dist-es/lib/getAttr.js +2 -1
- package/node_modules/@smithy/util-endpoints/dist-es/resolveEndpoint.js +8 -13
- package/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateCondition.js +9 -7
- package/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateConditions.js +12 -8
- package/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateEndpointRule.js +14 -13
- package/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateErrorRule.js +7 -4
- package/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateExpression.js +10 -8
- package/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateRules.js +4 -4
- package/node_modules/@smithy/util-endpoints/dist-es/utils/getEndpointHeaders.js +5 -5
- package/node_modules/@smithy/util-endpoints/dist-es/utils/getEndpointProperties.js +4 -4
- package/node_modules/@smithy/util-endpoints/dist-types/bdd/BinaryDecisionDiagram.d.ts +2 -2
- package/node_modules/@smithy/util-endpoints/dist-types/types/shared.d.ts +3 -3
- package/node_modules/@smithy/util-endpoints/dist-types/utils/endpointFunctions.d.ts +2 -15
- package/node_modules/@smithy/util-endpoints/dist-types/utils/evaluateCondition.d.ts +6 -3
- package/node_modules/@smithy/util-endpoints/dist-types/utils/evaluateConditions.d.ts +3 -3
- package/node_modules/@smithy/util-endpoints/dist-types/utils/getEndpointHeaders.d.ts +1 -1
- package/node_modules/@smithy/util-endpoints/dist-types/utils/getEndpointProperties.d.ts +2 -2
- package/node_modules/@smithy/util-endpoints/dist-types/utils/getReferenceValue.d.ts +2 -2
- package/node_modules/@smithy/util-endpoints/package.json +3 -3
- package/node_modules/@smithy/util-middleware/package.json +2 -2
- package/node_modules/@smithy/util-retry/dist-cjs/index.js +20 -10
- package/node_modules/@smithy/util-retry/dist-es/StandardRetryStrategy.js +20 -10
- package/node_modules/@smithy/util-retry/dist-types/StandardRetryStrategy.d.ts +12 -4
- package/node_modules/@smithy/util-retry/package.json +3 -3
- package/node_modules/@smithy/util-stream/package.json +4 -4
- package/node_modules/@smithy/util-waiter/dist-cjs/index.js +59 -34
- package/node_modules/@smithy/util-waiter/dist-es/poller.js +61 -34
- package/node_modules/@smithy/util-waiter/dist-types/createWaiter.d.ts +1 -1
- package/node_modules/@smithy/util-waiter/dist-types/poller.d.ts +2 -1
- package/node_modules/@smithy/util-waiter/dist-types/waiter.d.ts +13 -13
- package/node_modules/@smithy/util-waiter/package.json +3 -3
- package/node_modules/fast-xml-builder/package.json +1 -1
- package/node_modules/fast-xml-builder/src/fxb.js +6 -2
- package/node_modules/fast-xml-builder/src/orderedJs2Xml.js +16 -2
- package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/CHANGELOG.md +53 -0
- package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/README.md +8 -28
- package/node_modules/fast-xml-parser/lib/fxbuilder.min.js +2 -0
- package/node_modules/fast-xml-parser/lib/fxbuilder.min.js.map +1 -0
- package/node_modules/fast-xml-parser/lib/fxp.cjs +1 -0
- package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/lib/fxp.d.cts +172 -6
- package/node_modules/fast-xml-parser/lib/fxp.min.js +2 -0
- package/node_modules/fast-xml-parser/lib/fxp.min.js.map +1 -0
- package/node_modules/fast-xml-parser/lib/fxparser.min.js +2 -0
- package/node_modules/fast-xml-parser/lib/fxparser.min.js.map +1 -0
- package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/package.json +5 -4
- package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/fxp.d.ts +162 -3
- package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/xmlparser/DocTypeReader.js +2 -5
- package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/xmlparser/OptionsBuilder.js +15 -11
- package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/xmlparser/OrderedObjParser.js +168 -244
- package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/xmlparser/XMLParser.js +1 -1
- package/package.json +10 -10
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/endpoint/ruleset.js +0 -7
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/endpoint/ruleset.js +0 -4
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/endpoint/ruleset.d.ts +0 -2
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/endpoint/ruleset.d.ts +0 -2
- package/node_modules/@aws-sdk/client-cloudwatch/dist-cjs/endpoint/ruleset.js +0 -7
- package/node_modules/@aws-sdk/client-cloudwatch/dist-es/endpoint/ruleset.js +0 -4
- package/node_modules/@aws-sdk/client-cloudwatch/dist-types/endpoint/ruleset.d.ts +0 -2
- package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/endpoint/ruleset.d.ts +0 -2
- package/node_modules/@aws-sdk/client-ec2/dist-cjs/endpoint/ruleset.js +0 -7
- package/node_modules/@aws-sdk/client-ec2/dist-es/endpoint/ruleset.js +0 -4
- package/node_modules/@aws-sdk/client-ec2/dist-types/endpoint/ruleset.d.ts +0 -2
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/endpoint/ruleset.d.ts +0 -2
- package/node_modules/@aws-sdk/client-iam/dist-cjs/endpoint/ruleset.js +0 -7
- package/node_modules/@aws-sdk/client-iam/dist-es/endpoint/ruleset.js +0 -4
- package/node_modules/@aws-sdk/client-iam/dist-types/endpoint/ruleset.d.ts +0 -2
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/endpoint/ruleset.d.ts +0 -2
- package/node_modules/@aws-sdk/client-lambda/dist-cjs/endpoint/ruleset.js +0 -7
- package/node_modules/@aws-sdk/client-lambda/dist-es/endpoint/ruleset.js +0 -4
- package/node_modules/@aws-sdk/client-lambda/dist-types/endpoint/ruleset.d.ts +0 -2
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/endpoint/ruleset.d.ts +0 -2
- package/node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/ruleset.js +0 -7
- package/node_modules/@aws-sdk/client-s3/dist-es/endpoint/ruleset.js +0 -4
- package/node_modules/@aws-sdk/client-s3/dist-types/endpoint/ruleset.d.ts +0 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/endpoint/ruleset.d.ts +0 -2
- package/node_modules/@aws-sdk/client-sns/dist-cjs/endpoint/ruleset.js +0 -7
- package/node_modules/@aws-sdk/client-sns/dist-es/endpoint/ruleset.js +0 -4
- package/node_modules/@aws-sdk/client-sns/dist-types/endpoint/ruleset.d.ts +0 -2
- package/node_modules/@aws-sdk/client-sns/dist-types/ts3.4/endpoint/ruleset.d.ts +0 -2
- package/node_modules/@aws-sdk/client-sqs/dist-cjs/endpoint/ruleset.js +0 -7
- package/node_modules/@aws-sdk/client-sqs/dist-es/endpoint/ruleset.js +0 -4
- package/node_modules/@aws-sdk/client-sqs/dist-types/endpoint/ruleset.d.ts +0 -2
- package/node_modules/@aws-sdk/client-sqs/dist-types/ts3.4/endpoint/ruleset.d.ts +0 -2
- package/node_modules/@aws-sdk/client-ssm/dist-cjs/endpoint/ruleset.js +0 -7
- package/node_modules/@aws-sdk/client-ssm/dist-es/endpoint/ruleset.js +0 -4
- package/node_modules/@aws-sdk/client-ssm/dist-types/endpoint/ruleset.d.ts +0 -2
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/endpoint/ruleset.d.ts +0 -2
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/endpoint/ruleset.js +0 -146
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/endpoint/ruleset.js +0 -133
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/endpoint/ruleset.js +0 -106
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/endpoint/ruleset.js +0 -106
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/ruleset.js +0 -145
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/endpoint/ruleset.js +0 -143
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/ruleset.js +0 -130
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/endpoint/ruleset.js +0 -103
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/ruleset.js +0 -103
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/ruleset.js +0 -142
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/endpoint/ruleset.d.ts +0 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/endpoint/ruleset.d.ts +0 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/endpoint/ruleset.d.ts +0 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/endpoint/ruleset.d.ts +0 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/endpoint/ruleset.d.ts +0 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/endpoint/ruleset.d.ts +0 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/endpoint/ruleset.d.ts +0 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/endpoint/ruleset.d.ts +0 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/endpoint/ruleset.d.ts +0 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/endpoint/ruleset.d.ts +0 -2
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxbuilder.min.js +0 -2
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxbuilder.min.js.map +0 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.cjs +0 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.min.js +0 -2
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.min.js.map +0 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxparser.min.js +0 -2
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxparser.min.js.map +0 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/pem.d.cts +0 -148
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/pem.d.ts +0 -135
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/LICENSE +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/lib/fxvalidator.min.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/lib/fxvalidator.min.js.map +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/cli/cli.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/cli/man.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/cli/read.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/fxp.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/ignoreAttributes.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/util.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/CharsSymbol.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/EntitiesParser.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/OptionsBuilder.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/OutputBuilders/BaseOutputBuilder.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/OutputBuilders/JsArrBuilder.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/OutputBuilders/JsMinArrBuilder.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/OutputBuilders/JsObjBuilder.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/OutputBuilders/ParserOptionsBuilder.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/Report.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/TagPath.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/TagPathMatcher.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/XMLParser.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/Xml2JsParser.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/XmlPartReader.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/XmlSpecialTagsReader.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/inputSource/BufferSource.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/inputSource/StringSource.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/valueParsers/EntitiesParser.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/valueParsers/booleanParser.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/valueParsers/booleanParserExt.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/valueParsers/currency.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/valueParsers/join.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/valueParsers/number.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/valueParsers/trim.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/validator.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/xmlbuilder/json2xml.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/xmlparser/node2json.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/xmlparser/xmlNode.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/strnum → strnum}/CHANGELOG.md +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/strnum → strnum}/LICENSE +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/strnum → strnum}/README.md +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/strnum → strnum}/package.json +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/strnum → strnum}/strnum.js +0 -0
|
@@ -96,12 +96,11 @@ class ProtocolLib {
|
|
|
96
96
|
if (msg) {
|
|
97
97
|
error.message = msg;
|
|
98
98
|
}
|
|
99
|
-
error.Error
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
};
|
|
99
|
+
const errorObj = error.Error ?? {};
|
|
100
|
+
errorObj.Type = error.Error?.Type;
|
|
101
|
+
errorObj.Code = error.Error?.Code;
|
|
102
|
+
errorObj.Message = error.Error?.message ?? error.Error?.Message ?? msg;
|
|
103
|
+
error.Error = errorObj;
|
|
105
104
|
const reqId = error.$metadata.requestId;
|
|
106
105
|
if (reqId) {
|
|
107
106
|
error.RequestId = reqId;
|
|
@@ -114,14 +113,16 @@ class ProtocolLib {
|
|
|
114
113
|
const queryErrorHeader = response.headers?.["x-amzn-query-error"];
|
|
115
114
|
if (output !== undefined && queryErrorHeader != null) {
|
|
116
115
|
const [Code, Type] = queryErrorHeader.split(";");
|
|
117
|
-
const
|
|
116
|
+
const keys = Object.keys(output);
|
|
118
117
|
const Error = {
|
|
119
118
|
Code,
|
|
120
119
|
Type,
|
|
121
120
|
};
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
121
|
+
output.Code = Code;
|
|
122
|
+
output.Type = Type;
|
|
123
|
+
for (let i = 0; i < keys.length; i++) {
|
|
124
|
+
const k = keys[i];
|
|
125
|
+
Error[k === "message" ? "Message" : k] = output[k];
|
|
125
126
|
}
|
|
126
127
|
delete Error.__type;
|
|
127
128
|
output.Error = Error;
|
|
@@ -260,7 +261,10 @@ class UnionSerde {
|
|
|
260
261
|
constructor(from, to) {
|
|
261
262
|
this.from = from;
|
|
262
263
|
this.to = to;
|
|
263
|
-
|
|
264
|
+
const keys = Object.keys(this.from);
|
|
265
|
+
const set = new Set(keys);
|
|
266
|
+
set.delete("__type");
|
|
267
|
+
this.keys = set;
|
|
264
268
|
}
|
|
265
269
|
mark(key) {
|
|
266
270
|
this.keys.delete(key);
|
|
@@ -318,24 +322,24 @@ const parseJsonErrorBody = async (errorBody, context) => {
|
|
|
318
322
|
value.message = value.message ?? value.Message;
|
|
319
323
|
return value;
|
|
320
324
|
};
|
|
325
|
+
const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
|
|
326
|
+
const sanitizeErrorCode = (rawValue) => {
|
|
327
|
+
let cleanValue = rawValue;
|
|
328
|
+
if (typeof cleanValue === "number") {
|
|
329
|
+
cleanValue = cleanValue.toString();
|
|
330
|
+
}
|
|
331
|
+
if (cleanValue.indexOf(",") >= 0) {
|
|
332
|
+
cleanValue = cleanValue.split(",")[0];
|
|
333
|
+
}
|
|
334
|
+
if (cleanValue.indexOf(":") >= 0) {
|
|
335
|
+
cleanValue = cleanValue.split(":")[0];
|
|
336
|
+
}
|
|
337
|
+
if (cleanValue.indexOf("#") >= 0) {
|
|
338
|
+
cleanValue = cleanValue.split("#")[1];
|
|
339
|
+
}
|
|
340
|
+
return cleanValue;
|
|
341
|
+
};
|
|
321
342
|
const loadRestJsonErrorCode = (output, data) => {
|
|
322
|
-
const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
|
|
323
|
-
const sanitizeErrorCode = (rawValue) => {
|
|
324
|
-
let cleanValue = rawValue;
|
|
325
|
-
if (typeof cleanValue === "number") {
|
|
326
|
-
cleanValue = cleanValue.toString();
|
|
327
|
-
}
|
|
328
|
-
if (cleanValue.indexOf(",") >= 0) {
|
|
329
|
-
cleanValue = cleanValue.split(",")[0];
|
|
330
|
-
}
|
|
331
|
-
if (cleanValue.indexOf(":") >= 0) {
|
|
332
|
-
cleanValue = cleanValue.split(":")[0];
|
|
333
|
-
}
|
|
334
|
-
if (cleanValue.indexOf("#") >= 0) {
|
|
335
|
-
cleanValue = cleanValue.split("#")[1];
|
|
336
|
-
}
|
|
337
|
-
return cleanValue;
|
|
338
|
-
};
|
|
339
343
|
const headerKey = findKey(output.headers, "x-amzn-errortype");
|
|
340
344
|
if (headerKey !== undefined) {
|
|
341
345
|
return sanitizeErrorCode(output.headers[headerKey]);
|
|
@@ -397,7 +401,8 @@ class JsonShapeDeserializer extends SerdeContextConfig {
|
|
|
397
401
|
unionSerde.writeUnknown();
|
|
398
402
|
}
|
|
399
403
|
else if (typeof record.__type === "string") {
|
|
400
|
-
for (const
|
|
404
|
+
for (const k in record) {
|
|
405
|
+
const v = record[k];
|
|
401
406
|
const t = jsonName ? nameMap[k] ?? k : k;
|
|
402
407
|
if (!(t in out)) {
|
|
403
408
|
out[t] = v;
|
|
@@ -417,8 +422,8 @@ class JsonShapeDeserializer extends SerdeContextConfig {
|
|
|
417
422
|
if (ns.isMapSchema()) {
|
|
418
423
|
const mapMember = ns.getValueSchema();
|
|
419
424
|
const out = {};
|
|
420
|
-
for (const
|
|
421
|
-
out[_k] = this._read(mapMember,
|
|
425
|
+
for (const _k in value) {
|
|
426
|
+
out[_k] = this._read(mapMember, value[_k]);
|
|
422
427
|
}
|
|
423
428
|
return out;
|
|
424
429
|
}
|
|
@@ -475,7 +480,8 @@ class JsonShapeDeserializer extends SerdeContextConfig {
|
|
|
475
480
|
if (ns.isDocumentSchema()) {
|
|
476
481
|
if (isObject) {
|
|
477
482
|
const out = Array.isArray(value) ? [] : {};
|
|
478
|
-
for (const
|
|
483
|
+
for (const k in value) {
|
|
484
|
+
const v = value[k];
|
|
479
485
|
if (v instanceof serde.NumericValue) {
|
|
480
486
|
out[k] = v;
|
|
481
487
|
}
|
|
@@ -552,12 +558,6 @@ class JsonShapeSerializer extends SerdeContextConfig {
|
|
|
552
558
|
this.rootSchema = schema.NormalizedSchema.of(schema$1);
|
|
553
559
|
this.buffer = this._write(this.rootSchema, value);
|
|
554
560
|
}
|
|
555
|
-
writeDiscriminatedDocument(schema$1, value) {
|
|
556
|
-
this.write(schema$1, value);
|
|
557
|
-
if (typeof this.buffer === "object") {
|
|
558
|
-
this.buffer.__type = schema.NormalizedSchema.of(schema$1).getName(true);
|
|
559
|
-
}
|
|
560
|
-
}
|
|
561
561
|
flush() {
|
|
562
562
|
const { rootSchema, useReplacer } = this;
|
|
563
563
|
this.rootSchema = undefined;
|
|
@@ -571,6 +571,12 @@ class JsonShapeSerializer extends SerdeContextConfig {
|
|
|
571
571
|
}
|
|
572
572
|
return this.buffer;
|
|
573
573
|
}
|
|
574
|
+
writeDiscriminatedDocument(schema$1, value) {
|
|
575
|
+
this.write(schema$1, value);
|
|
576
|
+
if (typeof this.buffer === "object") {
|
|
577
|
+
this.buffer.__type = schema.NormalizedSchema.of(schema$1).getName(true);
|
|
578
|
+
}
|
|
579
|
+
}
|
|
574
580
|
_write(schema$1, value, container) {
|
|
575
581
|
const isObject = value !== null && typeof value === "object";
|
|
576
582
|
const ns = schema.NormalizedSchema.of(schema$1);
|
|
@@ -583,6 +589,7 @@ class JsonShapeSerializer extends SerdeContextConfig {
|
|
|
583
589
|
if (jsonName) {
|
|
584
590
|
nameMap = {};
|
|
585
591
|
}
|
|
592
|
+
let outCount = 0;
|
|
586
593
|
for (const [memberName, memberSchema] of ns.structIterator()) {
|
|
587
594
|
const serializableValue = this._write(memberSchema, record[memberName], ns);
|
|
588
595
|
if (serializableValue !== undefined) {
|
|
@@ -592,9 +599,10 @@ class JsonShapeSerializer extends SerdeContextConfig {
|
|
|
592
599
|
nameMap[memberName] = targetKey;
|
|
593
600
|
}
|
|
594
601
|
out[targetKey] = serializableValue;
|
|
602
|
+
outCount++;
|
|
595
603
|
}
|
|
596
604
|
}
|
|
597
|
-
if (ns.isUnionSchema() &&
|
|
605
|
+
if (ns.isUnionSchema() && outCount === 0) {
|
|
598
606
|
const { $unknown } = record;
|
|
599
607
|
if (Array.isArray($unknown)) {
|
|
600
608
|
const [k, v] = $unknown;
|
|
@@ -602,7 +610,8 @@ class JsonShapeSerializer extends SerdeContextConfig {
|
|
|
602
610
|
}
|
|
603
611
|
}
|
|
604
612
|
else if (typeof record.__type === "string") {
|
|
605
|
-
for (const
|
|
613
|
+
for (const k in record) {
|
|
614
|
+
const v = record[k];
|
|
606
615
|
const targetKey = jsonName ? nameMap[k] ?? k : k;
|
|
607
616
|
if (!(targetKey in out)) {
|
|
608
617
|
out[targetKey] = this._write(15, v);
|
|
@@ -626,7 +635,8 @@ class JsonShapeSerializer extends SerdeContextConfig {
|
|
|
626
635
|
const mapMember = ns.getValueSchema();
|
|
627
636
|
const out = {};
|
|
628
637
|
const sparse = !!ns.getMergedTraits().sparse;
|
|
629
|
-
for (const
|
|
638
|
+
for (const _k in value) {
|
|
639
|
+
const _v = value[_k];
|
|
630
640
|
if (sparse || _v != null) {
|
|
631
641
|
out[_k] = this._write(mapMember, _v);
|
|
632
642
|
}
|
|
@@ -691,7 +701,8 @@ class JsonShapeSerializer extends SerdeContextConfig {
|
|
|
691
701
|
if (ns.isDocumentSchema()) {
|
|
692
702
|
if (isObject) {
|
|
693
703
|
const out = Array.isArray(value) ? [] : {};
|
|
694
|
-
for (const
|
|
704
|
+
for (const k in value) {
|
|
705
|
+
const v = value[k];
|
|
695
706
|
if (v instanceof serde.NumericValue) {
|
|
696
707
|
this.useReplacer = true;
|
|
697
708
|
out[k] = v;
|
|
@@ -760,10 +771,8 @@ class AwsJsonRpcProtocol extends protocols.RpcProtocol {
|
|
|
760
771
|
if (!request.path.endsWith("/")) {
|
|
761
772
|
request.path += "/";
|
|
762
773
|
}
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
"x-amz-target": `${this.serviceTarget}.${operationSchema.name}`,
|
|
766
|
-
});
|
|
774
|
+
request.headers["content-type"] = `application/x-amz-json-${this.getJsonRpcVersion()}`;
|
|
775
|
+
request.headers["x-amz-target"] = `${this.serviceTarget}.${operationSchema.name}`;
|
|
767
776
|
if (this.awsQueryCompatible) {
|
|
768
777
|
request.headers["x-amzn-query-mode"] = "true";
|
|
769
778
|
}
|
|
@@ -787,9 +796,10 @@ class AwsJsonRpcProtocol extends protocols.RpcProtocol {
|
|
|
787
796
|
const ErrorCtor = this.compositeErrorRegistry.getErrorCtor(errorSchema) ?? Error;
|
|
788
797
|
const exception = new ErrorCtor(message);
|
|
789
798
|
const output = {};
|
|
799
|
+
const errorDeserializer = this.codec.createDeserializer();
|
|
790
800
|
for (const [name, member] of ns.structIterator()) {
|
|
791
801
|
if (dataObject[name] != null) {
|
|
792
|
-
output[name] =
|
|
802
|
+
output[name] = errorDeserializer.readObject(member, dataObject[name]);
|
|
793
803
|
}
|
|
794
804
|
}
|
|
795
805
|
if (this.awsQueryCompatible) {
|
|
@@ -910,9 +920,10 @@ class AwsRestJsonProtocol extends protocols.HttpBindingProtocol {
|
|
|
910
920
|
const exception = new ErrorCtor(message);
|
|
911
921
|
await this.deserializeHttpMessage(errorSchema, context, response, dataObject);
|
|
912
922
|
const output = {};
|
|
923
|
+
const errorDeserializer = this.codec.createDeserializer();
|
|
913
924
|
for (const [name, member] of ns.structIterator()) {
|
|
914
925
|
const target = member.getMergedTraits().jsonName ?? name;
|
|
915
|
-
output[name] =
|
|
926
|
+
output[name] = errorDeserializer.readObject(member, dataObject[target]);
|
|
916
927
|
}
|
|
917
928
|
throw this.mixin.decorateServiceException(Object.assign(exception, errorMetadata, {
|
|
918
929
|
$fault: ns.getMergedTraits().error,
|
|
@@ -1190,7 +1201,8 @@ class QueryShapeSerializer extends SerdeContextConfig {
|
|
|
1190
1201
|
const memberSchema = ns.getValueSchema();
|
|
1191
1202
|
const flat = ns.getMergedTraits().xmlFlattened;
|
|
1192
1203
|
let i = 1;
|
|
1193
|
-
for (const
|
|
1204
|
+
for (const k in value) {
|
|
1205
|
+
const v = value[k];
|
|
1194
1206
|
if (v == null) {
|
|
1195
1207
|
continue;
|
|
1196
1208
|
}
|
|
@@ -1303,9 +1315,7 @@ class AwsQueryProtocol extends protocols.RpcProtocol {
|
|
|
1303
1315
|
if (!request.path.endsWith("/")) {
|
|
1304
1316
|
request.path += "/";
|
|
1305
1317
|
}
|
|
1306
|
-
|
|
1307
|
-
"content-type": `application/x-www-form-urlencoded`,
|
|
1308
|
-
});
|
|
1318
|
+
request.headers["content-type"] = "application/x-www-form-urlencoded";
|
|
1309
1319
|
if (schema.deref(operationSchema.input) === "unit" || !request.body) {
|
|
1310
1320
|
request.body = "";
|
|
1311
1321
|
}
|
|
@@ -1338,11 +1348,8 @@ class AwsQueryProtocol extends protocols.RpcProtocol {
|
|
|
1338
1348
|
if (bytes.byteLength > 0) {
|
|
1339
1349
|
Object.assign(dataObject, await deserializer.read(ns, bytes, awsQueryResultKey));
|
|
1340
1350
|
}
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
...dataObject,
|
|
1344
|
-
};
|
|
1345
|
-
return output;
|
|
1351
|
+
dataObject.$metadata = this.deserializeMetadata(response);
|
|
1352
|
+
return dataObject;
|
|
1346
1353
|
}
|
|
1347
1354
|
useNestedResult() {
|
|
1348
1355
|
return true;
|
|
@@ -1649,7 +1656,8 @@ class XmlShapeSerializer extends SerdeContextConfig {
|
|
|
1649
1656
|
entry.addChildNode(valueNode);
|
|
1650
1657
|
};
|
|
1651
1658
|
if (flat) {
|
|
1652
|
-
for (const
|
|
1659
|
+
for (const key in map) {
|
|
1660
|
+
const val = map[key];
|
|
1653
1661
|
if (sparse || val != null) {
|
|
1654
1662
|
const entry = xmlBuilder.XmlNode.of(mapTraits.xmlName ?? mapMember.getMemberName());
|
|
1655
1663
|
addKeyValue(entry, key, val);
|
|
@@ -1666,7 +1674,8 @@ class XmlShapeSerializer extends SerdeContextConfig {
|
|
|
1666
1674
|
}
|
|
1667
1675
|
container.addChildNode(mapNode);
|
|
1668
1676
|
}
|
|
1669
|
-
for (const
|
|
1677
|
+
for (const key in map) {
|
|
1678
|
+
const val = map[key];
|
|
1670
1679
|
if (sparse || val != null) {
|
|
1671
1680
|
const entry = xmlBuilder.XmlNode.of("entry");
|
|
1672
1681
|
addKeyValue(entry, key, val);
|
|
@@ -1789,7 +1798,6 @@ class AwsRestXmlProtocol extends protocols.HttpBindingProtocol {
|
|
|
1789
1798
|
this.codec = new XmlCodec(settings);
|
|
1790
1799
|
this.serializer = new protocols.HttpInterceptingShapeSerializer(this.codec.createSerializer(), settings);
|
|
1791
1800
|
this.deserializer = new protocols.HttpInterceptingShapeDeserializer(this.codec.createDeserializer(), settings);
|
|
1792
|
-
this.compositeErrorRegistry;
|
|
1793
1801
|
}
|
|
1794
1802
|
getPayloadCodec() {
|
|
1795
1803
|
return this.codec;
|
|
@@ -1842,10 +1850,11 @@ class AwsRestXmlProtocol extends protocols.HttpBindingProtocol {
|
|
|
1842
1850
|
const exception = new ErrorCtor(message);
|
|
1843
1851
|
await this.deserializeHttpMessage(errorSchema, context, response, dataObject);
|
|
1844
1852
|
const output = {};
|
|
1853
|
+
const errorDeserializer = this.codec.createDeserializer();
|
|
1845
1854
|
for (const [name, member] of ns.structIterator()) {
|
|
1846
1855
|
const target = member.getMergedTraits().xmlName ?? name;
|
|
1847
1856
|
const value = dataObject.Error?.[target] ?? dataObject[target];
|
|
1848
|
-
output[name] =
|
|
1857
|
+
output[name] = errorDeserializer.readSchema(member, value);
|
|
1849
1858
|
}
|
|
1850
1859
|
throw this.mixin.decorateServiceException(Object.assign(exception, errorMetadata, {
|
|
1851
1860
|
$fault: ns.getMergedTraits().error,
|
|
@@ -87,12 +87,11 @@ export class ProtocolLib {
|
|
|
87
87
|
if (msg) {
|
|
88
88
|
error.message = msg;
|
|
89
89
|
}
|
|
90
|
-
error.Error
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
};
|
|
90
|
+
const errorObj = error.Error ?? {};
|
|
91
|
+
errorObj.Type = error.Error?.Type;
|
|
92
|
+
errorObj.Code = error.Error?.Code;
|
|
93
|
+
errorObj.Message = error.Error?.message ?? error.Error?.Message ?? msg;
|
|
94
|
+
error.Error = errorObj;
|
|
96
95
|
const reqId = error.$metadata.requestId;
|
|
97
96
|
if (reqId) {
|
|
98
97
|
error.RequestId = reqId;
|
|
@@ -105,14 +104,16 @@ export class ProtocolLib {
|
|
|
105
104
|
const queryErrorHeader = response.headers?.["x-amzn-query-error"];
|
|
106
105
|
if (output !== undefined && queryErrorHeader != null) {
|
|
107
106
|
const [Code, Type] = queryErrorHeader.split(";");
|
|
108
|
-
const
|
|
107
|
+
const keys = Object.keys(output);
|
|
109
108
|
const Error = {
|
|
110
109
|
Code,
|
|
111
110
|
Type,
|
|
112
111
|
};
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
112
|
+
output.Code = Code;
|
|
113
|
+
output.Type = Type;
|
|
114
|
+
for (let i = 0; i < keys.length; i++) {
|
|
115
|
+
const k = keys[i];
|
|
116
|
+
Error[k === "message" ? "Message" : k] = output[k];
|
|
116
117
|
}
|
|
117
118
|
delete Error.__type;
|
|
118
119
|
output.Error = Error;
|
|
@@ -5,7 +5,10 @@ export class UnionSerde {
|
|
|
5
5
|
constructor(from, to) {
|
|
6
6
|
this.from = from;
|
|
7
7
|
this.to = to;
|
|
8
|
-
|
|
8
|
+
const keys = Object.keys(this.from);
|
|
9
|
+
const set = new Set(keys);
|
|
10
|
+
set.delete("__type");
|
|
11
|
+
this.keys = set;
|
|
9
12
|
}
|
|
10
13
|
mark(key) {
|
|
11
14
|
this.keys.delete(key);
|
|
@@ -35,10 +35,8 @@ export class AwsJsonRpcProtocol extends RpcProtocol {
|
|
|
35
35
|
if (!request.path.endsWith("/")) {
|
|
36
36
|
request.path += "/";
|
|
37
37
|
}
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
"x-amz-target": `${this.serviceTarget}.${operationSchema.name}`,
|
|
41
|
-
});
|
|
38
|
+
request.headers["content-type"] = `application/x-amz-json-${this.getJsonRpcVersion()}`;
|
|
39
|
+
request.headers["x-amz-target"] = `${this.serviceTarget}.${operationSchema.name}`;
|
|
42
40
|
if (this.awsQueryCompatible) {
|
|
43
41
|
request.headers["x-amzn-query-mode"] = "true";
|
|
44
42
|
}
|
|
@@ -62,9 +60,10 @@ export class AwsJsonRpcProtocol extends RpcProtocol {
|
|
|
62
60
|
const ErrorCtor = this.compositeErrorRegistry.getErrorCtor(errorSchema) ?? Error;
|
|
63
61
|
const exception = new ErrorCtor(message);
|
|
64
62
|
const output = {};
|
|
63
|
+
const errorDeserializer = this.codec.createDeserializer();
|
|
65
64
|
for (const [name, member] of ns.structIterator()) {
|
|
66
65
|
if (dataObject[name] != null) {
|
|
67
|
-
output[name] =
|
|
66
|
+
output[name] = errorDeserializer.readObject(member, dataObject[name]);
|
|
68
67
|
}
|
|
69
68
|
}
|
|
70
69
|
if (this.awsQueryCompatible) {
|
|
@@ -69,9 +69,10 @@ export class AwsRestJsonProtocol extends HttpBindingProtocol {
|
|
|
69
69
|
const exception = new ErrorCtor(message);
|
|
70
70
|
await this.deserializeHttpMessage(errorSchema, context, response, dataObject);
|
|
71
71
|
const output = {};
|
|
72
|
+
const errorDeserializer = this.codec.createDeserializer();
|
|
72
73
|
for (const [name, member] of ns.structIterator()) {
|
|
73
74
|
const target = member.getMergedTraits().jsonName ?? name;
|
|
74
|
-
output[name] =
|
|
75
|
+
output[name] = errorDeserializer.readObject(member, dataObject[target]);
|
|
75
76
|
}
|
|
76
77
|
throw this.mixin.decorateServiceException(Object.assign(exception, errorMetadata, {
|
|
77
78
|
$fault: ns.getMergedTraits().error,
|
package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeDeserializer.js
CHANGED
|
@@ -52,7 +52,8 @@ export class JsonShapeDeserializer extends SerdeContextConfig {
|
|
|
52
52
|
unionSerde.writeUnknown();
|
|
53
53
|
}
|
|
54
54
|
else if (typeof record.__type === "string") {
|
|
55
|
-
for (const
|
|
55
|
+
for (const k in record) {
|
|
56
|
+
const v = record[k];
|
|
56
57
|
const t = jsonName ? nameMap[k] ?? k : k;
|
|
57
58
|
if (!(t in out)) {
|
|
58
59
|
out[t] = v;
|
|
@@ -72,8 +73,8 @@ export class JsonShapeDeserializer extends SerdeContextConfig {
|
|
|
72
73
|
if (ns.isMapSchema()) {
|
|
73
74
|
const mapMember = ns.getValueSchema();
|
|
74
75
|
const out = {};
|
|
75
|
-
for (const
|
|
76
|
-
out[_k] = this._read(mapMember,
|
|
76
|
+
for (const _k in value) {
|
|
77
|
+
out[_k] = this._read(mapMember, value[_k]);
|
|
77
78
|
}
|
|
78
79
|
return out;
|
|
79
80
|
}
|
|
@@ -130,7 +131,8 @@ export class JsonShapeDeserializer extends SerdeContextConfig {
|
|
|
130
131
|
if (ns.isDocumentSchema()) {
|
|
131
132
|
if (isObject) {
|
|
132
133
|
const out = Array.isArray(value) ? [] : {};
|
|
133
|
-
for (const
|
|
134
|
+
for (const k in value) {
|
|
135
|
+
const v = value[k];
|
|
134
136
|
if (v instanceof NumericValue) {
|
|
135
137
|
out[k] = v;
|
|
136
138
|
}
|
|
@@ -17,12 +17,6 @@ export class JsonShapeSerializer extends SerdeContextConfig {
|
|
|
17
17
|
this.rootSchema = NormalizedSchema.of(schema);
|
|
18
18
|
this.buffer = this._write(this.rootSchema, value);
|
|
19
19
|
}
|
|
20
|
-
writeDiscriminatedDocument(schema, value) {
|
|
21
|
-
this.write(schema, value);
|
|
22
|
-
if (typeof this.buffer === "object") {
|
|
23
|
-
this.buffer.__type = NormalizedSchema.of(schema).getName(true);
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
20
|
flush() {
|
|
27
21
|
const { rootSchema, useReplacer } = this;
|
|
28
22
|
this.rootSchema = undefined;
|
|
@@ -36,6 +30,12 @@ export class JsonShapeSerializer extends SerdeContextConfig {
|
|
|
36
30
|
}
|
|
37
31
|
return this.buffer;
|
|
38
32
|
}
|
|
33
|
+
writeDiscriminatedDocument(schema, value) {
|
|
34
|
+
this.write(schema, value);
|
|
35
|
+
if (typeof this.buffer === "object") {
|
|
36
|
+
this.buffer.__type = NormalizedSchema.of(schema).getName(true);
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
39
|
_write(schema, value, container) {
|
|
40
40
|
const isObject = value !== null && typeof value === "object";
|
|
41
41
|
const ns = NormalizedSchema.of(schema);
|
|
@@ -48,6 +48,7 @@ export class JsonShapeSerializer extends SerdeContextConfig {
|
|
|
48
48
|
if (jsonName) {
|
|
49
49
|
nameMap = {};
|
|
50
50
|
}
|
|
51
|
+
let outCount = 0;
|
|
51
52
|
for (const [memberName, memberSchema] of ns.structIterator()) {
|
|
52
53
|
const serializableValue = this._write(memberSchema, record[memberName], ns);
|
|
53
54
|
if (serializableValue !== undefined) {
|
|
@@ -57,9 +58,10 @@ export class JsonShapeSerializer extends SerdeContextConfig {
|
|
|
57
58
|
nameMap[memberName] = targetKey;
|
|
58
59
|
}
|
|
59
60
|
out[targetKey] = serializableValue;
|
|
61
|
+
outCount++;
|
|
60
62
|
}
|
|
61
63
|
}
|
|
62
|
-
if (ns.isUnionSchema() &&
|
|
64
|
+
if (ns.isUnionSchema() && outCount === 0) {
|
|
63
65
|
const { $unknown } = record;
|
|
64
66
|
if (Array.isArray($unknown)) {
|
|
65
67
|
const [k, v] = $unknown;
|
|
@@ -67,7 +69,8 @@ export class JsonShapeSerializer extends SerdeContextConfig {
|
|
|
67
69
|
}
|
|
68
70
|
}
|
|
69
71
|
else if (typeof record.__type === "string") {
|
|
70
|
-
for (const
|
|
72
|
+
for (const k in record) {
|
|
73
|
+
const v = record[k];
|
|
71
74
|
const targetKey = jsonName ? nameMap[k] ?? k : k;
|
|
72
75
|
if (!(targetKey in out)) {
|
|
73
76
|
out[targetKey] = this._write(15, v);
|
|
@@ -91,7 +94,8 @@ export class JsonShapeSerializer extends SerdeContextConfig {
|
|
|
91
94
|
const mapMember = ns.getValueSchema();
|
|
92
95
|
const out = {};
|
|
93
96
|
const sparse = !!ns.getMergedTraits().sparse;
|
|
94
|
-
for (const
|
|
97
|
+
for (const _k in value) {
|
|
98
|
+
const _v = value[_k];
|
|
95
99
|
if (sparse || _v != null) {
|
|
96
100
|
out[_k] = this._write(mapMember, _v);
|
|
97
101
|
}
|
|
@@ -156,7 +160,8 @@ export class JsonShapeSerializer extends SerdeContextConfig {
|
|
|
156
160
|
if (ns.isDocumentSchema()) {
|
|
157
161
|
if (isObject) {
|
|
158
162
|
const out = Array.isArray(value) ? [] : {};
|
|
159
|
-
for (const
|
|
163
|
+
for (const k in value) {
|
|
164
|
+
const v = value[k];
|
|
160
165
|
if (v instanceof NumericValue) {
|
|
161
166
|
this.useReplacer = true;
|
|
162
167
|
out[k] = v;
|
|
@@ -65,7 +65,8 @@ export class SinglePassJsonShapeSerializer extends SerdeContextConfig {
|
|
|
65
65
|
}
|
|
66
66
|
else if (ns.isMapSchema() || ns.isDocumentSchema()) {
|
|
67
67
|
b += "{";
|
|
68
|
-
for (const
|
|
68
|
+
for (const k in value) {
|
|
69
|
+
const v = value[k];
|
|
69
70
|
if (v != null || sparse) {
|
|
70
71
|
b += `"${k}":${this.writeValue(ns, v)}`;
|
|
71
72
|
b += ",";
|
|
@@ -20,24 +20,24 @@ export const parseJsonErrorBody = async (errorBody, context) => {
|
|
|
20
20
|
value.message = value.message ?? value.Message;
|
|
21
21
|
return value;
|
|
22
22
|
};
|
|
23
|
+
const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
|
|
24
|
+
const sanitizeErrorCode = (rawValue) => {
|
|
25
|
+
let cleanValue = rawValue;
|
|
26
|
+
if (typeof cleanValue === "number") {
|
|
27
|
+
cleanValue = cleanValue.toString();
|
|
28
|
+
}
|
|
29
|
+
if (cleanValue.indexOf(",") >= 0) {
|
|
30
|
+
cleanValue = cleanValue.split(",")[0];
|
|
31
|
+
}
|
|
32
|
+
if (cleanValue.indexOf(":") >= 0) {
|
|
33
|
+
cleanValue = cleanValue.split(":")[0];
|
|
34
|
+
}
|
|
35
|
+
if (cleanValue.indexOf("#") >= 0) {
|
|
36
|
+
cleanValue = cleanValue.split("#")[1];
|
|
37
|
+
}
|
|
38
|
+
return cleanValue;
|
|
39
|
+
};
|
|
23
40
|
export const loadRestJsonErrorCode = (output, data) => {
|
|
24
|
-
const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
|
|
25
|
-
const sanitizeErrorCode = (rawValue) => {
|
|
26
|
-
let cleanValue = rawValue;
|
|
27
|
-
if (typeof cleanValue === "number") {
|
|
28
|
-
cleanValue = cleanValue.toString();
|
|
29
|
-
}
|
|
30
|
-
if (cleanValue.indexOf(",") >= 0) {
|
|
31
|
-
cleanValue = cleanValue.split(",")[0];
|
|
32
|
-
}
|
|
33
|
-
if (cleanValue.indexOf(":") >= 0) {
|
|
34
|
-
cleanValue = cleanValue.split(":")[0];
|
|
35
|
-
}
|
|
36
|
-
if (cleanValue.indexOf("#") >= 0) {
|
|
37
|
-
cleanValue = cleanValue.split("#")[1];
|
|
38
|
-
}
|
|
39
|
-
return cleanValue;
|
|
40
|
-
};
|
|
41
41
|
const headerKey = findKey(output.headers, "x-amzn-errortype");
|
|
42
42
|
if (headerKey !== undefined) {
|
|
43
43
|
return sanitizeErrorCode(output.headers[headerKey]);
|
|
@@ -42,9 +42,7 @@ export class AwsQueryProtocol extends RpcProtocol {
|
|
|
42
42
|
if (!request.path.endsWith("/")) {
|
|
43
43
|
request.path += "/";
|
|
44
44
|
}
|
|
45
|
-
|
|
46
|
-
"content-type": `application/x-www-form-urlencoded`,
|
|
47
|
-
});
|
|
45
|
+
request.headers["content-type"] = "application/x-www-form-urlencoded";
|
|
48
46
|
if (deref(operationSchema.input) === "unit" || !request.body) {
|
|
49
47
|
request.body = "";
|
|
50
48
|
}
|
|
@@ -77,11 +75,8 @@ export class AwsQueryProtocol extends RpcProtocol {
|
|
|
77
75
|
if (bytes.byteLength > 0) {
|
|
78
76
|
Object.assign(dataObject, await deserializer.read(ns, bytes, awsQueryResultKey));
|
|
79
77
|
}
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
...dataObject,
|
|
83
|
-
};
|
|
84
|
-
return output;
|
|
78
|
+
dataObject.$metadata = this.deserializeMetadata(response);
|
|
79
|
+
return dataObject;
|
|
85
80
|
}
|
|
86
81
|
useNestedResult() {
|
|
87
82
|
return true;
|
package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/QueryShapeSerializer.js
CHANGED
|
@@ -113,7 +113,8 @@ export class QueryShapeSerializer extends SerdeContextConfig {
|
|
|
113
113
|
const memberSchema = ns.getValueSchema();
|
|
114
114
|
const flat = ns.getMergedTraits().xmlFlattened;
|
|
115
115
|
let i = 1;
|
|
116
|
-
for (const
|
|
116
|
+
for (const k in value) {
|
|
117
|
+
const v = value[k];
|
|
117
118
|
if (v == null) {
|
|
118
119
|
continue;
|
|
119
120
|
}
|
|
@@ -22,7 +22,6 @@ export class AwsRestXmlProtocol extends HttpBindingProtocol {
|
|
|
22
22
|
this.codec = new XmlCodec(settings);
|
|
23
23
|
this.serializer = new HttpInterceptingShapeSerializer(this.codec.createSerializer(), settings);
|
|
24
24
|
this.deserializer = new HttpInterceptingShapeDeserializer(this.codec.createDeserializer(), settings);
|
|
25
|
-
this.compositeErrorRegistry;
|
|
26
25
|
}
|
|
27
26
|
getPayloadCodec() {
|
|
28
27
|
return this.codec;
|
|
@@ -75,10 +74,11 @@ export class AwsRestXmlProtocol extends HttpBindingProtocol {
|
|
|
75
74
|
const exception = new ErrorCtor(message);
|
|
76
75
|
await this.deserializeHttpMessage(errorSchema, context, response, dataObject);
|
|
77
76
|
const output = {};
|
|
77
|
+
const errorDeserializer = this.codec.createDeserializer();
|
|
78
78
|
for (const [name, member] of ns.structIterator()) {
|
|
79
79
|
const target = member.getMergedTraits().xmlName ?? name;
|
|
80
80
|
const value = dataObject.Error?.[target] ?? dataObject[target];
|
|
81
|
-
output[name] =
|
|
81
|
+
output[name] = errorDeserializer.readSchema(member, value);
|
|
82
82
|
}
|
|
83
83
|
throw this.mixin.decorateServiceException(Object.assign(exception, errorMetadata, {
|
|
84
84
|
$fault: ns.getMergedTraits().error,
|
|
@@ -191,7 +191,8 @@ export class XmlShapeSerializer extends SerdeContextConfig {
|
|
|
191
191
|
entry.addChildNode(valueNode);
|
|
192
192
|
};
|
|
193
193
|
if (flat) {
|
|
194
|
-
for (const
|
|
194
|
+
for (const key in map) {
|
|
195
|
+
const val = map[key];
|
|
195
196
|
if (sparse || val != null) {
|
|
196
197
|
const entry = XmlNode.of(mapTraits.xmlName ?? mapMember.getMemberName());
|
|
197
198
|
addKeyValue(entry, key, val);
|
|
@@ -208,7 +209,8 @@ export class XmlShapeSerializer extends SerdeContextConfig {
|
|
|
208
209
|
}
|
|
209
210
|
container.addChildNode(mapNode);
|
|
210
211
|
}
|
|
211
|
-
for (const
|
|
212
|
+
for (const key in map) {
|
|
213
|
+
const val = map[key];
|
|
212
214
|
if (sparse || val != null) {
|
|
213
215
|
const entry = XmlNode.of("entry");
|
|
214
216
|
addKeyValue(entry, key, val);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { AwsHandlerExecutionContext, AwsSdkFeatures } from "@aws-sdk/types";
|
|
2
2
|
/**
|
|
3
|
-
* @internal
|
|
4
3
|
* Indicates to the request context that a given feature is active.
|
|
4
|
+
* @internal
|
|
5
5
|
*
|
|
6
6
|
* @param context - handler execution context.
|
|
7
7
|
* @param feature - readable name of feature.
|