@mavogel/awscdk-rootmail 0.0.210 → 0.0.212
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 +8 -8
- package/lib/rootmail.js +1 -1
- package/lib/ses-receive.js +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/README.md +72 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-cjs/index.js +353 -2
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-es/CloudWatchLogs.js +18 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-es/commands/DeleteIndexPolicyCommand.js +22 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-es/commands/DeleteTransformerCommand.js +22 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-es/commands/DescribeFieldIndexesCommand.js +22 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-es/commands/DescribeIndexPoliciesCommand.js +22 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-es/commands/GetTransformerCommand.js +22 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-es/commands/ListLogGroupsForQueryCommand.js +22 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-es/commands/PutIndexPolicyCommand.js +22 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-es/commands/PutTransformerCommand.js +22 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-es/commands/TestTransformerCommand.js +22 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-es/commands/index.js +9 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-es/models/models_0.js +16 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-es/pagination/ListLogGroupsForQueryPaginator.js +4 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-es/pagination/index.js +1 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-es/protocols/Aws_json1_1.js +171 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/CloudWatchLogs.d.ts +63 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/CloudWatchLogsClient.d.ts +11 -2
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/DeleteAccountPolicyCommand.d.ts +12 -3
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/DeleteIndexPolicyCommand.d.ts +89 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/DeleteTransformerCommand.d.ts +89 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/DescribeAccountPoliciesCommand.d.ts +4 -2
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/DescribeFieldIndexesCommand.d.ts +100 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/DescribeIndexPoliciesCommand.d.ts +104 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/DescribeMetricFiltersCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/DescribeSubscriptionFiltersCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/GetQueryResultsCommand.d.ts +3 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/GetTransformerCommand.d.ts +231 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/ListLogGroupsForQueryCommand.d.ts +92 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/PutAccountPolicyCommand.d.ts +64 -3
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/PutIndexPolicyCommand.d.ts +125 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/PutMetricFilterCommand.d.ts +5 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/PutSubscriptionFilterCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/PutTransformerCommand.d.ts +250 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/StartQueryCommand.d.ts +19 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/TestTransformerCommand.d.ts +233 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/index.d.ts +9 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/models/models_0.d.ts +1249 -35
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/pagination/ListLogGroupsForQueryPaginator.d.ts +7 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/pagination/index.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/protocols/Aws_json1_1.d.ts +81 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/CloudWatchLogs.d.ts +153 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/CloudWatchLogsClient.d.ts +54 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/DeleteIndexPolicyCommand.d.ts +51 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/DeleteTransformerCommand.d.ts +46 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/DescribeFieldIndexesCommand.d.ts +51 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/DescribeIndexPoliciesCommand.d.ts +51 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/GetTransformerCommand.d.ts +50 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/ListLogGroupsForQueryCommand.d.ts +51 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/PutIndexPolicyCommand.d.ts +50 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/PutTransformerCommand.d.ts +45 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/TestTransformerCommand.d.ts +50 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/index.d.ts +9 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/models/models_0.d.ts +252 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/pagination/ListLogGroupsForQueryPaginator.d.ts +11 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +108 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/package.json +4 -4
- package/node_modules/@aws-sdk/client-route-53/package.json +4 -4
- package/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +152 -5
- package/node_modules/@aws-sdk/client-s3/dist-es/models/models_1.js +48 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/protocols/Aws_restXml.js +75 -4
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/AbortMultipartUploadCommand.d.ts +16 -13
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/CompleteMultipartUploadCommand.d.ts +47 -42
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/CopyObjectCommand.d.ts +77 -57
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateBucketCommand.d.ts +60 -45
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateMultipartUploadCommand.d.ts +92 -66
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateSessionCommand.d.ts +30 -16
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketCommand.d.ts +10 -3
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketCorsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketEncryptionCommand.d.ts +18 -10
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketInventoryConfigurationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketLifecycleCommand.d.ts +52 -9
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketMetricsConfigurationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketOwnershipControlsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketPolicyCommand.d.ts +25 -21
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketReplicationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketTaggingCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketWebsiteCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectCommand.d.ts +3 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectTaggingCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectsCommand.d.ts +41 -27
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeletePublicAccessBlockCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAccelerateConfigurationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAclCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAnalyticsConfigurationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketCorsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketEncryptionCommand.d.ts +18 -10
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketInventoryConfigurationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLifecycleConfigurationCommand.d.ts +61 -17
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLocationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLoggingCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketMetricsConfigurationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketNotificationConfigurationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketOwnershipControlsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketPolicyCommand.d.ts +30 -21
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketPolicyStatusCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketReplicationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketRequestPaymentCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketTaggingCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketVersioningCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketWebsiteCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectAclCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectAttributesCommand.d.ts +62 -44
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectCommand.d.ts +79 -60
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectLegalHoldCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectLockConfigurationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectRetentionCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectTaggingCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectTorrentCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetPublicAccessBlockCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/HeadBucketCommand.d.ts +32 -16
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/HeadObjectCommand.d.ts +60 -38
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketAnalyticsConfigurationsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketInventoryConfigurationsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketMetricsConfigurationsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketsCommand.d.ts +6 -6
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListDirectoryBucketsCommand.d.ts +10 -4
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListMultipartUploadsCommand.d.ts +50 -33
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectVersionsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectsV2Command.d.ts +23 -14
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListPartsCommand.d.ts +22 -17
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAccelerateConfigurationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAclCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAnalyticsConfigurationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketCorsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketEncryptionCommand.d.ts +47 -32
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketInventoryConfigurationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +84 -45
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketLoggingCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketMetricsConfigurationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketNotificationConfigurationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketOwnershipControlsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketPolicyCommand.d.ts +30 -21
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketReplicationCommand.d.ts +3 -4
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketRequestPaymentCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketTaggingCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketVersioningCommand.d.ts +3 -6
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketWebsiteCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectAclCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectCommand.d.ts +83 -35
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectLegalHoldCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectLockConfigurationCommand.d.ts +3 -3
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectRetentionCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectTaggingCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutPublicAccessBlockCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/RestoreObjectCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/SelectObjectContentCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/UploadPartCommand.d.ts +52 -41
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/UploadPartCopyCommand.d.ts +53 -39
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/WriteGetObjectResponseCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/models/models_0.d.ts +938 -632
- package/node_modules/@aws-sdk/client-s3/dist-types/models/models_1.d.ts +230 -135
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_0.d.ts +7 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_1.d.ts +24 -0
- package/node_modules/@aws-sdk/client-s3/package.json +4 -4
- package/node_modules/@aws-sdk/client-ses/dist-cjs/index.js +32 -0
- package/node_modules/@aws-sdk/client-ses/dist-es/protocols/Aws_query.js +32 -0
- package/node_modules/@aws-sdk/client-ses/dist-types/commands/CreateReceiptRuleCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-ses/dist-types/commands/DescribeActiveReceiptRuleSetCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-ses/dist-types/commands/DescribeReceiptRuleCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-ses/dist-types/commands/DescribeReceiptRuleSetCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-ses/dist-types/commands/UpdateReceiptRuleCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-ses/dist-types/models/models_0.d.ts +46 -15
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/models/models_0.d.ts +5 -0
- package/node_modules/@aws-sdk/client-ses/package.json +4 -4
- package/node_modules/@aws-sdk/client-ssm/README.md +39 -7
- package/node_modules/@aws-sdk/client-ssm/dist-cjs/index.js +834 -437
- package/node_modules/@aws-sdk/client-ssm/dist-es/SSM.js +8 -0
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/GetExecutionPreviewCommand.js +22 -0
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/ListNodesCommand.js +23 -0
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/ListNodesSummaryCommand.js +22 -0
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/SendCommandCommand.js +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/StartExecutionPreviewCommand.js +22 -0
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/index.js +4 -0
- package/node_modules/@aws-sdk/client-ssm/dist-es/models/models_1.js +99 -144
- package/node_modules/@aws-sdk/client-ssm/dist-es/models/models_2.js +167 -1
- package/node_modules/@aws-sdk/client-ssm/dist-es/pagination/ListNodesPaginator.js +4 -0
- package/node_modules/@aws-sdk/client-ssm/dist-es/pagination/ListNodesSummaryPaginator.js +4 -0
- package/node_modules/@aws-sdk/client-ssm/dist-es/pagination/index.js +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-es/protocols/Aws_json1_1.js +159 -3
- package/node_modules/@aws-sdk/client-ssm/dist-types/SSM.d.ts +29 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/SSMClient.d.ts +6 -2
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/CreateResourceDataSyncCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteActivationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeActivationsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeInstancePatchStatesForPatchGroupCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeInstancePatchesCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeInstancePropertiesCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetExecutionPreviewCommand.d.ts +127 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetInventoryCommand.d.ts +3 -4
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetOpsSummaryCommand.d.ts +3 -4
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListComplianceItemsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListComplianceSummariesCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListInventoryEntriesCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListNodesCommand.d.ts +175 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListNodesSummaryCommand.d.ts +166 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListResourceComplianceSummariesCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/ResetServiceSettingCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/ResumeSessionCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/SendAutomationSignalCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/SendCommandCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/StartAssociationsOnceCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/StartAutomationExecutionCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/StartExecutionPreviewCommand.d.ts +157 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/index.d.ts +4 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/models/models_0.d.ts +9 -4
- package/node_modules/@aws-sdk/client-ssm/dist-types/models/models_1.d.ts +955 -989
- package/node_modules/@aws-sdk/client-ssm/dist-types/models/models_2.d.ts +770 -5
- package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/ListNodesPaginator.d.ts +7 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/ListNodesSummaryPaginator.d.ts +7 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/index.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/protocols/Aws_json1_1.d.ts +36 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/SSM.d.ts +69 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/SSMClient.d.ts +24 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetExecutionPreviewCommand.d.ts +51 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListNodesCommand.d.ts +47 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListNodesSummaryCommand.d.ts +48 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ResetServiceSettingCommand.d.ts +2 -4
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ResumeSessionCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/SendAutomationSignalCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/SendCommandCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/StartAssociationsOnceCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/StartAutomationExecutionCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/StartExecutionPreviewCommand.d.ts +51 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/models/models_1.d.ts +176 -170
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/models/models_2.d.ts +236 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/ListNodesPaginator.d.ts +11 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/ListNodesSummaryPaginator.d.ts +11 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +48 -0
- package/node_modules/@aws-sdk/client-ssm/package.json +4 -4
- package/node_modules/@aws-sdk/client-sso-oidc/package.json +3 -3
- package/node_modules/@aws-sdk/client-sts/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js +3 -1
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveSsoCredentials.js +2 -0
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/fromIni.d.ts +2 -1
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveSsoCredentials.d.ts +2 -2
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveSsoCredentials.d.ts +2 -2
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-node/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js +4 -0
- package/node_modules/@aws-sdk/credential-provider-sso/dist-es/fromSSO.js +2 -0
- package/node_modules/@aws-sdk/credential-provider-sso/dist-es/resolveSSOCredentials.js +2 -1
- 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 +1 -0
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +2 -2
- package/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +11 -10
- package/node_modules/@aws-sdk/token-providers/dist-es/fromSso.js +1 -1
- package/node_modules/@aws-sdk/token-providers/dist-es/getNewSsoOidcToken.js +2 -2
- package/node_modules/@aws-sdk/token-providers/dist-es/getSsoOidcClient.js +5 -7
- package/node_modules/@aws-sdk/token-providers/dist-types/fromSso.d.ts +4 -0
- package/node_modules/@aws-sdk/token-providers/dist-types/getNewSsoOidcToken.d.ts +2 -1
- package/node_modules/@aws-sdk/token-providers/dist-types/getSsoOidcClient.d.ts +3 -3
- package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/fromSso.d.ts +3 -1
- package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/getNewSsoOidcToken.d.ts +3 -1
- package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/getSsoOidcClient.d.ts +5 -1
- package/node_modules/@aws-sdk/token-providers/package.json +2 -2
- package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +32 -7
- package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-decode.js +2 -2
- package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-encode.js +11 -1
- package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-types.js +5 -0
- package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor.js +8 -2
- package/node_modules/@smithy/core/dist-es/submodules/cbor/index.js +1 -0
- package/node_modules/@smithy/core/dist-es/submodules/cbor/parseCborBody.js +3 -2
- package/node_modules/@smithy/core/dist-types/submodules/cbor/cbor-types.d.ts +23 -0
- package/node_modules/@smithy/core/dist-types/submodules/cbor/index.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/submodules/cbor/parseCborBody.d.ts +4 -2
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/cbor-types.d.ts +23 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/index.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/parseCborBody.d.ts +4 -2
- package/node_modules/@smithy/core/package.json +1 -1
- package/node_modules/@smithy/middleware-endpoint/package.json +2 -2
- package/node_modules/@smithy/middleware-retry/package.json +2 -2
- 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/node_modules/cdk-nag/.jsii +2 -2
- 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/package.json +2 -2
- package/package.json +9 -9
|
@@ -283,6 +283,10 @@ import {
|
|
|
283
283
|
GetDocumentCommandInput,
|
|
284
284
|
GetDocumentCommandOutput,
|
|
285
285
|
} from "../commands/GetDocumentCommand";
|
|
286
|
+
import {
|
|
287
|
+
GetExecutionPreviewCommandInput,
|
|
288
|
+
GetExecutionPreviewCommandOutput,
|
|
289
|
+
} from "../commands/GetExecutionPreviewCommand";
|
|
286
290
|
import {
|
|
287
291
|
GetInventoryCommandInput,
|
|
288
292
|
GetInventoryCommandOutput,
|
|
@@ -399,6 +403,14 @@ import {
|
|
|
399
403
|
ListInventoryEntriesCommandInput,
|
|
400
404
|
ListInventoryEntriesCommandOutput,
|
|
401
405
|
} from "../commands/ListInventoryEntriesCommand";
|
|
406
|
+
import {
|
|
407
|
+
ListNodesCommandInput,
|
|
408
|
+
ListNodesCommandOutput,
|
|
409
|
+
} from "../commands/ListNodesCommand";
|
|
410
|
+
import {
|
|
411
|
+
ListNodesSummaryCommandInput,
|
|
412
|
+
ListNodesSummaryCommandOutput,
|
|
413
|
+
} from "../commands/ListNodesSummaryCommand";
|
|
402
414
|
import {
|
|
403
415
|
ListOpsItemEventsCommandInput,
|
|
404
416
|
ListOpsItemEventsCommandOutput,
|
|
@@ -491,6 +503,10 @@ import {
|
|
|
491
503
|
StartChangeRequestExecutionCommandInput,
|
|
492
504
|
StartChangeRequestExecutionCommandOutput,
|
|
493
505
|
} from "../commands/StartChangeRequestExecutionCommand";
|
|
506
|
+
import {
|
|
507
|
+
StartExecutionPreviewCommandInput,
|
|
508
|
+
StartExecutionPreviewCommandOutput,
|
|
509
|
+
} from "../commands/StartExecutionPreviewCommand";
|
|
494
510
|
import {
|
|
495
511
|
StartSessionCommandInput,
|
|
496
512
|
StartSessionCommandOutput,
|
|
@@ -843,6 +859,10 @@ export declare const se_GetDocumentCommand: (
|
|
|
843
859
|
input: GetDocumentCommandInput,
|
|
844
860
|
context: __SerdeContext
|
|
845
861
|
) => Promise<__HttpRequest>;
|
|
862
|
+
export declare const se_GetExecutionPreviewCommand: (
|
|
863
|
+
input: GetExecutionPreviewCommandInput,
|
|
864
|
+
context: __SerdeContext
|
|
865
|
+
) => Promise<__HttpRequest>;
|
|
846
866
|
export declare const se_GetInventoryCommand: (
|
|
847
867
|
input: GetInventoryCommandInput,
|
|
848
868
|
context: __SerdeContext
|
|
@@ -959,6 +979,14 @@ export declare const se_ListInventoryEntriesCommand: (
|
|
|
959
979
|
input: ListInventoryEntriesCommandInput,
|
|
960
980
|
context: __SerdeContext
|
|
961
981
|
) => Promise<__HttpRequest>;
|
|
982
|
+
export declare const se_ListNodesCommand: (
|
|
983
|
+
input: ListNodesCommandInput,
|
|
984
|
+
context: __SerdeContext
|
|
985
|
+
) => Promise<__HttpRequest>;
|
|
986
|
+
export declare const se_ListNodesSummaryCommand: (
|
|
987
|
+
input: ListNodesSummaryCommandInput,
|
|
988
|
+
context: __SerdeContext
|
|
989
|
+
) => Promise<__HttpRequest>;
|
|
962
990
|
export declare const se_ListOpsItemEventsCommand: (
|
|
963
991
|
input: ListOpsItemEventsCommandInput,
|
|
964
992
|
context: __SerdeContext
|
|
@@ -1051,6 +1079,10 @@ export declare const se_StartChangeRequestExecutionCommand: (
|
|
|
1051
1079
|
input: StartChangeRequestExecutionCommandInput,
|
|
1052
1080
|
context: __SerdeContext
|
|
1053
1081
|
) => Promise<__HttpRequest>;
|
|
1082
|
+
export declare const se_StartExecutionPreviewCommand: (
|
|
1083
|
+
input: StartExecutionPreviewCommandInput,
|
|
1084
|
+
context: __SerdeContext
|
|
1085
|
+
) => Promise<__HttpRequest>;
|
|
1054
1086
|
export declare const se_StartSessionCommand: (
|
|
1055
1087
|
input: StartSessionCommandInput,
|
|
1056
1088
|
context: __SerdeContext
|
|
@@ -1403,6 +1435,10 @@ export declare const de_GetDocumentCommand: (
|
|
|
1403
1435
|
output: __HttpResponse,
|
|
1404
1436
|
context: __SerdeContext
|
|
1405
1437
|
) => Promise<GetDocumentCommandOutput>;
|
|
1438
|
+
export declare const de_GetExecutionPreviewCommand: (
|
|
1439
|
+
output: __HttpResponse,
|
|
1440
|
+
context: __SerdeContext
|
|
1441
|
+
) => Promise<GetExecutionPreviewCommandOutput>;
|
|
1406
1442
|
export declare const de_GetInventoryCommand: (
|
|
1407
1443
|
output: __HttpResponse,
|
|
1408
1444
|
context: __SerdeContext
|
|
@@ -1519,6 +1555,14 @@ export declare const de_ListInventoryEntriesCommand: (
|
|
|
1519
1555
|
output: __HttpResponse,
|
|
1520
1556
|
context: __SerdeContext
|
|
1521
1557
|
) => Promise<ListInventoryEntriesCommandOutput>;
|
|
1558
|
+
export declare const de_ListNodesCommand: (
|
|
1559
|
+
output: __HttpResponse,
|
|
1560
|
+
context: __SerdeContext
|
|
1561
|
+
) => Promise<ListNodesCommandOutput>;
|
|
1562
|
+
export declare const de_ListNodesSummaryCommand: (
|
|
1563
|
+
output: __HttpResponse,
|
|
1564
|
+
context: __SerdeContext
|
|
1565
|
+
) => Promise<ListNodesSummaryCommandOutput>;
|
|
1522
1566
|
export declare const de_ListOpsItemEventsCommand: (
|
|
1523
1567
|
output: __HttpResponse,
|
|
1524
1568
|
context: __SerdeContext
|
|
@@ -1611,6 +1655,10 @@ export declare const de_StartChangeRequestExecutionCommand: (
|
|
|
1611
1655
|
output: __HttpResponse,
|
|
1612
1656
|
context: __SerdeContext
|
|
1613
1657
|
) => Promise<StartChangeRequestExecutionCommandOutput>;
|
|
1658
|
+
export declare const de_StartExecutionPreviewCommand: (
|
|
1659
|
+
output: __HttpResponse,
|
|
1660
|
+
context: __SerdeContext
|
|
1661
|
+
) => Promise<StartExecutionPreviewCommandOutput>;
|
|
1614
1662
|
export declare const de_StartSessionCommand: (
|
|
1615
1663
|
output: __HttpResponse,
|
|
1616
1664
|
context: __SerdeContext
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-ssm",
|
|
3
3
|
"description": "AWS SDK for JavaScript Ssm Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.699.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-ssm",
|
|
@@ -20,10 +20,10 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.699.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.699.0",
|
|
25
25
|
"@aws-sdk/core": "3.696.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.699.0",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.696.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.696.0",
|
|
29
29
|
"@aws-sdk/middleware-recursion-detection": "3.696.0",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-sso-oidc",
|
|
3
3
|
"description": "AWS SDK for JavaScript Sso Oidc Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.699.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-oidc",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
23
|
"@aws-sdk/core": "3.696.0",
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.699.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.696.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.696.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.696.0",
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
},
|
|
86
86
|
"license": "Apache-2.0",
|
|
87
87
|
"peerDependencies": {
|
|
88
|
-
"@aws-sdk/client-sts": "^3.
|
|
88
|
+
"@aws-sdk/client-sts": "^3.699.0"
|
|
89
89
|
},
|
|
90
90
|
"browser": {
|
|
91
91
|
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-sts",
|
|
3
3
|
"description": "AWS SDK for JavaScript Sts Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.699.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-sts",
|
|
@@ -22,9 +22,9 @@
|
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
24
24
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
25
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
25
|
+
"@aws-sdk/client-sso-oidc": "3.699.0",
|
|
26
26
|
"@aws-sdk/core": "3.696.0",
|
|
27
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
+
"@aws-sdk/credential-provider-node": "3.699.0",
|
|
28
28
|
"@aws-sdk/middleware-host-header": "3.696.0",
|
|
29
29
|
"@aws-sdk/middleware-logger": "3.696.0",
|
|
30
30
|
"@aws-sdk/middleware-recursion-detection": "3.696.0",
|
|
@@ -180,7 +180,9 @@ var resolveSsoCredentials = /* @__PURE__ */ __name(async (profile, profileData,
|
|
|
180
180
|
const { fromSSO } = await Promise.resolve().then(() => __toESM(require("@aws-sdk/credential-provider-sso")));
|
|
181
181
|
return fromSSO({
|
|
182
182
|
profile,
|
|
183
|
-
logger: options.logger
|
|
183
|
+
logger: options.logger,
|
|
184
|
+
parentClientConfig: options.parentClientConfig,
|
|
185
|
+
clientConfig: options.clientConfig
|
|
184
186
|
})().then((creds) => {
|
|
185
187
|
if (profileData.sso_session) {
|
|
186
188
|
return (0, import_client.setCredentialFeature)(creds, "CREDENTIALS_PROFILE_SSO", "r");
|
|
@@ -4,6 +4,8 @@ export const resolveSsoCredentials = async (profile, profileData, options = {})
|
|
|
4
4
|
return fromSSO({
|
|
5
5
|
profile,
|
|
6
6
|
logger: options.logger,
|
|
7
|
+
parentClientConfig: options.parentClientConfig,
|
|
8
|
+
clientConfig: options.clientConfig,
|
|
7
9
|
})().then((creds) => {
|
|
8
10
|
if (profileData.sso_session) {
|
|
9
11
|
return setCredentialFeature(creds, "CREDENTIALS_PROFILE_SSO", "r");
|
|
@@ -33,7 +33,8 @@ export interface FromIniInit extends SourceProfileInit, CredentialProviderOption
|
|
|
33
33
|
*/
|
|
34
34
|
roleAssumerWithWebIdentity?: (params: AssumeRoleWithWebIdentityParams) => Promise<AwsCredentialIdentity>;
|
|
35
35
|
/**
|
|
36
|
-
* STSClientConfig to be used for creating
|
|
36
|
+
* STSClientConfig or SSOClientConfig to be used for creating inner client
|
|
37
|
+
* for auth operations.
|
|
37
38
|
* @internal
|
|
38
39
|
*/
|
|
39
40
|
clientConfig?: any;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type { SsoProfile } from "@aws-sdk/credential-provider-sso";
|
|
2
|
-
import type { CredentialProviderOptions } from "@aws-sdk/types";
|
|
3
2
|
import type { IniSection, Profile } from "@smithy/types";
|
|
3
|
+
import type { FromIniInit } from "./fromIni";
|
|
4
4
|
/**
|
|
5
5
|
* @internal
|
|
6
6
|
*/
|
|
7
|
-
export declare const resolveSsoCredentials: (profile: string, profileData: IniSection, options?:
|
|
7
|
+
export declare const resolveSsoCredentials: (profile: string, profileData: IniSection, options?: FromIniInit) => Promise<import("@aws-sdk/types").AttributedAwsCredentialIdentity>;
|
|
8
8
|
/**
|
|
9
9
|
* @internal
|
|
10
10
|
* duplicated from \@aws-sdk/credential-provider-sso to defer import.
|
package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveSsoCredentials.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { SsoProfile } from "@aws-sdk/credential-provider-sso";
|
|
2
|
-
import { CredentialProviderOptions } from "@aws-sdk/types";
|
|
3
2
|
import { IniSection, Profile } from "@smithy/types";
|
|
3
|
+
import { FromIniInit } from "./fromIni";
|
|
4
4
|
export declare const resolveSsoCredentials: (
|
|
5
5
|
profile: string,
|
|
6
6
|
profileData: IniSection,
|
|
7
|
-
options?:
|
|
7
|
+
options?: FromIniInit
|
|
8
8
|
) => Promise<import("@aws-sdk/types").AttributedAwsCredentialIdentity>;
|
|
9
9
|
export declare const isSsoProfile: (arg: Profile) => arg is Partial<SsoProfile>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-ini",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.699.0",
|
|
4
4
|
"description": "AWS credential provider that sources credentials from ~/.aws/credentials and ~/.aws/config",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"@aws-sdk/credential-provider-env": "3.696.0",
|
|
30
30
|
"@aws-sdk/credential-provider-http": "3.696.0",
|
|
31
31
|
"@aws-sdk/credential-provider-process": "3.696.0",
|
|
32
|
-
"@aws-sdk/credential-provider-sso": "3.
|
|
32
|
+
"@aws-sdk/credential-provider-sso": "3.699.0",
|
|
33
33
|
"@aws-sdk/credential-provider-web-identity": "3.696.0",
|
|
34
34
|
"@aws-sdk/types": "3.696.0",
|
|
35
35
|
"@smithy/credential-provider-imds": "^3.2.6",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"typescript": "~4.9.5"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
|
50
|
-
"@aws-sdk/client-sts": "^3.
|
|
50
|
+
"@aws-sdk/client-sts": "^3.699.0"
|
|
51
51
|
},
|
|
52
52
|
"types": "./dist-types/index.d.ts",
|
|
53
53
|
"engines": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-node",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.699.0",
|
|
4
4
|
"description": "AWS credential provider that sources credentials from a Node.JS environment. ",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=16.0.0"
|
|
@@ -31,9 +31,9 @@
|
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@aws-sdk/credential-provider-env": "3.696.0",
|
|
33
33
|
"@aws-sdk/credential-provider-http": "3.696.0",
|
|
34
|
-
"@aws-sdk/credential-provider-ini": "3.
|
|
34
|
+
"@aws-sdk/credential-provider-ini": "3.699.0",
|
|
35
35
|
"@aws-sdk/credential-provider-process": "3.696.0",
|
|
36
|
-
"@aws-sdk/credential-provider-sso": "3.
|
|
36
|
+
"@aws-sdk/credential-provider-sso": "3.699.0",
|
|
37
37
|
"@aws-sdk/credential-provider-web-identity": "3.696.0",
|
|
38
38
|
"@aws-sdk/types": "3.696.0",
|
|
39
39
|
"@smithy/credential-provider-imds": "^3.2.6",
|
|
@@ -65,6 +65,7 @@ var resolveSSOCredentials = /* @__PURE__ */ __name(async ({
|
|
|
65
65
|
ssoRoleName,
|
|
66
66
|
ssoClient,
|
|
67
67
|
clientConfig,
|
|
68
|
+
parentClientConfig,
|
|
68
69
|
profile,
|
|
69
70
|
logger
|
|
70
71
|
}) => {
|
|
@@ -103,6 +104,7 @@ var resolveSSOCredentials = /* @__PURE__ */ __name(async ({
|
|
|
103
104
|
const { SSOClient: SSOClient2, GetRoleCredentialsCommand: GetRoleCredentialsCommand2 } = await Promise.resolve().then(() => (init_loadSso(), loadSso_exports));
|
|
104
105
|
const sso = ssoClient || new SSOClient2(
|
|
105
106
|
Object.assign({}, clientConfig ?? {}, {
|
|
107
|
+
logger: (clientConfig == null ? void 0 : clientConfig.logger) ?? (parentClientConfig == null ? void 0 : parentClientConfig.logger),
|
|
106
108
|
region: (clientConfig == null ? void 0 : clientConfig.region) ?? ssoRegion
|
|
107
109
|
})
|
|
108
110
|
);
|
|
@@ -211,6 +213,7 @@ var fromSSO = /* @__PURE__ */ __name((init = {}) => async () => {
|
|
|
211
213
|
ssoRoleName: sso_role_name,
|
|
212
214
|
ssoClient,
|
|
213
215
|
clientConfig: init.clientConfig,
|
|
216
|
+
parentClientConfig: init.parentClientConfig,
|
|
214
217
|
profile: profileName
|
|
215
218
|
});
|
|
216
219
|
} else if (!ssoStartUrl || !ssoAccountId || !ssoRegion || !ssoRoleName) {
|
|
@@ -227,6 +230,7 @@ var fromSSO = /* @__PURE__ */ __name((init = {}) => async () => {
|
|
|
227
230
|
ssoRoleName,
|
|
228
231
|
ssoClient,
|
|
229
232
|
clientConfig: init.clientConfig,
|
|
233
|
+
parentClientConfig: init.parentClientConfig,
|
|
230
234
|
profile: profileName
|
|
231
235
|
});
|
|
232
236
|
}
|
|
@@ -47,6 +47,7 @@ export const fromSSO = (init = {}) => async () => {
|
|
|
47
47
|
ssoRoleName: sso_role_name,
|
|
48
48
|
ssoClient: ssoClient,
|
|
49
49
|
clientConfig: init.clientConfig,
|
|
50
|
+
parentClientConfig: init.parentClientConfig,
|
|
50
51
|
profile: profileName,
|
|
51
52
|
});
|
|
52
53
|
}
|
|
@@ -63,6 +64,7 @@ export const fromSSO = (init = {}) => async () => {
|
|
|
63
64
|
ssoRoleName,
|
|
64
65
|
ssoClient,
|
|
65
66
|
clientConfig: init.clientConfig,
|
|
67
|
+
parentClientConfig: init.parentClientConfig,
|
|
66
68
|
profile: profileName,
|
|
67
69
|
});
|
|
68
70
|
}
|
|
@@ -3,7 +3,7 @@ import { fromSso as getSsoTokenProvider } from "@aws-sdk/token-providers";
|
|
|
3
3
|
import { CredentialsProviderError } from "@smithy/property-provider";
|
|
4
4
|
import { getSSOTokenFromFile } from "@smithy/shared-ini-file-loader";
|
|
5
5
|
const SHOULD_FAIL_CREDENTIAL_CHAIN = false;
|
|
6
|
-
export const resolveSSOCredentials = async ({ ssoStartUrl, ssoSession, ssoAccountId, ssoRegion, ssoRoleName, ssoClient, clientConfig, profile, logger, }) => {
|
|
6
|
+
export const resolveSSOCredentials = async ({ ssoStartUrl, ssoSession, ssoAccountId, ssoRegion, ssoRoleName, ssoClient, clientConfig, parentClientConfig, profile, logger, }) => {
|
|
7
7
|
let token;
|
|
8
8
|
const refreshMessage = `To refresh this SSO session run aws sso login with the corresponding profile.`;
|
|
9
9
|
if (ssoSession) {
|
|
@@ -42,6 +42,7 @@ export const resolveSSOCredentials = async ({ ssoStartUrl, ssoSession, ssoAccoun
|
|
|
42
42
|
const { SSOClient, GetRoleCredentialsCommand } = await import("./loadSso");
|
|
43
43
|
const sso = ssoClient ||
|
|
44
44
|
new SSOClient(Object.assign({}, clientConfig ?? {}, {
|
|
45
|
+
logger: clientConfig?.logger ?? parentClientConfig?.logger,
|
|
45
46
|
region: clientConfig?.region ?? ssoRegion,
|
|
46
47
|
}));
|
|
47
48
|
let ssoResp;
|
|
@@ -3,4 +3,4 @@ import { FromSSOInit, SsoCredentialsParameters } from "./fromSSO";
|
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
6
|
-
export declare const resolveSSOCredentials: ({ ssoStartUrl, ssoSession, ssoAccountId, ssoRegion, ssoRoleName, ssoClient, clientConfig, profile, logger, }: FromSSOInit & SsoCredentialsParameters) => Promise<AwsCredentialIdentity>;
|
|
6
|
+
export declare const resolveSSOCredentials: ({ ssoStartUrl, ssoSession, ssoAccountId, ssoRegion, ssoRoleName, ssoClient, clientConfig, parentClientConfig, profile, logger, }: FromSSOInit & SsoCredentialsParameters) => Promise<AwsCredentialIdentity>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-sso",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.699.0",
|
|
4
4
|
"description": "AWS credential provider that exchanges a resolved SSO login token file for temporary AWS credentials",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@aws-sdk/client-sso": "3.696.0",
|
|
29
29
|
"@aws-sdk/core": "3.696.0",
|
|
30
|
-
"@aws-sdk/token-providers": "3.
|
|
30
|
+
"@aws-sdk/token-providers": "3.699.0",
|
|
31
31
|
"@aws-sdk/types": "3.696.0",
|
|
32
32
|
"@smithy/property-provider": "^3.1.9",
|
|
33
33
|
"@smithy/shared-ini-file-loader": "^3.1.10",
|
|
@@ -46,21 +46,22 @@ var EXPIRE_WINDOW_MS = 5 * 60 * 1e3;
|
|
|
46
46
|
var REFRESH_MESSAGE = `To refresh this SSO session run 'aws sso login' with the corresponding profile.`;
|
|
47
47
|
|
|
48
48
|
// src/getSsoOidcClient.ts
|
|
49
|
-
var
|
|
50
|
-
var
|
|
49
|
+
var getSsoOidcClient = /* @__PURE__ */ __name(async (ssoRegion, init = {}) => {
|
|
50
|
+
var _a, _b, _c;
|
|
51
51
|
const { SSOOIDCClient } = await Promise.resolve().then(() => __toESM(require("@aws-sdk/client-sso-oidc")));
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
52
|
+
const ssoOidcClient = new SSOOIDCClient(
|
|
53
|
+
Object.assign({}, init.clientConfig ?? {}, {
|
|
54
|
+
region: ssoRegion ?? ((_a = init.clientConfig) == null ? void 0 : _a.region),
|
|
55
|
+
logger: ((_b = init.clientConfig) == null ? void 0 : _b.logger) ?? ((_c = init.parentClientConfig) == null ? void 0 : _c.logger)
|
|
56
|
+
})
|
|
57
|
+
);
|
|
57
58
|
return ssoOidcClient;
|
|
58
59
|
}, "getSsoOidcClient");
|
|
59
60
|
|
|
60
61
|
// src/getNewSsoOidcToken.ts
|
|
61
|
-
var getNewSsoOidcToken = /* @__PURE__ */ __name(async (ssoToken, ssoRegion) => {
|
|
62
|
+
var getNewSsoOidcToken = /* @__PURE__ */ __name(async (ssoToken, ssoRegion, init = {}) => {
|
|
62
63
|
const { CreateTokenCommand } = await Promise.resolve().then(() => __toESM(require("@aws-sdk/client-sso-oidc")));
|
|
63
|
-
const ssoOidcClient = await getSsoOidcClient(ssoRegion);
|
|
64
|
+
const ssoOidcClient = await getSsoOidcClient(ssoRegion, init);
|
|
64
65
|
return ssoOidcClient.send(
|
|
65
66
|
new CreateTokenCommand({
|
|
66
67
|
clientId: ssoToken.clientId,
|
|
@@ -157,7 +158,7 @@ var fromSso = /* @__PURE__ */ __name((init = {}) => async () => {
|
|
|
157
158
|
validateTokenKey("refreshToken", ssoToken.refreshToken, true);
|
|
158
159
|
try {
|
|
159
160
|
lastRefreshAttemptTime.setTime(Date.now());
|
|
160
|
-
const newSsoOidcToken = await getNewSsoOidcToken(ssoToken, ssoRegion);
|
|
161
|
+
const newSsoOidcToken = await getNewSsoOidcToken(ssoToken, ssoRegion, init);
|
|
161
162
|
validateTokenKey("accessToken", newSsoOidcToken.accessToken);
|
|
162
163
|
validateTokenKey("expiresIn", newSsoOidcToken.expiresIn);
|
|
163
164
|
const newTokenExpiration = new Date(Date.now() + newSsoOidcToken.expiresIn * 1e3);
|
|
@@ -53,7 +53,7 @@ export const fromSso = (init = {}) => async () => {
|
|
|
53
53
|
validateTokenKey("refreshToken", ssoToken.refreshToken, true);
|
|
54
54
|
try {
|
|
55
55
|
lastRefreshAttemptTime.setTime(Date.now());
|
|
56
|
-
const newSsoOidcToken = await getNewSsoOidcToken(ssoToken, ssoRegion);
|
|
56
|
+
const newSsoOidcToken = await getNewSsoOidcToken(ssoToken, ssoRegion, init);
|
|
57
57
|
validateTokenKey("accessToken", newSsoOidcToken.accessToken);
|
|
58
58
|
validateTokenKey("expiresIn", newSsoOidcToken.expiresIn);
|
|
59
59
|
const newTokenExpiration = new Date(Date.now() + newSsoOidcToken.expiresIn * 1000);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getSsoOidcClient } from "./getSsoOidcClient";
|
|
2
|
-
export const getNewSsoOidcToken = async (ssoToken, ssoRegion) => {
|
|
2
|
+
export const getNewSsoOidcToken = async (ssoToken, ssoRegion, init = {}) => {
|
|
3
3
|
const { CreateTokenCommand } = await import("@aws-sdk/client-sso-oidc");
|
|
4
|
-
const ssoOidcClient = await getSsoOidcClient(ssoRegion);
|
|
4
|
+
const ssoOidcClient = await getSsoOidcClient(ssoRegion, init);
|
|
5
5
|
return ssoOidcClient.send(new CreateTokenCommand({
|
|
6
6
|
clientId: ssoToken.clientId,
|
|
7
7
|
clientSecret: ssoToken.clientSecret,
|
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
const
|
|
2
|
-
export const getSsoOidcClient = async (ssoRegion) => {
|
|
1
|
+
export const getSsoOidcClient = async (ssoRegion, init = {}) => {
|
|
3
2
|
const { SSOOIDCClient } = await import("@aws-sdk/client-sso-oidc");
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
ssoOidcClientsHash[ssoRegion] = ssoOidcClient;
|
|
3
|
+
const ssoOidcClient = new SSOOIDCClient(Object.assign({}, init.clientConfig ?? {}, {
|
|
4
|
+
region: ssoRegion ?? init.clientConfig?.region,
|
|
5
|
+
logger: init.clientConfig?.logger ?? init.parentClientConfig?.logger,
|
|
6
|
+
}));
|
|
9
7
|
return ssoOidcClient;
|
|
10
8
|
};
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { CredentialProviderOptions, TokenIdentityProvider } from "@aws-sdk/types";
|
|
2
2
|
import { SourceProfileInit } from "@smithy/shared-ini-file-loader";
|
|
3
3
|
export interface FromSsoInit extends SourceProfileInit, CredentialProviderOptions {
|
|
4
|
+
/**
|
|
5
|
+
* @see SSOOIDCClientConfig in \@aws-sdk/client-sso-oidc.
|
|
6
|
+
*/
|
|
7
|
+
clientConfig?: any;
|
|
4
8
|
}
|
|
5
9
|
/**
|
|
6
10
|
* Creates a token provider that will read from SSO token cache or ssoOidc.createToken() call.
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { SSOToken } from "@smithy/shared-ini-file-loader";
|
|
2
|
+
import { FromSsoInit } from "./fromSso";
|
|
2
3
|
/**
|
|
3
4
|
* Returns a new SSO OIDC token from ssoOids.createToken() API call.
|
|
4
5
|
* @internal
|
|
5
6
|
*/
|
|
6
|
-
export declare const getNewSsoOidcToken: (ssoToken: SSOToken, ssoRegion: string) => Promise<any>;
|
|
7
|
+
export declare const getNewSsoOidcToken: (ssoToken: SSOToken, ssoRegion: string, init?: FromSsoInit) => Promise<any>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { FromSsoInit } from "./fromSso";
|
|
1
2
|
/**
|
|
2
|
-
* Returns a SSOOIDC client for the given region.
|
|
3
|
-
* it will be returned from the hash.
|
|
3
|
+
* Returns a SSOOIDC client for the given region.
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
6
|
-
export declare const getSsoOidcClient: (ssoRegion: string) => Promise<any>;
|
|
6
|
+
export declare const getSsoOidcClient: (ssoRegion: string, init?: FromSsoInit) => Promise<any>;
|
|
@@ -5,5 +5,7 @@ import {
|
|
|
5
5
|
import { SourceProfileInit } from "@smithy/shared-ini-file-loader";
|
|
6
6
|
export interface FromSsoInit
|
|
7
7
|
extends SourceProfileInit,
|
|
8
|
-
CredentialProviderOptions {
|
|
8
|
+
CredentialProviderOptions {
|
|
9
|
+
clientConfig?: any;
|
|
10
|
+
}
|
|
9
11
|
export declare const fromSso: (init?: FromSsoInit) => TokenIdentityProvider;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/token-providers",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.699.0",
|
|
4
4
|
"description": "A collection of token providers",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"typescript": "~4.9.5"
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
45
|
-
"@aws-sdk/client-sso-oidc": "^3.
|
|
45
|
+
"@aws-sdk/client-sso-oidc": "^3.699.0"
|
|
46
46
|
},
|
|
47
47
|
"types": "./dist-types/index.d.ts",
|
|
48
48
|
"engines": {
|
|
@@ -25,7 +25,9 @@ __export(cbor_exports, {
|
|
|
25
25
|
dateToTag: () => dateToTag,
|
|
26
26
|
loadSmithyRpcV2CborErrorCode: () => loadSmithyRpcV2CborErrorCode,
|
|
27
27
|
parseCborBody: () => parseCborBody,
|
|
28
|
-
parseCborErrorBody: () => parseCborErrorBody
|
|
28
|
+
parseCborErrorBody: () => parseCborErrorBody,
|
|
29
|
+
tag: () => tag,
|
|
30
|
+
tagSymbol: () => tagSymbol
|
|
29
31
|
});
|
|
30
32
|
module.exports = __toCommonJS(cbor_exports);
|
|
31
33
|
|
|
@@ -53,6 +55,11 @@ var minorIndefinite = 31;
|
|
|
53
55
|
function alloc(size) {
|
|
54
56
|
return typeof Buffer !== "undefined" ? Buffer.alloc(size) : new Uint8Array(size);
|
|
55
57
|
}
|
|
58
|
+
var tagSymbol = Symbol("@smithy/core/cbor::tagSymbol");
|
|
59
|
+
function tag(data2) {
|
|
60
|
+
data2[tagSymbol] = true;
|
|
61
|
+
return data2;
|
|
62
|
+
}
|
|
56
63
|
|
|
57
64
|
// src/submodules/cbor/cbor-decode.ts
|
|
58
65
|
var USE_TEXT_DECODER = typeof TextDecoder !== "undefined";
|
|
@@ -123,7 +130,7 @@ function decode(at, to) {
|
|
|
123
130
|
const value = decode(at + offset, to);
|
|
124
131
|
const valueOffset = _offset;
|
|
125
132
|
_offset = offset + valueOffset;
|
|
126
|
-
return { tag: castBigInt(unsignedInt), value };
|
|
133
|
+
return tag({ tag: castBigInt(unsignedInt), value });
|
|
127
134
|
}
|
|
128
135
|
case majorUtf8String:
|
|
129
136
|
case majorMap:
|
|
@@ -575,6 +582,17 @@ function encode(_input) {
|
|
|
575
582
|
cursor += input.byteLength;
|
|
576
583
|
continue;
|
|
577
584
|
} else if (typeof input === "object") {
|
|
585
|
+
if (input[tagSymbol]) {
|
|
586
|
+
if ("tag" in input && "value" in input) {
|
|
587
|
+
encodeStack.push(input.value);
|
|
588
|
+
encodeHeader(majorTag, input.tag);
|
|
589
|
+
continue;
|
|
590
|
+
} else {
|
|
591
|
+
throw new Error(
|
|
592
|
+
"tag encountered with missing fields, need 'tag' and 'value', found: " + JSON.stringify(input)
|
|
593
|
+
);
|
|
594
|
+
}
|
|
595
|
+
}
|
|
578
596
|
const keys = Object.keys(input);
|
|
579
597
|
for (let i = keys.length - 1; i >= 0; --i) {
|
|
580
598
|
const key = keys[i];
|
|
@@ -595,8 +613,13 @@ var cbor = {
|
|
|
595
613
|
return decode(0, payload2.length);
|
|
596
614
|
},
|
|
597
615
|
serialize(input) {
|
|
598
|
-
|
|
599
|
-
|
|
616
|
+
try {
|
|
617
|
+
encode(input);
|
|
618
|
+
return toUint8Array();
|
|
619
|
+
} catch (e) {
|
|
620
|
+
toUint8Array();
|
|
621
|
+
throw e;
|
|
622
|
+
}
|
|
600
623
|
},
|
|
601
624
|
/**
|
|
602
625
|
* @public
|
|
@@ -634,10 +657,10 @@ var parseCborBody = (streamBody, context) => {
|
|
|
634
657
|
});
|
|
635
658
|
};
|
|
636
659
|
var dateToTag = (date) => {
|
|
637
|
-
return {
|
|
660
|
+
return tag({
|
|
638
661
|
tag: 1,
|
|
639
662
|
value: date.getTime() / 1e3
|
|
640
|
-
};
|
|
663
|
+
});
|
|
641
664
|
};
|
|
642
665
|
var parseCborErrorBody = async (errorBody, context) => {
|
|
643
666
|
const value = await parseCborBody(errorBody, context);
|
|
@@ -703,5 +726,7 @@ var buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body)
|
|
|
703
726
|
dateToTag,
|
|
704
727
|
loadSmithyRpcV2CborErrorCode,
|
|
705
728
|
parseCborBody,
|
|
706
|
-
parseCborErrorBody
|
|
729
|
+
parseCborErrorBody,
|
|
730
|
+
tag,
|
|
731
|
+
tagSymbol
|
|
707
732
|
});
|