cdk-lambda-subminute 2.0.318 → 2.0.320
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.jsii +3 -3
- package/lib/cdk-lambda-subminute.js +3 -3
- package/node_modules/aws-sdk/README.md +1 -1
- package/node_modules/aws-sdk/apis/backup-2018-11-15.min.json +8 -2
- package/node_modules/aws-sdk/apis/codedeploy-2014-10-06.min.json +49 -2
- package/node_modules/aws-sdk/apis/connect-2017-08-08.min.json +7 -1
- package/node_modules/aws-sdk/apis/ec2-2016-11-15.min.json +282 -279
- package/node_modules/aws-sdk/apis/payment-cryptography-2021-09-14.min.json +34 -14
- package/node_modules/aws-sdk/clients/backup.d.ts +18 -6
- package/node_modules/aws-sdk/clients/codedeploy.d.ts +59 -8
- package/node_modules/aws-sdk/clients/comprehend.d.ts +15 -15
- package/node_modules/aws-sdk/clients/connect.d.ts +8 -0
- package/node_modules/aws-sdk/clients/ec2.d.ts +5 -0
- package/node_modules/aws-sdk/clients/paymentcryptography.d.ts +70 -41
- package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +2 -2
- package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +8 -8
- package/node_modules/aws-sdk/dist/aws-sdk.js +342 -285
- package/node_modules/aws-sdk/dist/aws-sdk.min.js +89 -89
- package/node_modules/aws-sdk/lib/core.js +1 -1
- package/node_modules/aws-sdk/lib/region_config_data.json +1 -0
- package/node_modules/aws-sdk/package.json +1 -1
- package/package.json +2 -2
@@ -34,7 +34,8 @@
|
|
34
34
|
"shape": "S5"
|
35
35
|
}
|
36
36
|
}
|
37
|
-
}
|
37
|
+
},
|
38
|
+
"idempotent": true
|
38
39
|
},
|
39
40
|
"CreateKey": {
|
40
41
|
"input": {
|
@@ -84,7 +85,8 @@
|
|
84
85
|
"output": {
|
85
86
|
"type": "structure",
|
86
87
|
"members": {}
|
87
|
-
}
|
88
|
+
},
|
89
|
+
"idempotent": true
|
88
90
|
},
|
89
91
|
"DeleteKey": {
|
90
92
|
"input": {
|
@@ -109,7 +111,8 @@
|
|
109
111
|
"shape": "Sk"
|
110
112
|
}
|
111
113
|
}
|
112
|
-
}
|
114
|
+
},
|
115
|
+
"idempotent": true
|
113
116
|
},
|
114
117
|
"ExportKey": {
|
115
118
|
"input": {
|
@@ -119,6 +122,21 @@
|
|
119
122
|
"KeyMaterial"
|
120
123
|
],
|
121
124
|
"members": {
|
125
|
+
"ExportAttributes": {
|
126
|
+
"type": "structure",
|
127
|
+
"members": {
|
128
|
+
"ExportDukptInitialKey": {
|
129
|
+
"type": "structure",
|
130
|
+
"required": [
|
131
|
+
"KeySerialNumber"
|
132
|
+
],
|
133
|
+
"members": {
|
134
|
+
"KeySerialNumber": {}
|
135
|
+
}
|
136
|
+
},
|
137
|
+
"KeyCheckValueAlgorithm": {}
|
138
|
+
}
|
139
|
+
},
|
122
140
|
"ExportKeyIdentifier": {},
|
123
141
|
"KeyMaterial": {
|
124
142
|
"type": "structure",
|
@@ -146,7 +164,7 @@
|
|
146
164
|
"KeyBlockFormat": {},
|
147
165
|
"RandomNonce": {},
|
148
166
|
"WrappingKeyCertificate": {
|
149
|
-
"shape": "
|
167
|
+
"shape": "S15"
|
150
168
|
}
|
151
169
|
}
|
152
170
|
}
|
@@ -166,6 +184,8 @@
|
|
166
184
|
"WrappingKeyArn"
|
167
185
|
],
|
168
186
|
"members": {
|
187
|
+
"KeyCheckValue": {},
|
188
|
+
"KeyCheckValueAlgorithm": {},
|
169
189
|
"KeyMaterial": {
|
170
190
|
"type": "string",
|
171
191
|
"sensitive": true
|
@@ -249,10 +269,10 @@
|
|
249
269
|
},
|
250
270
|
"SigningKeyAlgorithm": {},
|
251
271
|
"SigningKeyCertificate": {
|
252
|
-
"shape": "
|
272
|
+
"shape": "S15"
|
253
273
|
},
|
254
274
|
"SigningKeyCertificateChain": {
|
255
|
-
"shape": "
|
275
|
+
"shape": "S15"
|
256
276
|
}
|
257
277
|
}
|
258
278
|
}
|
@@ -285,10 +305,10 @@
|
|
285
305
|
},
|
286
306
|
"WrappingKeyAlgorithm": {},
|
287
307
|
"WrappingKeyCertificate": {
|
288
|
-
"shape": "
|
308
|
+
"shape": "S15"
|
289
309
|
},
|
290
310
|
"WrappingKeyCertificateChain": {
|
291
|
-
"shape": "
|
311
|
+
"shape": "S15"
|
292
312
|
}
|
293
313
|
}
|
294
314
|
}
|
@@ -311,10 +331,10 @@
|
|
311
331
|
],
|
312
332
|
"members": {
|
313
333
|
"KeyCertificate": {
|
314
|
-
"shape": "
|
334
|
+
"shape": "S15"
|
315
335
|
},
|
316
336
|
"KeyCertificateChain": {
|
317
|
-
"shape": "
|
337
|
+
"shape": "S15"
|
318
338
|
}
|
319
339
|
}
|
320
340
|
}
|
@@ -344,7 +364,7 @@
|
|
344
364
|
"shape": "S8"
|
345
365
|
},
|
346
366
|
"PublicKeyCertificate": {
|
347
|
-
"shape": "
|
367
|
+
"shape": "S15"
|
348
368
|
}
|
349
369
|
}
|
350
370
|
},
|
@@ -374,7 +394,7 @@
|
|
374
394
|
"KeyBlockFormat": {},
|
375
395
|
"RandomNonce": {},
|
376
396
|
"SigningKeyCertificate": {
|
377
|
-
"shape": "
|
397
|
+
"shape": "S15"
|
378
398
|
},
|
379
399
|
"WrappedKeyBlock": {}
|
380
400
|
}
|
@@ -392,7 +412,7 @@
|
|
392
412
|
"shape": "S8"
|
393
413
|
},
|
394
414
|
"PublicKeyCertificate": {
|
395
|
-
"shape": "
|
415
|
+
"shape": "S15"
|
396
416
|
}
|
397
417
|
}
|
398
418
|
}
|
@@ -762,7 +782,7 @@
|
|
762
782
|
}
|
763
783
|
}
|
764
784
|
},
|
765
|
-
"
|
785
|
+
"S15": {
|
766
786
|
"type": "string",
|
767
787
|
"sensitive": true
|
768
788
|
}
|
@@ -704,11 +704,11 @@ declare class Backup extends Service {
|
|
704
704
|
*/
|
705
705
|
updateRecoveryPointLifecycle(callback?: (err: AWSError, data: Backup.Types.UpdateRecoveryPointLifecycleOutput) => void): Request<Backup.Types.UpdateRecoveryPointLifecycleOutput, AWSError>;
|
706
706
|
/**
|
707
|
-
* Updates the current service opt-in settings for the Region.
|
707
|
+
* Updates the current service opt-in settings for the Region. Use the DescribeRegionSettings API to determine the resource types that are supported.
|
708
708
|
*/
|
709
709
|
updateRegionSettings(params: Backup.Types.UpdateRegionSettingsInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
710
710
|
/**
|
711
|
-
* Updates the current service opt-in settings for the Region.
|
711
|
+
* Updates the current service opt-in settings for the Region. Use the DescribeRegionSettings API to determine the resource types that are supported.
|
712
712
|
*/
|
713
713
|
updateRegionSettings(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
714
714
|
/**
|
@@ -2214,6 +2214,10 @@ declare namespace Backup {
|
|
2214
2214
|
* This is the non-unique name of the resource that belongs to the specified backup.
|
2215
2215
|
*/
|
2216
2216
|
ResourceName?: string;
|
2217
|
+
/**
|
2218
|
+
* This is the type of vault in which the described recovery point is stored.
|
2219
|
+
*/
|
2220
|
+
VaultType?: VaultType;
|
2217
2221
|
}
|
2218
2222
|
export interface DescribeRegionSettingsInput {
|
2219
2223
|
}
|
@@ -2847,7 +2851,7 @@ declare namespace Backup {
|
|
2847
2851
|
*/
|
2848
2852
|
ByCreatedAfter?: timestamp;
|
2849
2853
|
/**
|
2850
|
-
* Returns only backup jobs for the specified resources: Aurora for Amazon Aurora DocumentDB for Amazon DocumentDB (with MongoDB compatibility) DynamoDB for Amazon DynamoDB EBS for Amazon Elastic Block Store EC2 for Amazon Elastic Compute Cloud EFS for Amazon Elastic File System FSx for Amazon FSx Neptune for Amazon Neptune RDS for Amazon Relational Database Service Storage Gateway for Storage Gateway S3 for Amazon S3 VirtualMachine for virtual machines
|
2854
|
+
* Returns only backup jobs for the specified resources: Aurora for Amazon Aurora CloudFormation for CloudFormation DocumentDB for Amazon DocumentDB (with MongoDB compatibility) DynamoDB for Amazon DynamoDB EBS for Amazon Elastic Block Store EC2 for Amazon Elastic Compute Cloud EFS for Amazon Elastic File System FSx for Amazon FSx Neptune for Amazon Neptune Redshift for Amazon Redshift RDS for Amazon Relational Database Service SAP HANA on Amazon EC2 for SAP HANA databases Storage Gateway for Storage Gateway S3 for Amazon S3 Timestream for Amazon Timestream VirtualMachine for virtual machines
|
2851
2855
|
*/
|
2852
2856
|
ByResourceType?: ResourceType;
|
2853
2857
|
/**
|
@@ -3071,7 +3075,7 @@ declare namespace Backup {
|
|
3071
3075
|
*/
|
3072
3076
|
ByCreatedAfter?: timestamp;
|
3073
3077
|
/**
|
3074
|
-
* Returns only backup jobs for the specified resources: Aurora for Amazon Aurora DocumentDB for Amazon DocumentDB (with MongoDB compatibility) DynamoDB for Amazon DynamoDB EBS for Amazon Elastic Block Store EC2 for Amazon Elastic Compute Cloud EFS for Amazon Elastic File System FSx for Amazon FSx Neptune for Amazon Neptune RDS for Amazon Relational Database Service Storage Gateway for Storage Gateway S3 for Amazon S3 VirtualMachine for virtual machines
|
3078
|
+
* Returns only backup jobs for the specified resources: Aurora for Amazon Aurora CloudFormation for CloudFormation DocumentDB for Amazon DocumentDB (with MongoDB compatibility) DynamoDB for Amazon DynamoDB EBS for Amazon Elastic Block Store EC2 for Amazon Elastic Compute Cloud EFS for Amazon Elastic File System FSx for Amazon FSx Neptune for Amazon Neptune Redshift for Amazon Redshift RDS for Amazon Relational Database Service SAP HANA on Amazon EC2 for SAP HANA databases Storage Gateway for Storage Gateway S3 for Amazon S3 Timestream for Amazon Timestream VirtualMachine for virtual machines
|
3075
3079
|
*/
|
3076
3080
|
ByResourceType?: ResourceType;
|
3077
3081
|
/**
|
@@ -3220,7 +3224,7 @@ declare namespace Backup {
|
|
3220
3224
|
*/
|
3221
3225
|
ByResourceArn?: ARN;
|
3222
3226
|
/**
|
3223
|
-
* Returns only recovery points that match the specified resource type
|
3227
|
+
* Returns only recovery points that match the specified resource type(s): Aurora for Amazon Aurora CloudFormation for CloudFormation DocumentDB for Amazon DocumentDB (with MongoDB compatibility) DynamoDB for Amazon DynamoDB EBS for Amazon Elastic Block Store EC2 for Amazon Elastic Compute Cloud EFS for Amazon Elastic File System FSx for Amazon FSx Neptune for Amazon Neptune Redshift for Amazon Redshift RDS for Amazon Relational Database Service SAP HANA on Amazon EC2 for SAP HANA databases Storage Gateway for Storage Gateway S3 for Amazon S3 Timestream for Amazon Timestream VirtualMachine for virtual machines
|
3224
3228
|
*/
|
3225
3229
|
ByResourceType?: ResourceType;
|
3226
3230
|
/**
|
@@ -3443,6 +3447,10 @@ declare namespace Backup {
|
|
3443
3447
|
* The account ID to list the jobs from. Returns only restore jobs associated with the specified account ID.
|
3444
3448
|
*/
|
3445
3449
|
ByAccountId?: AccountId;
|
3450
|
+
/**
|
3451
|
+
* Include this parameter to return only restore jobs for the specified resources: Aurora for Amazon Aurora CloudFormation for CloudFormation DocumentDB for Amazon DocumentDB (with MongoDB compatibility) DynamoDB for Amazon DynamoDB EBS for Amazon Elastic Block Store EC2 for Amazon Elastic Compute Cloud EFS for Amazon Elastic File System FSx for Amazon FSx Neptune for Amazon Neptune Redshift for Amazon Redshift RDS for Amazon Relational Database Service SAP HANA on Amazon EC2 for SAP HANA databases Storage Gateway for Storage Gateway S3 for Amazon S3 Timestream for Amazon Timestream VirtualMachine for virtual machines
|
3452
|
+
*/
|
3453
|
+
ByResourceType?: ResourceType;
|
3446
3454
|
/**
|
3447
3455
|
* Returns only restore jobs that were created before the specified date.
|
3448
3456
|
*/
|
@@ -3739,6 +3747,10 @@ declare namespace Backup {
|
|
3739
3747
|
* This is the non-unique name of the resource that belongs to the specified backup.
|
3740
3748
|
*/
|
3741
3749
|
ResourceName?: string;
|
3750
|
+
/**
|
3751
|
+
* This is the type of vault in which the described recovery point is stored.
|
3752
|
+
*/
|
3753
|
+
VaultType?: VaultType;
|
3742
3754
|
}
|
3743
3755
|
export type RecoveryPointByBackupVaultList = RecoveryPointByBackupVault[];
|
3744
3756
|
export interface RecoveryPointByResource {
|
@@ -4632,7 +4644,7 @@ declare namespace Backup {
|
|
4632
4644
|
}
|
4633
4645
|
export interface UpdateRegionSettingsInput {
|
4634
4646
|
/**
|
4635
|
-
* Updates the list of services along with the opt-in preferences for the Region.
|
4647
|
+
* Updates the list of services along with the opt-in preferences for the Region. If resource assignments are only based on tags, then service opt-in settings are applied. If a resource type is explicitly assigned to a backup plan, such as Amazon S3, Amazon EC2, or Amazon RDS, it will be included in the backup even if the opt-in is not enabled for that particular service. If both a resource type and tags are specified in a resource assignment, the resource type specified in the backup plan takes priority over the tag condition. Service opt-in settings are disregarded in this situation.
|
4636
4648
|
*/
|
4637
4649
|
ResourceTypeOptInPreference?: ResourceTypeOptInPreference;
|
4638
4650
|
/**
|
@@ -491,9 +491,13 @@ declare namespace CodeDeploy {
|
|
491
491
|
*/
|
492
492
|
name?: AutoScalingGroupName;
|
493
493
|
/**
|
494
|
-
*
|
494
|
+
* The name of the launch hook that CodeDeploy installed into the Auto Scaling group. For more information about the launch hook, see How Amazon EC2 Auto Scaling works with CodeDeploy in the CodeDeploy User Guide.
|
495
495
|
*/
|
496
496
|
hook?: AutoScalingGroupHook;
|
497
|
+
/**
|
498
|
+
* The name of the termination hook that CodeDeploy installed into the Auto Scaling group. For more information about the termination hook, see Enabling termination deployments during Auto Scaling scale-in events in the CodeDeploy User Guide.
|
499
|
+
*/
|
500
|
+
terminationHook?: AutoScalingGroupHook;
|
497
501
|
}
|
498
502
|
export type AutoScalingGroupHook = string;
|
499
503
|
export type AutoScalingGroupList = AutoScalingGroup[];
|
@@ -579,11 +583,11 @@ declare namespace CodeDeploy {
|
|
579
583
|
/**
|
580
584
|
* The unique ID of a deployment.
|
581
585
|
*/
|
582
|
-
deploymentId
|
586
|
+
deploymentId: DeploymentId;
|
583
587
|
/**
|
584
588
|
* The unique IDs of the deployment targets. The compute platform of the deployment determines the type of the targets and their formats. The maximum number of deployment target IDs you can specify is 25. For deployments that use the EC2/On-premises compute platform, the target IDs are Amazon EC2 or on-premises instances IDs, and their target type is instanceTarget. For deployments that use the Lambda compute platform, the target IDs are the names of Lambda functions, and their target type is instanceTarget. For deployments that use the Amazon ECS compute platform, the target IDs are pairs of Amazon ECS clusters and services specified using the format <clustername>:<servicename>. Their target type is ecsTarget. For deployments that are deployed with CloudFormation, the target IDs are CloudFormation stack IDs. Their target type is cloudFormationTarget.
|
585
589
|
*/
|
586
|
-
targetIds
|
590
|
+
targetIds: TargetIdList;
|
587
591
|
}
|
588
592
|
export interface BatchGetDeploymentTargetsOutput {
|
589
593
|
/**
|
@@ -721,6 +725,10 @@ declare namespace CodeDeploy {
|
|
721
725
|
* The destination platform type for the deployment (Lambda, Server, or ECS).
|
722
726
|
*/
|
723
727
|
computePlatform?: ComputePlatform;
|
728
|
+
/**
|
729
|
+
* Configure the ZonalConfig object if you want CodeDeploy to deploy your application to one Availability Zone at a time, within an Amazon Web Services Region. For more information about the zonal configuration feature, see zonal configuration in the CodeDeploy User Guide.
|
730
|
+
*/
|
731
|
+
zonalConfig?: ZonalConfig;
|
724
732
|
}
|
725
733
|
export interface CreateDeploymentConfigOutput {
|
726
734
|
/**
|
@@ -801,6 +809,10 @@ declare namespace CodeDeploy {
|
|
801
809
|
* The metadata that you apply to CodeDeploy deployment groups to help you organize and categorize them. Each tag consists of a key and an optional value, both of which you define.
|
802
810
|
*/
|
803
811
|
tags?: TagList;
|
812
|
+
/**
|
813
|
+
* This parameter only applies if you are using CodeDeploy with Amazon EC2 Auto Scaling. For more information, see Integrating CodeDeploy with Amazon EC2 Auto Scaling in the CodeDeploy User Guide. Set terminationHookEnabled to true to have CodeDeploy install a termination hook into your Auto Scaling group when you create a deployment group. When this hook is installed, CodeDeploy will perform termination deployments. For information about termination deployments, see Enabling termination deployments during Auto Scaling scale-in events in the CodeDeploy User Guide. For more information about Auto Scaling scale-in events, see the Scale in topic in the Amazon EC2 Auto Scaling User Guide.
|
814
|
+
*/
|
815
|
+
terminationHookEnabled?: NullableBoolean;
|
804
816
|
}
|
805
817
|
export interface CreateDeploymentGroupOutput {
|
806
818
|
/**
|
@@ -919,7 +931,7 @@ declare namespace CodeDeploy {
|
|
919
931
|
*/
|
920
932
|
deploymentConfigName?: DeploymentConfigName;
|
921
933
|
/**
|
922
|
-
* Information about the number or percentage of minimum healthy
|
934
|
+
* Information about the number or percentage of minimum healthy instances.
|
923
935
|
*/
|
924
936
|
minimumHealthyHosts?: MinimumHealthyHosts;
|
925
937
|
/**
|
@@ -934,10 +946,14 @@ declare namespace CodeDeploy {
|
|
934
946
|
* The configuration that specifies how the deployment traffic is routed. Used for deployments with a Lambda or Amazon ECS compute platform only.
|
935
947
|
*/
|
936
948
|
trafficRoutingConfig?: TrafficRoutingConfig;
|
949
|
+
/**
|
950
|
+
* Information about a zonal configuration.
|
951
|
+
*/
|
952
|
+
zonalConfig?: ZonalConfig;
|
937
953
|
}
|
938
954
|
export type DeploymentConfigName = string;
|
939
955
|
export type DeploymentConfigsList = DeploymentConfigName[];
|
940
|
-
export type DeploymentCreator = "user"|"autoscaling"|"codeDeployRollback"|"CodeDeploy"|"CodeDeployAutoUpdate"|"CloudFormation"|"CloudFormationRollback"|string;
|
956
|
+
export type DeploymentCreator = "user"|"autoscaling"|"codeDeployRollback"|"CodeDeploy"|"CodeDeployAutoUpdate"|"CloudFormation"|"CloudFormationRollback"|"autoscalingTermination"|string;
|
941
957
|
export type DeploymentGroupId = string;
|
942
958
|
export interface DeploymentGroupInfo {
|
943
959
|
/**
|
@@ -1028,6 +1044,10 @@ declare namespace CodeDeploy {
|
|
1028
1044
|
* The target Amazon ECS services in the deployment group. This applies only to deployment groups that use the Amazon ECS compute platform. A target Amazon ECS service is specified as an Amazon ECS cluster and service name pair using the format <clustername>:<servicename>.
|
1029
1045
|
*/
|
1030
1046
|
ecsServices?: ECSServiceList;
|
1047
|
+
/**
|
1048
|
+
* Indicates whether the deployment group was configured to have CodeDeploy install a termination hook into an Auto Scaling group. For more information about the termination hook, see How Amazon EC2 Auto Scaling works with CodeDeploy in the CodeDeploy User Guide.
|
1049
|
+
*/
|
1050
|
+
terminationHookEnabled?: Boolean;
|
1031
1051
|
}
|
1032
1052
|
export type DeploymentGroupInfoList = DeploymentGroupInfo[];
|
1033
1053
|
export type DeploymentGroupName = string;
|
@@ -1498,11 +1518,11 @@ declare namespace CodeDeploy {
|
|
1498
1518
|
/**
|
1499
1519
|
* The unique ID of a deployment.
|
1500
1520
|
*/
|
1501
|
-
deploymentId
|
1521
|
+
deploymentId: DeploymentId;
|
1502
1522
|
/**
|
1503
1523
|
* The unique ID of a deployment target.
|
1504
1524
|
*/
|
1505
|
-
targetId
|
1525
|
+
targetId: TargetId;
|
1506
1526
|
}
|
1507
1527
|
export interface GetDeploymentTargetOutput {
|
1508
1528
|
/**
|
@@ -1871,7 +1891,7 @@ declare namespace CodeDeploy {
|
|
1871
1891
|
/**
|
1872
1892
|
* The unique ID of a deployment.
|
1873
1893
|
*/
|
1874
|
-
deploymentId
|
1894
|
+
deploymentId: DeploymentId;
|
1875
1895
|
/**
|
1876
1896
|
* A token identifier returned from the previous ListDeploymentTargets call. It can be used to return the next set of deployment targets in the list.
|
1877
1897
|
*/
|
@@ -2016,6 +2036,18 @@ declare namespace CodeDeploy {
|
|
2016
2036
|
*/
|
2017
2037
|
value?: MinimumHealthyHostsValue;
|
2018
2038
|
}
|
2039
|
+
export interface MinimumHealthyHostsPerZone {
|
2040
|
+
/**
|
2041
|
+
* The type associated with the MinimumHealthyHostsPerZone option.
|
2042
|
+
*/
|
2043
|
+
type?: MinimumHealthyHostsPerZoneType;
|
2044
|
+
/**
|
2045
|
+
* The value associated with the MinimumHealthyHostsPerZone option.
|
2046
|
+
*/
|
2047
|
+
value?: MinimumHealthyHostsPerZoneValue;
|
2048
|
+
}
|
2049
|
+
export type MinimumHealthyHostsPerZoneType = "HOST_COUNT"|"FLEET_PERCENT"|string;
|
2050
|
+
export type MinimumHealthyHostsPerZoneValue = number;
|
2019
2051
|
export type MinimumHealthyHostsType = "HOST_COUNT"|"FLEET_PERCENT"|string;
|
2020
2052
|
export type MinimumHealthyHostsValue = number;
|
2021
2053
|
export type NextToken = string;
|
@@ -2466,6 +2498,10 @@ declare namespace CodeDeploy {
|
|
2466
2498
|
* Information about an on-premises instance tag set. The deployment group includes only on-premises instances identified by all the tag groups.
|
2467
2499
|
*/
|
2468
2500
|
onPremisesTagSet?: OnPremisesTagSet;
|
2501
|
+
/**
|
2502
|
+
* This parameter only applies if you are using CodeDeploy with Amazon EC2 Auto Scaling. For more information, see Integrating CodeDeploy with Amazon EC2 Auto Scaling in the CodeDeploy User Guide. Set terminationHookEnabled to true to have CodeDeploy install a termination hook into your Auto Scaling group when you update a deployment group. When this hook is installed, CodeDeploy will perform termination deployments. For information about termination deployments, see Enabling termination deployments during Auto Scaling scale-in events in the CodeDeploy User Guide. For more information about Auto Scaling scale-in events, see the Scale in topic in the Amazon EC2 Auto Scaling User Guide.
|
2503
|
+
*/
|
2504
|
+
terminationHookEnabled?: NullableBoolean;
|
2469
2505
|
}
|
2470
2506
|
export interface UpdateDeploymentGroupOutput {
|
2471
2507
|
/**
|
@@ -2477,6 +2513,21 @@ declare namespace CodeDeploy {
|
|
2477
2513
|
export type Version = string;
|
2478
2514
|
export type VersionId = string;
|
2479
2515
|
export type WaitTimeInMins = number;
|
2516
|
+
export type WaitTimeInSeconds = number;
|
2517
|
+
export interface ZonalConfig {
|
2518
|
+
/**
|
2519
|
+
* The period of time, in seconds, that CodeDeploy must wait after completing a deployment to the first Availability Zone. CodeDeploy will wait this amount of time before starting a deployment to the second Availability Zone. You might set this option if you want to allow extra bake time for the first Availability Zone. If you don't specify a value for firstZoneMonitorDurationInSeconds, then CodeDeploy uses the monitorDurationInSeconds value for the first Availability Zone. For more information about the zonal configuration feature, see zonal configuration in the CodeDeploy User Guide.
|
2520
|
+
*/
|
2521
|
+
firstZoneMonitorDurationInSeconds?: WaitTimeInSeconds;
|
2522
|
+
/**
|
2523
|
+
* The period of time, in seconds, that CodeDeploy must wait after completing a deployment to an Availability Zone. CodeDeploy will wait this amount of time before starting a deployment to the next Availability Zone. Consider adding a monitor duration to give the deployment some time to prove itself (or 'bake') in one Availability Zone before it is released in the next zone. If you don't specify a monitorDurationInSeconds, CodeDeploy starts deploying to the next Availability Zone immediately. For more information about the zonal configuration feature, see zonal configuration in the CodeDeploy User Guide.
|
2524
|
+
*/
|
2525
|
+
monitorDurationInSeconds?: WaitTimeInSeconds;
|
2526
|
+
/**
|
2527
|
+
* The number or percentage of instances that must remain available per Availability Zone during a deployment. This option works in conjunction with the MinimumHealthyHosts option. For more information, see About the minimum number of healthy hosts per Availability Zone in the CodeDeploy User Guide. If you don't specify the minimumHealthyHostsPerZone option, then CodeDeploy uses a default value of 0 percent. For more information about the zonal configuration feature, see zonal configuration in the CodeDeploy User Guide.
|
2528
|
+
*/
|
2529
|
+
minimumHealthyHostsPerZone?: MinimumHealthyHostsPerZone;
|
2530
|
+
}
|
2480
2531
|
/**
|
2481
2532
|
* A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
|
2482
2533
|
*/
|
@@ -60,11 +60,11 @@ declare class Comprehend extends Service {
|
|
60
60
|
*/
|
61
61
|
batchDetectTargetedSentiment(callback?: (err: AWSError, data: Comprehend.Types.BatchDetectTargetedSentimentResponse) => void): Request<Comprehend.Types.BatchDetectTargetedSentimentResponse, AWSError>;
|
62
62
|
/**
|
63
|
-
* Creates a classification request to analyze a single document in real-time. ClassifyDocument supports the following model types: Custom classifier - a custom model that you have created and trained. For input, you can provide plain text, a single-page document (PDF, Word, or image), or Textract API output. For more information, see Custom classification in the Amazon Comprehend Developer Guide. Prompt classifier - Amazon Comprehend provides a model for classifying prompts. For input, you provide English plain text input. For prompt classification, the response includes only the Classes field. For more information about prompt classifiers, see Prompt
|
63
|
+
* Creates a classification request to analyze a single document in real-time. ClassifyDocument supports the following model types: Custom classifier - a custom model that you have created and trained. For input, you can provide plain text, a single-page document (PDF, Word, or image), or Amazon Textract API output. For more information, see Custom classification in the Amazon Comprehend Developer Guide. Prompt safety classifier - Amazon Comprehend provides a pre-trained model for classifying input prompts for generative AI applications. For input, you provide English plain text input. For prompt safety classification, the response includes only the Classes field. For more information about prompt safety classifiers, see Prompt safety classification in the Amazon Comprehend Developer Guide. If the system detects errors while processing a page in the input document, the API response includes an Errors field that describes the errors. If the system detects a document-level error in your input document, the API returns an InvalidRequestException error response. For details about this exception, see Errors in semi-structured documents in the Comprehend Developer Guide.
|
64
64
|
*/
|
65
65
|
classifyDocument(params: Comprehend.Types.ClassifyDocumentRequest, callback?: (err: AWSError, data: Comprehend.Types.ClassifyDocumentResponse) => void): Request<Comprehend.Types.ClassifyDocumentResponse, AWSError>;
|
66
66
|
/**
|
67
|
-
* Creates a classification request to analyze a single document in real-time. ClassifyDocument supports the following model types: Custom classifier - a custom model that you have created and trained. For input, you can provide plain text, a single-page document (PDF, Word, or image), or Textract API output. For more information, see Custom classification in the Amazon Comprehend Developer Guide. Prompt classifier - Amazon Comprehend provides a model for classifying prompts. For input, you provide English plain text input. For prompt classification, the response includes only the Classes field. For more information about prompt classifiers, see Prompt
|
67
|
+
* Creates a classification request to analyze a single document in real-time. ClassifyDocument supports the following model types: Custom classifier - a custom model that you have created and trained. For input, you can provide plain text, a single-page document (PDF, Word, or image), or Amazon Textract API output. For more information, see Custom classification in the Amazon Comprehend Developer Guide. Prompt safety classifier - Amazon Comprehend provides a pre-trained model for classifying input prompts for generative AI applications. For input, you provide English plain text input. For prompt safety classification, the response includes only the Classes field. For more information about prompt safety classifiers, see Prompt safety classification in the Amazon Comprehend Developer Guide. If the system detects errors while processing a page in the input document, the API response includes an Errors field that describes the errors. If the system detects a document-level error in your input document, the API returns an InvalidRequestException error response. For details about this exception, see Errors in semi-structured documents in the Comprehend Developer Guide.
|
68
68
|
*/
|
69
69
|
classifyDocument(callback?: (err: AWSError, data: Comprehend.Types.ClassifyDocumentResponse) => void): Request<Comprehend.Types.ClassifyDocumentResponse, AWSError>;
|
70
70
|
/**
|
@@ -340,11 +340,11 @@ declare class Comprehend extends Service {
|
|
340
340
|
*/
|
341
341
|
detectTargetedSentiment(callback?: (err: AWSError, data: Comprehend.Types.DetectTargetedSentimentResponse) => void): Request<Comprehend.Types.DetectTargetedSentimentResponse, AWSError>;
|
342
342
|
/**
|
343
|
-
* Performs toxicity analysis on the list of text strings that you provide as input. The
|
343
|
+
* Performs toxicity analysis on the list of text strings that you provide as input. The API response contains a results list that matches the size of the input list. For more information about toxicity detection, see Toxicity detection in the Amazon Comprehend Developer Guide.
|
344
344
|
*/
|
345
345
|
detectToxicContent(params: Comprehend.Types.DetectToxicContentRequest, callback?: (err: AWSError, data: Comprehend.Types.DetectToxicContentResponse) => void): Request<Comprehend.Types.DetectToxicContentResponse, AWSError>;
|
346
346
|
/**
|
347
|
-
* Performs toxicity analysis on the list of text strings that you provide as input. The
|
347
|
+
* Performs toxicity analysis on the list of text strings that you provide as input. The API response contains a results list that matches the size of the input list. For more information about toxicity detection, see Toxicity detection in the Amazon Comprehend Developer Guide.
|
348
348
|
*/
|
349
349
|
detectToxicContent(callback?: (err: AWSError, data: Comprehend.Types.DetectToxicContentResponse) => void): Request<Comprehend.Types.DetectToxicContentResponse, AWSError>;
|
350
350
|
/**
|
@@ -508,11 +508,11 @@ declare class Comprehend extends Service {
|
|
508
508
|
*/
|
509
509
|
putResourcePolicy(callback?: (err: AWSError, data: Comprehend.Types.PutResourcePolicyResponse) => void): Request<Comprehend.Types.PutResourcePolicyResponse, AWSError>;
|
510
510
|
/**
|
511
|
-
* Starts an asynchronous document classification job. Use the DescribeDocumentClassificationJob operation to track the progress of the job.
|
511
|
+
* Starts an asynchronous document classification job using a custom classification model. Use the DescribeDocumentClassificationJob operation to track the progress of the job.
|
512
512
|
*/
|
513
513
|
startDocumentClassificationJob(params: Comprehend.Types.StartDocumentClassificationJobRequest, callback?: (err: AWSError, data: Comprehend.Types.StartDocumentClassificationJobResponse) => void): Request<Comprehend.Types.StartDocumentClassificationJobResponse, AWSError>;
|
514
514
|
/**
|
515
|
-
* Starts an asynchronous document classification job. Use the DescribeDocumentClassificationJob operation to track the progress of the job.
|
515
|
+
* Starts an asynchronous document classification job using a custom classification model. Use the DescribeDocumentClassificationJob operation to track the progress of the job.
|
516
516
|
*/
|
517
517
|
startDocumentClassificationJob(callback?: (err: AWSError, data: Comprehend.Types.StartDocumentClassificationJobResponse) => void): Request<Comprehend.Types.StartDocumentClassificationJobResponse, AWSError>;
|
518
518
|
/**
|
@@ -1053,11 +1053,11 @@ declare namespace Comprehend {
|
|
1053
1053
|
*/
|
1054
1054
|
Text?: CustomerInputString;
|
1055
1055
|
/**
|
1056
|
-
* The Amazon Resource Number (ARN) of the endpoint. For prompt classification, Amazon Comprehend provides the endpoint ARN
|
1056
|
+
* The Amazon Resource Number (ARN) of the endpoint. For prompt safety classification, Amazon Comprehend provides the endpoint ARN. For more information about prompt safety classifiers, see Prompt safety classification in the Amazon Comprehend Developer Guide For custom classification, you create an endpoint for your custom model. For more information, see Using Amazon Comprehend endpoints.
|
1057
1057
|
*/
|
1058
1058
|
EndpointArn: DocumentClassifierEndpointArn;
|
1059
1059
|
/**
|
1060
|
-
* Use the Bytes parameter to input a text, PDF, Word or image file. When you classify a document using a custom model, you can also use the Bytes parameter to input an Amazon Textract DetectDocumentText or AnalyzeDocument output file. To classify a document using the prompt classifier, use the Text parameter for input. Provide the input document as a sequence of base64-encoded bytes. If your code uses an Amazon Web Services SDK to classify documents, the SDK may encode the document file bytes for you. The maximum length of this field depends on the input document type. For details, see Inputs for real-time custom analysis in the Comprehend Developer Guide. If you use the Bytes parameter, do not use the Text parameter.
|
1060
|
+
* Use the Bytes parameter to input a text, PDF, Word or image file. When you classify a document using a custom model, you can also use the Bytes parameter to input an Amazon Textract DetectDocumentText or AnalyzeDocument output file. To classify a document using the prompt safety classifier, use the Text parameter for input. Provide the input document as a sequence of base64-encoded bytes. If your code uses an Amazon Web Services SDK to classify documents, the SDK may encode the document file bytes for you. The maximum length of this field depends on the input document type. For details, see Inputs for real-time custom analysis in the Comprehend Developer Guide. If you use the Bytes parameter, do not use the Text parameter.
|
1061
1061
|
*/
|
1062
1062
|
Bytes?: SemiStructuredDocumentBlob;
|
1063
1063
|
/**
|
@@ -1067,11 +1067,11 @@ declare namespace Comprehend {
|
|
1067
1067
|
}
|
1068
1068
|
export interface ClassifyDocumentResponse {
|
1069
1069
|
/**
|
1070
|
-
* The classes used by the document being analyzed. These are used for multi-class
|
1070
|
+
* The classes used by the document being analyzed. These are used for models trained in multi-class mode. Individual classes are mutually exclusive and each document is expected to have only a single class assigned to it. For example, an animal can be a dog or a cat, but not both at the same time. For prompt safety classification, the response includes only two classes (SAFE_PROMPT and UNSAFE_PROMPT), along with a confidence score for each class. The value range of the score is zero to one, where one is the highest confidence.
|
1071
1071
|
*/
|
1072
1072
|
Classes?: ListOfClasses;
|
1073
1073
|
/**
|
1074
|
-
* The labels used the document being analyzed. These are used for multi-label trained models. Individual labels represent different categories that are related in some manner and are not mutually exclusive. For example, a movie can be just an action movie, or it can be an action movie, a science fiction movie, and a comedy, all at the same time.
|
1074
|
+
* The labels used in the document being analyzed. These are used for multi-label trained models. Individual labels represent different categories that are related in some manner and are not mutually exclusive. For example, a movie can be just an action movie, or it can be an action movie, a science fiction movie, and a comedy, all at the same time.
|
1075
1075
|
*/
|
1076
1076
|
Labels?: ListOfLabels;
|
1077
1077
|
/**
|
@@ -1193,7 +1193,7 @@ declare namespace Comprehend {
|
|
1193
1193
|
*/
|
1194
1194
|
VpcConfig?: VpcConfig;
|
1195
1195
|
/**
|
1196
|
-
* Indicates the mode in which the classifier will be trained. The classifier can be trained in multi-class mode
|
1196
|
+
* Indicates the mode in which the classifier will be trained. The classifier can be trained in multi-class (single-label) mode or multi-label mode. Multi-class mode identifies a single class label for each document and multi-label mode identifies one or more class labels for each document. Multiple labels for an individual document are separated by a delimiter. The default delimiter between labels is a pipe (|).
|
1197
1197
|
*/
|
1198
1198
|
Mode?: DocumentClassifierMode;
|
1199
1199
|
/**
|
@@ -1911,7 +1911,7 @@ declare namespace Comprehend {
|
|
1911
1911
|
}
|
1912
1912
|
export interface DetectToxicContentRequest {
|
1913
1913
|
/**
|
1914
|
-
* A list of up to 10 text strings.
|
1914
|
+
* A list of up to 10 text strings. Each string has a maximum size of 1 KB, and the maximum size of the list is 10 KB.
|
1915
1915
|
*/
|
1916
1916
|
TextSegments: ListOfTextSegments;
|
1917
1917
|
/**
|
@@ -2244,7 +2244,7 @@ declare namespace Comprehend {
|
|
2244
2244
|
*/
|
2245
2245
|
DocumentReadMode?: DocumentReadMode;
|
2246
2246
|
/**
|
2247
|
-
* Specifies the type of Amazon Textract features to apply. If you chose TEXTRACT_ANALYZE_DOCUMENT as the read action, you must specify one or both of the following values: TABLES - Returns information about any tables that are detected in the input document. FORMS - Returns information
|
2247
|
+
* Specifies the type of Amazon Textract features to apply. If you chose TEXTRACT_ANALYZE_DOCUMENT as the read action, you must specify one or both of the following values: TABLES - Returns additional information about any tables that are detected in the input document. FORMS - Returns additional information about any forms that are detected in the input document.
|
2248
2248
|
*/
|
2249
2249
|
FeatureTypes?: ListOfDocumentReadFeatureTypes;
|
2250
2250
|
}
|
@@ -2780,7 +2780,7 @@ declare namespace Comprehend {
|
|
2780
2780
|
export type EntityTypesList = EntityTypesListItem[];
|
2781
2781
|
export interface EntityTypesListItem {
|
2782
2782
|
/**
|
2783
|
-
* An entity type within a labeled training dataset that Amazon Comprehend uses to train a custom entity recognizer. Entity types must not contain the following invalid characters: \n (line break), \\n (escaped line break, \r (carriage return), \\r (escaped carriage return), \t (tab), \\t (escaped tab),
|
2783
|
+
* An entity type within a labeled training dataset that Amazon Comprehend uses to train a custom entity recognizer. Entity types must not contain the following invalid characters: \n (line break), \\n (escaped line break, \r (carriage return), \\r (escaped carriage return), \t (tab), \\t (escaped tab), and , (comma).
|
2784
2784
|
*/
|
2785
2785
|
Type: EntityTypeName;
|
2786
2786
|
}
|
@@ -4858,7 +4858,7 @@ declare namespace Comprehend {
|
|
4858
4858
|
*/
|
4859
4859
|
Labels?: ListOfToxicContent;
|
4860
4860
|
/**
|
4861
|
-
* Overall toxicity score for the string.
|
4861
|
+
* Overall toxicity score for the string. Value range is zero to one, where one is the highest confidence.
|
4862
4862
|
*/
|
4863
4863
|
Toxicity?: Float;
|
4864
4864
|
}
|
@@ -3026,6 +3026,10 @@ declare namespace Connect {
|
|
3026
3026
|
* Your contact center allows outbound calls.
|
3027
3027
|
*/
|
3028
3028
|
OutboundCallsEnabled: OutboundCallsEnabled;
|
3029
|
+
/**
|
3030
|
+
* The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
|
3031
|
+
*/
|
3032
|
+
Tags?: TagMap;
|
3029
3033
|
}
|
3030
3034
|
export interface CreateInstanceResponse {
|
3031
3035
|
/**
|
@@ -6026,6 +6030,10 @@ declare namespace Connect {
|
|
6026
6030
|
* This URL allows contact center users to access the Amazon Connect admin website.
|
6027
6031
|
*/
|
6028
6032
|
InstanceAccessUrl?: Url;
|
6033
|
+
/**
|
6034
|
+
* The tags of an instance.
|
6035
|
+
*/
|
6036
|
+
Tags?: TagMap;
|
6029
6037
|
}
|
6030
6038
|
export type InstanceArn = string;
|
6031
6039
|
export type InstanceAttributeType = "INBOUND_CALLS"|"OUTBOUND_CALLS"|"CONTACTFLOW_LOGS"|"CONTACT_LENS"|"AUTO_RESOLVE_BEST_VOICES"|"USE_CUSTOM_TTS_VOICES"|"EARLY_MEDIA"|"MULTI_PARTY_CONFERENCE"|"HIGH_VOLUME_OUTBOUND"|"ENHANCED_CONTACT_MONITORING"|string;
|
@@ -8707,6 +8707,7 @@ declare namespace EC2 {
|
|
8707
8707
|
export type CoreCountList = CoreCount[];
|
8708
8708
|
export type CoreNetworkArn = string;
|
8709
8709
|
export type CpuManufacturer = "intel"|"amd"|"amazon-web-services"|string;
|
8710
|
+
export type CpuManufacturerName = string;
|
8710
8711
|
export type CpuManufacturerSet = CpuManufacturer[];
|
8711
8712
|
export interface CpuOptions {
|
8712
8713
|
/**
|
@@ -31668,6 +31669,10 @@ declare namespace EC2 {
|
|
31668
31669
|
* Indicates whether the instance type supports AMD SEV-SNP. If the request returns amd-sev-snp, AMD SEV-SNP is supported. Otherwise, it is not supported. For more information, see AMD SEV-SNP.
|
31669
31670
|
*/
|
31670
31671
|
SupportedFeatures?: SupportedAdditionalProcessorFeatureList;
|
31672
|
+
/**
|
31673
|
+
* The manufacturer of the processor.
|
31674
|
+
*/
|
31675
|
+
Manufacturer?: CpuManufacturerName;
|
31671
31676
|
}
|
31672
31677
|
export type ProcessorSustainedClockSpeed = number;
|
31673
31678
|
export interface ProductCode {
|