@mavogel/awscdk-rootmail 0.0.320 → 0.0.322
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.jsii +3 -3
- package/lib/rootmail.js +1 -1
- package/lib/ses-receive.js +1 -1
- package/node_modules/@aws/lambda-invoke-store/LICENSE +175 -0
- package/node_modules/@aws/lambda-invoke-store/README.md +182 -0
- package/node_modules/@aws/lambda-invoke-store/dist/invoke-store.d.ts +52 -0
- package/node_modules/@aws/lambda-invoke-store/dist/invoke-store.js +90 -0
- package/node_modules/@aws/lambda-invoke-store/package.json +36 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-cjs/index.js +5 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-es/protocols/Aws_json1_1.js +5 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/AssociateKmsKeyCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/CancelExportTaskCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/CreateDeliveryCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/CreateExportTaskCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/CreateLogAnomalyDetectorCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/CreateLogGroupCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/CreateLogStreamCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/DeleteAccountPolicyCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/DeleteDataProtectionPolicyCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/DeleteDeliveryCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/DeleteDeliveryDestinationCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/DeleteDeliveryDestinationPolicyCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/DeleteDeliverySourceCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/DeleteDestinationCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/DeleteIndexPolicyCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/DeleteIntegrationCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/DeleteLogAnomalyDetectorCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/DeleteLogGroupCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/DeleteLogStreamCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/DeleteMetricFilterCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/DeleteQueryDefinitionCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/DeleteResourcePolicyCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/DeleteRetentionPolicyCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/DeleteSubscriptionFilterCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/DeleteTransformerCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/DescribeAccountPoliciesCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/DescribeConfigurationTemplatesCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/DescribeDeliveriesCommand.d.ts +4 -2
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/DescribeDeliveryDestinationsCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/DescribeDeliverySourcesCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/DescribeDestinationsCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/DescribeExportTasksCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/DescribeFieldIndexesCommand.d.ts +4 -2
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/DescribeIndexPoliciesCommand.d.ts +3 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/DescribeLogGroupsCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/DescribeLogStreamsCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/DescribeMetricFiltersCommand.d.ts +6 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/DescribeQueriesCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/DescribeQueryDefinitionsCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/DescribeResourcePoliciesCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/DescribeSubscriptionFiltersCommand.d.ts +6 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/DisassociateKmsKeyCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/FilterLogEventsCommand.d.ts +3 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/GetDataProtectionPolicyCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/GetDeliveryCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/GetDeliveryDestinationCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/GetDeliveryDestinationPolicyCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/GetDeliverySourceCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/GetIntegrationCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/GetLogAnomalyDetectorCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/GetLogEventsCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/GetLogGroupFieldsCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/GetLogObjectCommand.d.ts +13 -4
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/GetLogRecordCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/GetQueryResultsCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/GetTransformerCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/ListAnomaliesCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/ListIntegrationsCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/ListLogAnomalyDetectorsCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/ListLogGroupsCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/ListLogGroupsForQueryCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/ListTagsLogGroupCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/PutAccountPolicyCommand.d.ts +58 -23
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/PutDataProtectionPolicyCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/PutDeliveryDestinationCommand.d.ts +4 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/PutDeliveryDestinationPolicyCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/PutDeliverySourceCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/PutDestinationCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/PutDestinationPolicyCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/PutIndexPolicyCommand.d.ts +28 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/PutIntegrationCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/PutLogEventsCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/PutMetricFilterCommand.d.ts +6 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/PutQueryDefinitionCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/PutResourcePolicyCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/PutRetentionPolicyCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/PutSubscriptionFilterCommand.d.ts +6 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/PutTransformerCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/StartLiveTailCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/StartQueryCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/StopQueryCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/TagLogGroupCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/TagResourceCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/TestMetricFilterCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/TestTransformerCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/UntagLogGroupCommand.d.ts +4 -2
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/UntagResourceCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/UpdateAnomalyCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/UpdateDeliveryConfigurationCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/UpdateLogAnomalyDetectorCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/models/models_0.d.ts +100 -28
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/models/models_0.d.ts +8 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/package.json +42 -43
- package/node_modules/@aws-sdk/client-route-53/dist-cjs/index.js +34 -31
- package/node_modules/@aws-sdk/client-route-53/dist-es/models/models_0.js +3 -0
- package/node_modules/@aws-sdk/client-route-53/dist-es/protocols/Aws_restXml.js +31 -31
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/ActivateKeySigningKeyCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/AssociateVPCWithHostedZoneCommand.d.ts +3 -1
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/ChangeCidrCollectionCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/ChangeResourceRecordSetsCommand.d.ts +3 -1
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/ChangeTagsForResourceCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/CreateCidrCollectionCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/CreateHealthCheckCommand.d.ts +4 -2
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/CreateHostedZoneCommand.d.ts +4 -2
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/CreateKeySigningKeyCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/CreateQueryLoggingConfigCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/CreateReusableDelegationSetCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/CreateTrafficPolicyCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/CreateTrafficPolicyInstanceCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/CreateTrafficPolicyVersionCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/CreateVPCAssociationAuthorizationCommand.d.ts +4 -2
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/DeactivateKeySigningKeyCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/DeleteCidrCollectionCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/DeleteHealthCheckCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/DeleteHostedZoneCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/DeleteKeySigningKeyCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/DeleteQueryLoggingConfigCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/DeleteReusableDelegationSetCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/DeleteTrafficPolicyCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/DeleteTrafficPolicyInstanceCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/DeleteVPCAssociationAuthorizationCommand.d.ts +3 -1
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/DisableHostedZoneDNSSECCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/DisassociateVPCFromHostedZoneCommand.d.ts +3 -1
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/EnableHostedZoneDNSSECCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/GetAccountLimitCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/GetChangeCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/GetCheckerIpRangesCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/GetDNSSECCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/GetGeoLocationCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/GetHealthCheckCommand.d.ts +3 -1
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/GetHealthCheckCountCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/GetHealthCheckLastFailureReasonCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/GetHealthCheckStatusCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/GetHostedZoneCommand.d.ts +3 -1
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/GetHostedZoneCountCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/GetHostedZoneLimitCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/GetQueryLoggingConfigCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/GetReusableDelegationSetCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/GetReusableDelegationSetLimitCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/GetTrafficPolicyCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/GetTrafficPolicyInstanceCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/GetTrafficPolicyInstanceCountCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/ListCidrBlocksCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/ListCidrCollectionsCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/ListCidrLocationsCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/ListGeoLocationsCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/ListHealthChecksCommand.d.ts +3 -1
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/ListHostedZonesByNameCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/ListHostedZonesByVPCCommand.d.ts +3 -1
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/ListHostedZonesCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/ListQueryLoggingConfigsCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/ListResourceRecordSetsCommand.d.ts +3 -1
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/ListReusableDelegationSetsCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/ListTagsForResourcesCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/ListTrafficPoliciesCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/ListTrafficPolicyInstancesByHostedZoneCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/ListTrafficPolicyInstancesByPolicyCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/ListTrafficPolicyInstancesCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/ListTrafficPolicyVersionsCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/ListVPCAssociationAuthorizationsCommand.d.ts +3 -1
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/TestDNSAnswerCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/UpdateHealthCheckCommand.d.ts +4 -2
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/UpdateHostedZoneCommentCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/UpdateTrafficPolicyCommentCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/UpdateTrafficPolicyInstanceCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/models/models_0.d.ts +7 -4
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/models/models_0.d.ts +3 -0
- package/node_modules/@aws-sdk/client-route-53/package.json +40 -40
- package/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +55 -55
- package/node_modules/@aws-sdk/client-s3/dist-es/protocols/Aws_restXml.js +55 -55
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/AbortMultipartUploadCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/CompleteMultipartUploadCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/CopyObjectCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateBucketCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateBucketMetadataConfigurationCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateBucketMetadataTableConfigurationCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateMultipartUploadCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateSessionCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketCorsCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketEncryptionCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketInventoryConfigurationCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketLifecycleCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketMetadataConfigurationCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketMetadataTableConfigurationCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketMetricsConfigurationCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketOwnershipControlsCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketPolicyCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketReplicationCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketTaggingCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketWebsiteCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectTaggingCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectsCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeletePublicAccessBlockCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAccelerateConfigurationCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAclCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAnalyticsConfigurationCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketCorsCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketEncryptionCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketInventoryConfigurationCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLifecycleConfigurationCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLocationCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLoggingCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketMetadataConfigurationCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketMetadataTableConfigurationCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketMetricsConfigurationCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketNotificationConfigurationCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketOwnershipControlsCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketPolicyCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketPolicyStatusCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketReplicationCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketRequestPaymentCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketTaggingCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketVersioningCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketWebsiteCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectAclCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectAttributesCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectLegalHoldCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectLockConfigurationCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectRetentionCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectTaggingCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectTorrentCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetPublicAccessBlockCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/HeadBucketCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/HeadObjectCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketAnalyticsConfigurationsCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketInventoryConfigurationsCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketMetricsConfigurationsCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketsCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListDirectoryBucketsCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListMultipartUploadsCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectVersionsCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectsCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectsV2Command.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListPartsCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAccelerateConfigurationCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAclCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAnalyticsConfigurationCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketCorsCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketEncryptionCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketInventoryConfigurationCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketLoggingCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketMetricsConfigurationCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketNotificationConfigurationCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketOwnershipControlsCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketPolicyCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketReplicationCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketRequestPaymentCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketTaggingCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketVersioningCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketWebsiteCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectAclCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectLegalHoldCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectLockConfigurationCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectRetentionCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectTaggingCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutPublicAccessBlockCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/RenameObjectCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/RestoreObjectCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/SelectObjectContentCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/UpdateBucketMetadataInventoryTableConfigurationCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/UpdateBucketMetadataJournalTableConfigurationCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/UploadPartCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/UploadPartCopyCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/WriteGetObjectResponseCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/models/models_1.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/package.json +62 -63
- package/node_modules/@aws-sdk/client-ses/dist-cjs/index.js +24 -24
- package/node_modules/@aws-sdk/client-ses/dist-es/protocols/Aws_query.js +24 -24
- package/node_modules/@aws-sdk/client-ses/dist-types/commands/CloneReceiptRuleSetCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ses/dist-types/commands/CreateConfigurationSetCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ses/dist-types/commands/CreateConfigurationSetEventDestinationCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ses/dist-types/commands/CreateConfigurationSetTrackingOptionsCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ses/dist-types/commands/CreateCustomVerificationEmailTemplateCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ses/dist-types/commands/CreateReceiptFilterCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ses/dist-types/commands/CreateReceiptRuleCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ses/dist-types/commands/CreateReceiptRuleSetCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ses/dist-types/commands/CreateTemplateCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ses/dist-types/commands/DeleteConfigurationSetCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ses/dist-types/commands/DeleteConfigurationSetEventDestinationCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ses/dist-types/commands/DeleteConfigurationSetTrackingOptionsCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ses/dist-types/commands/DeleteCustomVerificationEmailTemplateCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ses/dist-types/commands/DeleteIdentityCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ses/dist-types/commands/DeleteIdentityPolicyCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ses/dist-types/commands/DeleteReceiptFilterCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ses/dist-types/commands/DeleteReceiptRuleCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ses/dist-types/commands/DeleteReceiptRuleSetCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ses/dist-types/commands/DeleteTemplateCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ses/dist-types/commands/DeleteVerifiedEmailAddressCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ses/dist-types/commands/DescribeActiveReceiptRuleSetCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ses/dist-types/commands/DescribeConfigurationSetCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ses/dist-types/commands/DescribeReceiptRuleCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ses/dist-types/commands/DescribeReceiptRuleSetCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ses/dist-types/commands/GetAccountSendingEnabledCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ses/dist-types/commands/GetCustomVerificationEmailTemplateCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ses/dist-types/commands/GetIdentityDkimAttributesCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ses/dist-types/commands/GetIdentityMailFromDomainAttributesCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ses/dist-types/commands/GetIdentityNotificationAttributesCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ses/dist-types/commands/GetIdentityPoliciesCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ses/dist-types/commands/GetIdentityVerificationAttributesCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ses/dist-types/commands/GetSendQuotaCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ses/dist-types/commands/GetSendStatisticsCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ses/dist-types/commands/GetTemplateCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ses/dist-types/commands/ListConfigurationSetsCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ses/dist-types/commands/ListCustomVerificationEmailTemplatesCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ses/dist-types/commands/ListIdentitiesCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ses/dist-types/commands/ListIdentityPoliciesCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ses/dist-types/commands/ListReceiptFiltersCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ses/dist-types/commands/ListReceiptRuleSetsCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ses/dist-types/commands/ListTemplatesCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ses/dist-types/commands/ListVerifiedEmailAddressesCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ses/dist-types/commands/PutConfigurationSetDeliveryOptionsCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ses/dist-types/commands/PutIdentityPolicyCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ses/dist-types/commands/ReorderReceiptRuleSetCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ses/dist-types/commands/SendBounceCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ses/dist-types/commands/SendBulkTemplatedEmailCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ses/dist-types/commands/SendCustomVerificationEmailCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ses/dist-types/commands/SendEmailCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ses/dist-types/commands/SendRawEmailCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ses/dist-types/commands/SendTemplatedEmailCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ses/dist-types/commands/SetActiveReceiptRuleSetCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ses/dist-types/commands/SetIdentityDkimEnabledCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ses/dist-types/commands/SetIdentityFeedbackForwardingEnabledCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ses/dist-types/commands/SetIdentityHeadersInNotificationsEnabledCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ses/dist-types/commands/SetIdentityMailFromDomainCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ses/dist-types/commands/SetIdentityNotificationTopicCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ses/dist-types/commands/SetReceiptRulePositionCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ses/dist-types/commands/TestRenderTemplateCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ses/dist-types/commands/UpdateAccountSendingEnabledCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ses/dist-types/commands/UpdateConfigurationSetEventDestinationCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ses/dist-types/commands/UpdateConfigurationSetReputationMetricsEnabledCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ses/dist-types/commands/UpdateConfigurationSetSendingEnabledCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ses/dist-types/commands/UpdateConfigurationSetTrackingOptionsCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ses/dist-types/commands/UpdateCustomVerificationEmailTemplateCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ses/dist-types/commands/UpdateReceiptRuleCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ses/dist-types/commands/UpdateTemplateCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ses/dist-types/commands/VerifyDomainDkimCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ses/dist-types/commands/VerifyDomainIdentityCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ses/dist-types/commands/VerifyEmailAddressCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ses/dist-types/commands/VerifyEmailIdentityCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ses/package.json +38 -38
- package/node_modules/@aws-sdk/client-ssm/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-es/protocols/Aws_json1_1.js +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/AddTagsToResourceCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/AssociateOpsItemRelatedItemCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/CancelCommandCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/CancelMaintenanceWindowExecutionCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/CreateActivationCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/CreateAssociationBatchCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/CreateAssociationCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/CreateDocumentCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/CreateMaintenanceWindowCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/CreateOpsItemCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/CreateOpsMetadataCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/CreatePatchBaselineCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/CreateResourceDataSyncCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteActivationCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteAssociationCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteDocumentCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteInventoryCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteMaintenanceWindowCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteOpsItemCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteOpsMetadataCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteParameterCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteParametersCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeletePatchBaselineCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteResourceDataSyncCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteResourcePolicyCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeregisterManagedInstanceCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeregisterPatchBaselineForPatchGroupCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeregisterTargetFromMaintenanceWindowCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeregisterTaskFromMaintenanceWindowCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeActivationsCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeAssociationCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeAssociationExecutionTargetsCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeAssociationExecutionsCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeAutomationExecutionsCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeAutomationStepExecutionsCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeAvailablePatchesCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeDocumentCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeDocumentPermissionCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeEffectiveInstanceAssociationsCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeEffectivePatchesForPatchBaselineCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeInstanceAssociationsStatusCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeInstanceInformationCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeInstancePatchStatesCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeInstancePatchStatesForPatchGroupCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeInstancePatchesCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeInstancePropertiesCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeInventoryDeletionsCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeMaintenanceWindowExecutionTaskInvocationsCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeMaintenanceWindowExecutionTasksCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeMaintenanceWindowExecutionsCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeMaintenanceWindowScheduleCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeMaintenanceWindowTargetsCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeMaintenanceWindowTasksCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeMaintenanceWindowsCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeMaintenanceWindowsForTargetCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeOpsItemsCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeParametersCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribePatchBaselinesCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribePatchGroupStateCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribePatchGroupsCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribePatchPropertiesCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeSessionsCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DisassociateOpsItemRelatedItemCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetAccessTokenCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetAutomationExecutionCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetCalendarStateCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetCommandInvocationCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetConnectionStatusCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetDefaultPatchBaselineCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetDeployablePatchSnapshotForInstanceCommand.d.ts +3 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetDocumentCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetExecutionPreviewCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetInventoryCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetInventorySchemaCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetMaintenanceWindowCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetMaintenanceWindowExecutionCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetMaintenanceWindowExecutionTaskCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetMaintenanceWindowExecutionTaskInvocationCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetMaintenanceWindowTaskCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetOpsItemCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetOpsMetadataCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetOpsSummaryCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetParameterCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetParameterHistoryCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetParametersByPathCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetParametersCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetPatchBaselineCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetPatchBaselineForPatchGroupCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetResourcePoliciesCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetServiceSettingCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/LabelParameterVersionCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListAssociationVersionsCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListAssociationsCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListCommandInvocationsCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListCommandsCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListComplianceItemsCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListComplianceSummariesCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListDocumentMetadataHistoryCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListDocumentVersionsCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListDocumentsCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListInventoryEntriesCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListNodesCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListNodesSummaryCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListOpsItemEventsCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListOpsItemRelatedItemsCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListOpsMetadataCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListResourceComplianceSummariesCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListResourceDataSyncCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/ModifyDocumentPermissionCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/PutComplianceItemsCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/PutInventoryCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/PutParameterCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/PutResourcePolicyCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/RegisterDefaultPatchBaselineCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/RegisterPatchBaselineForPatchGroupCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/RegisterTargetWithMaintenanceWindowCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/RegisterTaskWithMaintenanceWindowCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/RemoveTagsFromResourceCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/ResetServiceSettingCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/ResumeSessionCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/SendAutomationSignalCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/SendCommandCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/StartAccessRequestCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/StartAssociationsOnceCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/StartAutomationExecutionCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/StartChangeRequestExecutionCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/StartExecutionPreviewCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/StartSessionCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/StopAutomationExecutionCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/TerminateSessionCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/UnlabelParameterVersionCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateAssociationCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateAssociationStatusCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateDocumentCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateDocumentDefaultVersionCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateDocumentMetadataCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateMaintenanceWindowCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateMaintenanceWindowTargetCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateMaintenanceWindowTaskCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateManagedInstanceRoleCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateOpsItemCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateOpsMetadataCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdatePatchBaselineCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateResourceDataSyncCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateServiceSettingCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/models/models_0.d.ts +24 -5
- package/node_modules/@aws-sdk/client-ssm/dist-types/models/models_1.d.ts +9 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/models/models_2.d.ts +18 -3
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/models/models_1.d.ts +1 -0
- package/node_modules/@aws-sdk/client-ssm/package.json +40 -41
- package/node_modules/@aws-sdk/client-sso/dist-types/commands/GetRoleCredentialsCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/commands/ListAccountRolesCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/commands/ListAccountsCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/commands/LogoutCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-sso/package.json +36 -36
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +465 -318
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/ProtocolLib.js +89 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/cbor/AwsSmithyRpcV2CborProtocol.js +40 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/common.js +2 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/index.js +1 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJson1_0Protocol.js +2 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJson1_1Protocol.js +2 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJsonRpcProtocol.js +19 -32
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsRestJsonProtocol.js +10 -59
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeDeserializer.js +24 -7
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeSerializer.js +35 -12
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/AwsQueryProtocol.js +23 -39
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/AwsRestXmlProtocol.js +11 -67
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeDeserializer.js +5 -13
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeSerializer.js +5 -9
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/parseXmlBody.js +2 -13
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/ProtocolLib.d.ts +49 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/cbor/AwsSmithyRpcV2CborProtocol.d.ts +23 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/index.d.ts +1 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJson1_0Protocol.d.ts +2 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJson1_1Protocol.d.ts +2 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJsonRpcProtocol.d.ts +6 -3
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsRestJsonProtocol.d.ts +2 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/JsonShapeSerializer.d.ts +4 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/AwsQueryProtocol.d.ts +2 -2
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/AwsRestXmlProtocol.d.ts +1 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/ProtocolLib.d.ts +37 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/cbor/AwsSmithyRpcV2CborProtocol.d.ts +33 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/index.d.ts +1 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJson1_0Protocol.d.ts +2 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJson1_1Protocol.d.ts +2 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJsonRpcProtocol.d.ts +5 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsRestJsonProtocol.d.ts +1 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/JsonShapeSerializer.d.ts +1 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/AwsQueryProtocol.d.ts +2 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/AwsRestXmlProtocol.d.ts +1 -0
- package/node_modules/@aws-sdk/core/package.json +15 -17
- package/node_modules/@aws-sdk/credential-provider-env/package.json +6 -5
- package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.js +4 -2
- package/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/fromHttp.js +4 -2
- package/node_modules/@aws-sdk/credential-provider-http/package.json +11 -10
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +16 -15
- package/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/credential-provider-node/dist-es/defaultProvider.js +3 -1
- package/node_modules/@aws-sdk/credential-provider-node/package.json +16 -14
- package/node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js +3 -2
- package/node_modules/@aws-sdk/credential-provider-process/dist-es/resolveProcessCredentials.js +2 -1
- package/node_modules/@aws-sdk/credential-provider-process/package.json +7 -6
- package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js +19 -3
- package/node_modules/@aws-sdk/credential-provider-sso/dist-es/fromSSO.js +8 -0
- package/node_modules/@aws-sdk/credential-provider-sso/dist-es/resolveSSOCredentials.js +7 -2
- package/node_modules/@aws-sdk/credential-provider-sso/dist-types/resolveSSOCredentials.d.ts +1 -1
- package/node_modules/@aws-sdk/credential-provider-sso/dist-types/ts3.4/resolveSSOCredentials.d.ts +3 -0
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +9 -8
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromTokenFile.js +3 -1
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-es/fromTokenFile.js +3 -1
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +8 -6
- package/node_modules/@aws-sdk/middleware-bucket-endpoint/package.json +8 -7
- package/node_modules/@aws-sdk/middleware-expect-continue/package.json +7 -6
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/getCrc32ChecksumAlgorithmFunction.d.ts +1 -1
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/stringHasher.d.ts +1 -1
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/getCrc32ChecksumAlgorithmFunction.d.ts +1 -1
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/stringHasher.d.ts +1 -1
- package/node_modules/@aws-sdk/middleware-flexible-checksums/package.json +16 -15
- package/node_modules/@aws-sdk/middleware-host-header/package.json +7 -6
- package/node_modules/@aws-sdk/middleware-location-constraint/package.json +6 -5
- package/node_modules/@aws-sdk/middleware-logger/dist-types/loggerMiddleware.d.ts +1 -1
- package/node_modules/@aws-sdk/middleware-logger/package.json +6 -5
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/index.js +14 -32
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/recursionDetectionMiddleware.js +32 -0
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/recursionDetectionMiddleware.native.js +5 -0
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-es/configuration.js +7 -0
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-es/getRecursionDetectionPlugin.js +7 -0
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-es/index.js +2 -37
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-es/recursionDetectionMiddleware.browser.js +1 -0
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-es/recursionDetectionMiddleware.js +28 -0
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-es/recursionDetectionMiddleware.native.js +1 -0
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/configuration.d.ts +5 -0
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/getRecursionDetectionPlugin.d.ts +5 -0
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/index.d.ts +2 -18
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/recursionDetectionMiddleware.browser.d.ts +6 -0
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/recursionDetectionMiddleware.d.ts +6 -0
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/recursionDetectionMiddleware.native.d.ts +6 -0
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/ts3.4/configuration.d.ts +3 -0
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/ts3.4/getRecursionDetectionPlugin.d.ts +4 -0
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/ts3.4/index.d.ts +2 -18
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/ts3.4/recursionDetectionMiddleware.browser.d.ts +5 -0
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/ts3.4/recursionDetectionMiddleware.d.ts +5 -0
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/ts3.4/recursionDetectionMiddleware.native.d.ts +5 -0
- package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +13 -7
- package/node_modules/@aws-sdk/middleware-sdk-route53/package.json +6 -5
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/index.js +13 -9
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/region-redirect-middleware.js +15 -10
- package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +19 -18
- package/node_modules/@aws-sdk/middleware-ssec/package.json +6 -5
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +10 -9
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +29 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/models_0.js +13 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/protocols/Aws_restJson1.js +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/SSOOIDC.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/SSOOIDCClient.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/commands/CreateTokenCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/index.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/models/models_0.d.ts +36 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/models/models_0.d.ts +15 -0
- package/node_modules/@aws-sdk/nested-clients/package.json +37 -36
- package/node_modules/@aws-sdk/region-config-resolver/package.json +7 -6
- package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +9 -8
- package/node_modules/@aws-sdk/token-providers/package.json +10 -10
- package/node_modules/@aws-sdk/types/package.json +3 -2
- package/node_modules/@aws-sdk/util-arn-parser/package.json +2 -1
- package/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +40 -37
- package/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/partitions.json +40 -37
- package/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partitions.json +40 -37
- package/node_modules/@aws-sdk/util-endpoints/package.json +8 -8
- package/node_modules/@aws-sdk/util-user-agent-browser/package.json +4 -3
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +6 -5
- package/node_modules/@aws-sdk/xml-builder/dist-cjs/index.js +6 -1
- package/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-parser.js +18 -0
- package/node_modules/@aws-sdk/xml-builder/dist-es/index.js +1 -0
- package/node_modules/@aws-sdk/xml-builder/dist-es/xml-parser.browser.js +54 -0
- package/node_modules/@aws-sdk/xml-builder/dist-es/xml-parser.js +15 -0
- package/node_modules/@aws-sdk/xml-builder/dist-types/index.d.ts +4 -0
- package/node_modules/@aws-sdk/xml-builder/dist-types/ts3.4/index.d.ts +1 -0
- package/node_modules/@aws-sdk/xml-builder/dist-types/ts3.4/xml-parser.browser.d.ts +1 -0
- package/node_modules/@aws-sdk/xml-builder/dist-types/ts3.4/xml-parser.d.ts +1 -0
- package/node_modules/@aws-sdk/xml-builder/dist-types/xml-parser.browser.d.ts +9 -0
- package/node_modules/@aws-sdk/xml-builder/dist-types/xml-parser.d.ts +4 -0
- package/node_modules/@aws-sdk/xml-builder/package.json +11 -2
- package/node_modules/@smithy/abort-controller/dist-cjs/index.js +3 -3
- package/node_modules/@smithy/abort-controller/package.json +3 -2
- package/node_modules/@smithy/chunked-blob-reader/dist-cjs/index.js +3 -3
- package/node_modules/@smithy/chunked-blob-reader/package.json +5 -4
- package/node_modules/@smithy/chunked-blob-reader-native/dist-cjs/index.js +3 -3
- package/node_modules/@smithy/chunked-blob-reader-native/package.json +6 -5
- package/node_modules/@smithy/config-resolver/dist-cjs/index.js +15 -15
- package/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/NodeUseDualstackEndpointConfigOptions.d.ts +1 -1
- package/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/NodeUseFipsEndpointConfigOptions.d.ts +1 -1
- package/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/resolveCustomEndpointsConfig.d.ts +2 -2
- package/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/resolveEndpointsConfig.d.ts +1 -1
- package/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/utils/getEndpointFromRegion.d.ts +1 -1
- package/node_modules/@smithy/config-resolver/dist-types/regionConfig/config.d.ts +1 -1
- package/node_modules/@smithy/config-resolver/dist-types/regionConfig/resolveRegionConfig.d.ts +1 -1
- package/node_modules/@smithy/config-resolver/dist-types/regionInfo/EndpointVariant.d.ts +1 -1
- package/node_modules/@smithy/config-resolver/dist-types/regionInfo/PartitionHash.d.ts +1 -1
- package/node_modules/@smithy/config-resolver/dist-types/regionInfo/RegionHash.d.ts +1 -1
- package/node_modules/@smithy/config-resolver/dist-types/regionInfo/getHostnameFromVariants.d.ts +1 -1
- package/node_modules/@smithy/config-resolver/dist-types/regionInfo/getRegionInfo.d.ts +3 -3
- package/node_modules/@smithy/config-resolver/dist-types/regionInfo/getResolvedPartition.d.ts +1 -1
- package/node_modules/@smithy/config-resolver/package.json +6 -5
- package/node_modules/@smithy/core/dist-cjs/index.js +10 -11
- package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +50 -19
- package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +261 -0
- package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +151 -58
- package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +215 -233
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +6 -6
- package/node_modules/@smithy/core/dist-es/middleware-http-auth-scheme/httpAuthSchemeMiddleware.js +0 -1
- package/node_modules/@smithy/core/dist-es/middleware-http-signing/httpSigningMiddleware.js +0 -1
- package/node_modules/@smithy/core/dist-es/submodules/cbor/SmithyRpcV2CborProtocol.js +39 -16
- package/node_modules/@smithy/core/dist-es/submodules/cbor/byte-printer.js +35 -1
- package/node_modules/@smithy/core/dist-es/submodules/cbor/parseCborBody.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/event-streams/EventStreamSerde.js +200 -0
- package/node_modules/@smithy/core/dist-es/submodules/event-streams/index.js +1 -0
- package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js +23 -36
- package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +36 -0
- package/node_modules/@smithy/core/dist-es/submodules/protocols/RpcProtocol.js +36 -10
- package/node_modules/@smithy/core/dist-es/submodules/protocols/index.js +1 -0
- package/node_modules/@smithy/core/dist-es/submodules/schema/TypeRegistry.js +11 -5
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/ErrorSchema.js +12 -22
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/ListSchema.js +9 -20
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/MapSchema.js +10 -21
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/NormalizedSchema.js +107 -91
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/OperationSchema.js +11 -12
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/Schema.js +16 -3
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/SimpleSchema.js +9 -20
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/StructureSchema.js +10 -27
- package/node_modules/@smithy/core/dist-es/submodules/serde/generateIdempotencyToken.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/serde/value/NumericValue.js +4 -2
- package/node_modules/@smithy/core/dist-types/getSmithyContext.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/middleware-http-auth-scheme/getHttpAuthSchemeEndpointRuleSetPlugin.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/middleware-http-auth-scheme/getHttpAuthSchemePlugin.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/middleware-http-auth-scheme/httpAuthSchemeMiddleware.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/middleware-http-auth-scheme/resolveAuthOptions.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/middleware-http-signing/getHttpSigningMiddleware.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/middleware-http-signing/httpSigningMiddleware.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/normalizeProvider.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/cbor/CborCodec.d.ts +6 -2
- package/node_modules/@smithy/core/dist-types/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/submodules/cbor/cbor-decode.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/cbor/cbor-types.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/cbor/cbor.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/cbor/parseCborBody.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/submodules/event-streams/EventStreamSerde.d.ts +60 -0
- package/node_modules/@smithy/core/dist-types/submodules/event-streams/index.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/submodules/protocols/HttpBindingProtocol.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/protocols/HttpProtocol.d.ts +39 -1
- package/node_modules/@smithy/core/dist-types/submodules/protocols/RpcProtocol.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/protocols/collect-stream-body.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/protocols/index.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/submodules/protocols/serde/FromStringShapeDeserializer.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/protocols/serde/HttpInterceptingShapeDeserializer.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/protocols/serde/HttpInterceptingShapeSerializer.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/protocols/serde/ToStringShapeSerializer.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/protocols/serde/determineTimestampFormat.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/submodules/schema/TypeRegistry.d.ts +12 -2
- package/node_modules/@smithy/core/dist-types/submodules/schema/middleware/getSchemaSerdePlugin.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/submodules/schema/middleware/schemaDeserializationMiddleware.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/submodules/schema/middleware/schemaSerializationMiddleware.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/ErrorSchema.d.ts +8 -14
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/ListSchema.d.ts +3 -5
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/MapSchema.d.ts +3 -9
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/NormalizedSchema.d.ts +25 -13
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/OperationSchema.d.ts +3 -2
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/Schema.d.ts +5 -1
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/SimpleSchema.d.ts +4 -6
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/StructureSchema.d.ts +3 -6
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/sentinels.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/serde/copyDocumentWithTransform.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/serde/generateIdempotencyToken.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/CborCodec.d.ts +5 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/cbor-types.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/cbor.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/EventStreamSerde.d.ts +60 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/index.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpProtocol.d.ts +39 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/index.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/determineTimestampFormat.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/TypeRegistry.d.ts +11 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/ErrorSchema.d.ts +8 -14
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/ListSchema.d.ts +3 -5
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/MapSchema.d.ts +3 -9
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/NormalizedSchema.d.ts +25 -13
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/OperationSchema.d.ts +3 -2
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/Schema.d.ts +5 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/SimpleSchema.d.ts +3 -5
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/StructureSchema.d.ts +3 -9
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/generateIdempotencyToken.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/util-identity-and-auth/DefaultIdentityProviderConfig.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/util-identity-and-auth/httpAuthSchemes/httpApiKeyAuth.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/util-identity-and-auth/httpAuthSchemes/httpBearerAuth.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/util-identity-and-auth/httpAuthSchemes/noAuth.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/util-identity-and-auth/memoizeIdentityProvider.d.ts +1 -1
- package/node_modules/@smithy/core/event-streams.d.ts +7 -0
- package/node_modules/@smithy/core/event-streams.js +6 -0
- package/node_modules/@smithy/core/package.json +21 -12
- package/node_modules/@smithy/credential-provider-imds/dist-cjs/index.js +12 -13
- package/node_modules/@smithy/credential-provider-imds/dist-types/config/EndpointConfigOptions.d.ts +1 -1
- package/node_modules/@smithy/credential-provider-imds/dist-types/config/EndpointModeConfigOptions.d.ts +1 -1
- package/node_modules/@smithy/credential-provider-imds/dist-types/fromContainerMetadata.d.ts +2 -2
- package/node_modules/@smithy/credential-provider-imds/dist-types/fromInstanceMetadata.d.ts +3 -3
- package/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/ImdsCredentials.d.ts +1 -1
- package/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/RemoteProviderInit.d.ts +1 -1
- package/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/httpRequest.d.ts +1 -1
- package/node_modules/@smithy/credential-provider-imds/dist-types/types.d.ts +1 -1
- package/node_modules/@smithy/credential-provider-imds/dist-types/utils/getExtendedInstanceMetadataCredentials.d.ts +2 -2
- package/node_modules/@smithy/credential-provider-imds/dist-types/utils/getInstanceMetadataEndpoint.d.ts +1 -1
- package/node_modules/@smithy/credential-provider-imds/dist-types/utils/staticStabilityProvider.d.ts +2 -2
- package/node_modules/@smithy/credential-provider-imds/package.json +6 -5
- package/node_modules/@smithy/eventstream-codec/dist-cjs/index.js +5 -7
- package/node_modules/@smithy/eventstream-codec/dist-types/EventStreamCodec.d.ts +2 -2
- package/node_modules/@smithy/eventstream-codec/dist-types/HeaderMarshaller.d.ts +1 -1
- package/node_modules/@smithy/eventstream-codec/dist-types/Int64.d.ts +1 -1
- package/node_modules/@smithy/eventstream-codec/dist-types/Message.d.ts +1 -1
- package/node_modules/@smithy/eventstream-codec/dist-types/MessageDecoderStream.d.ts +1 -1
- package/node_modules/@smithy/eventstream-codec/dist-types/MessageEncoderStream.d.ts +1 -1
- package/node_modules/@smithy/eventstream-codec/dist-types/SmithyMessageDecoderStream.d.ts +1 -1
- package/node_modules/@smithy/eventstream-codec/dist-types/SmithyMessageEncoderStream.d.ts +1 -1
- package/node_modules/@smithy/eventstream-codec/dist-types/TestVectors.fixture.d.ts +1 -1
- package/node_modules/@smithy/eventstream-codec/dist-types/vectorTypes.fixture.d.ts +1 -1
- package/node_modules/@smithy/eventstream-codec/package.json +5 -4
- package/node_modules/@smithy/eventstream-serde-browser/dist-cjs/index.js +4 -5
- package/node_modules/@smithy/eventstream-serde-browser/dist-types/EventStreamMarshaller.d.ts +1 -1
- package/node_modules/@smithy/eventstream-serde-browser/dist-types/provider.d.ts +1 -1
- package/node_modules/@smithy/eventstream-serde-browser/package.json +4 -3
- package/node_modules/@smithy/eventstream-serde-config-resolver/dist-cjs/index.js +3 -3
- package/node_modules/@smithy/eventstream-serde-config-resolver/dist-types/EventStreamSerdeConfig.d.ts +1 -1
- package/node_modules/@smithy/eventstream-serde-config-resolver/package.json +3 -2
- package/node_modules/@smithy/eventstream-serde-node/dist-cjs/index.js +3 -3
- package/node_modules/@smithy/eventstream-serde-node/dist-types/EventStreamMarshaller.d.ts +1 -1
- package/node_modules/@smithy/eventstream-serde-node/dist-types/provider.d.ts +1 -1
- package/node_modules/@smithy/eventstream-serde-node/dist-types/utils.d.ts +1 -1
- package/node_modules/@smithy/eventstream-serde-node/package.json +4 -3
- package/node_modules/@smithy/eventstream-serde-universal/dist-cjs/index.js +4 -5
- package/node_modules/@smithy/eventstream-serde-universal/dist-types/EventStreamMarshaller.d.ts +1 -1
- package/node_modules/@smithy/eventstream-serde-universal/dist-types/getUnmarshalledStream.d.ts +2 -2
- package/node_modules/@smithy/eventstream-serde-universal/dist-types/provider.d.ts +1 -1
- package/node_modules/@smithy/eventstream-serde-universal/package.json +5 -4
- package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +3 -3
- package/node_modules/@smithy/fetch-http-handler/dist-types/create-request.d.ts +1 -1
- package/node_modules/@smithy/fetch-http-handler/dist-types/fetch-http-handler.d.ts +3 -2
- package/node_modules/@smithy/fetch-http-handler/dist-types/stream-collector.d.ts +1 -1
- package/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/fetch-http-handler.d.ts +2 -1
- package/node_modules/@smithy/fetch-http-handler/package.json +9 -8
- package/node_modules/@smithy/hash-blob-browser/dist-cjs/index.js +3 -3
- package/node_modules/@smithy/hash-blob-browser/dist-types/index.d.ts +1 -1
- package/node_modules/@smithy/hash-blob-browser/package.json +6 -5
- package/node_modules/@smithy/hash-node/dist-cjs/index.js +3 -3
- package/node_modules/@smithy/hash-node/dist-types/index.d.ts +1 -1
- package/node_modules/@smithy/hash-node/package.json +5 -4
- package/node_modules/@smithy/hash-stream-node/dist-cjs/index.js +3 -3
- package/node_modules/@smithy/hash-stream-node/dist-types/HashCalculator.d.ts +3 -2
- package/node_modules/@smithy/hash-stream-node/dist-types/fileStreamHasher.d.ts +2 -2
- package/node_modules/@smithy/hash-stream-node/dist-types/readableStreamHasher.d.ts +2 -2
- package/node_modules/@smithy/hash-stream-node/dist-types/ts3.4/HashCalculator.d.ts +2 -1
- package/node_modules/@smithy/hash-stream-node/package.json +5 -4
- package/node_modules/@smithy/invalid-dependency/dist-cjs/index.js +3 -3
- package/node_modules/@smithy/invalid-dependency/dist-types/invalidProvider.d.ts +1 -1
- package/node_modules/@smithy/invalid-dependency/package.json +3 -2
- package/node_modules/@smithy/is-array-buffer/dist-cjs/index.js +3 -3
- package/node_modules/@smithy/is-array-buffer/package.json +5 -4
- package/node_modules/@smithy/md5-js/dist-cjs/index.js +3 -3
- package/node_modules/@smithy/md5-js/dist-types/index.d.ts +1 -1
- package/node_modules/@smithy/md5-js/package.json +6 -5
- package/node_modules/@smithy/middleware-content-length/dist-cjs/index.js +5 -5
- package/node_modules/@smithy/middleware-content-length/dist-types/index.d.ts +1 -1
- package/node_modules/@smithy/middleware-content-length/package.json +6 -5
- package/node_modules/@smithy/middleware-endpoint/dist-cjs/index.js +5 -5
- package/node_modules/@smithy/middleware-endpoint/dist-types/adaptors/getEndpointFromInstructions.d.ts +3 -3
- package/node_modules/@smithy/middleware-endpoint/dist-types/adaptors/getEndpointUrlConfig.d.ts +1 -1
- package/node_modules/@smithy/middleware-endpoint/dist-types/adaptors/toEndpointV1.d.ts +1 -1
- package/node_modules/@smithy/middleware-endpoint/dist-types/endpointMiddleware.d.ts +3 -3
- package/node_modules/@smithy/middleware-endpoint/dist-types/getEndpointPlugin.d.ts +3 -3
- package/node_modules/@smithy/middleware-endpoint/dist-types/resolveEndpointConfig.d.ts +1 -1
- package/node_modules/@smithy/middleware-endpoint/dist-types/resolveEndpointRequiredConfig.d.ts +1 -1
- package/node_modules/@smithy/middleware-endpoint/dist-types/service-customizations/s3.d.ts +1 -1
- package/node_modules/@smithy/middleware-endpoint/package.json +9 -8
- package/node_modules/@smithy/middleware-retry/dist-cjs/index.js +34 -48
- package/node_modules/@smithy/middleware-retry/dist-es/StandardRetryStrategy.js +1 -1
- package/node_modules/@smithy/middleware-retry/dist-es/retryMiddleware.js +1 -1
- package/node_modules/@smithy/middleware-retry/dist-types/AdaptiveRetryStrategy.d.ts +4 -3
- package/node_modules/@smithy/middleware-retry/dist-types/StandardRetryStrategy.d.ts +2 -2
- package/node_modules/@smithy/middleware-retry/dist-types/configurations.d.ts +2 -2
- package/node_modules/@smithy/middleware-retry/dist-types/defaultRetryQuota.d.ts +1 -1
- package/node_modules/@smithy/middleware-retry/dist-types/omitRetryHeadersMiddleware.d.ts +1 -1
- package/node_modules/@smithy/middleware-retry/dist-types/retryDecider.d.ts +1 -1
- package/node_modules/@smithy/middleware-retry/dist-types/retryMiddleware.d.ts +2 -2
- package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/AdaptiveRetryStrategy.d.ts +2 -1
- package/node_modules/@smithy/middleware-retry/dist-types/types.d.ts +1 -1
- package/node_modules/@smithy/middleware-retry/dist-types/util.d.ts +1 -1
- package/node_modules/@smithy/middleware-retry/package.json +13 -13
- package/node_modules/@smithy/middleware-serde/dist-cjs/index.js +5 -5
- package/node_modules/@smithy/middleware-serde/dist-types/deserializerMiddleware.d.ts +1 -1
- package/node_modules/@smithy/middleware-serde/dist-types/serdePlugin.d.ts +1 -1
- package/node_modules/@smithy/middleware-serde/dist-types/serializerMiddleware.d.ts +1 -1
- package/node_modules/@smithy/middleware-serde/package.json +6 -5
- package/node_modules/@smithy/middleware-stack/dist-cjs/index.js +25 -30
- package/node_modules/@smithy/middleware-stack/dist-types/MiddlewareStack.d.ts +1 -1
- package/node_modules/@smithy/middleware-stack/dist-types/types.d.ts +1 -1
- package/node_modules/@smithy/middleware-stack/package.json +3 -2
- package/node_modules/@smithy/node-config-provider/dist-cjs/index.js +3 -3
- package/node_modules/@smithy/node-config-provider/dist-types/configLoader.d.ts +4 -4
- package/node_modules/@smithy/node-config-provider/dist-types/fromEnv.d.ts +1 -1
- package/node_modules/@smithy/node-config-provider/dist-types/fromSharedConfigFiles.d.ts +2 -2
- package/node_modules/@smithy/node-config-provider/dist-types/fromStatic.d.ts +1 -1
- package/node_modules/@smithy/node-config-provider/package.json +5 -4
- package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +5 -5
- package/node_modules/@smithy/node-http-handler/dist-types/get-transformed-headers.d.ts +2 -2
- package/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts +3 -2
- package/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-manager.d.ts +4 -4
- package/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-pool.d.ts +2 -2
- package/node_modules/@smithy/node-http-handler/dist-types/node-http2-handler.d.ts +3 -2
- package/node_modules/@smithy/node-http-handler/dist-types/readable.mock.d.ts +2 -1
- package/node_modules/@smithy/node-http-handler/dist-types/server.mock.d.ts +4 -4
- package/node_modules/@smithy/node-http-handler/dist-types/set-connection-timeout.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/set-socket-keep-alive.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/set-socket-timeout.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/index.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/readable.mock.d.ts +2 -1
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http-handler.d.ts +2 -1
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-handler.d.ts +2 -1
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/readable.mock.d.ts +2 -1
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/readable.mock.d.ts +2 -1
- package/node_modules/@smithy/node-http-handler/dist-types/write-request-body.d.ts +3 -3
- package/node_modules/@smithy/node-http-handler/package.json +6 -5
- package/node_modules/@smithy/property-provider/dist-cjs/index.js +3 -3
- package/node_modules/@smithy/property-provider/dist-types/CredentialsProviderError.d.ts +2 -1
- package/node_modules/@smithy/property-provider/dist-types/ProviderError.d.ts +1 -1
- package/node_modules/@smithy/property-provider/dist-types/TokenProviderError.d.ts +2 -1
- package/node_modules/@smithy/property-provider/dist-types/chain.d.ts +1 -1
- package/node_modules/@smithy/property-provider/dist-types/fromStatic.d.ts +1 -1
- package/node_modules/@smithy/property-provider/dist-types/memoize.d.ts +1 -1
- package/node_modules/@smithy/property-provider/dist-types/ts3.4/CredentialsProviderError.d.ts +2 -1
- package/node_modules/@smithy/property-provider/dist-types/ts3.4/TokenProviderError.d.ts +2 -1
- package/node_modules/@smithy/property-provider/package.json +3 -2
- package/node_modules/@smithy/protocol-http/dist-cjs/index.js +4 -5
- package/node_modules/@smithy/protocol-http/dist-types/Field.d.ts +2 -1
- package/node_modules/@smithy/protocol-http/dist-types/Fields.d.ts +2 -2
- package/node_modules/@smithy/protocol-http/dist-types/extensions/httpExtensionConfiguration.d.ts +1 -1
- package/node_modules/@smithy/protocol-http/dist-types/httpRequest.d.ts +2 -1
- package/node_modules/@smithy/protocol-http/dist-types/httpResponse.d.ts +1 -1
- package/node_modules/@smithy/protocol-http/dist-types/ts3.4/Field.d.ts +2 -1
- package/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpRequest.d.ts +2 -1
- package/node_modules/@smithy/protocol-http/dist-types/types.d.ts +1 -1
- package/node_modules/@smithy/protocol-http/package.json +3 -2
- package/node_modules/@smithy/querystring-builder/dist-cjs/index.js +3 -3
- package/node_modules/@smithy/querystring-builder/dist-types/index.d.ts +1 -1
- package/node_modules/@smithy/querystring-builder/package.json +4 -3
- package/node_modules/@smithy/querystring-parser/dist-cjs/index.js +3 -3
- package/node_modules/@smithy/querystring-parser/dist-types/index.d.ts +1 -1
- package/node_modules/@smithy/querystring-parser/package.json +3 -2
- package/node_modules/@smithy/service-error-classification/dist-cjs/index.js +5 -5
- package/node_modules/@smithy/service-error-classification/dist-es/index.js +3 -2
- package/node_modules/@smithy/service-error-classification/dist-types/index.d.ts +1 -1
- package/node_modules/@smithy/service-error-classification/package.json +3 -2
- package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFromFile.js +5 -1
- package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js +29 -7
- package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/slurpFile.js +9 -5
- package/node_modules/@smithy/shared-ini-file-loader/dist-es/externalDataInterceptor.js +16 -0
- package/node_modules/@smithy/shared-ini-file-loader/dist-es/getSSOTokenFromFile.js +4 -0
- package/node_modules/@smithy/shared-ini-file-loader/dist-es/index.js +2 -1
- package/node_modules/@smithy/shared-ini-file-loader/dist-es/slurpFile.js +5 -1
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/externalDataInterceptor.d.ts +9 -0
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/getConfigData.d.ts +1 -1
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFromFile.d.ts +5 -1
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/getSsoSessionData.d.ts +1 -1
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/index.d.ts +2 -1
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSharedConfigFiles.d.ts +1 -1
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSsoSessionData.d.ts +1 -1
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/mergeConfigFiles.d.ts +1 -1
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/parseIni.d.ts +1 -1
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/parseKnownFiles.d.ts +2 -2
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/slurpFile.d.ts +2 -0
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/externalDataInterceptor.d.ts +9 -0
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFromFile.d.ts +5 -1
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/index.d.ts +2 -1
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/slurpFile.d.ts +2 -0
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/types.d.ts +1 -1
- package/node_modules/@smithy/shared-ini-file-loader/package.json +3 -2
- package/node_modules/@smithy/signature-v4/dist-cjs/index.js +6 -9
- package/node_modules/@smithy/signature-v4/dist-types/SignatureV4.d.ts +3 -2
- package/node_modules/@smithy/signature-v4/dist-types/SignatureV4Base.d.ts +1 -1
- package/node_modules/@smithy/signature-v4/dist-types/credentialDerivation.d.ts +1 -1
- package/node_modules/@smithy/signature-v4/dist-types/getCanonicalHeaders.d.ts +1 -1
- package/node_modules/@smithy/signature-v4/dist-types/getCanonicalQuery.d.ts +1 -1
- package/node_modules/@smithy/signature-v4/dist-types/getPayloadHash.d.ts +1 -1
- package/node_modules/@smithy/signature-v4/dist-types/headerUtil.d.ts +1 -1
- package/node_modules/@smithy/signature-v4/dist-types/suite.fixture.d.ts +1 -1
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/SignatureV4.d.ts +2 -1
- package/node_modules/@smithy/signature-v4/package.json +9 -8
- package/node_modules/@smithy/smithy-client/dist-cjs/index.js +55 -21
- package/node_modules/@smithy/smithy-client/dist-es/command.js +7 -4
- package/node_modules/@smithy/smithy-client/dist-es/schemaLogFilter.js +34 -0
- package/node_modules/@smithy/smithy-client/dist-types/NoOpLogger.d.ts +1 -1
- package/node_modules/@smithy/smithy-client/dist-types/client.d.ts +1 -1
- package/node_modules/@smithy/smithy-client/dist-types/create-aggregated-client.d.ts +1 -1
- package/node_modules/@smithy/smithy-client/dist-types/exceptions.d.ts +1 -1
- package/node_modules/@smithy/smithy-client/dist-types/extensions/defaultExtensionConfiguration.d.ts +2 -2
- package/node_modules/@smithy/smithy-client/dist-types/extensions/retry.d.ts +1 -1
- package/node_modules/@smithy/smithy-client/dist-types/schemaLogFilter.d.ts +9 -0
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/schemaLogFilter.d.ts +9 -0
- package/node_modules/@smithy/smithy-client/package.json +8 -7
- package/node_modules/@smithy/types/dist-cjs/index.js +7 -7
- package/node_modules/@smithy/types/dist-types/auth/HttpAuthScheme.d.ts +4 -4
- package/node_modules/@smithy/types/dist-types/auth/HttpAuthSchemeProvider.d.ts +2 -2
- package/node_modules/@smithy/types/dist-types/auth/HttpSigner.d.ts +2 -2
- package/node_modules/@smithy/types/dist-types/auth/IdentityProviderConfig.d.ts +2 -2
- package/node_modules/@smithy/types/dist-types/blob/blob-payload-input-types.d.ts +1 -1
- package/node_modules/@smithy/types/dist-types/checksum.d.ts +1 -1
- package/node_modules/@smithy/types/dist-types/client.d.ts +4 -4
- package/node_modules/@smithy/types/dist-types/command.d.ts +2 -2
- package/node_modules/@smithy/types/dist-types/connection/manager.d.ts +2 -2
- package/node_modules/@smithy/types/dist-types/encode.d.ts +1 -1
- package/node_modules/@smithy/types/dist-types/endpoint.d.ts +1 -1
- package/node_modules/@smithy/types/dist-types/endpoints/EndpointRuleObject.d.ts +2 -2
- package/node_modules/@smithy/types/dist-types/endpoints/ErrorRuleObject.d.ts +1 -1
- package/node_modules/@smithy/types/dist-types/endpoints/RuleSetObject.d.ts +1 -1
- package/node_modules/@smithy/types/dist-types/endpoints/TreeRuleObject.d.ts +3 -3
- package/node_modules/@smithy/types/dist-types/endpoints/shared.d.ts +1 -1
- package/node_modules/@smithy/types/dist-types/eventStream.d.ts +3 -3
- package/node_modules/@smithy/types/dist-types/extensions/checksum.d.ts +2 -2
- package/node_modules/@smithy/types/dist-types/extensions/defaultClientConfiguration.d.ts +1 -1
- package/node_modules/@smithy/types/dist-types/extensions/defaultExtensionConfiguration.d.ts +2 -2
- package/node_modules/@smithy/types/dist-types/extensions/retry.d.ts +2 -2
- package/node_modules/@smithy/types/dist-types/http/httpHandlerInitialization.d.ts +2 -2
- package/node_modules/@smithy/types/dist-types/http.d.ts +2 -2
- package/node_modules/@smithy/types/dist-types/identity/apiKeyIdentity.d.ts +1 -1
- package/node_modules/@smithy/types/dist-types/identity/awsCredentialIdentity.d.ts +1 -1
- package/node_modules/@smithy/types/dist-types/identity/tokenIdentity.d.ts +1 -1
- package/node_modules/@smithy/types/dist-types/retry.d.ts +1 -1
- package/node_modules/@smithy/types/dist-types/schema/schema.d.ts +11 -2
- package/node_modules/@smithy/types/dist-types/serde.d.ts +4 -4
- package/node_modules/@smithy/types/dist-types/shapes.d.ts +2 -2
- package/node_modules/@smithy/types/dist-types/signature.d.ts +2 -2
- package/node_modules/@smithy/types/dist-types/stream.d.ts +3 -3
- package/node_modules/@smithy/types/dist-types/ts3.4/schema/schema.d.ts +15 -3
- package/node_modules/@smithy/types/dist-types/uri.d.ts +1 -1
- package/node_modules/@smithy/types/dist-types/util.d.ts +3 -3
- package/node_modules/@smithy/types/dist-types/waiter.d.ts +1 -1
- package/node_modules/@smithy/types/package.json +2 -1
- package/node_modules/@smithy/url-parser/dist-cjs/index.js +3 -3
- package/node_modules/@smithy/url-parser/dist-types/index.d.ts +1 -1
- package/node_modules/@smithy/url-parser/package.json +4 -3
- package/node_modules/@smithy/util-base64/dist-cjs/index.js +4 -4
- package/node_modules/@smithy/util-base64/dist-cjs/toBase64.browser.js +1 -2
- package/node_modules/@smithy/util-base64/package.json +7 -6
- package/node_modules/@smithy/util-body-length-browser/dist-cjs/index.js +6 -9
- package/node_modules/@smithy/util-body-length-browser/package.json +5 -4
- package/node_modules/@smithy/util-body-length-node/dist-cjs/index.js +3 -3
- package/node_modules/@smithy/util-body-length-node/package.json +5 -4
- package/node_modules/@smithy/util-buffer-from/dist-cjs/index.js +3 -3
- package/node_modules/@smithy/util-buffer-from/package.json +6 -5
- package/node_modules/@smithy/util-config-provider/dist-cjs/index.js +7 -11
- package/node_modules/@smithy/util-config-provider/dist-types/booleanSelector.d.ts +1 -1
- package/node_modules/@smithy/util-config-provider/dist-types/numberSelector.d.ts +1 -1
- package/node_modules/@smithy/util-config-provider/package.json +5 -4
- package/node_modules/@smithy/util-defaults-mode-browser/dist-cjs/index.js +3 -3
- package/node_modules/@smithy/util-defaults-mode-browser/package.json +5 -4
- package/node_modules/@smithy/util-defaults-mode-node/dist-cjs/index.js +7 -7
- package/node_modules/@smithy/util-defaults-mode-node/dist-types/defaultsModeConfig.d.ts +1 -1
- package/node_modules/@smithy/util-defaults-mode-node/package.json +8 -7
- package/node_modules/@smithy/util-endpoints/dist-cjs/index.js +3 -3
- package/node_modules/@smithy/util-endpoints/dist-types/debug/toDebugString.d.ts +3 -3
- package/node_modules/@smithy/util-endpoints/dist-types/getEndpointUrlConfig.d.ts +1 -1
- package/node_modules/@smithy/util-endpoints/dist-types/lib/parseURL.d.ts +1 -1
- package/node_modules/@smithy/util-endpoints/dist-types/resolveEndpoint.d.ts +2 -2
- package/node_modules/@smithy/util-endpoints/dist-types/types/EndpointFunctions.d.ts +1 -1
- package/node_modules/@smithy/util-endpoints/dist-types/types/EndpointRuleObject.d.ts +1 -1
- package/node_modules/@smithy/util-endpoints/dist-types/types/ErrorRuleObject.d.ts +1 -1
- package/node_modules/@smithy/util-endpoints/dist-types/types/RuleSetObject.d.ts +1 -1
- package/node_modules/@smithy/util-endpoints/dist-types/types/TreeRuleObject.d.ts +1 -1
- package/node_modules/@smithy/util-endpoints/dist-types/types/shared.d.ts +1 -1
- package/node_modules/@smithy/util-endpoints/dist-types/utils/callFunction.d.ts +1 -1
- package/node_modules/@smithy/util-endpoints/dist-types/utils/customEndpointFunctions.d.ts +1 -1
- package/node_modules/@smithy/util-endpoints/dist-types/utils/evaluateCondition.d.ts +1 -1
- package/node_modules/@smithy/util-endpoints/dist-types/utils/evaluateConditions.d.ts +1 -1
- package/node_modules/@smithy/util-endpoints/dist-types/utils/evaluateEndpointRule.d.ts +2 -2
- package/node_modules/@smithy/util-endpoints/dist-types/utils/evaluateErrorRule.d.ts +1 -1
- package/node_modules/@smithy/util-endpoints/dist-types/utils/evaluateExpression.d.ts +1 -1
- package/node_modules/@smithy/util-endpoints/dist-types/utils/evaluateRules.d.ts +2 -2
- package/node_modules/@smithy/util-endpoints/dist-types/utils/evaluateTemplate.d.ts +1 -1
- package/node_modules/@smithy/util-endpoints/dist-types/utils/evaluateTreeRule.d.ts +2 -2
- 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 +1 -1
- package/node_modules/@smithy/util-endpoints/dist-types/utils/getEndpointProperty.d.ts +2 -2
- package/node_modules/@smithy/util-endpoints/dist-types/utils/getEndpointUrl.d.ts +1 -1
- package/node_modules/@smithy/util-endpoints/dist-types/utils/getReferenceValue.d.ts +1 -1
- package/node_modules/@smithy/util-endpoints/package.json +6 -5
- package/node_modules/@smithy/util-hex-encoding/dist-cjs/index.js +3 -3
- package/node_modules/@smithy/util-hex-encoding/package.json +5 -4
- package/node_modules/@smithy/util-middleware/dist-cjs/index.js +4 -5
- package/node_modules/@smithy/util-middleware/dist-types/getSmithyContext.d.ts +1 -1
- package/node_modules/@smithy/util-middleware/dist-types/normalizeProvider.d.ts +1 -1
- package/node_modules/@smithy/util-middleware/package.json +3 -2
- package/node_modules/@smithy/util-retry/dist-cjs/index.js +3 -3
- package/node_modules/@smithy/util-retry/dist-types/AdaptiveRetryStrategy.d.ts +2 -2
- package/node_modules/@smithy/util-retry/dist-types/DefaultRateLimiter.d.ts +1 -1
- package/node_modules/@smithy/util-retry/dist-types/StandardRetryStrategy.d.ts +1 -1
- package/node_modules/@smithy/util-retry/dist-types/defaultRetryBackoffStrategy.d.ts +1 -1
- package/node_modules/@smithy/util-retry/dist-types/defaultRetryToken.d.ts +1 -1
- package/node_modules/@smithy/util-retry/package.json +7 -4
- package/node_modules/@smithy/util-stream/dist-cjs/index.js +11 -11
- package/node_modules/@smithy/util-stream/dist-types/ByteArrayCollector.d.ts +1 -1
- package/node_modules/@smithy/util-stream/dist-types/checksum/ChecksumStream.browser.d.ts +1 -1
- package/node_modules/@smithy/util-stream/dist-types/checksum/ChecksumStream.d.ts +3 -2
- package/node_modules/@smithy/util-stream/dist-types/checksum/createChecksumStream.browser.d.ts +1 -1
- package/node_modules/@smithy/util-stream/dist-types/checksum/createChecksumStream.d.ts +3 -3
- package/node_modules/@smithy/util-stream/dist-types/getAwsChunkedEncodingStream.browser.d.ts +1 -1
- package/node_modules/@smithy/util-stream/dist-types/getAwsChunkedEncodingStream.d.ts +1 -1
- package/node_modules/@smithy/util-stream/dist-types/headStream.d.ts +1 -1
- package/node_modules/@smithy/util-stream/dist-types/sdk-stream-mixin.browser.d.ts +1 -1
- package/node_modules/@smithy/util-stream/dist-types/sdk-stream-mixin.d.ts +1 -1
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/ByteArrayCollector.d.ts +1 -1
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/checksum/ChecksumStream.d.ts +2 -1
- package/node_modules/@smithy/util-stream/package.json +13 -12
- package/node_modules/@smithy/util-uri-escape/dist-cjs/index.js +3 -3
- package/node_modules/@smithy/util-uri-escape/package.json +5 -4
- package/node_modules/@smithy/util-utf8/dist-cjs/index.js +3 -3
- package/node_modules/@smithy/util-utf8/package.json +6 -5
- package/node_modules/@smithy/util-waiter/dist-cjs/index.js +4 -5
- package/node_modules/@smithy/util-waiter/dist-types/createWaiter.d.ts +1 -1
- package/node_modules/@smithy/util-waiter/dist-types/poller.d.ts +1 -1
- package/node_modules/@smithy/util-waiter/dist-types/utils/validate.d.ts +1 -1
- package/node_modules/@smithy/util-waiter/dist-types/waiter.d.ts +1 -1
- package/node_modules/@smithy/util-waiter/package.json +4 -3
- package/node_modules/@smithy/uuid/LICENSE +201 -0
- package/node_modules/@smithy/uuid/README.md +10 -0
- package/node_modules/@smithy/uuid/dist-cjs/index.js +45 -0
- package/node_modules/@smithy/uuid/dist-cjs/randomUUID.js +6 -0
- package/node_modules/@smithy/uuid/dist-cjs/randomUUID.native.js +4 -0
- package/node_modules/@smithy/uuid/dist-es/index.js +1 -0
- package/node_modules/@smithy/uuid/dist-es/randomUUID.browser.js +1 -0
- package/node_modules/@smithy/uuid/dist-es/randomUUID.js +2 -0
- package/node_modules/@smithy/uuid/dist-es/randomUUID.native.js +1 -0
- package/node_modules/@smithy/uuid/dist-es/v4.js +31 -0
- package/node_modules/@smithy/uuid/dist-types/index.d.ts +1 -0
- package/node_modules/@smithy/uuid/dist-types/randomUUID.browser.d.ts +1 -0
- package/node_modules/@smithy/uuid/dist-types/randomUUID.d.ts +2 -0
- package/node_modules/@smithy/uuid/dist-types/randomUUID.native.d.ts +1 -0
- package/node_modules/@smithy/uuid/dist-types/ts3.4/index.d.ts +1 -0
- package/node_modules/@smithy/uuid/dist-types/ts3.4/randomUUID.browser.d.ts +1 -0
- package/node_modules/@smithy/uuid/dist-types/ts3.4/randomUUID.d.ts +2 -0
- package/node_modules/@smithy/uuid/dist-types/ts3.4/randomUUID.native.d.ts +1 -0
- package/node_modules/@smithy/uuid/dist-types/ts3.4/v4.d.ts +19 -0
- package/node_modules/@smithy/uuid/dist-types/v4.d.ts +19 -0
- package/node_modules/@smithy/uuid/package.json +66 -0
- package/node_modules/axios/CHANGELOG.md +58 -0
- package/node_modules/axios/README.md +87 -10
- package/node_modules/axios/dist/axios.js +355 -289
- package/node_modules/axios/dist/axios.js.map +1 -1
- package/node_modules/axios/dist/axios.min.js +2 -2
- package/node_modules/axios/dist/axios.min.js.map +1 -1
- package/node_modules/axios/dist/browser/axios.cjs +286 -213
- package/node_modules/axios/dist/browser/axios.cjs.map +1 -1
- package/node_modules/axios/dist/esm/axios.js +286 -213
- package/node_modules/axios/dist/esm/axios.js.map +1 -1
- package/node_modules/axios/dist/esm/axios.min.js +2 -2
- package/node_modules/axios/dist/esm/axios.min.js.map +1 -1
- package/node_modules/axios/dist/node/axios.cjs +377 -213
- package/node_modules/axios/dist/node/axios.cjs.map +1 -1
- package/node_modules/axios/index.d.cts +12 -5
- package/node_modules/axios/index.d.ts +13 -4
- package/node_modules/axios/lib/adapters/adapters.js +6 -4
- package/node_modules/axios/lib/adapters/fetch.js +221 -162
- package/node_modules/axios/lib/adapters/http.js +18 -0
- package/node_modules/axios/lib/adapters/xhr.js +11 -8
- package/node_modules/axios/lib/core/Axios.js +0 -2
- package/node_modules/axios/lib/core/AxiosError.js +10 -3
- package/node_modules/axios/lib/core/dispatchRequest.js +1 -1
- package/node_modules/axios/lib/defaults/index.js +1 -1
- package/node_modules/axios/lib/env/data.js +1 -1
- package/node_modules/axios/lib/helpers/buildURL.js +1 -3
- package/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js +73 -0
- package/node_modules/axios/lib/helpers/resolveConfig.js +13 -9
- package/node_modules/axios/lib/utils.js +5 -3
- package/node_modules/axios/package.json +18 -12
- package/node_modules/cdk-nag/.jsii +4 -4
- package/node_modules/cdk-nag/README.md +1 -1
- package/node_modules/cdk-nag/lib/ignore-suppression-conditions.js +5 -5
- package/node_modules/cdk-nag/lib/nag-logger.js +2 -2
- package/node_modules/cdk-nag/lib/nag-pack.js +1 -1
- package/node_modules/cdk-nag/lib/nag-rules.js +1 -1
- package/node_modules/cdk-nag/lib/nag-suppressions.js +1 -1
- package/node_modules/cdk-nag/lib/packs/aws-solutions.js +1 -1
- package/node_modules/cdk-nag/lib/packs/hipaa-security.js +1 -1
- package/node_modules/cdk-nag/lib/packs/nist-800-53-r4.js +1 -1
- package/node_modules/cdk-nag/lib/packs/nist-800-53-r5.js +1 -1
- package/node_modules/cdk-nag/lib/packs/pci-dss-321.js +1 -1
- package/node_modules/cdk-nag/lib/packs/serverless.js +1 -1
- package/node_modules/cdk-nag/package.json +4 -4
- package/package.json +1 -1
- package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/getHttpAuthSchemeEndpointRuleSetPlugin.js +0 -1
- package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/getHttpAuthSchemePlugin.js +0 -1
- package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/httpAuthSchemeMiddleware.js +0 -1
- package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/index.js +0 -1
- package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/resolveAuthOptions.js +0 -1
- package/node_modules/@smithy/core/dist-cjs/middleware-http-signing/getHttpSigningMiddleware.js +0 -1
- package/node_modules/@smithy/core/dist-cjs/middleware-http-signing/httpSigningMiddleware.js +0 -1
- package/node_modules/@smithy/core/dist-cjs/middleware-http-signing/index.js +0 -1
- package/node_modules/@smithy/core/dist-cjs/pagination/createPaginator.js +0 -1
- package/node_modules/@smithy/core/dist-cjs/protocols/requestBuilder.js +0 -1
- package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/DefaultIdentityProviderConfig.js +0 -1
- package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/httpAuthSchemes/httpApiKeyAuth.js +0 -1
- package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/httpAuthSchemes/httpBearerAuth.js +0 -1
- package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/httpAuthSchemes/index.js +0 -1
- package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/httpAuthSchemes/noAuth.js +0 -1
- package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/index.js +0 -1
- package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/memoizeIdentityProvider.js +0 -1
- package/node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/createConfigValueProvider.js +0 -1
- package/node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/getEndpointFromInstructions.js +0 -1
- package/node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/index.js +0 -1
- package/node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/toEndpointV1.js +0 -1
- package/node_modules/@smithy/middleware-endpoint/dist-cjs/endpointMiddleware.js +0 -1
- package/node_modules/@smithy/middleware-endpoint/dist-cjs/getEndpointPlugin.js +0 -1
- package/node_modules/@smithy/middleware-endpoint/dist-cjs/resolveEndpointConfig.js +0 -1
- package/node_modules/@smithy/middleware-endpoint/dist-cjs/resolveEndpointRequiredConfig.js +0 -1
- package/node_modules/@smithy/middleware-endpoint/dist-cjs/service-customizations/index.js +0 -1
- package/node_modules/@smithy/middleware-endpoint/dist-cjs/service-customizations/s3.js +0 -1
- package/node_modules/@smithy/middleware-endpoint/dist-cjs/types.js +0 -1
- package/node_modules/@smithy/middleware-retry/dist-cjs/AdaptiveRetryStrategy.js +0 -1
- package/node_modules/@smithy/middleware-retry/dist-cjs/StandardRetryStrategy.js +0 -1
- package/node_modules/@smithy/middleware-retry/dist-cjs/configurations.js +0 -1
- package/node_modules/@smithy/middleware-retry/dist-cjs/defaultRetryQuota.js +0 -1
- package/node_modules/@smithy/middleware-retry/dist-cjs/delayDecider.js +0 -1
- package/node_modules/@smithy/middleware-retry/dist-cjs/omitRetryHeadersMiddleware.js +0 -1
- package/node_modules/@smithy/middleware-retry/dist-cjs/retryDecider.js +0 -1
- package/node_modules/@smithy/middleware-retry/dist-cjs/retryMiddleware.js +0 -1
- package/node_modules/@smithy/middleware-retry/dist-cjs/types.js +0 -1
- package/node_modules/@smithy/middleware-retry/dist-cjs/util.js +0 -1
- package/node_modules/@smithy/smithy-client/dist-cjs/NoOpLogger.js +0 -1
- package/node_modules/@smithy/smithy-client/dist-cjs/client.js +0 -1
- package/node_modules/@smithy/smithy-client/dist-cjs/collect-stream-body.js +0 -1
- package/node_modules/@smithy/smithy-client/dist-cjs/command.js +0 -1
- package/node_modules/@smithy/smithy-client/dist-cjs/constants.js +0 -1
- package/node_modules/@smithy/smithy-client/dist-cjs/create-aggregated-client.js +0 -1
- package/node_modules/@smithy/smithy-client/dist-cjs/default-error-handler.js +0 -1
- package/node_modules/@smithy/smithy-client/dist-cjs/defaults-mode.js +0 -1
- package/node_modules/@smithy/smithy-client/dist-cjs/emitWarningIfUnsupportedVersion.js +0 -1
- package/node_modules/@smithy/smithy-client/dist-cjs/exceptions.js +0 -1
- package/node_modules/@smithy/smithy-client/dist-cjs/extended-encode-uri-component.js +0 -1
- package/node_modules/@smithy/smithy-client/dist-cjs/extensions/checksum.js +0 -1
- package/node_modules/@smithy/smithy-client/dist-cjs/extensions/defaultExtensionConfiguration.js +0 -1
- package/node_modules/@smithy/smithy-client/dist-cjs/extensions/index.js +0 -1
- package/node_modules/@smithy/smithy-client/dist-cjs/extensions/retry.js +0 -1
- package/node_modules/@smithy/smithy-client/dist-cjs/get-array-if-single-item.js +0 -1
- package/node_modules/@smithy/smithy-client/dist-cjs/get-value-from-text-node.js +0 -1
- package/node_modules/@smithy/smithy-client/dist-cjs/is-serializable-header-value.js +0 -1
- package/node_modules/@smithy/smithy-client/dist-cjs/object-mapping.js +0 -1
- package/node_modules/@smithy/smithy-client/dist-cjs/resolve-path.js +0 -1
- package/node_modules/@smithy/smithy-client/dist-cjs/ser-utils.js +0 -1
- package/node_modules/@smithy/smithy-client/dist-cjs/serde-json.js +0 -1
- package/node_modules/@smithy/util-defaults-mode-node/dist-cjs/constants.js +0 -1
- package/node_modules/@smithy/util-defaults-mode-node/dist-cjs/defaultsModeConfig.js +0 -1
- package/node_modules/@smithy/util-defaults-mode-node/dist-cjs/resolveDefaultsModeConfig.js +0 -1
- package/node_modules/@types/uuid/LICENSE +0 -21
- package/node_modules/@types/uuid/README.md +0 -15
- package/node_modules/@types/uuid/index.d.mts +0 -12
- package/node_modules/@types/uuid/index.d.ts +0 -86
- package/node_modules/@types/uuid/package.json +0 -54
- /package/node_modules/@smithy/{core/dist-cjs/getSmithyContext.js → shared-ini-file-loader/dist-cjs/externalDataInterceptor.js} +0 -0
- /package/node_modules/@smithy/{core/dist-cjs/normalizeProvider.js → uuid/dist-cjs/randomUUID.browser.js} +0 -0
- /package/node_modules/@smithy/{core/dist-cjs/setFeature.js → uuid/dist-cjs/v4.js} +0 -0
|
@@ -28,6 +28,7 @@ __export(index_exports, {
|
|
|
28
28
|
AwsQueryProtocol: () => AwsQueryProtocol,
|
|
29
29
|
AwsRestJsonProtocol: () => AwsRestJsonProtocol,
|
|
30
30
|
AwsRestXmlProtocol: () => AwsRestXmlProtocol,
|
|
31
|
+
AwsSmithyRpcV2CborProtocol: () => AwsSmithyRpcV2CborProtocol,
|
|
31
32
|
JsonCodec: () => JsonCodec,
|
|
32
33
|
JsonShapeDeserializer: () => JsonShapeDeserializer,
|
|
33
34
|
JsonShapeSerializer: () => JsonShapeSerializer,
|
|
@@ -47,6 +48,186 @@ __export(index_exports, {
|
|
|
47
48
|
});
|
|
48
49
|
module.exports = __toCommonJS(index_exports);
|
|
49
50
|
|
|
51
|
+
// src/submodules/protocols/cbor/AwsSmithyRpcV2CborProtocol.ts
|
|
52
|
+
var import_cbor = require("@smithy/core/cbor");
|
|
53
|
+
var import_schema2 = require("@smithy/core/schema");
|
|
54
|
+
|
|
55
|
+
// src/submodules/protocols/ProtocolLib.ts
|
|
56
|
+
var import_schema = require("@smithy/core/schema");
|
|
57
|
+
var ProtocolLib = class {
|
|
58
|
+
static {
|
|
59
|
+
__name(this, "ProtocolLib");
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* This is only for REST protocols.
|
|
63
|
+
*
|
|
64
|
+
* @param defaultContentType - of the protocol.
|
|
65
|
+
* @param inputSchema - schema for which to determine content type.
|
|
66
|
+
*
|
|
67
|
+
* @returns content-type header value or undefined when not applicable.
|
|
68
|
+
*/
|
|
69
|
+
resolveRestContentType(defaultContentType, inputSchema) {
|
|
70
|
+
const members = inputSchema.getMemberSchemas();
|
|
71
|
+
const httpPayloadMember = Object.values(members).find((m) => {
|
|
72
|
+
return !!m.getMergedTraits().httpPayload;
|
|
73
|
+
});
|
|
74
|
+
if (httpPayloadMember) {
|
|
75
|
+
const mediaType = httpPayloadMember.getMergedTraits().mediaType;
|
|
76
|
+
if (mediaType) {
|
|
77
|
+
return mediaType;
|
|
78
|
+
} else if (httpPayloadMember.isStringSchema()) {
|
|
79
|
+
return "text/plain";
|
|
80
|
+
} else if (httpPayloadMember.isBlobSchema()) {
|
|
81
|
+
return "application/octet-stream";
|
|
82
|
+
} else {
|
|
83
|
+
return defaultContentType;
|
|
84
|
+
}
|
|
85
|
+
} else if (!inputSchema.isUnitSchema()) {
|
|
86
|
+
const hasBody = Object.values(members).find((m) => {
|
|
87
|
+
const { httpQuery, httpQueryParams, httpHeader, httpLabel, httpPrefixHeaders } = m.getMergedTraits();
|
|
88
|
+
const noPrefixHeaders = httpPrefixHeaders === void 0;
|
|
89
|
+
return !httpQuery && !httpQueryParams && !httpHeader && !httpLabel && noPrefixHeaders;
|
|
90
|
+
});
|
|
91
|
+
if (hasBody) {
|
|
92
|
+
return defaultContentType;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
* Shared code for finding error schema or throwing an unmodeled base error.
|
|
98
|
+
* @returns error schema and error metadata.
|
|
99
|
+
*
|
|
100
|
+
* @throws ServiceBaseException or generic Error if no error schema could be found.
|
|
101
|
+
*/
|
|
102
|
+
async getErrorSchemaOrThrowBaseException(errorIdentifier, defaultNamespace, response, dataObject, metadata, getErrorSchema) {
|
|
103
|
+
let namespace = defaultNamespace;
|
|
104
|
+
let errorName = errorIdentifier;
|
|
105
|
+
if (errorIdentifier.includes("#")) {
|
|
106
|
+
[namespace, errorName] = errorIdentifier.split("#");
|
|
107
|
+
}
|
|
108
|
+
const errorMetadata = {
|
|
109
|
+
$metadata: metadata,
|
|
110
|
+
$response: response,
|
|
111
|
+
$fault: response.statusCode < 500 ? "client" : "server"
|
|
112
|
+
};
|
|
113
|
+
const registry = import_schema.TypeRegistry.for(namespace);
|
|
114
|
+
try {
|
|
115
|
+
const errorSchema = getErrorSchema?.(registry, errorName) ?? registry.getSchema(errorIdentifier);
|
|
116
|
+
return { errorSchema, errorMetadata };
|
|
117
|
+
} catch (e) {
|
|
118
|
+
dataObject.message = dataObject.message ?? dataObject.Message ?? "UnknownError";
|
|
119
|
+
const synthetic = import_schema.TypeRegistry.for("smithy.ts.sdk.synthetic." + namespace);
|
|
120
|
+
const baseExceptionSchema = synthetic.getBaseException();
|
|
121
|
+
if (baseExceptionSchema) {
|
|
122
|
+
const ErrorCtor = synthetic.getErrorCtor(baseExceptionSchema) ?? Error;
|
|
123
|
+
throw Object.assign(new ErrorCtor({ name: errorName }), errorMetadata, dataObject);
|
|
124
|
+
}
|
|
125
|
+
throw Object.assign(new Error(errorName), errorMetadata, dataObject);
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
/**
|
|
129
|
+
* Reads the x-amzn-query-error header for awsQuery compatibility.
|
|
130
|
+
*
|
|
131
|
+
* @param output - values that will be assigned to an error object.
|
|
132
|
+
* @param response - from which to read awsQueryError headers.
|
|
133
|
+
*/
|
|
134
|
+
setQueryCompatError(output, response) {
|
|
135
|
+
const queryErrorHeader = response.headers?.["x-amzn-query-error"];
|
|
136
|
+
if (output !== void 0 && queryErrorHeader != null) {
|
|
137
|
+
const [Code, Type] = queryErrorHeader.split(";");
|
|
138
|
+
const entries = Object.entries(output);
|
|
139
|
+
const Error2 = {
|
|
140
|
+
Code,
|
|
141
|
+
Type
|
|
142
|
+
};
|
|
143
|
+
Object.assign(output, Error2);
|
|
144
|
+
for (const [k, v] of entries) {
|
|
145
|
+
Error2[k] = v;
|
|
146
|
+
}
|
|
147
|
+
delete Error2.__type;
|
|
148
|
+
output.Error = Error2;
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
/**
|
|
152
|
+
* Assigns Error, Type, Code from the awsQuery error object to the output error object.
|
|
153
|
+
* @param queryCompatErrorData - query compat error object.
|
|
154
|
+
* @param errorData - canonical error object returned to the caller.
|
|
155
|
+
*/
|
|
156
|
+
queryCompatOutput(queryCompatErrorData, errorData) {
|
|
157
|
+
if (queryCompatErrorData.Error) {
|
|
158
|
+
errorData.Error = queryCompatErrorData.Error;
|
|
159
|
+
}
|
|
160
|
+
if (queryCompatErrorData.Type) {
|
|
161
|
+
errorData.Type = queryCompatErrorData.Type;
|
|
162
|
+
}
|
|
163
|
+
if (queryCompatErrorData.Code) {
|
|
164
|
+
errorData.Code = queryCompatErrorData.Code;
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
};
|
|
168
|
+
|
|
169
|
+
// src/submodules/protocols/cbor/AwsSmithyRpcV2CborProtocol.ts
|
|
170
|
+
var AwsSmithyRpcV2CborProtocol = class extends import_cbor.SmithyRpcV2CborProtocol {
|
|
171
|
+
static {
|
|
172
|
+
__name(this, "AwsSmithyRpcV2CborProtocol");
|
|
173
|
+
}
|
|
174
|
+
awsQueryCompatible;
|
|
175
|
+
mixin = new ProtocolLib();
|
|
176
|
+
constructor({
|
|
177
|
+
defaultNamespace,
|
|
178
|
+
awsQueryCompatible
|
|
179
|
+
}) {
|
|
180
|
+
super({ defaultNamespace });
|
|
181
|
+
this.awsQueryCompatible = !!awsQueryCompatible;
|
|
182
|
+
}
|
|
183
|
+
/**
|
|
184
|
+
* @override
|
|
185
|
+
*/
|
|
186
|
+
async serializeRequest(operationSchema, input, context) {
|
|
187
|
+
const request = await super.serializeRequest(operationSchema, input, context);
|
|
188
|
+
if (this.awsQueryCompatible) {
|
|
189
|
+
request.headers["x-amzn-query-mode"] = "true";
|
|
190
|
+
}
|
|
191
|
+
return request;
|
|
192
|
+
}
|
|
193
|
+
/**
|
|
194
|
+
* @override
|
|
195
|
+
*/
|
|
196
|
+
async handleError(operationSchema, context, response, dataObject, metadata) {
|
|
197
|
+
if (this.awsQueryCompatible) {
|
|
198
|
+
this.mixin.setQueryCompatError(dataObject, response);
|
|
199
|
+
}
|
|
200
|
+
const errorName = (0, import_cbor.loadSmithyRpcV2CborErrorCode)(response, dataObject) ?? "Unknown";
|
|
201
|
+
const { errorSchema, errorMetadata } = await this.mixin.getErrorSchemaOrThrowBaseException(
|
|
202
|
+
errorName,
|
|
203
|
+
this.options.defaultNamespace,
|
|
204
|
+
response,
|
|
205
|
+
dataObject,
|
|
206
|
+
metadata
|
|
207
|
+
);
|
|
208
|
+
const ns = import_schema2.NormalizedSchema.of(errorSchema);
|
|
209
|
+
const message = dataObject.message ?? dataObject.Message ?? "Unknown";
|
|
210
|
+
const ErrorCtor = import_schema2.TypeRegistry.for(errorSchema.namespace).getErrorCtor(errorSchema) ?? Error;
|
|
211
|
+
const exception = new ErrorCtor(message);
|
|
212
|
+
const output = {};
|
|
213
|
+
for (const [name, member] of ns.structIterator()) {
|
|
214
|
+
output[name] = this.deserializer.readValue(member, dataObject[name]);
|
|
215
|
+
}
|
|
216
|
+
if (this.awsQueryCompatible) {
|
|
217
|
+
this.mixin.queryCompatOutput(dataObject, output);
|
|
218
|
+
}
|
|
219
|
+
throw Object.assign(
|
|
220
|
+
exception,
|
|
221
|
+
errorMetadata,
|
|
222
|
+
{
|
|
223
|
+
$fault: ns.getMergedTraits().error,
|
|
224
|
+
message
|
|
225
|
+
},
|
|
226
|
+
output
|
|
227
|
+
);
|
|
228
|
+
}
|
|
229
|
+
};
|
|
230
|
+
|
|
50
231
|
// src/submodules/protocols/coercing-serializers.ts
|
|
51
232
|
var _toStr = /* @__PURE__ */ __name((val) => {
|
|
52
233
|
if (val == null) {
|
|
@@ -103,9 +284,8 @@ var _toNum = /* @__PURE__ */ __name((val) => {
|
|
|
103
284
|
}, "_toNum");
|
|
104
285
|
|
|
105
286
|
// src/submodules/protocols/json/AwsJsonRpcProtocol.ts
|
|
106
|
-
var
|
|
107
|
-
var
|
|
108
|
-
var import_util_body_length_browser = require("@smithy/util-body-length-browser");
|
|
287
|
+
var import_protocols3 = require("@smithy/core/protocols");
|
|
288
|
+
var import_schema5 = require("@smithy/core/schema");
|
|
109
289
|
|
|
110
290
|
// src/submodules/protocols/ConfigurableSerdeContext.ts
|
|
111
291
|
var SerdeContextConfig = class {
|
|
@@ -119,7 +299,8 @@ var SerdeContextConfig = class {
|
|
|
119
299
|
};
|
|
120
300
|
|
|
121
301
|
// src/submodules/protocols/json/JsonShapeDeserializer.ts
|
|
122
|
-
var
|
|
302
|
+
var import_protocols = require("@smithy/core/protocols");
|
|
303
|
+
var import_schema3 = require("@smithy/core/schema");
|
|
123
304
|
var import_serde2 = require("@smithy/core/serde");
|
|
124
305
|
var import_util_base64 = require("@smithy/util-base64");
|
|
125
306
|
|
|
@@ -145,7 +326,8 @@ __name(jsonReviver, "jsonReviver");
|
|
|
145
326
|
|
|
146
327
|
// src/submodules/protocols/common.ts
|
|
147
328
|
var import_smithy_client = require("@smithy/smithy-client");
|
|
148
|
-
var
|
|
329
|
+
var import_util_utf8 = require("@smithy/util-utf8");
|
|
330
|
+
var collectBodyString = /* @__PURE__ */ __name((streamBody, context) => (0, import_smithy_client.collectBody)(streamBody, context).then((body) => (context?.utf8Encoder ?? import_util_utf8.toUtf8)(body)), "collectBodyString");
|
|
149
331
|
|
|
150
332
|
// src/submodules/protocols/json/parseJsonBody.ts
|
|
151
333
|
var parseJsonBody = /* @__PURE__ */ __name((streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
@@ -221,7 +403,7 @@ var JsonShapeDeserializer = class extends SerdeContextConfig {
|
|
|
221
403
|
}
|
|
222
404
|
_read(schema, value) {
|
|
223
405
|
const isObject = value !== null && typeof value === "object";
|
|
224
|
-
const ns =
|
|
406
|
+
const ns = import_schema3.NormalizedSchema.of(schema);
|
|
225
407
|
if (ns.isListSchema() && Array.isArray(value)) {
|
|
226
408
|
const listMember = ns.getValueSchema();
|
|
227
409
|
const out = [];
|
|
@@ -263,15 +445,14 @@ var JsonShapeDeserializer = class extends SerdeContextConfig {
|
|
|
263
445
|
return import_serde2.LazyJsonString.from(value);
|
|
264
446
|
}
|
|
265
447
|
}
|
|
266
|
-
if (ns.isTimestampSchema()) {
|
|
267
|
-
const
|
|
268
|
-
const format = options.useTrait ? ns.getSchema() === import_schema.SCHEMA.TIMESTAMP_DEFAULT ? options.default : ns.getSchema() ?? options.default : options.default;
|
|
448
|
+
if (ns.isTimestampSchema() && value != null) {
|
|
449
|
+
const format = (0, import_protocols.determineTimestampFormat)(ns, this.settings);
|
|
269
450
|
switch (format) {
|
|
270
|
-
case
|
|
451
|
+
case import_schema3.SCHEMA.TIMESTAMP_DATE_TIME:
|
|
271
452
|
return (0, import_serde2.parseRfc3339DateTimeWithOffset)(value);
|
|
272
|
-
case
|
|
453
|
+
case import_schema3.SCHEMA.TIMESTAMP_HTTP_DATE:
|
|
273
454
|
return (0, import_serde2.parseRfc7231DateTime)(value);
|
|
274
|
-
case
|
|
455
|
+
case import_schema3.SCHEMA.TIMESTAMP_EPOCH_SECONDS:
|
|
275
456
|
return (0, import_serde2.parseEpochTimestamp)(value);
|
|
276
457
|
default:
|
|
277
458
|
console.warn("Missing timestamp format, parsing value with Date constructor:", value);
|
|
@@ -285,6 +466,10 @@ var JsonShapeDeserializer = class extends SerdeContextConfig {
|
|
|
285
466
|
if (value instanceof import_serde2.NumericValue) {
|
|
286
467
|
return value;
|
|
287
468
|
}
|
|
469
|
+
const untyped = value;
|
|
470
|
+
if (untyped.type === "bigDecimal" && "string" in untyped) {
|
|
471
|
+
return new import_serde2.NumericValue(untyped.string, untyped.type);
|
|
472
|
+
}
|
|
288
473
|
return new import_serde2.NumericValue(String(value), "bigDecimal");
|
|
289
474
|
}
|
|
290
475
|
if (ns.isNumericSchema() && typeof value === "string") {
|
|
@@ -297,13 +482,30 @@ var JsonShapeDeserializer = class extends SerdeContextConfig {
|
|
|
297
482
|
return NaN;
|
|
298
483
|
}
|
|
299
484
|
}
|
|
485
|
+
if (ns.isDocumentSchema()) {
|
|
486
|
+
if (isObject) {
|
|
487
|
+
const out = Array.isArray(value) ? [] : {};
|
|
488
|
+
for (const [k, v] of Object.entries(value)) {
|
|
489
|
+
if (v instanceof import_serde2.NumericValue) {
|
|
490
|
+
out[k] = v;
|
|
491
|
+
} else {
|
|
492
|
+
out[k] = this._read(ns, v);
|
|
493
|
+
}
|
|
494
|
+
}
|
|
495
|
+
return out;
|
|
496
|
+
} else {
|
|
497
|
+
return structuredClone(value);
|
|
498
|
+
}
|
|
499
|
+
}
|
|
300
500
|
return value;
|
|
301
501
|
}
|
|
302
502
|
};
|
|
303
503
|
|
|
304
504
|
// src/submodules/protocols/json/JsonShapeSerializer.ts
|
|
305
|
-
var
|
|
505
|
+
var import_protocols2 = require("@smithy/core/protocols");
|
|
506
|
+
var import_schema4 = require("@smithy/core/schema");
|
|
306
507
|
var import_serde4 = require("@smithy/core/serde");
|
|
508
|
+
var import_util_base642 = require("@smithy/util-base64");
|
|
307
509
|
|
|
308
510
|
// src/submodules/protocols/json/jsonReplacer.ts
|
|
309
511
|
var import_serde3 = require("@smithy/core/serde");
|
|
@@ -378,11 +580,22 @@ var JsonShapeSerializer = class extends SerdeContextConfig {
|
|
|
378
580
|
buffer;
|
|
379
581
|
rootSchema;
|
|
380
582
|
write(schema, value) {
|
|
381
|
-
this.rootSchema =
|
|
583
|
+
this.rootSchema = import_schema4.NormalizedSchema.of(schema);
|
|
382
584
|
this.buffer = this._write(this.rootSchema, value);
|
|
383
585
|
}
|
|
586
|
+
/**
|
|
587
|
+
* @internal
|
|
588
|
+
*/
|
|
589
|
+
writeDiscriminatedDocument(schema, value) {
|
|
590
|
+
this.write(schema, value);
|
|
591
|
+
if (typeof this.buffer === "object") {
|
|
592
|
+
this.buffer.__type = import_schema4.NormalizedSchema.of(schema).getName(true);
|
|
593
|
+
}
|
|
594
|
+
}
|
|
384
595
|
flush() {
|
|
385
|
-
|
|
596
|
+
const { rootSchema } = this;
|
|
597
|
+
this.rootSchema = void 0;
|
|
598
|
+
if (rootSchema?.isStructSchema() || rootSchema?.isDocumentSchema()) {
|
|
386
599
|
const replacer = new JsonReplacer();
|
|
387
600
|
return replacer.replaceInJson(JSON.stringify(this.buffer, replacer.createReplacer(), 0));
|
|
388
601
|
}
|
|
@@ -390,7 +603,7 @@ var JsonShapeSerializer = class extends SerdeContextConfig {
|
|
|
390
603
|
}
|
|
391
604
|
_write(schema, value, container) {
|
|
392
605
|
const isObject = value !== null && typeof value === "object";
|
|
393
|
-
const ns =
|
|
606
|
+
const ns = import_schema4.NormalizedSchema.of(schema);
|
|
394
607
|
if (ns.isListSchema() && Array.isArray(value)) {
|
|
395
608
|
const listMember = ns.getValueSchema();
|
|
396
609
|
const out = [];
|
|
@@ -425,24 +638,23 @@ var JsonShapeSerializer = class extends SerdeContextConfig {
|
|
|
425
638
|
if (value === null && container?.isStructSchema()) {
|
|
426
639
|
return void 0;
|
|
427
640
|
}
|
|
428
|
-
if (ns.isBlobSchema() && (value instanceof Uint8Array || typeof value === "string")) {
|
|
641
|
+
if (ns.isBlobSchema() && (value instanceof Uint8Array || typeof value === "string") || ns.isDocumentSchema() && value instanceof Uint8Array) {
|
|
429
642
|
if (ns === this.rootSchema) {
|
|
430
643
|
return value;
|
|
431
644
|
}
|
|
432
645
|
if (!this.serdeContext?.base64Encoder) {
|
|
433
|
-
|
|
646
|
+
return (0, import_util_base642.toBase64)(value);
|
|
434
647
|
}
|
|
435
648
|
return this.serdeContext?.base64Encoder(value);
|
|
436
649
|
}
|
|
437
|
-
if (ns.isTimestampSchema() && value instanceof Date) {
|
|
438
|
-
const
|
|
439
|
-
const format = options.useTrait ? ns.getSchema() === import_schema2.SCHEMA.TIMESTAMP_DEFAULT ? options.default : ns.getSchema() ?? options.default : options.default;
|
|
650
|
+
if ((ns.isTimestampSchema() || ns.isDocumentSchema()) && value instanceof Date) {
|
|
651
|
+
const format = (0, import_protocols2.determineTimestampFormat)(ns, this.settings);
|
|
440
652
|
switch (format) {
|
|
441
|
-
case
|
|
653
|
+
case import_schema4.SCHEMA.TIMESTAMP_DATE_TIME:
|
|
442
654
|
return value.toISOString().replace(".000Z", "Z");
|
|
443
|
-
case
|
|
655
|
+
case import_schema4.SCHEMA.TIMESTAMP_HTTP_DATE:
|
|
444
656
|
return (0, import_serde4.dateToUtcString)(value);
|
|
445
|
-
case
|
|
657
|
+
case import_schema4.SCHEMA.TIMESTAMP_EPOCH_SECONDS:
|
|
446
658
|
return value.getTime() / 1e3;
|
|
447
659
|
default:
|
|
448
660
|
console.warn("Missing timestamp format, using epoch seconds", value);
|
|
@@ -459,13 +671,28 @@ var JsonShapeSerializer = class extends SerdeContextConfig {
|
|
|
459
671
|
return (0, import_serde4.generateIdempotencyToken)();
|
|
460
672
|
}
|
|
461
673
|
const mediaType = ns.getMergedTraits().mediaType;
|
|
462
|
-
if (
|
|
674
|
+
if (value != null && mediaType) {
|
|
463
675
|
const isJson = mediaType === "application/json" || mediaType.endsWith("+json");
|
|
464
676
|
if (isJson) {
|
|
465
677
|
return import_serde4.LazyJsonString.from(value);
|
|
466
678
|
}
|
|
467
679
|
}
|
|
468
680
|
}
|
|
681
|
+
if (ns.isDocumentSchema()) {
|
|
682
|
+
if (isObject) {
|
|
683
|
+
const out = Array.isArray(value) ? [] : {};
|
|
684
|
+
for (const [k, v] of Object.entries(value)) {
|
|
685
|
+
if (v instanceof import_serde4.NumericValue) {
|
|
686
|
+
out[k] = v;
|
|
687
|
+
} else {
|
|
688
|
+
out[k] = this._write(ns, v);
|
|
689
|
+
}
|
|
690
|
+
}
|
|
691
|
+
return out;
|
|
692
|
+
} else {
|
|
693
|
+
return structuredClone(value);
|
|
694
|
+
}
|
|
695
|
+
}
|
|
469
696
|
return value;
|
|
470
697
|
}
|
|
471
698
|
};
|
|
@@ -492,7 +719,7 @@ var JsonCodec = class extends SerdeContextConfig {
|
|
|
492
719
|
};
|
|
493
720
|
|
|
494
721
|
// src/submodules/protocols/json/AwsJsonRpcProtocol.ts
|
|
495
|
-
var AwsJsonRpcProtocol = class extends
|
|
722
|
+
var AwsJsonRpcProtocol = class extends import_protocols3.RpcProtocol {
|
|
496
723
|
static {
|
|
497
724
|
__name(this, "AwsJsonRpcProtocol");
|
|
498
725
|
}
|
|
@@ -500,7 +727,13 @@ var AwsJsonRpcProtocol = class extends import_protocols.RpcProtocol {
|
|
|
500
727
|
deserializer;
|
|
501
728
|
serviceTarget;
|
|
502
729
|
codec;
|
|
503
|
-
|
|
730
|
+
mixin = new ProtocolLib();
|
|
731
|
+
awsQueryCompatible;
|
|
732
|
+
constructor({
|
|
733
|
+
defaultNamespace,
|
|
734
|
+
serviceTarget,
|
|
735
|
+
awsQueryCompatible
|
|
736
|
+
}) {
|
|
504
737
|
super({
|
|
505
738
|
defaultNamespace
|
|
506
739
|
});
|
|
@@ -508,12 +741,13 @@ var AwsJsonRpcProtocol = class extends import_protocols.RpcProtocol {
|
|
|
508
741
|
this.codec = new JsonCodec({
|
|
509
742
|
timestampFormat: {
|
|
510
743
|
useTrait: true,
|
|
511
|
-
default:
|
|
744
|
+
default: import_schema5.SCHEMA.TIMESTAMP_EPOCH_SECONDS
|
|
512
745
|
},
|
|
513
746
|
jsonName: false
|
|
514
747
|
});
|
|
515
748
|
this.serializer = this.codec.createSerializer();
|
|
516
749
|
this.deserializer = this.codec.createDeserializer();
|
|
750
|
+
this.awsQueryCompatible = !!awsQueryCompatible;
|
|
517
751
|
}
|
|
518
752
|
async serializeRequest(operationSchema, input, context) {
|
|
519
753
|
const request = await super.serializeRequest(operationSchema, input, context);
|
|
@@ -522,14 +756,13 @@ var AwsJsonRpcProtocol = class extends import_protocols.RpcProtocol {
|
|
|
522
756
|
}
|
|
523
757
|
Object.assign(request.headers, {
|
|
524
758
|
"content-type": `application/x-amz-json-${this.getJsonRpcVersion()}`,
|
|
525
|
-
"x-amz-target": `${this.serviceTarget}.${
|
|
759
|
+
"x-amz-target": `${this.serviceTarget}.${import_schema5.NormalizedSchema.of(operationSchema).getName()}`
|
|
526
760
|
});
|
|
527
|
-
if (
|
|
528
|
-
request.
|
|
761
|
+
if (this.awsQueryCompatible) {
|
|
762
|
+
request.headers["x-amzn-query-mode"] = "true";
|
|
529
763
|
}
|
|
530
|
-
|
|
531
|
-
request.
|
|
532
|
-
} catch (e) {
|
|
764
|
+
if ((0, import_schema5.deref)(operationSchema.input) === "unit" || !request.body) {
|
|
765
|
+
request.body = "{}";
|
|
533
766
|
}
|
|
534
767
|
return request;
|
|
535
768
|
}
|
|
@@ -537,41 +770,38 @@ var AwsJsonRpcProtocol = class extends import_protocols.RpcProtocol {
|
|
|
537
770
|
return this.codec;
|
|
538
771
|
}
|
|
539
772
|
async handleError(operationSchema, context, response, dataObject, metadata) {
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
let errorName = errorIdentifier;
|
|
543
|
-
if (errorIdentifier.includes("#")) {
|
|
544
|
-
[namespace, errorName] = errorIdentifier.split("#");
|
|
773
|
+
if (this.awsQueryCompatible) {
|
|
774
|
+
this.mixin.setQueryCompatError(dataObject, response);
|
|
545
775
|
}
|
|
546
|
-
const
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
}
|
|
556
|
-
throw new Error(errorName);
|
|
557
|
-
}
|
|
558
|
-
const ns = import_schema3.NormalizedSchema.of(errorSchema);
|
|
776
|
+
const errorIdentifier = loadRestJsonErrorCode(response, dataObject) ?? "Unknown";
|
|
777
|
+
const { errorSchema, errorMetadata } = await this.mixin.getErrorSchemaOrThrowBaseException(
|
|
778
|
+
errorIdentifier,
|
|
779
|
+
this.options.defaultNamespace,
|
|
780
|
+
response,
|
|
781
|
+
dataObject,
|
|
782
|
+
metadata
|
|
783
|
+
);
|
|
784
|
+
const ns = import_schema5.NormalizedSchema.of(errorSchema);
|
|
559
785
|
const message = dataObject.message ?? dataObject.Message ?? "Unknown";
|
|
560
|
-
const
|
|
561
|
-
|
|
786
|
+
const ErrorCtor = import_schema5.TypeRegistry.for(errorSchema.namespace).getErrorCtor(errorSchema) ?? Error;
|
|
787
|
+
const exception = new ErrorCtor(message);
|
|
562
788
|
const output = {};
|
|
563
789
|
for (const [name, member] of ns.structIterator()) {
|
|
564
790
|
const target = member.getMergedTraits().jsonName ?? name;
|
|
565
791
|
output[name] = this.codec.createDeserializer().readObject(member, dataObject[target]);
|
|
566
792
|
}
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
793
|
+
if (this.awsQueryCompatible) {
|
|
794
|
+
this.mixin.queryCompatOutput(dataObject, output);
|
|
795
|
+
}
|
|
796
|
+
throw Object.assign(
|
|
797
|
+
exception,
|
|
798
|
+
errorMetadata,
|
|
799
|
+
{
|
|
800
|
+
$fault: ns.getMergedTraits().error,
|
|
801
|
+
message
|
|
802
|
+
},
|
|
803
|
+
output
|
|
804
|
+
);
|
|
575
805
|
}
|
|
576
806
|
};
|
|
577
807
|
|
|
@@ -580,10 +810,15 @@ var AwsJson1_0Protocol = class extends AwsJsonRpcProtocol {
|
|
|
580
810
|
static {
|
|
581
811
|
__name(this, "AwsJson1_0Protocol");
|
|
582
812
|
}
|
|
583
|
-
constructor({
|
|
813
|
+
constructor({
|
|
814
|
+
defaultNamespace,
|
|
815
|
+
serviceTarget,
|
|
816
|
+
awsQueryCompatible
|
|
817
|
+
}) {
|
|
584
818
|
super({
|
|
585
819
|
defaultNamespace,
|
|
586
|
-
serviceTarget
|
|
820
|
+
serviceTarget,
|
|
821
|
+
awsQueryCompatible
|
|
587
822
|
});
|
|
588
823
|
}
|
|
589
824
|
getShapeId() {
|
|
@@ -605,10 +840,15 @@ var AwsJson1_1Protocol = class extends AwsJsonRpcProtocol {
|
|
|
605
840
|
static {
|
|
606
841
|
__name(this, "AwsJson1_1Protocol");
|
|
607
842
|
}
|
|
608
|
-
constructor({
|
|
843
|
+
constructor({
|
|
844
|
+
defaultNamespace,
|
|
845
|
+
serviceTarget,
|
|
846
|
+
awsQueryCompatible
|
|
847
|
+
}) {
|
|
609
848
|
super({
|
|
610
849
|
defaultNamespace,
|
|
611
|
-
serviceTarget
|
|
850
|
+
serviceTarget,
|
|
851
|
+
awsQueryCompatible
|
|
612
852
|
});
|
|
613
853
|
}
|
|
614
854
|
getShapeId() {
|
|
@@ -626,16 +866,16 @@ var AwsJson1_1Protocol = class extends AwsJsonRpcProtocol {
|
|
|
626
866
|
};
|
|
627
867
|
|
|
628
868
|
// src/submodules/protocols/json/AwsRestJsonProtocol.ts
|
|
629
|
-
var
|
|
630
|
-
var
|
|
631
|
-
var
|
|
632
|
-
var AwsRestJsonProtocol = class extends import_protocols2.HttpBindingProtocol {
|
|
869
|
+
var import_protocols4 = require("@smithy/core/protocols");
|
|
870
|
+
var import_schema6 = require("@smithy/core/schema");
|
|
871
|
+
var AwsRestJsonProtocol = class extends import_protocols4.HttpBindingProtocol {
|
|
633
872
|
static {
|
|
634
873
|
__name(this, "AwsRestJsonProtocol");
|
|
635
874
|
}
|
|
636
875
|
serializer;
|
|
637
876
|
deserializer;
|
|
638
877
|
codec;
|
|
878
|
+
mixin = new ProtocolLib();
|
|
639
879
|
constructor({ defaultNamespace }) {
|
|
640
880
|
super({
|
|
641
881
|
defaultNamespace
|
|
@@ -643,14 +883,14 @@ var AwsRestJsonProtocol = class extends import_protocols2.HttpBindingProtocol {
|
|
|
643
883
|
const settings = {
|
|
644
884
|
timestampFormat: {
|
|
645
885
|
useTrait: true,
|
|
646
|
-
default:
|
|
886
|
+
default: import_schema6.SCHEMA.TIMESTAMP_EPOCH_SECONDS
|
|
647
887
|
},
|
|
648
888
|
httpBindings: true,
|
|
649
889
|
jsonName: true
|
|
650
890
|
};
|
|
651
891
|
this.codec = new JsonCodec(settings);
|
|
652
|
-
this.serializer = new
|
|
653
|
-
this.deserializer = new
|
|
892
|
+
this.serializer = new import_protocols4.HttpInterceptingShapeSerializer(this.codec.createSerializer(), settings);
|
|
893
|
+
this.deserializer = new import_protocols4.HttpInterceptingShapeDeserializer(this.codec.createDeserializer(), settings);
|
|
654
894
|
}
|
|
655
895
|
getShapeId() {
|
|
656
896
|
return "aws.protocols#restJson1";
|
|
@@ -664,80 +904,46 @@ var AwsRestJsonProtocol = class extends import_protocols2.HttpBindingProtocol {
|
|
|
664
904
|
}
|
|
665
905
|
async serializeRequest(operationSchema, input, context) {
|
|
666
906
|
const request = await super.serializeRequest(operationSchema, input, context);
|
|
667
|
-
const inputSchema =
|
|
668
|
-
const members = inputSchema.getMemberSchemas();
|
|
907
|
+
const inputSchema = import_schema6.NormalizedSchema.of(operationSchema.input);
|
|
669
908
|
if (!request.headers["content-type"]) {
|
|
670
|
-
const
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
if (httpPayloadMember) {
|
|
674
|
-
const mediaType = httpPayloadMember.getMergedTraits().mediaType;
|
|
675
|
-
if (mediaType) {
|
|
676
|
-
request.headers["content-type"] = mediaType;
|
|
677
|
-
} else if (httpPayloadMember.isStringSchema()) {
|
|
678
|
-
request.headers["content-type"] = "text/plain";
|
|
679
|
-
} else if (httpPayloadMember.isBlobSchema()) {
|
|
680
|
-
request.headers["content-type"] = "application/octet-stream";
|
|
681
|
-
} else {
|
|
682
|
-
request.headers["content-type"] = this.getDefaultContentType();
|
|
683
|
-
}
|
|
684
|
-
} else if (!inputSchema.isUnitSchema()) {
|
|
685
|
-
const hasBody = Object.values(members).find((m) => {
|
|
686
|
-
const { httpQuery, httpQueryParams, httpHeader, httpLabel, httpPrefixHeaders } = m.getMergedTraits();
|
|
687
|
-
return !httpQuery && !httpQueryParams && !httpHeader && !httpLabel && httpPrefixHeaders === void 0;
|
|
688
|
-
});
|
|
689
|
-
if (hasBody) {
|
|
690
|
-
request.headers["content-type"] = this.getDefaultContentType();
|
|
691
|
-
}
|
|
909
|
+
const contentType = this.mixin.resolveRestContentType(this.getDefaultContentType(), inputSchema);
|
|
910
|
+
if (contentType) {
|
|
911
|
+
request.headers["content-type"] = contentType;
|
|
692
912
|
}
|
|
693
913
|
}
|
|
694
914
|
if (request.headers["content-type"] && !request.body) {
|
|
695
915
|
request.body = "{}";
|
|
696
916
|
}
|
|
697
|
-
if (request.body) {
|
|
698
|
-
try {
|
|
699
|
-
request.headers["content-length"] = String((0, import_util_body_length_browser2.calculateBodyLength)(request.body));
|
|
700
|
-
} catch (e) {
|
|
701
|
-
}
|
|
702
|
-
}
|
|
703
917
|
return request;
|
|
704
918
|
}
|
|
705
919
|
async handleError(operationSchema, context, response, dataObject, metadata) {
|
|
706
920
|
const errorIdentifier = loadRestJsonErrorCode(response, dataObject) ?? "Unknown";
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
errorSchema = registry.getSchema(errorIdentifier);
|
|
716
|
-
} catch (e) {
|
|
717
|
-
const baseExceptionSchema = import_schema4.TypeRegistry.for("smithy.ts.sdk.synthetic." + namespace).getBaseException();
|
|
718
|
-
if (baseExceptionSchema) {
|
|
719
|
-
const ErrorCtor = baseExceptionSchema.ctor;
|
|
720
|
-
throw Object.assign(new ErrorCtor(errorName), dataObject);
|
|
721
|
-
}
|
|
722
|
-
throw new Error(errorName);
|
|
723
|
-
}
|
|
724
|
-
const ns = import_schema4.NormalizedSchema.of(errorSchema);
|
|
921
|
+
const { errorSchema, errorMetadata } = await this.mixin.getErrorSchemaOrThrowBaseException(
|
|
922
|
+
errorIdentifier,
|
|
923
|
+
this.options.defaultNamespace,
|
|
924
|
+
response,
|
|
925
|
+
dataObject,
|
|
926
|
+
metadata
|
|
927
|
+
);
|
|
928
|
+
const ns = import_schema6.NormalizedSchema.of(errorSchema);
|
|
725
929
|
const message = dataObject.message ?? dataObject.Message ?? "Unknown";
|
|
726
|
-
const
|
|
930
|
+
const ErrorCtor = import_schema6.TypeRegistry.for(errorSchema.namespace).getErrorCtor(errorSchema) ?? Error;
|
|
931
|
+
const exception = new ErrorCtor(message);
|
|
727
932
|
await this.deserializeHttpMessage(errorSchema, context, response, dataObject);
|
|
728
933
|
const output = {};
|
|
729
934
|
for (const [name, member] of ns.structIterator()) {
|
|
730
935
|
const target = member.getMergedTraits().jsonName ?? name;
|
|
731
936
|
output[name] = this.codec.createDeserializer().readObject(member, dataObject[target]);
|
|
732
937
|
}
|
|
733
|
-
Object.assign(
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
938
|
+
throw Object.assign(
|
|
939
|
+
exception,
|
|
940
|
+
errorMetadata,
|
|
941
|
+
{
|
|
942
|
+
$fault: ns.getMergedTraits().error,
|
|
943
|
+
message
|
|
944
|
+
},
|
|
945
|
+
output
|
|
946
|
+
);
|
|
741
947
|
}
|
|
742
948
|
/**
|
|
743
949
|
* @override
|
|
@@ -760,21 +966,20 @@ var awsExpectUnion = /* @__PURE__ */ __name((value) => {
|
|
|
760
966
|
}, "awsExpectUnion");
|
|
761
967
|
|
|
762
968
|
// src/submodules/protocols/query/AwsQueryProtocol.ts
|
|
763
|
-
var
|
|
764
|
-
var
|
|
765
|
-
var import_util_body_length_browser3 = require("@smithy/util-body-length-browser");
|
|
969
|
+
var import_protocols7 = require("@smithy/core/protocols");
|
|
970
|
+
var import_schema9 = require("@smithy/core/schema");
|
|
766
971
|
|
|
767
972
|
// src/submodules/protocols/xml/XmlShapeDeserializer.ts
|
|
768
|
-
var
|
|
769
|
-
var
|
|
973
|
+
var import_xml_builder = require("@aws-sdk/xml-builder");
|
|
974
|
+
var import_protocols5 = require("@smithy/core/protocols");
|
|
975
|
+
var import_schema7 = require("@smithy/core/schema");
|
|
770
976
|
var import_smithy_client3 = require("@smithy/smithy-client");
|
|
771
|
-
var
|
|
772
|
-
var import_fast_xml_parser = require("fast-xml-parser");
|
|
977
|
+
var import_util_utf82 = require("@smithy/util-utf8");
|
|
773
978
|
var XmlShapeDeserializer = class extends SerdeContextConfig {
|
|
774
979
|
constructor(settings) {
|
|
775
980
|
super();
|
|
776
981
|
this.settings = settings;
|
|
777
|
-
this.stringDeserializer = new
|
|
982
|
+
this.stringDeserializer = new import_protocols5.FromStringShapeDeserializer(settings);
|
|
778
983
|
}
|
|
779
984
|
static {
|
|
780
985
|
__name(this, "XmlShapeDeserializer");
|
|
@@ -790,7 +995,7 @@ var XmlShapeDeserializer = class extends SerdeContextConfig {
|
|
|
790
995
|
* @param key - used by AwsQuery to step one additional depth into the object before reading it.
|
|
791
996
|
*/
|
|
792
997
|
read(schema, bytes, key) {
|
|
793
|
-
const ns =
|
|
998
|
+
const ns = import_schema7.NormalizedSchema.of(schema);
|
|
794
999
|
const memberSchemas = ns.getMemberSchemas();
|
|
795
1000
|
const isEventPayload = ns.isStructSchema() && ns.isMemberSchema() && !!Object.values(memberSchemas).find((memberNs) => {
|
|
796
1001
|
return !!memberNs.getMemberTraits().eventPayload;
|
|
@@ -806,12 +1011,15 @@ var XmlShapeDeserializer = class extends SerdeContextConfig {
|
|
|
806
1011
|
}
|
|
807
1012
|
return output;
|
|
808
1013
|
}
|
|
809
|
-
const xmlString = (this.serdeContext?.utf8Encoder ??
|
|
1014
|
+
const xmlString = (this.serdeContext?.utf8Encoder ?? import_util_utf82.toUtf8)(bytes);
|
|
810
1015
|
const parsedObject = this.parseXml(xmlString);
|
|
811
1016
|
return this.readSchema(schema, key ? parsedObject[key] : parsedObject);
|
|
812
1017
|
}
|
|
813
1018
|
readSchema(_schema, value) {
|
|
814
|
-
const ns =
|
|
1019
|
+
const ns = import_schema7.NormalizedSchema.of(_schema);
|
|
1020
|
+
if (ns.isUnitSchema()) {
|
|
1021
|
+
return;
|
|
1022
|
+
}
|
|
815
1023
|
const traits = ns.getMergedTraits();
|
|
816
1024
|
if (ns.isListSchema() && !Array.isArray(value)) {
|
|
817
1025
|
return this.readSchema(ns, [value]);
|
|
@@ -881,20 +1089,9 @@ var XmlShapeDeserializer = class extends SerdeContextConfig {
|
|
|
881
1089
|
}
|
|
882
1090
|
parseXml(xml) {
|
|
883
1091
|
if (xml.length) {
|
|
884
|
-
const parser = new import_fast_xml_parser.XMLParser({
|
|
885
|
-
attributeNamePrefix: "",
|
|
886
|
-
htmlEntities: true,
|
|
887
|
-
ignoreAttributes: false,
|
|
888
|
-
ignoreDeclaration: true,
|
|
889
|
-
parseTagValue: false,
|
|
890
|
-
trimValues: false,
|
|
891
|
-
tagValueProcessor: /* @__PURE__ */ __name((_, val) => val.trim() === "" && val.includes("\n") ? "" : void 0, "tagValueProcessor")
|
|
892
|
-
});
|
|
893
|
-
parser.addEntity("#xD", "\r");
|
|
894
|
-
parser.addEntity("#10", "\n");
|
|
895
1092
|
let parsedObj;
|
|
896
1093
|
try {
|
|
897
|
-
parsedObj =
|
|
1094
|
+
parsedObj = (0, import_xml_builder.parseXML)(xml);
|
|
898
1095
|
} catch (e) {
|
|
899
1096
|
if (e && typeof e === "object") {
|
|
900
1097
|
Object.defineProperty(e, "$responseBodyText", {
|
|
@@ -917,11 +1114,11 @@ var XmlShapeDeserializer = class extends SerdeContextConfig {
|
|
|
917
1114
|
};
|
|
918
1115
|
|
|
919
1116
|
// src/submodules/protocols/query/QueryShapeSerializer.ts
|
|
920
|
-
var
|
|
921
|
-
var
|
|
1117
|
+
var import_protocols6 = require("@smithy/core/protocols");
|
|
1118
|
+
var import_schema8 = require("@smithy/core/schema");
|
|
922
1119
|
var import_serde5 = require("@smithy/core/serde");
|
|
923
1120
|
var import_smithy_client4 = require("@smithy/smithy-client");
|
|
924
|
-
var
|
|
1121
|
+
var import_util_base643 = require("@smithy/util-base64");
|
|
925
1122
|
var QueryShapeSerializer = class extends SerdeContextConfig {
|
|
926
1123
|
constructor(settings) {
|
|
927
1124
|
super();
|
|
@@ -935,14 +1132,14 @@ var QueryShapeSerializer = class extends SerdeContextConfig {
|
|
|
935
1132
|
if (this.buffer === void 0) {
|
|
936
1133
|
this.buffer = "";
|
|
937
1134
|
}
|
|
938
|
-
const ns =
|
|
1135
|
+
const ns = import_schema8.NormalizedSchema.of(schema);
|
|
939
1136
|
if (prefix && !prefix.endsWith(".")) {
|
|
940
1137
|
prefix += ".";
|
|
941
1138
|
}
|
|
942
1139
|
if (ns.isBlobSchema()) {
|
|
943
1140
|
if (typeof value === "string" || value instanceof Uint8Array) {
|
|
944
1141
|
this.writeKey(prefix);
|
|
945
|
-
this.writeValue((this.serdeContext?.base64Encoder ??
|
|
1142
|
+
this.writeValue((this.serdeContext?.base64Encoder ?? import_util_base643.toBase64)(value));
|
|
946
1143
|
}
|
|
947
1144
|
} else if (ns.isBooleanSchema() || ns.isNumericSchema() || ns.isStringSchema()) {
|
|
948
1145
|
if (value != null) {
|
|
@@ -965,15 +1162,15 @@ var QueryShapeSerializer = class extends SerdeContextConfig {
|
|
|
965
1162
|
} else if (ns.isTimestampSchema()) {
|
|
966
1163
|
if (value instanceof Date) {
|
|
967
1164
|
this.writeKey(prefix);
|
|
968
|
-
const format = (0,
|
|
1165
|
+
const format = (0, import_protocols6.determineTimestampFormat)(ns, this.settings);
|
|
969
1166
|
switch (format) {
|
|
970
|
-
case
|
|
1167
|
+
case import_schema8.SCHEMA.TIMESTAMP_DATE_TIME:
|
|
971
1168
|
this.writeValue(value.toISOString().replace(".000Z", "Z"));
|
|
972
1169
|
break;
|
|
973
|
-
case
|
|
1170
|
+
case import_schema8.SCHEMA.TIMESTAMP_HTTP_DATE:
|
|
974
1171
|
this.writeValue((0, import_smithy_client4.dateToUtcString)(value));
|
|
975
1172
|
break;
|
|
976
|
-
case
|
|
1173
|
+
case import_schema8.SCHEMA.TIMESTAMP_EPOCH_SECONDS:
|
|
977
1174
|
this.writeValue(String(value.getTime() / 1e3));
|
|
978
1175
|
break;
|
|
979
1176
|
}
|
|
@@ -1056,15 +1253,15 @@ var QueryShapeSerializer = class extends SerdeContextConfig {
|
|
|
1056
1253
|
if (key.endsWith(".")) {
|
|
1057
1254
|
key = key.slice(0, key.length - 1);
|
|
1058
1255
|
}
|
|
1059
|
-
this.buffer += `&${(0,
|
|
1256
|
+
this.buffer += `&${(0, import_protocols6.extendedEncodeURIComponent)(key)}=`;
|
|
1060
1257
|
}
|
|
1061
1258
|
writeValue(value) {
|
|
1062
|
-
this.buffer += (0,
|
|
1259
|
+
this.buffer += (0, import_protocols6.extendedEncodeURIComponent)(value);
|
|
1063
1260
|
}
|
|
1064
1261
|
};
|
|
1065
1262
|
|
|
1066
1263
|
// src/submodules/protocols/query/AwsQueryProtocol.ts
|
|
1067
|
-
var AwsQueryProtocol = class extends
|
|
1264
|
+
var AwsQueryProtocol = class extends import_protocols7.RpcProtocol {
|
|
1068
1265
|
constructor(options) {
|
|
1069
1266
|
super({
|
|
1070
1267
|
defaultNamespace: options.defaultNamespace
|
|
@@ -1073,7 +1270,7 @@ var AwsQueryProtocol = class extends import_protocols5.RpcProtocol {
|
|
|
1073
1270
|
const settings = {
|
|
1074
1271
|
timestampFormat: {
|
|
1075
1272
|
useTrait: true,
|
|
1076
|
-
default:
|
|
1273
|
+
default: import_schema9.SCHEMA.TIMESTAMP_DATE_TIME
|
|
1077
1274
|
},
|
|
1078
1275
|
httpBindings: false,
|
|
1079
1276
|
xmlNamespace: options.xmlNamespace,
|
|
@@ -1088,6 +1285,7 @@ var AwsQueryProtocol = class extends import_protocols5.RpcProtocol {
|
|
|
1088
1285
|
}
|
|
1089
1286
|
serializer;
|
|
1090
1287
|
deserializer;
|
|
1288
|
+
mixin = new ProtocolLib();
|
|
1091
1289
|
getShapeId() {
|
|
1092
1290
|
return "aws.protocols#awsQuery";
|
|
1093
1291
|
}
|
|
@@ -1106,27 +1304,24 @@ var AwsQueryProtocol = class extends import_protocols5.RpcProtocol {
|
|
|
1106
1304
|
Object.assign(request.headers, {
|
|
1107
1305
|
"content-type": `application/x-www-form-urlencoded`
|
|
1108
1306
|
});
|
|
1109
|
-
if ((0,
|
|
1307
|
+
if ((0, import_schema9.deref)(operationSchema.input) === "unit" || !request.body) {
|
|
1110
1308
|
request.body = "";
|
|
1111
1309
|
}
|
|
1112
|
-
|
|
1310
|
+
const action = operationSchema.name.split("#")[1] ?? operationSchema.name;
|
|
1311
|
+
request.body = `Action=${action}&Version=${this.options.version}` + request.body;
|
|
1113
1312
|
if (request.body.endsWith("&")) {
|
|
1114
1313
|
request.body = request.body.slice(-1);
|
|
1115
1314
|
}
|
|
1116
|
-
try {
|
|
1117
|
-
request.headers["content-length"] = String((0, import_util_body_length_browser3.calculateBodyLength)(request.body));
|
|
1118
|
-
} catch (e) {
|
|
1119
|
-
}
|
|
1120
1315
|
return request;
|
|
1121
1316
|
}
|
|
1122
1317
|
async deserializeResponse(operationSchema, context, response) {
|
|
1123
1318
|
const deserializer = this.deserializer;
|
|
1124
|
-
const ns =
|
|
1319
|
+
const ns = import_schema9.NormalizedSchema.of(operationSchema.output);
|
|
1125
1320
|
const dataObject = {};
|
|
1126
1321
|
if (response.statusCode >= 300) {
|
|
1127
|
-
const bytes2 = await (0,
|
|
1322
|
+
const bytes2 = await (0, import_protocols7.collectBody)(response.body, context);
|
|
1128
1323
|
if (bytes2.byteLength > 0) {
|
|
1129
|
-
Object.assign(dataObject, await deserializer.read(
|
|
1324
|
+
Object.assign(dataObject, await deserializer.read(import_schema9.SCHEMA.DOCUMENT, bytes2));
|
|
1130
1325
|
}
|
|
1131
1326
|
await this.handleError(operationSchema, context, response, dataObject, this.deserializeMetadata(response));
|
|
1132
1327
|
}
|
|
@@ -1135,8 +1330,9 @@ var AwsQueryProtocol = class extends import_protocols5.RpcProtocol {
|
|
|
1135
1330
|
delete response.headers[header];
|
|
1136
1331
|
response.headers[header.toLowerCase()] = value;
|
|
1137
1332
|
}
|
|
1138
|
-
const
|
|
1139
|
-
const
|
|
1333
|
+
const shortName = operationSchema.name.split("#")[1] ?? operationSchema.name;
|
|
1334
|
+
const awsQueryResultKey = ns.isStructSchema() && this.useNestedResult() ? shortName + "Result" : void 0;
|
|
1335
|
+
const bytes = await (0, import_protocols7.collectBody)(response.body, context);
|
|
1140
1336
|
if (bytes.byteLength > 0) {
|
|
1141
1337
|
Object.assign(dataObject, await deserializer.read(ns, bytes, awsQueryResultKey));
|
|
1142
1338
|
}
|
|
@@ -1154,46 +1350,44 @@ var AwsQueryProtocol = class extends import_protocols5.RpcProtocol {
|
|
|
1154
1350
|
}
|
|
1155
1351
|
async handleError(operationSchema, context, response, dataObject, metadata) {
|
|
1156
1352
|
const errorIdentifier = this.loadQueryErrorCode(response, dataObject) ?? "Unknown";
|
|
1157
|
-
|
|
1158
|
-
let errorName = errorIdentifier;
|
|
1159
|
-
if (errorIdentifier.includes("#")) {
|
|
1160
|
-
[namespace, errorName] = errorIdentifier.split("#");
|
|
1161
|
-
}
|
|
1162
|
-
const errorDataSource = this.loadQueryError(dataObject);
|
|
1163
|
-
const registry = import_schema7.TypeRegistry.for(namespace);
|
|
1164
|
-
let errorSchema;
|
|
1165
|
-
try {
|
|
1166
|
-
errorSchema = registry.find(
|
|
1167
|
-
(schema) => import_schema7.NormalizedSchema.of(schema).getMergedTraits().awsQueryError?.[0] === errorName
|
|
1168
|
-
);
|
|
1169
|
-
if (!errorSchema) {
|
|
1170
|
-
errorSchema = registry.getSchema(errorIdentifier);
|
|
1171
|
-
}
|
|
1172
|
-
} catch (e) {
|
|
1173
|
-
const baseExceptionSchema = import_schema7.TypeRegistry.for("smithy.ts.sdk.synthetic." + namespace).getBaseException();
|
|
1174
|
-
if (baseExceptionSchema) {
|
|
1175
|
-
const ErrorCtor = baseExceptionSchema.ctor;
|
|
1176
|
-
throw Object.assign(new ErrorCtor(errorName), errorDataSource);
|
|
1177
|
-
}
|
|
1178
|
-
throw new Error(errorName);
|
|
1179
|
-
}
|
|
1180
|
-
const ns = import_schema7.NormalizedSchema.of(errorSchema);
|
|
1353
|
+
const errorData = this.loadQueryError(dataObject);
|
|
1181
1354
|
const message = this.loadQueryErrorMessage(dataObject);
|
|
1182
|
-
|
|
1183
|
-
|
|
1355
|
+
errorData.message = message;
|
|
1356
|
+
errorData.Error = {
|
|
1357
|
+
Type: errorData.Type,
|
|
1358
|
+
Code: errorData.Code,
|
|
1359
|
+
Message: message
|
|
1360
|
+
};
|
|
1361
|
+
const { errorSchema, errorMetadata } = await this.mixin.getErrorSchemaOrThrowBaseException(
|
|
1362
|
+
errorIdentifier,
|
|
1363
|
+
this.options.defaultNamespace,
|
|
1364
|
+
response,
|
|
1365
|
+
errorData,
|
|
1366
|
+
metadata,
|
|
1367
|
+
(registry, errorName) => registry.find(
|
|
1368
|
+
(schema) => import_schema9.NormalizedSchema.of(schema).getMergedTraits().awsQueryError?.[0] === errorName
|
|
1369
|
+
)
|
|
1370
|
+
);
|
|
1371
|
+
const ns = import_schema9.NormalizedSchema.of(errorSchema);
|
|
1372
|
+
const ErrorCtor = import_schema9.TypeRegistry.for(errorSchema.namespace).getErrorCtor(errorSchema) ?? Error;
|
|
1373
|
+
const exception = new ErrorCtor(message);
|
|
1374
|
+
const output = {
|
|
1375
|
+
Error: errorData.Error
|
|
1376
|
+
};
|
|
1184
1377
|
for (const [name, member] of ns.structIterator()) {
|
|
1185
1378
|
const target = member.getMergedTraits().xmlName ?? name;
|
|
1186
|
-
const value =
|
|
1379
|
+
const value = errorData[target] ?? dataObject[target];
|
|
1187
1380
|
output[name] = this.deserializer.readSchema(member, value);
|
|
1188
1381
|
}
|
|
1189
|
-
Object.assign(
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1382
|
+
throw Object.assign(
|
|
1383
|
+
exception,
|
|
1384
|
+
errorMetadata,
|
|
1385
|
+
{
|
|
1386
|
+
$fault: ns.getMergedTraits().error,
|
|
1387
|
+
message
|
|
1388
|
+
},
|
|
1389
|
+
output
|
|
1390
|
+
);
|
|
1197
1391
|
}
|
|
1198
1392
|
/**
|
|
1199
1393
|
* The variations in the error and error message locations are attributed to
|
|
@@ -1247,29 +1441,17 @@ var AwsEc2QueryProtocol = class extends AwsQueryProtocol {
|
|
|
1247
1441
|
};
|
|
1248
1442
|
|
|
1249
1443
|
// src/submodules/protocols/xml/AwsRestXmlProtocol.ts
|
|
1250
|
-
var
|
|
1251
|
-
var
|
|
1252
|
-
var import_util_body_length_browser4 = require("@smithy/util-body-length-browser");
|
|
1444
|
+
var import_protocols9 = require("@smithy/core/protocols");
|
|
1445
|
+
var import_schema11 = require("@smithy/core/schema");
|
|
1253
1446
|
|
|
1254
1447
|
// src/submodules/protocols/xml/parseXmlBody.ts
|
|
1448
|
+
var import_xml_builder2 = require("@aws-sdk/xml-builder");
|
|
1255
1449
|
var import_smithy_client5 = require("@smithy/smithy-client");
|
|
1256
|
-
var import_fast_xml_parser2 = require("fast-xml-parser");
|
|
1257
1450
|
var parseXmlBody = /* @__PURE__ */ __name((streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
1258
1451
|
if (encoded.length) {
|
|
1259
|
-
const parser = new import_fast_xml_parser2.XMLParser({
|
|
1260
|
-
attributeNamePrefix: "",
|
|
1261
|
-
htmlEntities: true,
|
|
1262
|
-
ignoreAttributes: false,
|
|
1263
|
-
ignoreDeclaration: true,
|
|
1264
|
-
parseTagValue: false,
|
|
1265
|
-
trimValues: false,
|
|
1266
|
-
tagValueProcessor: /* @__PURE__ */ __name((_, val) => val.trim() === "" && val.includes("\n") ? "" : void 0, "tagValueProcessor")
|
|
1267
|
-
});
|
|
1268
|
-
parser.addEntity("#xD", "\r");
|
|
1269
|
-
parser.addEntity("#10", "\n");
|
|
1270
1452
|
let parsedObj;
|
|
1271
1453
|
try {
|
|
1272
|
-
parsedObj =
|
|
1454
|
+
parsedObj = (0, import_xml_builder2.parseXML)(encoded);
|
|
1273
1455
|
} catch (e) {
|
|
1274
1456
|
if (e && typeof e === "object") {
|
|
1275
1457
|
Object.defineProperty(e, "$responseBodyText", {
|
|
@@ -1309,11 +1491,12 @@ var loadRestXmlErrorCode = /* @__PURE__ */ __name((output, data) => {
|
|
|
1309
1491
|
}, "loadRestXmlErrorCode");
|
|
1310
1492
|
|
|
1311
1493
|
// src/submodules/protocols/xml/XmlShapeSerializer.ts
|
|
1312
|
-
var
|
|
1313
|
-
var
|
|
1494
|
+
var import_xml_builder3 = require("@aws-sdk/xml-builder");
|
|
1495
|
+
var import_protocols8 = require("@smithy/core/protocols");
|
|
1496
|
+
var import_schema10 = require("@smithy/core/schema");
|
|
1314
1497
|
var import_serde6 = require("@smithy/core/serde");
|
|
1315
1498
|
var import_smithy_client6 = require("@smithy/smithy-client");
|
|
1316
|
-
var
|
|
1499
|
+
var import_util_base644 = require("@smithy/util-base64");
|
|
1317
1500
|
var XmlShapeSerializer = class extends SerdeContextConfig {
|
|
1318
1501
|
constructor(settings) {
|
|
1319
1502
|
super();
|
|
@@ -1326,11 +1509,11 @@ var XmlShapeSerializer = class extends SerdeContextConfig {
|
|
|
1326
1509
|
byteBuffer;
|
|
1327
1510
|
buffer;
|
|
1328
1511
|
write(schema, value) {
|
|
1329
|
-
const ns =
|
|
1512
|
+
const ns = import_schema10.NormalizedSchema.of(schema);
|
|
1330
1513
|
if (ns.isStringSchema() && typeof value === "string") {
|
|
1331
1514
|
this.stringBuffer = value;
|
|
1332
1515
|
} else if (ns.isBlobSchema()) {
|
|
1333
|
-
this.byteBuffer = "byteLength" in value ? value : (this.serdeContext?.base64Decoder ??
|
|
1516
|
+
this.byteBuffer = "byteLength" in value ? value : (this.serdeContext?.base64Decoder ?? import_util_base644.fromBase64)(value);
|
|
1334
1517
|
} else {
|
|
1335
1518
|
this.buffer = this.writeStruct(ns, value, void 0);
|
|
1336
1519
|
const traits = ns.getMergedTraits();
|
|
@@ -1369,11 +1552,8 @@ var XmlShapeSerializer = class extends SerdeContextConfig {
|
|
|
1369
1552
|
)}.`
|
|
1370
1553
|
);
|
|
1371
1554
|
}
|
|
1372
|
-
const structXmlNode =
|
|
1555
|
+
const structXmlNode = import_xml_builder3.XmlNode.of(name);
|
|
1373
1556
|
const [xmlnsAttr, xmlns] = this.getXmlnsAttribute(ns, parentXmlns);
|
|
1374
|
-
if (xmlns) {
|
|
1375
|
-
structXmlNode.addAttribute(xmlnsAttr, xmlns);
|
|
1376
|
-
}
|
|
1377
1557
|
for (const [memberName, memberSchema] of ns.structIterator()) {
|
|
1378
1558
|
const val = value[memberName];
|
|
1379
1559
|
if (val != null || memberSchema.isIdempotencyToken()) {
|
|
@@ -1391,12 +1571,15 @@ var XmlShapeSerializer = class extends SerdeContextConfig {
|
|
|
1391
1571
|
} else if (memberSchema.isStructSchema()) {
|
|
1392
1572
|
structXmlNode.addChildNode(this.writeStruct(memberSchema, val, xmlns));
|
|
1393
1573
|
} else {
|
|
1394
|
-
const memberNode =
|
|
1574
|
+
const memberNode = import_xml_builder3.XmlNode.of(memberSchema.getMergedTraits().xmlName ?? memberSchema.getMemberName());
|
|
1395
1575
|
this.writeSimpleInto(memberSchema, val, memberNode, xmlns);
|
|
1396
1576
|
structXmlNode.addChildNode(memberNode);
|
|
1397
1577
|
}
|
|
1398
1578
|
}
|
|
1399
1579
|
}
|
|
1580
|
+
if (xmlns) {
|
|
1581
|
+
structXmlNode.addAttribute(xmlnsAttr, xmlns);
|
|
1582
|
+
}
|
|
1400
1583
|
return structXmlNode;
|
|
1401
1584
|
}
|
|
1402
1585
|
writeList(listMember, array, container, parentXmlns) {
|
|
@@ -1422,7 +1605,7 @@ var XmlShapeSerializer = class extends SerdeContextConfig {
|
|
|
1422
1605
|
struct.withName(flat ? listTraits.xmlName ?? listMember.getMemberName() : listValueTraits.xmlName ?? "member")
|
|
1423
1606
|
);
|
|
1424
1607
|
} else {
|
|
1425
|
-
const listItemNode =
|
|
1608
|
+
const listItemNode = import_xml_builder3.XmlNode.of(
|
|
1426
1609
|
flat ? listTraits.xmlName ?? listMember.getMemberName() : listValueTraits.xmlName ?? "member"
|
|
1427
1610
|
);
|
|
1428
1611
|
this.writeSimpleInto(listValueSchema, value, listItemNode, xmlns);
|
|
@@ -1436,7 +1619,7 @@ var XmlShapeSerializer = class extends SerdeContextConfig {
|
|
|
1436
1619
|
}
|
|
1437
1620
|
}
|
|
1438
1621
|
} else {
|
|
1439
|
-
const listNode =
|
|
1622
|
+
const listNode = import_xml_builder3.XmlNode.of(listTraits.xmlName ?? listMember.getMemberName());
|
|
1440
1623
|
if (xmlns) {
|
|
1441
1624
|
listNode.addAttribute(xmlnsAttr, xmlns);
|
|
1442
1625
|
}
|
|
@@ -1465,13 +1648,13 @@ var XmlShapeSerializer = class extends SerdeContextConfig {
|
|
|
1465
1648
|
const flat = !!mapTraits.xmlFlattened;
|
|
1466
1649
|
const [xmlnsAttr, xmlns] = this.getXmlnsAttribute(mapMember, parentXmlns);
|
|
1467
1650
|
const addKeyValue = /* @__PURE__ */ __name((entry, key, val) => {
|
|
1468
|
-
const keyNode =
|
|
1651
|
+
const keyNode = import_xml_builder3.XmlNode.of(keyTag, key);
|
|
1469
1652
|
const [keyXmlnsAttr, keyXmlns] = this.getXmlnsAttribute(mapKeySchema, xmlns);
|
|
1470
1653
|
if (keyXmlns) {
|
|
1471
1654
|
keyNode.addAttribute(keyXmlnsAttr, keyXmlns);
|
|
1472
1655
|
}
|
|
1473
1656
|
entry.addChildNode(keyNode);
|
|
1474
|
-
let valueNode =
|
|
1657
|
+
let valueNode = import_xml_builder3.XmlNode.of(valueTag);
|
|
1475
1658
|
if (mapValueSchema.isListSchema()) {
|
|
1476
1659
|
this.writeList(mapValueSchema, val, valueNode, xmlns);
|
|
1477
1660
|
} else if (mapValueSchema.isMapSchema()) {
|
|
@@ -1486,7 +1669,7 @@ var XmlShapeSerializer = class extends SerdeContextConfig {
|
|
|
1486
1669
|
if (flat) {
|
|
1487
1670
|
for (const [key, val] of Object.entries(map)) {
|
|
1488
1671
|
if (sparse || val != null) {
|
|
1489
|
-
const entry =
|
|
1672
|
+
const entry = import_xml_builder3.XmlNode.of(mapTraits.xmlName ?? mapMember.getMemberName());
|
|
1490
1673
|
addKeyValue(entry, key, val);
|
|
1491
1674
|
container.addChildNode(entry);
|
|
1492
1675
|
}
|
|
@@ -1494,7 +1677,7 @@ var XmlShapeSerializer = class extends SerdeContextConfig {
|
|
|
1494
1677
|
} else {
|
|
1495
1678
|
let mapNode;
|
|
1496
1679
|
if (!containerIsMap) {
|
|
1497
|
-
mapNode =
|
|
1680
|
+
mapNode = import_xml_builder3.XmlNode.of(mapTraits.xmlName ?? mapMember.getMemberName());
|
|
1498
1681
|
if (xmlns) {
|
|
1499
1682
|
mapNode.addAttribute(xmlnsAttr, xmlns);
|
|
1500
1683
|
}
|
|
@@ -1502,7 +1685,7 @@ var XmlShapeSerializer = class extends SerdeContextConfig {
|
|
|
1502
1685
|
}
|
|
1503
1686
|
for (const [key, val] of Object.entries(map)) {
|
|
1504
1687
|
if (sparse || val != null) {
|
|
1505
|
-
const entry =
|
|
1688
|
+
const entry = import_xml_builder3.XmlNode.of("entry");
|
|
1506
1689
|
addKeyValue(entry, key, val);
|
|
1507
1690
|
(containerIsMap ? container : mapNode).addChildNode(entry);
|
|
1508
1691
|
}
|
|
@@ -1513,22 +1696,21 @@ var XmlShapeSerializer = class extends SerdeContextConfig {
|
|
|
1513
1696
|
if (null === value) {
|
|
1514
1697
|
throw new Error("@aws-sdk/core/protocols - (XML serializer) cannot write null value.");
|
|
1515
1698
|
}
|
|
1516
|
-
const ns =
|
|
1699
|
+
const ns = import_schema10.NormalizedSchema.of(_schema);
|
|
1517
1700
|
let nodeContents = null;
|
|
1518
1701
|
if (value && typeof value === "object") {
|
|
1519
1702
|
if (ns.isBlobSchema()) {
|
|
1520
|
-
nodeContents = (this.serdeContext?.base64Encoder ??
|
|
1703
|
+
nodeContents = (this.serdeContext?.base64Encoder ?? import_util_base644.toBase64)(value);
|
|
1521
1704
|
} else if (ns.isTimestampSchema() && value instanceof Date) {
|
|
1522
|
-
const
|
|
1523
|
-
const format = options.useTrait ? ns.getSchema() === import_schema8.SCHEMA.TIMESTAMP_DEFAULT ? options.default : ns.getSchema() ?? options.default : options.default;
|
|
1705
|
+
const format = (0, import_protocols8.determineTimestampFormat)(ns, this.settings);
|
|
1524
1706
|
switch (format) {
|
|
1525
|
-
case
|
|
1707
|
+
case import_schema10.SCHEMA.TIMESTAMP_DATE_TIME:
|
|
1526
1708
|
nodeContents = value.toISOString().replace(".000Z", "Z");
|
|
1527
1709
|
break;
|
|
1528
|
-
case
|
|
1710
|
+
case import_schema10.SCHEMA.TIMESTAMP_HTTP_DATE:
|
|
1529
1711
|
nodeContents = (0, import_smithy_client6.dateToUtcString)(value);
|
|
1530
1712
|
break;
|
|
1531
|
-
case
|
|
1713
|
+
case import_schema10.SCHEMA.TIMESTAMP_EPOCH_SECONDS:
|
|
1532
1714
|
nodeContents = String(value.getTime() / 1e3);
|
|
1533
1715
|
break;
|
|
1534
1716
|
default:
|
|
@@ -1570,8 +1752,8 @@ var XmlShapeSerializer = class extends SerdeContextConfig {
|
|
|
1570
1752
|
}
|
|
1571
1753
|
writeSimpleInto(_schema, value, into, parentXmlns) {
|
|
1572
1754
|
const nodeContents = this.writeSimple(_schema, value);
|
|
1573
|
-
const ns =
|
|
1574
|
-
const content = new
|
|
1755
|
+
const ns = import_schema10.NormalizedSchema.of(_schema);
|
|
1756
|
+
const content = new import_xml_builder3.XmlText(nodeContents);
|
|
1575
1757
|
const [xmlnsAttr, xmlns] = this.getXmlnsAttribute(ns, parentXmlns);
|
|
1576
1758
|
if (xmlns) {
|
|
1577
1759
|
into.addAttribute(xmlnsAttr, xmlns);
|
|
@@ -1610,27 +1792,28 @@ var XmlCodec = class extends SerdeContextConfig {
|
|
|
1610
1792
|
};
|
|
1611
1793
|
|
|
1612
1794
|
// src/submodules/protocols/xml/AwsRestXmlProtocol.ts
|
|
1613
|
-
var AwsRestXmlProtocol = class extends
|
|
1795
|
+
var AwsRestXmlProtocol = class extends import_protocols9.HttpBindingProtocol {
|
|
1614
1796
|
static {
|
|
1615
1797
|
__name(this, "AwsRestXmlProtocol");
|
|
1616
1798
|
}
|
|
1617
1799
|
codec;
|
|
1618
1800
|
serializer;
|
|
1619
1801
|
deserializer;
|
|
1802
|
+
mixin = new ProtocolLib();
|
|
1620
1803
|
constructor(options) {
|
|
1621
1804
|
super(options);
|
|
1622
1805
|
const settings = {
|
|
1623
1806
|
timestampFormat: {
|
|
1624
1807
|
useTrait: true,
|
|
1625
|
-
default:
|
|
1808
|
+
default: import_schema11.SCHEMA.TIMESTAMP_DATE_TIME
|
|
1626
1809
|
},
|
|
1627
1810
|
httpBindings: true,
|
|
1628
1811
|
xmlNamespace: options.xmlNamespace,
|
|
1629
1812
|
serviceNamespace: options.defaultNamespace
|
|
1630
1813
|
};
|
|
1631
1814
|
this.codec = new XmlCodec(settings);
|
|
1632
|
-
this.serializer = new
|
|
1633
|
-
this.deserializer = new
|
|
1815
|
+
this.serializer = new import_protocols9.HttpInterceptingShapeSerializer(this.codec.createSerializer(), settings);
|
|
1816
|
+
this.deserializer = new import_protocols9.HttpInterceptingShapeDeserializer(this.codec.createDeserializer(), settings);
|
|
1634
1817
|
}
|
|
1635
1818
|
getPayloadCodec() {
|
|
1636
1819
|
return this.codec;
|
|
@@ -1640,34 +1823,11 @@ var AwsRestXmlProtocol = class extends import_protocols6.HttpBindingProtocol {
|
|
|
1640
1823
|
}
|
|
1641
1824
|
async serializeRequest(operationSchema, input, context) {
|
|
1642
1825
|
const request = await super.serializeRequest(operationSchema, input, context);
|
|
1643
|
-
const
|
|
1644
|
-
const members = ns.getMemberSchemas();
|
|
1645
|
-
request.path = String(request.path).split("/").filter((segment) => {
|
|
1646
|
-
return segment !== "{Bucket}";
|
|
1647
|
-
}).join("/") || "/";
|
|
1826
|
+
const inputSchema = import_schema11.NormalizedSchema.of(operationSchema.input);
|
|
1648
1827
|
if (!request.headers["content-type"]) {
|
|
1649
|
-
const
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
if (httpPayloadMember) {
|
|
1653
|
-
const mediaType = httpPayloadMember.getMergedTraits().mediaType;
|
|
1654
|
-
if (mediaType) {
|
|
1655
|
-
request.headers["content-type"] = mediaType;
|
|
1656
|
-
} else if (httpPayloadMember.isStringSchema()) {
|
|
1657
|
-
request.headers["content-type"] = "text/plain";
|
|
1658
|
-
} else if (httpPayloadMember.isBlobSchema()) {
|
|
1659
|
-
request.headers["content-type"] = "application/octet-stream";
|
|
1660
|
-
} else {
|
|
1661
|
-
request.headers["content-type"] = this.getDefaultContentType();
|
|
1662
|
-
}
|
|
1663
|
-
} else if (!ns.isUnitSchema()) {
|
|
1664
|
-
const hasBody = Object.values(members).find((m) => {
|
|
1665
|
-
const { httpQuery, httpQueryParams, httpHeader, httpLabel, httpPrefixHeaders } = m.getMergedTraits();
|
|
1666
|
-
return !httpQuery && !httpQueryParams && !httpHeader && !httpLabel && httpPrefixHeaders === void 0;
|
|
1667
|
-
});
|
|
1668
|
-
if (hasBody) {
|
|
1669
|
-
request.headers["content-type"] = this.getDefaultContentType();
|
|
1670
|
-
}
|
|
1828
|
+
const contentType = this.mixin.resolveRestContentType(this.getDefaultContentType(), inputSchema);
|
|
1829
|
+
if (contentType) {
|
|
1830
|
+
request.headers["content-type"] = contentType;
|
|
1671
1831
|
}
|
|
1672
1832
|
}
|
|
1673
1833
|
if (request.headers["content-type"] === this.getDefaultContentType()) {
|
|
@@ -1675,12 +1835,6 @@ var AwsRestXmlProtocol = class extends import_protocols6.HttpBindingProtocol {
|
|
|
1675
1835
|
request.body = '<?xml version="1.0" encoding="UTF-8"?>' + request.body;
|
|
1676
1836
|
}
|
|
1677
1837
|
}
|
|
1678
|
-
if (request.body) {
|
|
1679
|
-
try {
|
|
1680
|
-
request.headers["content-length"] = String((0, import_util_body_length_browser4.calculateBodyLength)(request.body));
|
|
1681
|
-
} catch (e) {
|
|
1682
|
-
}
|
|
1683
|
-
}
|
|
1684
1838
|
return request;
|
|
1685
1839
|
}
|
|
1686
1840
|
async deserializeResponse(operationSchema, context, response) {
|
|
@@ -1688,26 +1842,17 @@ var AwsRestXmlProtocol = class extends import_protocols6.HttpBindingProtocol {
|
|
|
1688
1842
|
}
|
|
1689
1843
|
async handleError(operationSchema, context, response, dataObject, metadata) {
|
|
1690
1844
|
const errorIdentifier = loadRestXmlErrorCode(response, dataObject) ?? "Unknown";
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
errorSchema = registry.getSchema(errorIdentifier);
|
|
1700
|
-
} catch (e) {
|
|
1701
|
-
const baseExceptionSchema = import_schema9.TypeRegistry.for("smithy.ts.sdk.synthetic." + namespace).getBaseException();
|
|
1702
|
-
if (baseExceptionSchema) {
|
|
1703
|
-
const ErrorCtor = baseExceptionSchema.ctor;
|
|
1704
|
-
throw Object.assign(new ErrorCtor(errorName), dataObject);
|
|
1705
|
-
}
|
|
1706
|
-
throw new Error(errorName);
|
|
1707
|
-
}
|
|
1708
|
-
const ns = import_schema9.NormalizedSchema.of(errorSchema);
|
|
1845
|
+
const { errorSchema, errorMetadata } = await this.mixin.getErrorSchemaOrThrowBaseException(
|
|
1846
|
+
errorIdentifier,
|
|
1847
|
+
this.options.defaultNamespace,
|
|
1848
|
+
response,
|
|
1849
|
+
dataObject,
|
|
1850
|
+
metadata
|
|
1851
|
+
);
|
|
1852
|
+
const ns = import_schema11.NormalizedSchema.of(errorSchema);
|
|
1709
1853
|
const message = dataObject.Error?.message ?? dataObject.Error?.Message ?? dataObject.message ?? dataObject.Message ?? "Unknown";
|
|
1710
|
-
const
|
|
1854
|
+
const ErrorCtor = import_schema11.TypeRegistry.for(errorSchema.namespace).getErrorCtor(errorSchema) ?? Error;
|
|
1855
|
+
const exception = new ErrorCtor(message);
|
|
1711
1856
|
await this.deserializeHttpMessage(errorSchema, context, response, dataObject);
|
|
1712
1857
|
const output = {};
|
|
1713
1858
|
for (const [name, member] of ns.structIterator()) {
|
|
@@ -1715,14 +1860,15 @@ var AwsRestXmlProtocol = class extends import_protocols6.HttpBindingProtocol {
|
|
|
1715
1860
|
const value = dataObject.Error?.[target] ?? dataObject[target];
|
|
1716
1861
|
output[name] = this.codec.createDeserializer().readSchema(member, value);
|
|
1717
1862
|
}
|
|
1718
|
-
Object.assign(
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1863
|
+
throw Object.assign(
|
|
1864
|
+
exception,
|
|
1865
|
+
errorMetadata,
|
|
1866
|
+
{
|
|
1867
|
+
$fault: ns.getMergedTraits().error,
|
|
1868
|
+
message
|
|
1869
|
+
},
|
|
1870
|
+
output
|
|
1871
|
+
);
|
|
1726
1872
|
}
|
|
1727
1873
|
/**
|
|
1728
1874
|
* @override
|
|
@@ -1740,6 +1886,7 @@ var AwsRestXmlProtocol = class extends import_protocols6.HttpBindingProtocol {
|
|
|
1740
1886
|
AwsQueryProtocol,
|
|
1741
1887
|
AwsRestJsonProtocol,
|
|
1742
1888
|
AwsRestXmlProtocol,
|
|
1889
|
+
AwsSmithyRpcV2CborProtocol,
|
|
1743
1890
|
JsonCodec,
|
|
1744
1891
|
JsonShapeDeserializer,
|
|
1745
1892
|
JsonShapeSerializer,
|