@mavogel/awscdk-rootmail 0.0.326 → 0.0.327
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 +2 -2
- package/lib/rootmail.js +1 -1
- package/lib/ses-receive.js +1 -1
- package/node_modules/@aws/lambda-invoke-store/README.md +35 -27
- package/node_modules/@aws/lambda-invoke-store/dist-cjs/invoke-store.js +104 -46
- package/node_modules/@aws/lambda-invoke-store/dist-es/invoke-store.js +104 -46
- package/node_modules/@aws/lambda-invoke-store/dist-types/invoke-store.benchmark.d.ts +1 -0
- package/node_modules/@aws/lambda-invoke-store/dist-types/invoke-store.d.ts +40 -47
- package/node_modules/@aws/lambda-invoke-store/package.json +2 -2
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-cjs/index.js +0 -40
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-es/models/models_0.js +0 -40
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/models/models_0.d.ts +16 -4
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/models/models_0.d.ts +0 -7
- package/node_modules/@aws-sdk/client-cloudwatch-logs/package.json +39 -37
- package/node_modules/@aws-sdk/client-route-53/dist-cjs/index.js +3942 -5218
- package/node_modules/@aws-sdk/client-route-53/dist-cjs/runtimeConfig.shared.js +6 -0
- package/node_modules/@aws-sdk/client-route-53/dist-es/Route53Client.js +2 -0
- package/node_modules/@aws-sdk/client-route-53/dist-es/commands/ActivateKeySigningKeyCommand.js +3 -10
- package/node_modules/@aws-sdk/client-route-53/dist-es/commands/AssociateVPCWithHostedZoneCommand.js +3 -10
- package/node_modules/@aws-sdk/client-route-53/dist-es/commands/ChangeCidrCollectionCommand.js +3 -10
- package/node_modules/@aws-sdk/client-route-53/dist-es/commands/ChangeResourceRecordSetsCommand.js +2 -6
- package/node_modules/@aws-sdk/client-route-53/dist-es/commands/ChangeTagsForResourceCommand.js +3 -9
- package/node_modules/@aws-sdk/client-route-53/dist-es/commands/CreateCidrCollectionCommand.js +3 -9
- package/node_modules/@aws-sdk/client-route-53/dist-es/commands/CreateHealthCheckCommand.js +3 -9
- package/node_modules/@aws-sdk/client-route-53/dist-es/commands/CreateHostedZoneCommand.js +3 -10
- package/node_modules/@aws-sdk/client-route-53/dist-es/commands/CreateKeySigningKeyCommand.js +3 -10
- package/node_modules/@aws-sdk/client-route-53/dist-es/commands/CreateQueryLoggingConfigCommand.js +3 -10
- package/node_modules/@aws-sdk/client-route-53/dist-es/commands/CreateReusableDelegationSetCommand.js +3 -10
- package/node_modules/@aws-sdk/client-route-53/dist-es/commands/CreateTrafficPolicyCommand.js +3 -9
- package/node_modules/@aws-sdk/client-route-53/dist-es/commands/CreateTrafficPolicyInstanceCommand.js +3 -10
- package/node_modules/@aws-sdk/client-route-53/dist-es/commands/CreateTrafficPolicyVersionCommand.js +3 -10
- package/node_modules/@aws-sdk/client-route-53/dist-es/commands/CreateVPCAssociationAuthorizationCommand.js +3 -10
- package/node_modules/@aws-sdk/client-route-53/dist-es/commands/DeactivateKeySigningKeyCommand.js +3 -10
- package/node_modules/@aws-sdk/client-route-53/dist-es/commands/DeleteCidrCollectionCommand.js +3 -10
- package/node_modules/@aws-sdk/client-route-53/dist-es/commands/DeleteHealthCheckCommand.js +3 -9
- package/node_modules/@aws-sdk/client-route-53/dist-es/commands/DeleteHostedZoneCommand.js +3 -10
- package/node_modules/@aws-sdk/client-route-53/dist-es/commands/DeleteKeySigningKeyCommand.js +3 -10
- package/node_modules/@aws-sdk/client-route-53/dist-es/commands/DeleteQueryLoggingConfigCommand.js +3 -10
- package/node_modules/@aws-sdk/client-route-53/dist-es/commands/DeleteReusableDelegationSetCommand.js +3 -10
- package/node_modules/@aws-sdk/client-route-53/dist-es/commands/DeleteTrafficPolicyCommand.js +3 -10
- package/node_modules/@aws-sdk/client-route-53/dist-es/commands/DeleteTrafficPolicyInstanceCommand.js +3 -10
- package/node_modules/@aws-sdk/client-route-53/dist-es/commands/DeleteVPCAssociationAuthorizationCommand.js +3 -10
- package/node_modules/@aws-sdk/client-route-53/dist-es/commands/DisableHostedZoneDNSSECCommand.js +3 -10
- package/node_modules/@aws-sdk/client-route-53/dist-es/commands/DisassociateVPCFromHostedZoneCommand.js +3 -10
- package/node_modules/@aws-sdk/client-route-53/dist-es/commands/EnableHostedZoneDNSSECCommand.js +3 -10
- package/node_modules/@aws-sdk/client-route-53/dist-es/commands/GetAccountLimitCommand.js +3 -9
- package/node_modules/@aws-sdk/client-route-53/dist-es/commands/GetChangeCommand.js +3 -10
- package/node_modules/@aws-sdk/client-route-53/dist-es/commands/GetCheckerIpRangesCommand.js +3 -9
- package/node_modules/@aws-sdk/client-route-53/dist-es/commands/GetDNSSECCommand.js +3 -10
- package/node_modules/@aws-sdk/client-route-53/dist-es/commands/GetGeoLocationCommand.js +3 -9
- package/node_modules/@aws-sdk/client-route-53/dist-es/commands/GetHealthCheckCommand.js +3 -9
- package/node_modules/@aws-sdk/client-route-53/dist-es/commands/GetHealthCheckCountCommand.js +3 -9
- package/node_modules/@aws-sdk/client-route-53/dist-es/commands/GetHealthCheckLastFailureReasonCommand.js +3 -9
- package/node_modules/@aws-sdk/client-route-53/dist-es/commands/GetHealthCheckStatusCommand.js +3 -9
- package/node_modules/@aws-sdk/client-route-53/dist-es/commands/GetHostedZoneCommand.js +3 -10
- package/node_modules/@aws-sdk/client-route-53/dist-es/commands/GetHostedZoneCountCommand.js +3 -9
- package/node_modules/@aws-sdk/client-route-53/dist-es/commands/GetHostedZoneLimitCommand.js +3 -10
- package/node_modules/@aws-sdk/client-route-53/dist-es/commands/GetQueryLoggingConfigCommand.js +3 -10
- package/node_modules/@aws-sdk/client-route-53/dist-es/commands/GetReusableDelegationSetCommand.js +3 -10
- package/node_modules/@aws-sdk/client-route-53/dist-es/commands/GetReusableDelegationSetLimitCommand.js +3 -10
- package/node_modules/@aws-sdk/client-route-53/dist-es/commands/GetTrafficPolicyCommand.js +3 -10
- package/node_modules/@aws-sdk/client-route-53/dist-es/commands/GetTrafficPolicyInstanceCommand.js +3 -10
- package/node_modules/@aws-sdk/client-route-53/dist-es/commands/GetTrafficPolicyInstanceCountCommand.js +3 -9
- package/node_modules/@aws-sdk/client-route-53/dist-es/commands/ListCidrBlocksCommand.js +3 -9
- package/node_modules/@aws-sdk/client-route-53/dist-es/commands/ListCidrCollectionsCommand.js +3 -9
- package/node_modules/@aws-sdk/client-route-53/dist-es/commands/ListCidrLocationsCommand.js +3 -9
- package/node_modules/@aws-sdk/client-route-53/dist-es/commands/ListGeoLocationsCommand.js +3 -9
- package/node_modules/@aws-sdk/client-route-53/dist-es/commands/ListHealthChecksCommand.js +3 -9
- package/node_modules/@aws-sdk/client-route-53/dist-es/commands/ListHostedZonesByNameCommand.js +3 -10
- package/node_modules/@aws-sdk/client-route-53/dist-es/commands/ListHostedZonesByVPCCommand.js +3 -9
- package/node_modules/@aws-sdk/client-route-53/dist-es/commands/ListHostedZonesCommand.js +3 -10
- package/node_modules/@aws-sdk/client-route-53/dist-es/commands/ListQueryLoggingConfigsCommand.js +3 -10
- package/node_modules/@aws-sdk/client-route-53/dist-es/commands/ListResourceRecordSetsCommand.js +3 -10
- package/node_modules/@aws-sdk/client-route-53/dist-es/commands/ListReusableDelegationSetsCommand.js +3 -9
- package/node_modules/@aws-sdk/client-route-53/dist-es/commands/ListTagsForResourceCommand.js +3 -9
- package/node_modules/@aws-sdk/client-route-53/dist-es/commands/ListTagsForResourcesCommand.js +3 -9
- package/node_modules/@aws-sdk/client-route-53/dist-es/commands/ListTrafficPoliciesCommand.js +3 -9
- package/node_modules/@aws-sdk/client-route-53/dist-es/commands/ListTrafficPolicyInstancesByHostedZoneCommand.js +3 -10
- package/node_modules/@aws-sdk/client-route-53/dist-es/commands/ListTrafficPolicyInstancesByPolicyCommand.js +3 -9
- package/node_modules/@aws-sdk/client-route-53/dist-es/commands/ListTrafficPolicyInstancesCommand.js +3 -9
- package/node_modules/@aws-sdk/client-route-53/dist-es/commands/ListTrafficPolicyVersionsCommand.js +3 -10
- package/node_modules/@aws-sdk/client-route-53/dist-es/commands/ListVPCAssociationAuthorizationsCommand.js +3 -10
- package/node_modules/@aws-sdk/client-route-53/dist-es/commands/TestDNSAnswerCommand.js +3 -10
- package/node_modules/@aws-sdk/client-route-53/dist-es/commands/UpdateHealthCheckCommand.js +3 -9
- package/node_modules/@aws-sdk/client-route-53/dist-es/commands/UpdateHostedZoneCommentCommand.js +3 -10
- package/node_modules/@aws-sdk/client-route-53/dist-es/commands/UpdateTrafficPolicyCommentCommand.js +3 -10
- package/node_modules/@aws-sdk/client-route-53/dist-es/commands/UpdateTrafficPolicyInstanceCommand.js +3 -10
- package/node_modules/@aws-sdk/client-route-53/dist-es/runtimeConfig.shared.js +6 -0
- package/node_modules/@aws-sdk/client-route-53/dist-es/schemas/schemas_0.js +3797 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/Route53Client.d.ts +10 -1
- package/node_modules/@aws-sdk/client-route-53/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/runtimeConfig.native.d.ts +1 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/runtimeConfig.shared.d.ts +2 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/schemas/schemas_0.d.ts +355 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/Route53Client.d.ts +4 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/runtimeConfig.browser.d.ts +6 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/runtimeConfig.d.ts +6 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/runtimeConfig.native.d.ts +6 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/runtimeConfig.shared.d.ts +7 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/schemas/schemas_0.d.ts +360 -0
- package/node_modules/@aws-sdk/client-route-53/package.json +35 -36
- package/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +9984 -8599
- package/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.shared.js +6 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/S3Client.js +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/AbortMultipartUploadCommand.js +3 -10
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/CompleteMultipartUploadCommand.js +2 -7
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/CopyObjectCommand.js +2 -7
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateBucketCommand.js +2 -6
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateBucketMetadataConfigurationCommand.js +2 -6
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateBucketMetadataTableConfigurationCommand.js +2 -6
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateMultipartUploadCommand.js +2 -7
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateSessionCommand.js +3 -11
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketAnalyticsConfigurationCommand.js +3 -9
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketCommand.js +3 -9
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketCorsCommand.js +3 -9
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketEncryptionCommand.js +3 -9
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketIntelligentTieringConfigurationCommand.js +3 -9
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketInventoryConfigurationCommand.js +3 -9
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketLifecycleCommand.js +3 -9
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketMetadataConfigurationCommand.js +3 -9
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketMetadataTableConfigurationCommand.js +3 -9
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketMetricsConfigurationCommand.js +3 -9
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketOwnershipControlsCommand.js +3 -9
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketPolicyCommand.js +3 -9
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketReplicationCommand.js +3 -9
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketTaggingCommand.js +3 -9
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketWebsiteCommand.js +3 -9
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteObjectCommand.js +3 -10
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteObjectTaggingCommand.js +3 -10
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteObjectsCommand.js +2 -6
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/DeletePublicAccessBlockCommand.js +3 -9
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketAccelerateConfigurationCommand.js +3 -10
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketAclCommand.js +3 -10
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketAnalyticsConfigurationCommand.js +3 -10
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketCorsCommand.js +3 -10
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketEncryptionCommand.js +3 -11
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketIntelligentTieringConfigurationCommand.js +3 -10
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketInventoryConfigurationCommand.js +3 -11
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketLifecycleConfigurationCommand.js +3 -10
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketLocationCommand.js +3 -10
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketLoggingCommand.js +3 -10
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketMetadataConfigurationCommand.js +3 -10
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketMetadataTableConfigurationCommand.js +3 -10
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketMetricsConfigurationCommand.js +3 -10
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketNotificationConfigurationCommand.js +3 -10
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketOwnershipControlsCommand.js +3 -10
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketPolicyCommand.js +3 -10
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketPolicyStatusCommand.js +3 -10
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketReplicationCommand.js +3 -10
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketRequestPaymentCommand.js +3 -10
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketTaggingCommand.js +3 -10
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketVersioningCommand.js +3 -10
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketWebsiteCommand.js +3 -10
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectAclCommand.js +3 -10
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectAttributesCommand.js +2 -7
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectCommand.js +2 -7
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectLegalHoldCommand.js +3 -10
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectLockConfigurationCommand.js +3 -10
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectRetentionCommand.js +3 -10
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectTaggingCommand.js +3 -10
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectTorrentCommand.js +3 -10
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetPublicAccessBlockCommand.js +3 -10
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/HeadBucketCommand.js +3 -10
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/HeadObjectCommand.js +2 -7
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketAnalyticsConfigurationsCommand.js +3 -10
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketIntelligentTieringConfigurationsCommand.js +3 -10
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketInventoryConfigurationsCommand.js +3 -11
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketMetricsConfigurationsCommand.js +3 -10
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketsCommand.js +3 -10
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/ListDirectoryBucketsCommand.js +3 -10
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/ListMultipartUploadsCommand.js +3 -10
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/ListObjectVersionsCommand.js +3 -10
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/ListObjectsCommand.js +3 -10
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/ListObjectsV2Command.js +3 -10
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/ListPartsCommand.js +2 -7
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketAccelerateConfigurationCommand.js +2 -6
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketAclCommand.js +2 -6
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketAnalyticsConfigurationCommand.js +3 -9
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketCorsCommand.js +2 -6
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketEncryptionCommand.js +2 -7
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketIntelligentTieringConfigurationCommand.js +3 -9
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketInventoryConfigurationCommand.js +3 -10
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketLifecycleConfigurationCommand.js +2 -6
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketLoggingCommand.js +2 -6
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketMetricsConfigurationCommand.js +3 -9
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketNotificationConfigurationCommand.js +3 -9
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketOwnershipControlsCommand.js +2 -6
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketPolicyCommand.js +2 -6
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketReplicationCommand.js +2 -6
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketRequestPaymentCommand.js +2 -6
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketTaggingCommand.js +2 -6
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketVersioningCommand.js +2 -6
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketWebsiteCommand.js +2 -6
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectAclCommand.js +2 -6
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectCommand.js +2 -7
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectLegalHoldCommand.js +2 -6
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectLockConfigurationCommand.js +2 -6
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectRetentionCommand.js +2 -6
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectTaggingCommand.js +2 -6
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutPublicAccessBlockCommand.js +2 -6
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/RenameObjectCommand.js +3 -10
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/RestoreObjectCommand.js +2 -7
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/SelectObjectContentCommand.js +2 -7
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/UpdateBucketMetadataInventoryTableConfigurationCommand.js +2 -6
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/UpdateBucketMetadataJournalTableConfigurationCommand.js +2 -6
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/UploadPartCommand.js +2 -7
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/UploadPartCopyCommand.js +2 -7
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/WriteGetObjectResponseCommand.js +3 -10
- package/node_modules/@aws-sdk/client-s3/dist-es/models/models_0.js +0 -151
- package/node_modules/@aws-sdk/client-s3/dist-es/models/models_1.js +0 -108
- package/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.shared.js +6 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/schemas/schemas_0.js +10281 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/S3Client.d.ts +10 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/models/models_0.d.ts +8 -106
- package/node_modules/@aws-sdk/client-s3/dist-types/models/models_1.d.ts +4 -73
- package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.native.d.ts +1 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.shared.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/schemas/schemas_0.d.ts +494 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/S3Client.d.ts +4 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_0.d.ts +0 -78
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_1.d.ts +0 -54
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.browser.d.ts +6 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.d.ts +6 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.native.d.ts +6 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.shared.d.ts +7 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/schemas/schemas_0.d.ts +500 -0
- package/node_modules/@aws-sdk/client-s3/package.json +49 -51
- package/node_modules/@aws-sdk/client-ses/dist-cjs/index.js +1945 -5698
- package/node_modules/@aws-sdk/client-ses/dist-cjs/runtimeConfig.shared.js +7 -0
- package/node_modules/@aws-sdk/client-ses/dist-es/SESClient.js +2 -0
- package/node_modules/@aws-sdk/client-ses/dist-es/commands/CloneReceiptRuleSetCommand.js +3 -9
- package/node_modules/@aws-sdk/client-ses/dist-es/commands/CreateConfigurationSetCommand.js +3 -9
- package/node_modules/@aws-sdk/client-ses/dist-es/commands/CreateConfigurationSetEventDestinationCommand.js +3 -9
- package/node_modules/@aws-sdk/client-ses/dist-es/commands/CreateConfigurationSetTrackingOptionsCommand.js +3 -9
- package/node_modules/@aws-sdk/client-ses/dist-es/commands/CreateCustomVerificationEmailTemplateCommand.js +3 -9
- package/node_modules/@aws-sdk/client-ses/dist-es/commands/CreateReceiptFilterCommand.js +3 -9
- package/node_modules/@aws-sdk/client-ses/dist-es/commands/CreateReceiptRuleCommand.js +3 -9
- package/node_modules/@aws-sdk/client-ses/dist-es/commands/CreateReceiptRuleSetCommand.js +3 -9
- package/node_modules/@aws-sdk/client-ses/dist-es/commands/CreateTemplateCommand.js +3 -9
- package/node_modules/@aws-sdk/client-ses/dist-es/commands/DeleteConfigurationSetCommand.js +3 -9
- package/node_modules/@aws-sdk/client-ses/dist-es/commands/DeleteConfigurationSetEventDestinationCommand.js +3 -9
- package/node_modules/@aws-sdk/client-ses/dist-es/commands/DeleteConfigurationSetTrackingOptionsCommand.js +3 -9
- package/node_modules/@aws-sdk/client-ses/dist-es/commands/DeleteCustomVerificationEmailTemplateCommand.js +3 -9
- package/node_modules/@aws-sdk/client-ses/dist-es/commands/DeleteIdentityCommand.js +3 -9
- package/node_modules/@aws-sdk/client-ses/dist-es/commands/DeleteIdentityPolicyCommand.js +3 -9
- package/node_modules/@aws-sdk/client-ses/dist-es/commands/DeleteReceiptFilterCommand.js +3 -9
- package/node_modules/@aws-sdk/client-ses/dist-es/commands/DeleteReceiptRuleCommand.js +3 -9
- package/node_modules/@aws-sdk/client-ses/dist-es/commands/DeleteReceiptRuleSetCommand.js +3 -9
- package/node_modules/@aws-sdk/client-ses/dist-es/commands/DeleteTemplateCommand.js +3 -9
- package/node_modules/@aws-sdk/client-ses/dist-es/commands/DeleteVerifiedEmailAddressCommand.js +3 -9
- package/node_modules/@aws-sdk/client-ses/dist-es/commands/DescribeActiveReceiptRuleSetCommand.js +3 -9
- package/node_modules/@aws-sdk/client-ses/dist-es/commands/DescribeConfigurationSetCommand.js +3 -9
- package/node_modules/@aws-sdk/client-ses/dist-es/commands/DescribeReceiptRuleCommand.js +3 -9
- package/node_modules/@aws-sdk/client-ses/dist-es/commands/DescribeReceiptRuleSetCommand.js +3 -9
- package/node_modules/@aws-sdk/client-ses/dist-es/commands/GetAccountSendingEnabledCommand.js +3 -9
- package/node_modules/@aws-sdk/client-ses/dist-es/commands/GetCustomVerificationEmailTemplateCommand.js +3 -9
- package/node_modules/@aws-sdk/client-ses/dist-es/commands/GetIdentityDkimAttributesCommand.js +3 -9
- package/node_modules/@aws-sdk/client-ses/dist-es/commands/GetIdentityMailFromDomainAttributesCommand.js +3 -9
- package/node_modules/@aws-sdk/client-ses/dist-es/commands/GetIdentityNotificationAttributesCommand.js +3 -9
- package/node_modules/@aws-sdk/client-ses/dist-es/commands/GetIdentityPoliciesCommand.js +3 -9
- package/node_modules/@aws-sdk/client-ses/dist-es/commands/GetIdentityVerificationAttributesCommand.js +3 -9
- package/node_modules/@aws-sdk/client-ses/dist-es/commands/GetSendQuotaCommand.js +3 -9
- package/node_modules/@aws-sdk/client-ses/dist-es/commands/GetSendStatisticsCommand.js +3 -9
- package/node_modules/@aws-sdk/client-ses/dist-es/commands/GetTemplateCommand.js +3 -9
- package/node_modules/@aws-sdk/client-ses/dist-es/commands/ListConfigurationSetsCommand.js +3 -9
- package/node_modules/@aws-sdk/client-ses/dist-es/commands/ListCustomVerificationEmailTemplatesCommand.js +3 -9
- package/node_modules/@aws-sdk/client-ses/dist-es/commands/ListIdentitiesCommand.js +3 -9
- package/node_modules/@aws-sdk/client-ses/dist-es/commands/ListIdentityPoliciesCommand.js +3 -9
- package/node_modules/@aws-sdk/client-ses/dist-es/commands/ListReceiptFiltersCommand.js +3 -9
- package/node_modules/@aws-sdk/client-ses/dist-es/commands/ListReceiptRuleSetsCommand.js +3 -9
- package/node_modules/@aws-sdk/client-ses/dist-es/commands/ListTemplatesCommand.js +3 -9
- package/node_modules/@aws-sdk/client-ses/dist-es/commands/ListVerifiedEmailAddressesCommand.js +3 -9
- package/node_modules/@aws-sdk/client-ses/dist-es/commands/PutConfigurationSetDeliveryOptionsCommand.js +3 -9
- package/node_modules/@aws-sdk/client-ses/dist-es/commands/PutIdentityPolicyCommand.js +3 -9
- package/node_modules/@aws-sdk/client-ses/dist-es/commands/ReorderReceiptRuleSetCommand.js +3 -9
- package/node_modules/@aws-sdk/client-ses/dist-es/commands/SendBounceCommand.js +3 -9
- package/node_modules/@aws-sdk/client-ses/dist-es/commands/SendBulkTemplatedEmailCommand.js +3 -9
- package/node_modules/@aws-sdk/client-ses/dist-es/commands/SendCustomVerificationEmailCommand.js +3 -9
- package/node_modules/@aws-sdk/client-ses/dist-es/commands/SendEmailCommand.js +3 -9
- package/node_modules/@aws-sdk/client-ses/dist-es/commands/SendRawEmailCommand.js +3 -9
- package/node_modules/@aws-sdk/client-ses/dist-es/commands/SendTemplatedEmailCommand.js +3 -9
- package/node_modules/@aws-sdk/client-ses/dist-es/commands/SetActiveReceiptRuleSetCommand.js +3 -9
- package/node_modules/@aws-sdk/client-ses/dist-es/commands/SetIdentityDkimEnabledCommand.js +3 -9
- package/node_modules/@aws-sdk/client-ses/dist-es/commands/SetIdentityFeedbackForwardingEnabledCommand.js +3 -9
- package/node_modules/@aws-sdk/client-ses/dist-es/commands/SetIdentityHeadersInNotificationsEnabledCommand.js +3 -9
- package/node_modules/@aws-sdk/client-ses/dist-es/commands/SetIdentityMailFromDomainCommand.js +3 -9
- package/node_modules/@aws-sdk/client-ses/dist-es/commands/SetIdentityNotificationTopicCommand.js +3 -9
- package/node_modules/@aws-sdk/client-ses/dist-es/commands/SetReceiptRulePositionCommand.js +3 -9
- package/node_modules/@aws-sdk/client-ses/dist-es/commands/TestRenderTemplateCommand.js +3 -9
- package/node_modules/@aws-sdk/client-ses/dist-es/commands/UpdateAccountSendingEnabledCommand.js +3 -9
- package/node_modules/@aws-sdk/client-ses/dist-es/commands/UpdateConfigurationSetEventDestinationCommand.js +3 -9
- package/node_modules/@aws-sdk/client-ses/dist-es/commands/UpdateConfigurationSetReputationMetricsEnabledCommand.js +3 -9
- package/node_modules/@aws-sdk/client-ses/dist-es/commands/UpdateConfigurationSetSendingEnabledCommand.js +3 -9
- package/node_modules/@aws-sdk/client-ses/dist-es/commands/UpdateConfigurationSetTrackingOptionsCommand.js +3 -9
- package/node_modules/@aws-sdk/client-ses/dist-es/commands/UpdateCustomVerificationEmailTemplateCommand.js +3 -9
- package/node_modules/@aws-sdk/client-ses/dist-es/commands/UpdateReceiptRuleCommand.js +3 -9
- package/node_modules/@aws-sdk/client-ses/dist-es/commands/UpdateTemplateCommand.js +3 -9
- package/node_modules/@aws-sdk/client-ses/dist-es/commands/VerifyDomainDkimCommand.js +3 -9
- package/node_modules/@aws-sdk/client-ses/dist-es/commands/VerifyDomainIdentityCommand.js +3 -9
- package/node_modules/@aws-sdk/client-ses/dist-es/commands/VerifyEmailAddressCommand.js +3 -9
- package/node_modules/@aws-sdk/client-ses/dist-es/commands/VerifyEmailIdentityCommand.js +3 -9
- package/node_modules/@aws-sdk/client-ses/dist-es/runtimeConfig.shared.js +7 -0
- package/node_modules/@aws-sdk/client-ses/dist-es/schemas/schemas_0.js +1930 -0
- package/node_modules/@aws-sdk/client-ses/dist-types/SESClient.d.ts +10 -1
- package/node_modules/@aws-sdk/client-ses/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/node_modules/@aws-sdk/client-ses/dist-types/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/client-ses/dist-types/runtimeConfig.native.d.ts +1 -0
- package/node_modules/@aws-sdk/client-ses/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/node_modules/@aws-sdk/client-ses/dist-types/schemas/schemas_0.d.ts +308 -0
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/SESClient.d.ts +4 -0
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/schemas/schemas_0.d.ts +314 -0
- package/node_modules/@aws-sdk/client-ses/package.json +34 -34
- package/node_modules/@aws-sdk/client-ssm/dist-cjs/index.js +0 -24
- package/node_modules/@aws-sdk/client-ssm/dist-es/models/models_1.js +0 -16
- package/node_modules/@aws-sdk/client-ssm/dist-es/models/models_2.js +0 -8
- package/node_modules/@aws-sdk/client-ssm/dist-types/models/models_1.d.ts +8 -2
- package/node_modules/@aws-sdk/client-ssm/dist-types/models/models_2.d.ts +4 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/models/models_1.d.ts +0 -2
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/models/models_2.d.ts +0 -1
- package/node_modules/@aws-sdk/client-ssm/package.json +34 -34
- package/node_modules/@aws-sdk/client-sso/dist-cjs/index.js +277 -270
- package/node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.shared.js +2 -0
- package/node_modules/@aws-sdk/client-sso/dist-es/SSOClient.js +2 -0
- package/node_modules/@aws-sdk/client-sso/dist-es/commands/GetRoleCredentialsCommand.js +3 -10
- package/node_modules/@aws-sdk/client-sso/dist-es/commands/ListAccountRolesCommand.js +3 -10
- package/node_modules/@aws-sdk/client-sso/dist-es/commands/ListAccountsCommand.js +3 -10
- package/node_modules/@aws-sdk/client-sso/dist-es/commands/LogoutCommand.js +3 -10
- package/node_modules/@aws-sdk/client-sso/dist-es/models/models_0.js +0 -26
- package/node_modules/@aws-sdk/client-sso/dist-es/runtimeConfig.shared.js +2 -0
- package/node_modules/@aws-sdk/client-sso/dist-es/schemas/schemas_0.js +265 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/SSOClient.d.ts +10 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/models/models_0.d.ts +0 -24
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.native.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/schemas/schemas_0.d.ts +26 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/SSOClient.d.ts +4 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/models/models_0.d.ts +0 -18
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/schemas/schemas_0.d.ts +32 -0
- package/node_modules/@aws-sdk/client-sso/package.json +32 -32
- package/node_modules/@aws-sdk/core/dist-cjs/index.js +44 -17
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +44 -17
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/ProtocolLib.js +19 -3
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/cbor/AwsSmithyRpcV2CborProtocol.js +4 -3
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJsonRpcProtocol.js +4 -3
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsRestJsonProtocol.js +13 -3
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/AwsQueryProtocol.js +2 -2
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/AwsRestXmlProtocol.js +2 -2
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/ProtocolLib.d.ts +7 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJsonRpcProtocol.d.ts +3 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsRestJsonProtocol.d.ts +11 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/AwsQueryProtocol.d.ts +3 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/AwsRestXmlProtocol.d.ts +3 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/ProtocolLib.d.ts +7 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsRestJsonProtocol.d.ts +6 -0
- package/node_modules/@aws-sdk/core/package.json +11 -11
- package/node_modules/@aws-sdk/credential-provider-env/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-http/package.json +10 -10
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +13 -13
- package/node_modules/@aws-sdk/credential-provider-node/package.json +12 -12
- package/node_modules/@aws-sdk/credential-provider-process/package.json +6 -6
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +7 -7
- package/node_modules/@aws-sdk/middleware-bucket-endpoint/package.json +5 -5
- package/node_modules/@aws-sdk/middleware-expect-continue/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-flexible-checksums/package.json +9 -9
- package/node_modules/@aws-sdk/middleware-host-header/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-location-constraint/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-logger/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/recursionDetectionMiddleware.js +2 -1
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-es/recursionDetectionMiddleware.js +2 -1
- package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +5 -5
- package/node_modules/@aws-sdk/middleware-sdk-route53/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +11 -11
- package/node_modules/@aws-sdk/middleware-ssec/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +7 -7
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +246 -310
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.shared.js +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/STSClient.js +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +207 -548
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.shared.js +7 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/SSOOIDCClient.js +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/commands/CreateTokenCommand.js +3 -10
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/models_0.js +0 -13
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.shared.js +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/schemas/schemas_0.js +211 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/STSClient.js +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/commands/AssumeRoleCommand.js +3 -10
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.js +3 -10
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/models/models_0.js +0 -17
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.shared.js +7 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/schemas/schemas_0.js +214 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/SSOOIDCClient.d.ts +10 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/models/models_0.d.ts +0 -8
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.browser.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.native.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.shared.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/schemas/schemas_0.d.ts +23 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/STSClient.d.ts +10 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.d.ts +4 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/models/models_0.d.ts +8 -24
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.browser.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.native.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.shared.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/schemas/schemas_0.d.ts +26 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/SSOOIDCClient.d.ts +4 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/models/models_0.d.ts +0 -6
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.browser.d.ts +4 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.d.ts +4 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.native.d.ts +4 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.shared.d.ts +4 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/schemas/schemas_0.d.ts +28 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/STSClient.d.ts +4 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/models/models_0.d.ts +0 -10
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.browser.d.ts +4 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.d.ts +4 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.native.d.ts +4 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.shared.d.ts +4 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/schemas/schemas_0.d.ts +32 -0
- package/node_modules/@aws-sdk/nested-clients/package.json +32 -32
- package/node_modules/@aws-sdk/region-config-resolver/package.json +5 -5
- package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +6 -6
- package/node_modules/@aws-sdk/token-providers/package.json +7 -7
- package/node_modules/@aws-sdk/types/package.json +2 -2
- package/node_modules/@aws-sdk/util-endpoints/package.json +5 -5
- package/node_modules/@aws-sdk/util-user-agent-browser/package.json +3 -3
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +5 -5
- package/node_modules/@aws-sdk/xml-builder/package.json +2 -2
- package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +0 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +43 -2
- package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +7 -2
- package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +3 -0
- package/node_modules/@smithy/core/dist-es/submodules/cbor/SmithyRpcV2CborProtocol.js +0 -1
- package/node_modules/@smithy/core/dist-es/submodules/event-streams/EventStreamSerde.js +44 -3
- package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/protocols/serde/ToStringShapeSerializer.js +7 -2
- package/node_modules/@smithy/core/dist-es/submodules/schema/middleware/schemaDeserializationMiddleware.js +3 -0
- package/node_modules/@smithy/core/package.json +2 -2
- package/node_modules/@smithy/middleware-endpoint/package.json +3 -3
- package/node_modules/@smithy/middleware-retry/package.json +2 -2
- package/node_modules/@smithy/middleware-serde/dist-cjs/index.js +3 -0
- package/node_modules/@smithy/middleware-serde/dist-es/deserializerMiddleware.js +3 -0
- package/node_modules/@smithy/middleware-serde/package.json +1 -1
- package/node_modules/@smithy/smithy-client/package.json +3 -3
- package/node_modules/@smithy/util-defaults-mode-browser/package.json +2 -2
- package/node_modules/@smithy/util-defaults-mode-node/package.json +2 -2
- package/package.json +1 -1
- package/node_modules/@aws-sdk/client-route-53/dist-es/protocols/Aws_restXml.js +0 -4684
- package/node_modules/@aws-sdk/client-route-53/dist-types/protocols/Aws_restXml.d.ts +0 -632
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/protocols/Aws_restXml.d.ts +0 -845
- package/node_modules/@aws-sdk/client-s3/dist-es/protocols/Aws_restXml.js +0 -8103
- package/node_modules/@aws-sdk/client-s3/dist-types/protocols/Aws_restXml.d.ts +0 -938
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/protocols/Aws_restXml.d.ts +0 -1257
- package/node_modules/@aws-sdk/client-ses/dist-es/protocols/Aws_query.js +0 -5325
- package/node_modules/@aws-sdk/client-ses/dist-types/protocols/Aws_query.d.ts +0 -641
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/protocols/Aws_query.d.ts +0 -857
- package/node_modules/@aws-sdk/client-sso/dist-es/protocols/Aws_restJson1.js +0 -210
- package/node_modules/@aws-sdk/client-sso/dist-types/protocols/Aws_restJson1.d.ts +0 -38
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -53
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/protocols/Aws_restJson1.js +0 -257
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/protocols/Aws_query.js +0 -528
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/protocols/Aws_restJson1.d.ts +0 -11
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/protocols/Aws_query.d.ts +0 -20
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/protocols/Aws_restJson1.d.ts +0 -17
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/protocols/Aws_query.d.ts +0 -29
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import {
|
|
2
|
+
StaticErrorSchema,
|
|
3
|
+
StaticListSchema,
|
|
4
|
+
StaticOperationSchema,
|
|
5
|
+
StaticSimpleSchema,
|
|
6
|
+
StaticStructureSchema,
|
|
7
|
+
} from "@smithy/types";
|
|
8
|
+
export declare var AccessTokenType: StaticSimpleSchema;
|
|
9
|
+
export declare var SecretAccessKeyType: StaticSimpleSchema;
|
|
10
|
+
export declare var SessionTokenType: StaticSimpleSchema;
|
|
11
|
+
export declare var AccountInfo: StaticStructureSchema;
|
|
12
|
+
export declare var GetRoleCredentialsRequest: StaticStructureSchema;
|
|
13
|
+
export declare var GetRoleCredentialsResponse: StaticStructureSchema;
|
|
14
|
+
export declare var InvalidRequestException: StaticErrorSchema;
|
|
15
|
+
export declare var ListAccountRolesRequest: StaticStructureSchema;
|
|
16
|
+
export declare var ListAccountRolesResponse: StaticStructureSchema;
|
|
17
|
+
export declare var ListAccountsRequest: StaticStructureSchema;
|
|
18
|
+
export declare var ListAccountsResponse: StaticStructureSchema;
|
|
19
|
+
export declare var LogoutRequest: StaticStructureSchema;
|
|
20
|
+
export declare var ResourceNotFoundException: StaticErrorSchema;
|
|
21
|
+
export declare var RoleCredentials: StaticStructureSchema;
|
|
22
|
+
export declare var RoleInfo: StaticStructureSchema;
|
|
23
|
+
export declare var TooManyRequestsException: StaticErrorSchema;
|
|
24
|
+
export declare var UnauthorizedException: StaticErrorSchema;
|
|
25
|
+
export declare var __Unit: "unit";
|
|
26
|
+
export declare var SSOServiceException: StaticErrorSchema;
|
|
27
|
+
export declare var AccountListType: StaticListSchema;
|
|
28
|
+
export declare var RoleListType: StaticListSchema;
|
|
29
|
+
export declare var GetRoleCredentials: StaticOperationSchema;
|
|
30
|
+
export declare var ListAccountRoles: StaticOperationSchema;
|
|
31
|
+
export declare var ListAccounts: StaticOperationSchema;
|
|
32
|
+
export declare var Logout: StaticOperationSchema;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-sso",
|
|
3
3
|
"description": "AWS SDK for JavaScript Sso Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.933.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-sso",
|
|
@@ -20,40 +20,40 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
25
|
-
"@aws-sdk/middleware-logger": "3.
|
|
26
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
27
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
29
|
-
"@aws-sdk/types": "3.
|
|
30
|
-
"@aws-sdk/util-endpoints": "3.
|
|
31
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
32
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
-
"@smithy/config-resolver": "^4.4.
|
|
34
|
-
"@smithy/core": "^3.
|
|
35
|
-
"@smithy/fetch-http-handler": "^5.3.
|
|
36
|
-
"@smithy/hash-node": "^4.2.
|
|
37
|
-
"@smithy/invalid-dependency": "^4.2.
|
|
38
|
-
"@smithy/middleware-content-length": "^4.2.
|
|
39
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
40
|
-
"@smithy/middleware-retry": "^4.4.
|
|
41
|
-
"@smithy/middleware-serde": "^4.2.
|
|
42
|
-
"@smithy/middleware-stack": "^4.2.
|
|
43
|
-
"@smithy/node-config-provider": "^4.3.
|
|
44
|
-
"@smithy/node-http-handler": "^4.4.
|
|
45
|
-
"@smithy/protocol-http": "^5.3.
|
|
46
|
-
"@smithy/smithy-client": "^4.9.
|
|
47
|
-
"@smithy/types": "^4.
|
|
48
|
-
"@smithy/url-parser": "^4.2.
|
|
23
|
+
"@aws-sdk/core": "3.932.0",
|
|
24
|
+
"@aws-sdk/middleware-host-header": "3.930.0",
|
|
25
|
+
"@aws-sdk/middleware-logger": "3.930.0",
|
|
26
|
+
"@aws-sdk/middleware-recursion-detection": "3.933.0",
|
|
27
|
+
"@aws-sdk/middleware-user-agent": "3.932.0",
|
|
28
|
+
"@aws-sdk/region-config-resolver": "3.930.0",
|
|
29
|
+
"@aws-sdk/types": "3.930.0",
|
|
30
|
+
"@aws-sdk/util-endpoints": "3.930.0",
|
|
31
|
+
"@aws-sdk/util-user-agent-browser": "3.930.0",
|
|
32
|
+
"@aws-sdk/util-user-agent-node": "3.932.0",
|
|
33
|
+
"@smithy/config-resolver": "^4.4.3",
|
|
34
|
+
"@smithy/core": "^3.18.2",
|
|
35
|
+
"@smithy/fetch-http-handler": "^5.3.6",
|
|
36
|
+
"@smithy/hash-node": "^4.2.5",
|
|
37
|
+
"@smithy/invalid-dependency": "^4.2.5",
|
|
38
|
+
"@smithy/middleware-content-length": "^4.2.5",
|
|
39
|
+
"@smithy/middleware-endpoint": "^4.3.9",
|
|
40
|
+
"@smithy/middleware-retry": "^4.4.9",
|
|
41
|
+
"@smithy/middleware-serde": "^4.2.5",
|
|
42
|
+
"@smithy/middleware-stack": "^4.2.5",
|
|
43
|
+
"@smithy/node-config-provider": "^4.3.5",
|
|
44
|
+
"@smithy/node-http-handler": "^4.4.5",
|
|
45
|
+
"@smithy/protocol-http": "^5.3.5",
|
|
46
|
+
"@smithy/smithy-client": "^4.9.5",
|
|
47
|
+
"@smithy/types": "^4.9.0",
|
|
48
|
+
"@smithy/url-parser": "^4.2.5",
|
|
49
49
|
"@smithy/util-base64": "^4.3.0",
|
|
50
50
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
51
51
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
52
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
53
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
54
|
-
"@smithy/util-endpoints": "^3.2.
|
|
55
|
-
"@smithy/util-middleware": "^4.2.
|
|
56
|
-
"@smithy/util-retry": "^4.2.
|
|
52
|
+
"@smithy/util-defaults-mode-browser": "^4.3.8",
|
|
53
|
+
"@smithy/util-defaults-mode-node": "^4.2.11",
|
|
54
|
+
"@smithy/util-endpoints": "^3.2.5",
|
|
55
|
+
"@smithy/util-middleware": "^4.2.5",
|
|
56
|
+
"@smithy/util-retry": "^4.2.5",
|
|
57
57
|
"@smithy/util-utf8": "^4.2.0",
|
|
58
58
|
"tslib": "^2.6.2"
|
|
59
59
|
},
|
|
@@ -7,10 +7,10 @@ var client = require('@aws-sdk/core/client');
|
|
|
7
7
|
var signatureV4 = require('@smithy/signature-v4');
|
|
8
8
|
var cbor = require('@smithy/core/cbor');
|
|
9
9
|
var schema = require('@smithy/core/schema');
|
|
10
|
+
var smithyClient = require('@smithy/smithy-client');
|
|
10
11
|
var protocols = require('@smithy/core/protocols');
|
|
11
12
|
var serde = require('@smithy/core/serde');
|
|
12
13
|
var utilBase64 = require('@smithy/util-base64');
|
|
13
|
-
var smithyClient = require('@smithy/smithy-client');
|
|
14
14
|
var utilUtf8 = require('@smithy/util-utf8');
|
|
15
15
|
var xmlBuilder = require('@aws-sdk/xml-builder');
|
|
16
16
|
|
|
@@ -340,6 +340,10 @@ function bindCallerConfig(config, credentialsProvider) {
|
|
|
340
340
|
}
|
|
341
341
|
|
|
342
342
|
class ProtocolLib {
|
|
343
|
+
queryCompat;
|
|
344
|
+
constructor(queryCompat = false) {
|
|
345
|
+
this.queryCompat = queryCompat;
|
|
346
|
+
}
|
|
343
347
|
resolveRestContentType(defaultContentType, inputSchema) {
|
|
344
348
|
const members = inputSchema.getMemberSchemas();
|
|
345
349
|
const httpPayloadMember = Object.values(members).find((m) => {
|
|
@@ -379,7 +383,6 @@ class ProtocolLib {
|
|
|
379
383
|
}
|
|
380
384
|
const errorMetadata = {
|
|
381
385
|
$metadata: metadata,
|
|
382
|
-
$response: response,
|
|
383
386
|
$fault: response.statusCode < 500 ? "client" : "server",
|
|
384
387
|
};
|
|
385
388
|
const registry = schema.TypeRegistry.for(namespace);
|
|
@@ -393,11 +396,23 @@ class ProtocolLib {
|
|
|
393
396
|
const baseExceptionSchema = synthetic.getBaseException();
|
|
394
397
|
if (baseExceptionSchema) {
|
|
395
398
|
const ErrorCtor = synthetic.getErrorCtor(baseExceptionSchema) ?? Error;
|
|
396
|
-
throw Object.assign(new ErrorCtor({ name: errorName }), errorMetadata, dataObject);
|
|
399
|
+
throw this.decorateServiceException(Object.assign(new ErrorCtor({ name: errorName }), errorMetadata), dataObject);
|
|
397
400
|
}
|
|
398
|
-
throw Object.assign(new Error(errorName), errorMetadata, dataObject);
|
|
401
|
+
throw this.decorateServiceException(Object.assign(new Error(errorName), errorMetadata), dataObject);
|
|
399
402
|
}
|
|
400
403
|
}
|
|
404
|
+
decorateServiceException(exception, additions = {}) {
|
|
405
|
+
if (this.queryCompat) {
|
|
406
|
+
const msg = exception.Message ?? additions.Message;
|
|
407
|
+
const error = smithyClient.decorateServiceException(exception, additions);
|
|
408
|
+
if (msg) {
|
|
409
|
+
error.Message = msg;
|
|
410
|
+
error.message = msg;
|
|
411
|
+
}
|
|
412
|
+
return error;
|
|
413
|
+
}
|
|
414
|
+
return smithyClient.decorateServiceException(exception, additions);
|
|
415
|
+
}
|
|
401
416
|
setQueryCompatError(output, response) {
|
|
402
417
|
const queryErrorHeader = response.headers?.["x-amzn-query-error"];
|
|
403
418
|
if (output !== undefined && queryErrorHeader != null) {
|
|
@@ -430,10 +445,11 @@ class ProtocolLib {
|
|
|
430
445
|
|
|
431
446
|
class AwsSmithyRpcV2CborProtocol extends cbor.SmithyRpcV2CborProtocol {
|
|
432
447
|
awsQueryCompatible;
|
|
433
|
-
mixin
|
|
448
|
+
mixin;
|
|
434
449
|
constructor({ defaultNamespace, awsQueryCompatible, }) {
|
|
435
450
|
super({ defaultNamespace });
|
|
436
451
|
this.awsQueryCompatible = !!awsQueryCompatible;
|
|
452
|
+
this.mixin = new ProtocolLib(this.awsQueryCompatible);
|
|
437
453
|
}
|
|
438
454
|
async serializeRequest(operationSchema, input, context) {
|
|
439
455
|
const request = await super.serializeRequest(operationSchema, input, context);
|
|
@@ -459,10 +475,10 @@ class AwsSmithyRpcV2CborProtocol extends cbor.SmithyRpcV2CborProtocol {
|
|
|
459
475
|
if (this.awsQueryCompatible) {
|
|
460
476
|
this.mixin.queryCompatOutput(dataObject, output);
|
|
461
477
|
}
|
|
462
|
-
throw Object.assign(exception, errorMetadata, {
|
|
478
|
+
throw this.mixin.decorateServiceException(Object.assign(exception, errorMetadata, {
|
|
463
479
|
$fault: ns.getMergedTraits().error,
|
|
464
480
|
message,
|
|
465
|
-
}, output);
|
|
481
|
+
}, output), dataObject);
|
|
466
482
|
}
|
|
467
483
|
}
|
|
468
484
|
|
|
@@ -907,7 +923,7 @@ class AwsJsonRpcProtocol extends protocols.RpcProtocol {
|
|
|
907
923
|
deserializer;
|
|
908
924
|
serviceTarget;
|
|
909
925
|
codec;
|
|
910
|
-
mixin
|
|
926
|
+
mixin;
|
|
911
927
|
awsQueryCompatible;
|
|
912
928
|
constructor({ defaultNamespace, serviceTarget, awsQueryCompatible, }) {
|
|
913
929
|
super({
|
|
@@ -924,6 +940,7 @@ class AwsJsonRpcProtocol extends protocols.RpcProtocol {
|
|
|
924
940
|
this.serializer = this.codec.createSerializer();
|
|
925
941
|
this.deserializer = this.codec.createDeserializer();
|
|
926
942
|
this.awsQueryCompatible = !!awsQueryCompatible;
|
|
943
|
+
this.mixin = new ProtocolLib(this.awsQueryCompatible);
|
|
927
944
|
}
|
|
928
945
|
async serializeRequest(operationSchema, input, context) {
|
|
929
946
|
const request = await super.serializeRequest(operationSchema, input, context);
|
|
@@ -963,10 +980,10 @@ class AwsJsonRpcProtocol extends protocols.RpcProtocol {
|
|
|
963
980
|
if (this.awsQueryCompatible) {
|
|
964
981
|
this.mixin.queryCompatOutput(dataObject, output);
|
|
965
982
|
}
|
|
966
|
-
throw Object.assign(exception, errorMetadata, {
|
|
983
|
+
throw this.mixin.decorateServiceException(Object.assign(exception, errorMetadata, {
|
|
967
984
|
$fault: ns.getMergedTraits().error,
|
|
968
985
|
message,
|
|
969
|
-
}, output);
|
|
986
|
+
}, output), dataObject);
|
|
970
987
|
}
|
|
971
988
|
}
|
|
972
989
|
|
|
@@ -1048,11 +1065,21 @@ class AwsRestJsonProtocol extends protocols.HttpBindingProtocol {
|
|
|
1048
1065
|
request.headers["content-type"] = contentType;
|
|
1049
1066
|
}
|
|
1050
1067
|
}
|
|
1051
|
-
if (request.headers["content-type"]
|
|
1068
|
+
if (request.body == null && request.headers["content-type"] === this.getDefaultContentType()) {
|
|
1052
1069
|
request.body = "{}";
|
|
1053
1070
|
}
|
|
1054
1071
|
return request;
|
|
1055
1072
|
}
|
|
1073
|
+
async deserializeResponse(operationSchema, context, response) {
|
|
1074
|
+
const output = await super.deserializeResponse(operationSchema, context, response);
|
|
1075
|
+
const outputSchema = schema.NormalizedSchema.of(operationSchema.output);
|
|
1076
|
+
for (const [name, member] of outputSchema.structIterator()) {
|
|
1077
|
+
if (member.getMemberTraits().httpPayload && !(name in output)) {
|
|
1078
|
+
output[name] = null;
|
|
1079
|
+
}
|
|
1080
|
+
}
|
|
1081
|
+
return output;
|
|
1082
|
+
}
|
|
1056
1083
|
async handleError(operationSchema, context, response, dataObject, metadata) {
|
|
1057
1084
|
const errorIdentifier = loadRestJsonErrorCode(response, dataObject) ?? "Unknown";
|
|
1058
1085
|
const { errorSchema, errorMetadata } = await this.mixin.getErrorSchemaOrThrowBaseException(errorIdentifier, this.options.defaultNamespace, response, dataObject, metadata);
|
|
@@ -1066,10 +1093,10 @@ class AwsRestJsonProtocol extends protocols.HttpBindingProtocol {
|
|
|
1066
1093
|
const target = member.getMergedTraits().jsonName ?? name;
|
|
1067
1094
|
output[name] = this.codec.createDeserializer().readObject(member, dataObject[target]);
|
|
1068
1095
|
}
|
|
1069
|
-
throw Object.assign(exception, errorMetadata, {
|
|
1096
|
+
throw this.mixin.decorateServiceException(Object.assign(exception, errorMetadata, {
|
|
1070
1097
|
$fault: ns.getMergedTraits().error,
|
|
1071
1098
|
message,
|
|
1072
|
-
}, output);
|
|
1099
|
+
}, output), dataObject);
|
|
1073
1100
|
}
|
|
1074
1101
|
getDefaultContentType() {
|
|
1075
1102
|
return "application/json";
|
|
@@ -1485,10 +1512,10 @@ class AwsQueryProtocol extends protocols.RpcProtocol {
|
|
|
1485
1512
|
const value = errorData[target] ?? dataObject[target];
|
|
1486
1513
|
output[name] = this.deserializer.readSchema(member, value);
|
|
1487
1514
|
}
|
|
1488
|
-
throw Object.assign(exception, errorMetadata, {
|
|
1515
|
+
throw this.mixin.decorateServiceException(Object.assign(exception, errorMetadata, {
|
|
1489
1516
|
$fault: ns.getMergedTraits().error,
|
|
1490
1517
|
message,
|
|
1491
|
-
}, output);
|
|
1518
|
+
}, output), dataObject);
|
|
1492
1519
|
}
|
|
1493
1520
|
loadQueryErrorCode(output, data) {
|
|
1494
1521
|
const code = (data.Errors?.[0]?.Error ?? data.Errors?.Error ?? data.Error)?.Code;
|
|
@@ -1922,10 +1949,10 @@ class AwsRestXmlProtocol extends protocols.HttpBindingProtocol {
|
|
|
1922
1949
|
const value = dataObject.Error?.[target] ?? dataObject[target];
|
|
1923
1950
|
output[name] = this.codec.createDeserializer().readSchema(member, value);
|
|
1924
1951
|
}
|
|
1925
|
-
throw Object.assign(exception, errorMetadata, {
|
|
1952
|
+
throw this.mixin.decorateServiceException(Object.assign(exception, errorMetadata, {
|
|
1926
1953
|
$fault: ns.getMergedTraits().error,
|
|
1927
1954
|
message,
|
|
1928
|
-
}, output);
|
|
1955
|
+
}, output), dataObject);
|
|
1929
1956
|
}
|
|
1930
1957
|
getDefaultContentType() {
|
|
1931
1958
|
return "application/xml";
|
|
@@ -2,14 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
var cbor = require('@smithy/core/cbor');
|
|
4
4
|
var schema = require('@smithy/core/schema');
|
|
5
|
+
var smithyClient = require('@smithy/smithy-client');
|
|
5
6
|
var protocols = require('@smithy/core/protocols');
|
|
6
7
|
var serde = require('@smithy/core/serde');
|
|
7
8
|
var utilBase64 = require('@smithy/util-base64');
|
|
8
|
-
var smithyClient = require('@smithy/smithy-client');
|
|
9
9
|
var utilUtf8 = require('@smithy/util-utf8');
|
|
10
10
|
var xmlBuilder = require('@aws-sdk/xml-builder');
|
|
11
11
|
|
|
12
12
|
class ProtocolLib {
|
|
13
|
+
queryCompat;
|
|
14
|
+
constructor(queryCompat = false) {
|
|
15
|
+
this.queryCompat = queryCompat;
|
|
16
|
+
}
|
|
13
17
|
resolveRestContentType(defaultContentType, inputSchema) {
|
|
14
18
|
const members = inputSchema.getMemberSchemas();
|
|
15
19
|
const httpPayloadMember = Object.values(members).find((m) => {
|
|
@@ -49,7 +53,6 @@ class ProtocolLib {
|
|
|
49
53
|
}
|
|
50
54
|
const errorMetadata = {
|
|
51
55
|
$metadata: metadata,
|
|
52
|
-
$response: response,
|
|
53
56
|
$fault: response.statusCode < 500 ? "client" : "server",
|
|
54
57
|
};
|
|
55
58
|
const registry = schema.TypeRegistry.for(namespace);
|
|
@@ -63,11 +66,23 @@ class ProtocolLib {
|
|
|
63
66
|
const baseExceptionSchema = synthetic.getBaseException();
|
|
64
67
|
if (baseExceptionSchema) {
|
|
65
68
|
const ErrorCtor = synthetic.getErrorCtor(baseExceptionSchema) ?? Error;
|
|
66
|
-
throw Object.assign(new ErrorCtor({ name: errorName }), errorMetadata, dataObject);
|
|
69
|
+
throw this.decorateServiceException(Object.assign(new ErrorCtor({ name: errorName }), errorMetadata), dataObject);
|
|
67
70
|
}
|
|
68
|
-
throw Object.assign(new Error(errorName), errorMetadata, dataObject);
|
|
71
|
+
throw this.decorateServiceException(Object.assign(new Error(errorName), errorMetadata), dataObject);
|
|
69
72
|
}
|
|
70
73
|
}
|
|
74
|
+
decorateServiceException(exception, additions = {}) {
|
|
75
|
+
if (this.queryCompat) {
|
|
76
|
+
const msg = exception.Message ?? additions.Message;
|
|
77
|
+
const error = smithyClient.decorateServiceException(exception, additions);
|
|
78
|
+
if (msg) {
|
|
79
|
+
error.Message = msg;
|
|
80
|
+
error.message = msg;
|
|
81
|
+
}
|
|
82
|
+
return error;
|
|
83
|
+
}
|
|
84
|
+
return smithyClient.decorateServiceException(exception, additions);
|
|
85
|
+
}
|
|
71
86
|
setQueryCompatError(output, response) {
|
|
72
87
|
const queryErrorHeader = response.headers?.["x-amzn-query-error"];
|
|
73
88
|
if (output !== undefined && queryErrorHeader != null) {
|
|
@@ -100,10 +115,11 @@ class ProtocolLib {
|
|
|
100
115
|
|
|
101
116
|
class AwsSmithyRpcV2CborProtocol extends cbor.SmithyRpcV2CborProtocol {
|
|
102
117
|
awsQueryCompatible;
|
|
103
|
-
mixin
|
|
118
|
+
mixin;
|
|
104
119
|
constructor({ defaultNamespace, awsQueryCompatible, }) {
|
|
105
120
|
super({ defaultNamespace });
|
|
106
121
|
this.awsQueryCompatible = !!awsQueryCompatible;
|
|
122
|
+
this.mixin = new ProtocolLib(this.awsQueryCompatible);
|
|
107
123
|
}
|
|
108
124
|
async serializeRequest(operationSchema, input, context) {
|
|
109
125
|
const request = await super.serializeRequest(operationSchema, input, context);
|
|
@@ -129,10 +145,10 @@ class AwsSmithyRpcV2CborProtocol extends cbor.SmithyRpcV2CborProtocol {
|
|
|
129
145
|
if (this.awsQueryCompatible) {
|
|
130
146
|
this.mixin.queryCompatOutput(dataObject, output);
|
|
131
147
|
}
|
|
132
|
-
throw Object.assign(exception, errorMetadata, {
|
|
148
|
+
throw this.mixin.decorateServiceException(Object.assign(exception, errorMetadata, {
|
|
133
149
|
$fault: ns.getMergedTraits().error,
|
|
134
150
|
message,
|
|
135
|
-
}, output);
|
|
151
|
+
}, output), dataObject);
|
|
136
152
|
}
|
|
137
153
|
}
|
|
138
154
|
|
|
@@ -577,7 +593,7 @@ class AwsJsonRpcProtocol extends protocols.RpcProtocol {
|
|
|
577
593
|
deserializer;
|
|
578
594
|
serviceTarget;
|
|
579
595
|
codec;
|
|
580
|
-
mixin
|
|
596
|
+
mixin;
|
|
581
597
|
awsQueryCompatible;
|
|
582
598
|
constructor({ defaultNamespace, serviceTarget, awsQueryCompatible, }) {
|
|
583
599
|
super({
|
|
@@ -594,6 +610,7 @@ class AwsJsonRpcProtocol extends protocols.RpcProtocol {
|
|
|
594
610
|
this.serializer = this.codec.createSerializer();
|
|
595
611
|
this.deserializer = this.codec.createDeserializer();
|
|
596
612
|
this.awsQueryCompatible = !!awsQueryCompatible;
|
|
613
|
+
this.mixin = new ProtocolLib(this.awsQueryCompatible);
|
|
597
614
|
}
|
|
598
615
|
async serializeRequest(operationSchema, input, context) {
|
|
599
616
|
const request = await super.serializeRequest(operationSchema, input, context);
|
|
@@ -633,10 +650,10 @@ class AwsJsonRpcProtocol extends protocols.RpcProtocol {
|
|
|
633
650
|
if (this.awsQueryCompatible) {
|
|
634
651
|
this.mixin.queryCompatOutput(dataObject, output);
|
|
635
652
|
}
|
|
636
|
-
throw Object.assign(exception, errorMetadata, {
|
|
653
|
+
throw this.mixin.decorateServiceException(Object.assign(exception, errorMetadata, {
|
|
637
654
|
$fault: ns.getMergedTraits().error,
|
|
638
655
|
message,
|
|
639
|
-
}, output);
|
|
656
|
+
}, output), dataObject);
|
|
640
657
|
}
|
|
641
658
|
}
|
|
642
659
|
|
|
@@ -718,11 +735,21 @@ class AwsRestJsonProtocol extends protocols.HttpBindingProtocol {
|
|
|
718
735
|
request.headers["content-type"] = contentType;
|
|
719
736
|
}
|
|
720
737
|
}
|
|
721
|
-
if (request.headers["content-type"]
|
|
738
|
+
if (request.body == null && request.headers["content-type"] === this.getDefaultContentType()) {
|
|
722
739
|
request.body = "{}";
|
|
723
740
|
}
|
|
724
741
|
return request;
|
|
725
742
|
}
|
|
743
|
+
async deserializeResponse(operationSchema, context, response) {
|
|
744
|
+
const output = await super.deserializeResponse(operationSchema, context, response);
|
|
745
|
+
const outputSchema = schema.NormalizedSchema.of(operationSchema.output);
|
|
746
|
+
for (const [name, member] of outputSchema.structIterator()) {
|
|
747
|
+
if (member.getMemberTraits().httpPayload && !(name in output)) {
|
|
748
|
+
output[name] = null;
|
|
749
|
+
}
|
|
750
|
+
}
|
|
751
|
+
return output;
|
|
752
|
+
}
|
|
726
753
|
async handleError(operationSchema, context, response, dataObject, metadata) {
|
|
727
754
|
const errorIdentifier = loadRestJsonErrorCode(response, dataObject) ?? "Unknown";
|
|
728
755
|
const { errorSchema, errorMetadata } = await this.mixin.getErrorSchemaOrThrowBaseException(errorIdentifier, this.options.defaultNamespace, response, dataObject, metadata);
|
|
@@ -736,10 +763,10 @@ class AwsRestJsonProtocol extends protocols.HttpBindingProtocol {
|
|
|
736
763
|
const target = member.getMergedTraits().jsonName ?? name;
|
|
737
764
|
output[name] = this.codec.createDeserializer().readObject(member, dataObject[target]);
|
|
738
765
|
}
|
|
739
|
-
throw Object.assign(exception, errorMetadata, {
|
|
766
|
+
throw this.mixin.decorateServiceException(Object.assign(exception, errorMetadata, {
|
|
740
767
|
$fault: ns.getMergedTraits().error,
|
|
741
768
|
message,
|
|
742
|
-
}, output);
|
|
769
|
+
}, output), dataObject);
|
|
743
770
|
}
|
|
744
771
|
getDefaultContentType() {
|
|
745
772
|
return "application/json";
|
|
@@ -1155,10 +1182,10 @@ class AwsQueryProtocol extends protocols.RpcProtocol {
|
|
|
1155
1182
|
const value = errorData[target] ?? dataObject[target];
|
|
1156
1183
|
output[name] = this.deserializer.readSchema(member, value);
|
|
1157
1184
|
}
|
|
1158
|
-
throw Object.assign(exception, errorMetadata, {
|
|
1185
|
+
throw this.mixin.decorateServiceException(Object.assign(exception, errorMetadata, {
|
|
1159
1186
|
$fault: ns.getMergedTraits().error,
|
|
1160
1187
|
message,
|
|
1161
|
-
}, output);
|
|
1188
|
+
}, output), dataObject);
|
|
1162
1189
|
}
|
|
1163
1190
|
loadQueryErrorCode(output, data) {
|
|
1164
1191
|
const code = (data.Errors?.[0]?.Error ?? data.Errors?.Error ?? data.Error)?.Code;
|
|
@@ -1592,10 +1619,10 @@ class AwsRestXmlProtocol extends protocols.HttpBindingProtocol {
|
|
|
1592
1619
|
const value = dataObject.Error?.[target] ?? dataObject[target];
|
|
1593
1620
|
output[name] = this.codec.createDeserializer().readSchema(member, value);
|
|
1594
1621
|
}
|
|
1595
|
-
throw Object.assign(exception, errorMetadata, {
|
|
1622
|
+
throw this.mixin.decorateServiceException(Object.assign(exception, errorMetadata, {
|
|
1596
1623
|
$fault: ns.getMergedTraits().error,
|
|
1597
1624
|
message,
|
|
1598
|
-
}, output);
|
|
1625
|
+
}, output), dataObject);
|
|
1599
1626
|
}
|
|
1600
1627
|
getDefaultContentType() {
|
|
1601
1628
|
return "application/xml";
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
2
|
+
import { decorateServiceException } from "@smithy/smithy-client";
|
|
2
3
|
export class ProtocolLib {
|
|
4
|
+
queryCompat;
|
|
5
|
+
constructor(queryCompat = false) {
|
|
6
|
+
this.queryCompat = queryCompat;
|
|
7
|
+
}
|
|
3
8
|
resolveRestContentType(defaultContentType, inputSchema) {
|
|
4
9
|
const members = inputSchema.getMemberSchemas();
|
|
5
10
|
const httpPayloadMember = Object.values(members).find((m) => {
|
|
@@ -39,7 +44,6 @@ export class ProtocolLib {
|
|
|
39
44
|
}
|
|
40
45
|
const errorMetadata = {
|
|
41
46
|
$metadata: metadata,
|
|
42
|
-
$response: response,
|
|
43
47
|
$fault: response.statusCode < 500 ? "client" : "server",
|
|
44
48
|
};
|
|
45
49
|
const registry = TypeRegistry.for(namespace);
|
|
@@ -53,10 +57,22 @@ export class ProtocolLib {
|
|
|
53
57
|
const baseExceptionSchema = synthetic.getBaseException();
|
|
54
58
|
if (baseExceptionSchema) {
|
|
55
59
|
const ErrorCtor = synthetic.getErrorCtor(baseExceptionSchema) ?? Error;
|
|
56
|
-
throw Object.assign(new ErrorCtor({ name: errorName }), errorMetadata, dataObject);
|
|
60
|
+
throw this.decorateServiceException(Object.assign(new ErrorCtor({ name: errorName }), errorMetadata), dataObject);
|
|
61
|
+
}
|
|
62
|
+
throw this.decorateServiceException(Object.assign(new Error(errorName), errorMetadata), dataObject);
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
decorateServiceException(exception, additions = {}) {
|
|
66
|
+
if (this.queryCompat) {
|
|
67
|
+
const msg = exception.Message ?? additions.Message;
|
|
68
|
+
const error = decorateServiceException(exception, additions);
|
|
69
|
+
if (msg) {
|
|
70
|
+
error.Message = msg;
|
|
71
|
+
error.message = msg;
|
|
57
72
|
}
|
|
58
|
-
|
|
73
|
+
return error;
|
|
59
74
|
}
|
|
75
|
+
return decorateServiceException(exception, additions);
|
|
60
76
|
}
|
|
61
77
|
setQueryCompatError(output, response) {
|
|
62
78
|
const queryErrorHeader = response.headers?.["x-amzn-query-error"];
|
package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/cbor/AwsSmithyRpcV2CborProtocol.js
CHANGED
|
@@ -3,10 +3,11 @@ import { NormalizedSchema, TypeRegistry } from "@smithy/core/schema";
|
|
|
3
3
|
import { ProtocolLib } from "../ProtocolLib";
|
|
4
4
|
export class AwsSmithyRpcV2CborProtocol extends SmithyRpcV2CborProtocol {
|
|
5
5
|
awsQueryCompatible;
|
|
6
|
-
mixin
|
|
6
|
+
mixin;
|
|
7
7
|
constructor({ defaultNamespace, awsQueryCompatible, }) {
|
|
8
8
|
super({ defaultNamespace });
|
|
9
9
|
this.awsQueryCompatible = !!awsQueryCompatible;
|
|
10
|
+
this.mixin = new ProtocolLib(this.awsQueryCompatible);
|
|
10
11
|
}
|
|
11
12
|
async serializeRequest(operationSchema, input, context) {
|
|
12
13
|
const request = await super.serializeRequest(operationSchema, input, context);
|
|
@@ -32,9 +33,9 @@ export class AwsSmithyRpcV2CborProtocol extends SmithyRpcV2CborProtocol {
|
|
|
32
33
|
if (this.awsQueryCompatible) {
|
|
33
34
|
this.mixin.queryCompatOutput(dataObject, output);
|
|
34
35
|
}
|
|
35
|
-
throw Object.assign(exception, errorMetadata, {
|
|
36
|
+
throw this.mixin.decorateServiceException(Object.assign(exception, errorMetadata, {
|
|
36
37
|
$fault: ns.getMergedTraits().error,
|
|
37
38
|
message,
|
|
38
|
-
}, output);
|
|
39
|
+
}, output), dataObject);
|
|
39
40
|
}
|
|
40
41
|
}
|
|
@@ -8,7 +8,7 @@ export class AwsJsonRpcProtocol extends RpcProtocol {
|
|
|
8
8
|
deserializer;
|
|
9
9
|
serviceTarget;
|
|
10
10
|
codec;
|
|
11
|
-
mixin
|
|
11
|
+
mixin;
|
|
12
12
|
awsQueryCompatible;
|
|
13
13
|
constructor({ defaultNamespace, serviceTarget, awsQueryCompatible, }) {
|
|
14
14
|
super({
|
|
@@ -25,6 +25,7 @@ export class AwsJsonRpcProtocol extends RpcProtocol {
|
|
|
25
25
|
this.serializer = this.codec.createSerializer();
|
|
26
26
|
this.deserializer = this.codec.createDeserializer();
|
|
27
27
|
this.awsQueryCompatible = !!awsQueryCompatible;
|
|
28
|
+
this.mixin = new ProtocolLib(this.awsQueryCompatible);
|
|
28
29
|
}
|
|
29
30
|
async serializeRequest(operationSchema, input, context) {
|
|
30
31
|
const request = await super.serializeRequest(operationSchema, input, context);
|
|
@@ -64,9 +65,9 @@ export class AwsJsonRpcProtocol extends RpcProtocol {
|
|
|
64
65
|
if (this.awsQueryCompatible) {
|
|
65
66
|
this.mixin.queryCompatOutput(dataObject, output);
|
|
66
67
|
}
|
|
67
|
-
throw Object.assign(exception, errorMetadata, {
|
|
68
|
+
throw this.mixin.decorateServiceException(Object.assign(exception, errorMetadata, {
|
|
68
69
|
$fault: ns.getMergedTraits().error,
|
|
69
70
|
message,
|
|
70
|
-
}, output);
|
|
71
|
+
}, output), dataObject);
|
|
71
72
|
}
|
|
72
73
|
}
|
|
@@ -43,11 +43,21 @@ export class AwsRestJsonProtocol extends HttpBindingProtocol {
|
|
|
43
43
|
request.headers["content-type"] = contentType;
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
|
-
if (request.headers["content-type"]
|
|
46
|
+
if (request.body == null && request.headers["content-type"] === this.getDefaultContentType()) {
|
|
47
47
|
request.body = "{}";
|
|
48
48
|
}
|
|
49
49
|
return request;
|
|
50
50
|
}
|
|
51
|
+
async deserializeResponse(operationSchema, context, response) {
|
|
52
|
+
const output = await super.deserializeResponse(operationSchema, context, response);
|
|
53
|
+
const outputSchema = NormalizedSchema.of(operationSchema.output);
|
|
54
|
+
for (const [name, member] of outputSchema.structIterator()) {
|
|
55
|
+
if (member.getMemberTraits().httpPayload && !(name in output)) {
|
|
56
|
+
output[name] = null;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
return output;
|
|
60
|
+
}
|
|
51
61
|
async handleError(operationSchema, context, response, dataObject, metadata) {
|
|
52
62
|
const errorIdentifier = loadRestJsonErrorCode(response, dataObject) ?? "Unknown";
|
|
53
63
|
const { errorSchema, errorMetadata } = await this.mixin.getErrorSchemaOrThrowBaseException(errorIdentifier, this.options.defaultNamespace, response, dataObject, metadata);
|
|
@@ -61,10 +71,10 @@ export class AwsRestJsonProtocol extends HttpBindingProtocol {
|
|
|
61
71
|
const target = member.getMergedTraits().jsonName ?? name;
|
|
62
72
|
output[name] = this.codec.createDeserializer().readObject(member, dataObject[target]);
|
|
63
73
|
}
|
|
64
|
-
throw Object.assign(exception, errorMetadata, {
|
|
74
|
+
throw this.mixin.decorateServiceException(Object.assign(exception, errorMetadata, {
|
|
65
75
|
$fault: ns.getMergedTraits().error,
|
|
66
76
|
message,
|
|
67
|
-
}, output);
|
|
77
|
+
}, output), dataObject);
|
|
68
78
|
}
|
|
69
79
|
getDefaultContentType() {
|
|
70
80
|
return "application/json";
|
|
@@ -114,10 +114,10 @@ export class AwsQueryProtocol extends RpcProtocol {
|
|
|
114
114
|
const value = errorData[target] ?? dataObject[target];
|
|
115
115
|
output[name] = this.deserializer.readSchema(member, value);
|
|
116
116
|
}
|
|
117
|
-
throw Object.assign(exception, errorMetadata, {
|
|
117
|
+
throw this.mixin.decorateServiceException(Object.assign(exception, errorMetadata, {
|
|
118
118
|
$fault: ns.getMergedTraits().error,
|
|
119
119
|
message,
|
|
120
|
-
}, output);
|
|
120
|
+
}, output), dataObject);
|
|
121
121
|
}
|
|
122
122
|
loadQueryErrorCode(output, data) {
|
|
123
123
|
const code = (data.Errors?.[0]?.Error ?? data.Errors?.Error ?? data.Error)?.Code;
|
|
@@ -62,10 +62,10 @@ export class AwsRestXmlProtocol extends HttpBindingProtocol {
|
|
|
62
62
|
const value = dataObject.Error?.[target] ?? dataObject[target];
|
|
63
63
|
output[name] = this.codec.createDeserializer().readSchema(member, value);
|
|
64
64
|
}
|
|
65
|
-
throw Object.assign(exception, errorMetadata, {
|
|
65
|
+
throw this.mixin.decorateServiceException(Object.assign(exception, errorMetadata, {
|
|
66
66
|
$fault: ns.getMergedTraits().error,
|
|
67
67
|
message,
|
|
68
|
-
}, output);
|
|
68
|
+
}, output), dataObject);
|
|
69
69
|
}
|
|
70
70
|
getDefaultContentType() {
|
|
71
71
|
return "application/xml";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { NormalizedSchema, TypeRegistry } from "@smithy/core/schema";
|
|
2
|
+
import { ServiceException as SDKBaseServiceException } from "@smithy/smithy-client";
|
|
2
3
|
import type { HttpResponse as IHttpResponse, MetadataBearer, ResponseMetadata, StaticErrorSchema } from "@smithy/types";
|
|
3
4
|
/**
|
|
4
5
|
* @internal
|
|
5
6
|
*/
|
|
6
7
|
type ErrorMetadataBearer = MetadataBearer & {
|
|
7
|
-
$response: IHttpResponse;
|
|
8
8
|
$fault: "client" | "server";
|
|
9
9
|
};
|
|
10
10
|
/**
|
|
@@ -13,6 +13,8 @@ type ErrorMetadataBearer = MetadataBearer & {
|
|
|
13
13
|
* @internal
|
|
14
14
|
*/
|
|
15
15
|
export declare class ProtocolLib {
|
|
16
|
+
private queryCompat;
|
|
17
|
+
constructor(queryCompat?: boolean);
|
|
16
18
|
/**
|
|
17
19
|
* This is only for REST protocols.
|
|
18
20
|
*
|
|
@@ -32,6 +34,10 @@ export declare class ProtocolLib {
|
|
|
32
34
|
errorSchema: StaticErrorSchema;
|
|
33
35
|
errorMetadata: ErrorMetadataBearer;
|
|
34
36
|
}>;
|
|
37
|
+
/**
|
|
38
|
+
* Assigns additions onto exception if not already present.
|
|
39
|
+
*/
|
|
40
|
+
decorateServiceException<E extends SDKBaseServiceException>(exception: E, additions?: Record<string, any>): E;
|
|
35
41
|
/**
|
|
36
42
|
* Reads the x-amzn-query-error header for awsQuery compatibility.
|
|
37
43
|
*
|
package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJsonRpcProtocol.d.ts
CHANGED
|
@@ -19,5 +19,8 @@ export declare abstract class AwsJsonRpcProtocol extends RpcProtocol {
|
|
|
19
19
|
serializeRequest<Input extends object>(operationSchema: OperationSchema, input: Input, context: HandlerExecutionContext & SerdeFunctions & EndpointBearer): Promise<HttpRequest>;
|
|
20
20
|
getPayloadCodec(): JsonCodec;
|
|
21
21
|
protected abstract getJsonRpcVersion(): "1.1" | "1.0";
|
|
22
|
+
/**
|
|
23
|
+
* @override
|
|
24
|
+
*/
|
|
22
25
|
protected handleError(operationSchema: OperationSchema, context: HandlerExecutionContext & SerdeFunctions, response: HttpResponse, dataObject: any, metadata: ResponseMetadata): Promise<never>;
|
|
23
26
|
}
|