@mavogel/awscdk-rootmail 0.0.210 → 0.0.211
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 +6 -6
- 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 +1 -1
- 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 +1 -1
- 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 +98 -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 +123 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListNodesSummaryCommand.d.ts +123 -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 +141 -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 +1 -1
- 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 +6 -6
|
@@ -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.698.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",
|
|
@@ -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
|
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { toUtf8 } from "@smithy/util-utf8";
|
|
2
|
-
import { alloc, extendedFloat16, extendedFloat32, extendedFloat64, extendedOneByte, majorList, majorMap, majorNegativeInt64, majorTag, majorUint64, majorUnstructuredByteString, majorUtf8String, minorIndefinite, specialFalse, specialNull, specialTrue, specialUndefined, } from "./cbor-types";
|
|
2
|
+
import { alloc, extendedFloat16, extendedFloat32, extendedFloat64, extendedOneByte, majorList, majorMap, majorNegativeInt64, majorTag, majorUint64, majorUnstructuredByteString, majorUtf8String, minorIndefinite, specialFalse, specialNull, specialTrue, specialUndefined, tag, } from "./cbor-types";
|
|
3
3
|
const USE_TEXT_DECODER = typeof TextDecoder !== "undefined";
|
|
4
4
|
const USE_BUFFER = typeof Buffer !== "undefined";
|
|
5
5
|
let payload = alloc(0);
|
|
@@ -75,7 +75,7 @@ export function decode(at, to) {
|
|
|
75
75
|
const value = decode(at + offset, to);
|
|
76
76
|
const valueOffset = _offset;
|
|
77
77
|
_offset = offset + valueOffset;
|
|
78
|
-
return { tag: castBigInt(unsignedInt), value };
|
|
78
|
+
return tag({ tag: castBigInt(unsignedInt), value });
|
|
79
79
|
}
|
|
80
80
|
case majorUtf8String:
|
|
81
81
|
case majorMap:
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { fromUtf8 } from "@smithy/util-utf8";
|
|
2
|
-
import { extendedFloat16, extendedFloat32, extendedFloat64, majorList, majorMap, majorNegativeInt64, majorSpecial, majorUint64, majorUnstructuredByteString, majorUtf8String, specialFalse, specialNull, specialTrue, } from "./cbor-types";
|
|
2
|
+
import { extendedFloat16, extendedFloat32, extendedFloat64, majorList, majorMap, majorNegativeInt64, majorSpecial, majorTag, majorUint64, majorUnstructuredByteString, majorUtf8String, specialFalse, specialNull, specialTrue, tagSymbol, } from "./cbor-types";
|
|
3
3
|
import { alloc } from "./cbor-types";
|
|
4
4
|
const USE_BUFFER = typeof Buffer !== "undefined";
|
|
5
5
|
const initialSize = 2048;
|
|
@@ -167,6 +167,16 @@ export function encode(_input) {
|
|
|
167
167
|
continue;
|
|
168
168
|
}
|
|
169
169
|
else if (typeof input === "object") {
|
|
170
|
+
if (input[tagSymbol]) {
|
|
171
|
+
if ("tag" in input && "value" in input) {
|
|
172
|
+
encodeStack.push(input.value);
|
|
173
|
+
encodeHeader(majorTag, input.tag);
|
|
174
|
+
continue;
|
|
175
|
+
}
|
|
176
|
+
else {
|
|
177
|
+
throw new Error("tag encountered with missing fields, need 'tag' and 'value', found: " + JSON.stringify(input));
|
|
178
|
+
}
|
|
179
|
+
}
|
|
170
180
|
const keys = Object.keys(input);
|
|
171
181
|
for (let i = keys.length - 1; i >= 0; --i) {
|
|
172
182
|
const key = keys[i];
|
|
@@ -18,3 +18,8 @@ export const minorIndefinite = 31;
|
|
|
18
18
|
export function alloc(size) {
|
|
19
19
|
return typeof Buffer !== "undefined" ? Buffer.alloc(size) : new Uint8Array(size);
|
|
20
20
|
}
|
|
21
|
+
export const tagSymbol = Symbol("@smithy/core/cbor::tagSymbol");
|
|
22
|
+
export function tag(data) {
|
|
23
|
+
data[tagSymbol] = true;
|
|
24
|
+
return data;
|
|
25
|
+
}
|
|
@@ -6,8 +6,14 @@ export const cbor = {
|
|
|
6
6
|
return decode(0, payload.length);
|
|
7
7
|
},
|
|
8
8
|
serialize(input) {
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
try {
|
|
10
|
+
encode(input);
|
|
11
|
+
return toUint8Array();
|
|
12
|
+
}
|
|
13
|
+
catch (e) {
|
|
14
|
+
toUint8Array();
|
|
15
|
+
throw e;
|
|
16
|
+
}
|
|
11
17
|
},
|
|
12
18
|
resizeEncodingBuffer(size) {
|
|
13
19
|
resize(size);
|
|
@@ -2,6 +2,7 @@ import { collectBody } from "@smithy/core/protocols";
|
|
|
2
2
|
import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
|
|
3
3
|
import { calculateBodyLength } from "@smithy/util-body-length-browser";
|
|
4
4
|
import { cbor } from "./cbor";
|
|
5
|
+
import { tag, tagSymbol } from "./cbor-types";
|
|
5
6
|
export const parseCborBody = (streamBody, context) => {
|
|
6
7
|
return collectBody(streamBody, context).then(async (bytes) => {
|
|
7
8
|
if (bytes.length) {
|
|
@@ -19,10 +20,10 @@ export const parseCborBody = (streamBody, context) => {
|
|
|
19
20
|
});
|
|
20
21
|
};
|
|
21
22
|
export const dateToTag = (date) => {
|
|
22
|
-
return {
|
|
23
|
+
return tag({
|
|
23
24
|
tag: 1,
|
|
24
25
|
value: date.getTime() / 1000,
|
|
25
|
-
};
|
|
26
|
+
});
|
|
26
27
|
};
|
|
27
28
|
export const parseCborErrorBody = async (errorBody, context) => {
|
|
28
29
|
const value = await parseCborBody(errorBody, context);
|
|
@@ -3,6 +3,7 @@ export type CborItemType = undefined | boolean | number | bigint | [CborUnstruct
|
|
|
3
3
|
export type CborTagType = {
|
|
4
4
|
tag: Uint64 | number;
|
|
5
5
|
value: CborValueType;
|
|
6
|
+
[tagSymbol]: true;
|
|
6
7
|
};
|
|
7
8
|
export type CborUnstructuredByteStringType = Uint8Array;
|
|
8
9
|
export type CborListType<T = any> = Array<T>;
|
|
@@ -38,3 +39,25 @@ export declare const extendedFloat32 = 26;
|
|
|
38
39
|
export declare const extendedFloat64 = 27;
|
|
39
40
|
export declare const minorIndefinite = 31;
|
|
40
41
|
export declare function alloc(size: number): Uint8Array | Buffer;
|
|
42
|
+
/**
|
|
43
|
+
* @public
|
|
44
|
+
*
|
|
45
|
+
* The presence of this symbol as an object key indicates it should be considered a tag
|
|
46
|
+
* for CBOR serialization purposes.
|
|
47
|
+
*
|
|
48
|
+
* The object must also have the properties "tag" and "value".
|
|
49
|
+
*/
|
|
50
|
+
export declare const tagSymbol: unique symbol;
|
|
51
|
+
/**
|
|
52
|
+
* @public
|
|
53
|
+
* Applies the tag symbol to the object.
|
|
54
|
+
*/
|
|
55
|
+
export declare function tag(data: {
|
|
56
|
+
tag: number | bigint;
|
|
57
|
+
value: any;
|
|
58
|
+
[tagSymbol]?: true;
|
|
59
|
+
}): {
|
|
60
|
+
tag: number | bigint;
|
|
61
|
+
value: any;
|
|
62
|
+
[tagSymbol]: true;
|
|
63
|
+
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
|
|
2
2
|
import { HeaderBag as __HeaderBag, HttpResponse, SerdeContext as __SerdeContext, SerdeContext } from "@smithy/types";
|
|
3
|
+
import { tag, tagSymbol } from "./cbor-types";
|
|
3
4
|
/**
|
|
4
5
|
* @internal
|
|
5
6
|
*/
|
|
@@ -8,8 +9,9 @@ export declare const parseCborBody: (streamBody: any, context: SerdeContext) =>
|
|
|
8
9
|
* @internal
|
|
9
10
|
*/
|
|
10
11
|
export declare const dateToTag: (date: Date) => {
|
|
11
|
-
tag:
|
|
12
|
-
value:
|
|
12
|
+
tag: number | bigint;
|
|
13
|
+
value: any;
|
|
14
|
+
[tagSymbol]: true;
|
|
13
15
|
};
|
|
14
16
|
/**
|
|
15
17
|
* @internal
|
|
@@ -6,6 +6,7 @@ export type CborItemType = undefined | boolean | number | bigint | [
|
|
|
6
6
|
export type CborTagType = {
|
|
7
7
|
tag: Uint64 | number;
|
|
8
8
|
value: CborValueType;
|
|
9
|
+
[tagSymbol]: true;
|
|
9
10
|
};
|
|
10
11
|
export type CborUnstructuredByteStringType = Uint8Array;
|
|
11
12
|
export type CborListType<T = any> = Array<T>;
|
|
@@ -41,3 +42,25 @@ export declare const extendedFloat32 = 26;
|
|
|
41
42
|
export declare const extendedFloat64 = 27;
|
|
42
43
|
export declare const minorIndefinite = 31;
|
|
43
44
|
export declare function alloc(size: number): Uint8Array | Buffer;
|
|
45
|
+
/**
|
|
46
|
+
* @public
|
|
47
|
+
*
|
|
48
|
+
* The presence of this symbol as an object key indicates it should be considered a tag
|
|
49
|
+
* for CBOR serialization purposes.
|
|
50
|
+
*
|
|
51
|
+
* The object must also have the properties "tag" and "value".
|
|
52
|
+
*/
|
|
53
|
+
export declare const tagSymbol: unique symbol;
|
|
54
|
+
/**
|
|
55
|
+
* @public
|
|
56
|
+
* Applies the tag symbol to the object.
|
|
57
|
+
*/
|
|
58
|
+
export declare function tag(data: {
|
|
59
|
+
tag: number | bigint;
|
|
60
|
+
value: any;
|
|
61
|
+
[tagSymbol]?: true;
|
|
62
|
+
}): {
|
|
63
|
+
tag: number | bigint;
|
|
64
|
+
value: any;
|
|
65
|
+
[tagSymbol]: true;
|
|
66
|
+
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
|
|
2
2
|
import { HeaderBag as __HeaderBag, HttpResponse, SerdeContext as __SerdeContext, SerdeContext } from "@smithy/types";
|
|
3
|
+
import { tag, tagSymbol } from "./cbor-types";
|
|
3
4
|
/**
|
|
4
5
|
* @internal
|
|
5
6
|
*/
|
|
@@ -8,8 +9,9 @@ export declare const parseCborBody: (streamBody: any, context: SerdeContext) =>
|
|
|
8
9
|
* @internal
|
|
9
10
|
*/
|
|
10
11
|
export declare const dateToTag: (date: Date) => {
|
|
11
|
-
tag:
|
|
12
|
-
value:
|
|
12
|
+
tag: number | bigint;
|
|
13
|
+
value: any;
|
|
14
|
+
[tagSymbol]: true;
|
|
13
15
|
};
|
|
14
16
|
/**
|
|
15
17
|
* @internal
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/middleware-endpoint",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.4",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
6
6
|
"build:cjs": "node ../../scripts/inline middleware-endpoint",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
},
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@smithy/core": "^2.5.
|
|
27
|
+
"@smithy/core": "^2.5.4",
|
|
28
28
|
"@smithy/middleware-serde": "^3.0.10",
|
|
29
29
|
"@smithy/node-config-provider": "^3.1.11",
|
|
30
30
|
"@smithy/shared-ini-file-loader": "^3.1.11",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/middleware-retry",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.28",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
6
6
|
"build:cjs": "node ../../scripts/inline middleware-retry",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"@smithy/node-config-provider": "^3.1.11",
|
|
37
37
|
"@smithy/protocol-http": "^4.1.7",
|
|
38
38
|
"@smithy/service-error-classification": "^3.0.10",
|
|
39
|
-
"@smithy/smithy-client": "^3.4.
|
|
39
|
+
"@smithy/smithy-client": "^3.4.5",
|
|
40
40
|
"@smithy/types": "^3.7.1",
|
|
41
41
|
"@smithy/util-middleware": "^3.0.10",
|
|
42
42
|
"@smithy/util-retry": "^3.0.10",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/smithy-client",
|
|
3
|
-
"version": "3.4.
|
|
3
|
+
"version": "3.4.5",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
6
6
|
"build:cjs": "node ../../scripts/inline smithy-client",
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
},
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@smithy/core": "^2.5.
|
|
28
|
-
"@smithy/middleware-endpoint": "^3.2.
|
|
27
|
+
"@smithy/core": "^2.5.4",
|
|
28
|
+
"@smithy/middleware-endpoint": "^3.2.4",
|
|
29
29
|
"@smithy/middleware-stack": "^3.0.10",
|
|
30
30
|
"@smithy/protocol-http": "^4.1.7",
|
|
31
31
|
"@smithy/types": "^3.7.1",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/util-defaults-mode-browser",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.28",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
6
6
|
"build:cjs": "node ../../scripts/inline util-defaults-mode-browser",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"license": "Apache-2.0",
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@smithy/property-provider": "^3.1.10",
|
|
27
|
-
"@smithy/smithy-client": "^3.4.
|
|
27
|
+
"@smithy/smithy-client": "^3.4.5",
|
|
28
28
|
"@smithy/types": "^3.7.1",
|
|
29
29
|
"bowser": "^2.11.0",
|
|
30
30
|
"tslib": "^2.6.2"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/util-defaults-mode-node",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.28",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
6
6
|
"build:cjs": "node ../../scripts/inline util-defaults-mode-node",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"@smithy/credential-provider-imds": "^3.2.7",
|
|
28
28
|
"@smithy/node-config-provider": "^3.1.11",
|
|
29
29
|
"@smithy/property-provider": "^3.1.10",
|
|
30
|
-
"@smithy/smithy-client": "^3.4.
|
|
30
|
+
"@smithy/smithy-client": "^3.4.5",
|
|
31
31
|
"@smithy/types": "^3.7.1",
|
|
32
32
|
"tslib": "^2.6.2"
|
|
33
33
|
},
|
|
@@ -7153,6 +7153,6 @@
|
|
|
7153
7153
|
"symbolId": "src/ignore-suppression-conditions:SuppressionIgnoreOr"
|
|
7154
7154
|
}
|
|
7155
7155
|
},
|
|
7156
|
-
"version": "2.34.
|
|
7157
|
-
"fingerprint": "
|
|
7156
|
+
"version": "2.34.3",
|
|
7157
|
+
"fingerprint": "ReiFbR11rutYMTRaFigPd4Jkdu7dqWnqil9oPPJH4so="
|
|
7158
7158
|
}
|
|
@@ -28,7 +28,7 @@ class SuppressionIgnoreAnd {
|
|
|
28
28
|
}
|
|
29
29
|
exports.SuppressionIgnoreAnd = SuppressionIgnoreAnd;
|
|
30
30
|
_a = JSII_RTTI_SYMBOL_1;
|
|
31
|
-
SuppressionIgnoreAnd[_a] = { fqn: "cdk-nag.SuppressionIgnoreAnd", version: "2.34.
|
|
31
|
+
SuppressionIgnoreAnd[_a] = { fqn: "cdk-nag.SuppressionIgnoreAnd", version: "2.34.3" };
|
|
32
32
|
/**
|
|
33
33
|
* Ignore the suppression if any of the given INagSuppressionIgnore return a non-empty message
|
|
34
34
|
*/
|
|
@@ -52,7 +52,7 @@ class SuppressionIgnoreOr {
|
|
|
52
52
|
}
|
|
53
53
|
exports.SuppressionIgnoreOr = SuppressionIgnoreOr;
|
|
54
54
|
_b = JSII_RTTI_SYMBOL_1;
|
|
55
|
-
SuppressionIgnoreOr[_b] = { fqn: "cdk-nag.SuppressionIgnoreOr", version: "2.34.
|
|
55
|
+
SuppressionIgnoreOr[_b] = { fqn: "cdk-nag.SuppressionIgnoreOr", version: "2.34.3" };
|
|
56
56
|
/**
|
|
57
57
|
* Always ignore the suppression
|
|
58
58
|
*/
|
|
@@ -69,7 +69,7 @@ class SuppressionIgnoreAlways {
|
|
|
69
69
|
}
|
|
70
70
|
exports.SuppressionIgnoreAlways = SuppressionIgnoreAlways;
|
|
71
71
|
_c = JSII_RTTI_SYMBOL_1;
|
|
72
|
-
SuppressionIgnoreAlways[_c] = { fqn: "cdk-nag.SuppressionIgnoreAlways", version: "2.34.
|
|
72
|
+
SuppressionIgnoreAlways[_c] = { fqn: "cdk-nag.SuppressionIgnoreAlways", version: "2.34.3" };
|
|
73
73
|
/**
|
|
74
74
|
* Don't ignore the suppression
|
|
75
75
|
*/
|
|
@@ -80,7 +80,7 @@ class SuppressionIgnoreNever {
|
|
|
80
80
|
}
|
|
81
81
|
exports.SuppressionIgnoreNever = SuppressionIgnoreNever;
|
|
82
82
|
_d = JSII_RTTI_SYMBOL_1;
|
|
83
|
-
SuppressionIgnoreNever[_d] = { fqn: "cdk-nag.SuppressionIgnoreNever", version: "2.34.
|
|
83
|
+
SuppressionIgnoreNever[_d] = { fqn: "cdk-nag.SuppressionIgnoreNever", version: "2.34.3" };
|
|
84
84
|
/**
|
|
85
85
|
* Ignore Suppressions for Rules with a NagMessageLevel.ERROR
|
|
86
86
|
*/
|
|
@@ -93,5 +93,5 @@ class SuppressionIgnoreErrors {
|
|
|
93
93
|
}
|
|
94
94
|
exports.SuppressionIgnoreErrors = SuppressionIgnoreErrors;
|
|
95
95
|
_e = JSII_RTTI_SYMBOL_1;
|
|
96
|
-
SuppressionIgnoreErrors[_e] = { fqn: "cdk-nag.SuppressionIgnoreErrors", version: "2.34.
|
|
96
|
+
SuppressionIgnoreErrors[_e] = { fqn: "cdk-nag.SuppressionIgnoreErrors", version: "2.34.3" };
|
|
97
97
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaWdub3JlLXN1cHByZXNzaW9uLWNvbmRpdGlvbnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvaWdub3JlLXN1cHByZXNzaW9uLWNvbmRpdGlvbnMud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