aws-sdk 2.990.0 → 2.994.0
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/CHANGELOG.md +27 -1
- package/README.md +1 -1
- package/apis/appsync-2017-07-25.min.json +97 -77
- package/apis/comprehend-2017-11-27.min.json +205 -123
- package/apis/comprehend-2017-11-27.paginators.json +10 -0
- package/apis/dms-2016-01-01.min.json +3 -0
- package/apis/ec2-2016-11-15.min.json +125 -54
- package/apis/ec2-2016-11-15.paginators.json +6 -0
- package/apis/ecr-2015-09-21.min.json +66 -14
- package/apis/es-2015-01-01.min.json +14 -4
- package/apis/imagebuilder-2019-12-02.min.json +116 -82
- package/apis/iot-2015-05-28.min.json +80 -44
- package/apis/license-manager-2018-08-01.min.json +184 -71
- package/apis/mediaconvert-2017-08-29.min.json +194 -83
- package/apis/mediapackage-vod-2018-11-07.min.json +3 -0
- package/apis/mediatailor-2018-04-23.min.json +198 -149
- package/apis/models.lex.v2-2020-08-07.min.json +179 -22
- package/apis/models.lex.v2-2020-08-07.paginators.json +5 -0
- package/apis/opensearch-2021-01-01.min.json +14 -4
- package/apis/ssm-2014-11-06.min.json +105 -100
- package/apis/ssm-2014-11-06.waiters2.json +5 -0
- package/apis/wafv2-2019-07-29.min.json +114 -97
- package/clients/appsync.d.ts +35 -13
- package/clients/comprehend.d.ts +165 -1
- package/clients/dms.d.ts +14 -10
- package/clients/ec2.d.ts +147 -61
- package/clients/ecr.d.ts +76 -4
- package/clients/es.d.ts +18 -3
- package/clients/iam.d.ts +85 -85
- package/clients/imagebuilder.d.ts +73 -25
- package/clients/iot.d.ts +55 -5
- package/clients/lexmodelsv2.d.ts +188 -0
- package/clients/licensemanager.d.ts +211 -42
- package/clients/mediaconvert.d.ts +154 -17
- package/clients/mediapackagevod.d.ts +4 -0
- package/clients/mediatailor.d.ts +47 -1
- package/clients/opensearch.d.ts +22 -1
- package/clients/ssm.d.ts +40 -19
- package/clients/wafv2.d.ts +18 -0
- package/dist/aws-sdk-core-react-native.js +4 -4
- package/dist/aws-sdk-react-native.js +24 -24
- package/dist/aws-sdk.js +608 -341
- package/dist/aws-sdk.min.js +72 -72
- package/lib/config.js +1 -1
- package/lib/core.js +1 -1
- package/lib/event_listeners.js +1 -1
- package/lib/http_request.d.ts +1 -1
- package/lib/signers/v4.js +1 -1
- package/package.json +1 -1
package/clients/appsync.d.ts
CHANGED
|
@@ -343,7 +343,7 @@ declare class AppSync extends Service {
|
|
|
343
343
|
declare namespace AppSync {
|
|
344
344
|
export interface AdditionalAuthenticationProvider {
|
|
345
345
|
/**
|
|
346
|
-
* The authentication type: API key, Identity and Access Management, OIDC,
|
|
346
|
+
* The authentication type: API key, Identity and Access Management, OIDC, Amazon Cognito user pools, or Amazon Web Services Lambda.
|
|
347
347
|
*/
|
|
348
348
|
authenticationType?: AuthenticationType;
|
|
349
349
|
/**
|
|
@@ -355,7 +355,7 @@ declare namespace AppSync {
|
|
|
355
355
|
*/
|
|
356
356
|
userPoolConfig?: CognitoUserPoolConfig;
|
|
357
357
|
/**
|
|
358
|
-
* Configuration for
|
|
358
|
+
* Configuration for Amazon Web Services Lambda function authorization.
|
|
359
359
|
*/
|
|
360
360
|
lambdaAuthorizerConfig?: LambdaAuthorizerConfig;
|
|
361
361
|
}
|
|
@@ -542,9 +542,13 @@ declare namespace AppSync {
|
|
|
542
542
|
*/
|
|
543
543
|
lambdaConfig?: LambdaDataSourceConfig;
|
|
544
544
|
/**
|
|
545
|
-
* Amazon
|
|
545
|
+
* Amazon OpenSearch Service settings. As of September 2021, Amazon Elasticsearch service is Amazon OpenSearch Service. This configuration is deprecated. For new data sources, use CreateDataSourceRequest$openSearchServiceConfig to create an OpenSearch data source.
|
|
546
546
|
*/
|
|
547
547
|
elasticsearchConfig?: ElasticsearchDataSourceConfig;
|
|
548
|
+
/**
|
|
549
|
+
* Amazon OpenSearch Service settings.
|
|
550
|
+
*/
|
|
551
|
+
openSearchServiceConfig?: OpenSearchServiceDataSourceConfig;
|
|
548
552
|
/**
|
|
549
553
|
* HTTP endpoint settings.
|
|
550
554
|
*/
|
|
@@ -607,7 +611,7 @@ declare namespace AppSync {
|
|
|
607
611
|
*/
|
|
608
612
|
logConfig?: LogConfig;
|
|
609
613
|
/**
|
|
610
|
-
* The authentication type: API key, Identity and Access Management, OIDC,
|
|
614
|
+
* The authentication type: API key, Identity and Access Management, OIDC, Amazon Cognito user pools, or Amazon Web Services Lambda.
|
|
611
615
|
*/
|
|
612
616
|
authenticationType: AuthenticationType;
|
|
613
617
|
/**
|
|
@@ -631,7 +635,7 @@ declare namespace AppSync {
|
|
|
631
635
|
*/
|
|
632
636
|
xrayEnabled?: Boolean;
|
|
633
637
|
/**
|
|
634
|
-
* Configuration for
|
|
638
|
+
* Configuration for Amazon Web Services Lambda function authorization.
|
|
635
639
|
*/
|
|
636
640
|
lambdaAuthorizerConfig?: LambdaAuthorizerConfig;
|
|
637
641
|
}
|
|
@@ -723,7 +727,7 @@ declare namespace AppSync {
|
|
|
723
727
|
*/
|
|
724
728
|
description?: String;
|
|
725
729
|
/**
|
|
726
|
-
* The type of the data source. AMAZON_DYNAMODB: The data source is an Amazon DynamoDB table. AMAZON_ELASTICSEARCH: The data source is an Amazon
|
|
730
|
+
* The type of the data source. AWS_LAMBDA: The data source is an Amazon Web Services Lambda function. AMAZON_DYNAMODB: The data source is an Amazon DynamoDB table. AMAZON_ELASTICSEARCH: The data source is an Amazon OpenSearch Service domain. AMAZON_OPENSEARCH_SERVICE: The data source is an Amazon OpenSearch Service domain. NONE: There is no data source. This type is used when you wish to invoke a GraphQL operation without connecting to a data source, such as performing data transformation with resolvers or triggering a subscription to be invoked from a mutation. HTTP: The data source is an HTTP endpoint. RELATIONAL_DATABASE: The data source is a relational database.
|
|
727
731
|
*/
|
|
728
732
|
type?: DataSourceType;
|
|
729
733
|
/**
|
|
@@ -739,9 +743,13 @@ declare namespace AppSync {
|
|
|
739
743
|
*/
|
|
740
744
|
lambdaConfig?: LambdaDataSourceConfig;
|
|
741
745
|
/**
|
|
742
|
-
* Amazon
|
|
746
|
+
* Amazon OpenSearch Service settings.
|
|
743
747
|
*/
|
|
744
748
|
elasticsearchConfig?: ElasticsearchDataSourceConfig;
|
|
749
|
+
/**
|
|
750
|
+
* Amazon OpenSearch Service settings.
|
|
751
|
+
*/
|
|
752
|
+
openSearchServiceConfig?: OpenSearchServiceDataSourceConfig;
|
|
745
753
|
/**
|
|
746
754
|
* HTTP endpoint settings.
|
|
747
755
|
*/
|
|
@@ -751,7 +759,7 @@ declare namespace AppSync {
|
|
|
751
759
|
*/
|
|
752
760
|
relationalDatabaseConfig?: RelationalDatabaseDataSourceConfig;
|
|
753
761
|
}
|
|
754
|
-
export type DataSourceType = "AWS_LAMBDA"|"AMAZON_DYNAMODB"|"AMAZON_ELASTICSEARCH"|"NONE"|"HTTP"|"RELATIONAL_DATABASE"|string;
|
|
762
|
+
export type DataSourceType = "AWS_LAMBDA"|"AMAZON_DYNAMODB"|"AMAZON_ELASTICSEARCH"|"NONE"|"HTTP"|"RELATIONAL_DATABASE"|"AMAZON_OPENSEARCH_SERVICE"|string;
|
|
755
763
|
export type DataSources = DataSource[];
|
|
756
764
|
export type DefaultAction = "ALLOW"|"DENY"|string;
|
|
757
765
|
export interface DeleteApiCacheRequest {
|
|
@@ -1108,7 +1116,7 @@ declare namespace AppSync {
|
|
|
1108
1116
|
*/
|
|
1109
1117
|
wafWebAclArn?: String;
|
|
1110
1118
|
/**
|
|
1111
|
-
*
|
|
1119
|
+
* Configuration for Amazon Web Services Lambda function authorization.
|
|
1112
1120
|
*/
|
|
1113
1121
|
lambdaAuthorizerConfig?: LambdaAuthorizerConfig;
|
|
1114
1122
|
}
|
|
@@ -1129,11 +1137,11 @@ declare namespace AppSync {
|
|
|
1129
1137
|
*/
|
|
1130
1138
|
authorizerResultTtlInSeconds?: TTL;
|
|
1131
1139
|
/**
|
|
1132
|
-
* The ARN of the
|
|
1140
|
+
* The ARN of the Lambda function to be called for authorization. This may be a standard Lambda ARN, a version ARN (.../v3) or alias ARN. Note: This Lambda function must have the following resource-based policy assigned to it. When configuring Lambda authorizers in the Console, this is done for you. To do so with the Amazon Web Services CLI, run the following: aws lambda add-permission --function-name "arn:aws:lambda:us-east-2:111122223333:function:my-function" --statement-id "appsync" --principal appsync.amazonaws.com --action lambda:InvokeFunction
|
|
1133
1141
|
*/
|
|
1134
1142
|
authorizerUri: String;
|
|
1135
1143
|
/**
|
|
1136
|
-
* A regular expression for validation of tokens before the Lambda
|
|
1144
|
+
* A regular expression for validation of tokens before the Lambda function is called.
|
|
1137
1145
|
*/
|
|
1138
1146
|
identityValidationExpression?: String;
|
|
1139
1147
|
}
|
|
@@ -1373,6 +1381,16 @@ declare namespace AppSync {
|
|
|
1373
1381
|
*/
|
|
1374
1382
|
authTTL?: Long;
|
|
1375
1383
|
}
|
|
1384
|
+
export interface OpenSearchServiceDataSourceConfig {
|
|
1385
|
+
/**
|
|
1386
|
+
* The endpoint.
|
|
1387
|
+
*/
|
|
1388
|
+
endpoint: String;
|
|
1389
|
+
/**
|
|
1390
|
+
* The Amazon Web Services Region.
|
|
1391
|
+
*/
|
|
1392
|
+
awsRegion: String;
|
|
1393
|
+
}
|
|
1376
1394
|
export type OutputType = "SDL"|"JSON"|string;
|
|
1377
1395
|
export type PaginationToken = string;
|
|
1378
1396
|
export interface PipelineConfig {
|
|
@@ -1623,9 +1641,13 @@ declare namespace AppSync {
|
|
|
1623
1641
|
*/
|
|
1624
1642
|
lambdaConfig?: LambdaDataSourceConfig;
|
|
1625
1643
|
/**
|
|
1626
|
-
* The new Elasticsearch Service configuration.
|
|
1644
|
+
* The new OpenSearch configuration. As of September 2021, Amazon Elasticsearch service is Amazon OpenSearch Service. This configuration is deprecated. Instead, use UpdateDataSourceRequest$openSearchServiceConfig to update an OpenSearch data source.
|
|
1627
1645
|
*/
|
|
1628
1646
|
elasticsearchConfig?: ElasticsearchDataSourceConfig;
|
|
1647
|
+
/**
|
|
1648
|
+
* The new OpenSearch configuration.
|
|
1649
|
+
*/
|
|
1650
|
+
openSearchServiceConfig?: OpenSearchServiceDataSourceConfig;
|
|
1629
1651
|
/**
|
|
1630
1652
|
* The new HTTP endpoint configuration.
|
|
1631
1653
|
*/
|
|
@@ -1716,7 +1738,7 @@ declare namespace AppSync {
|
|
|
1716
1738
|
*/
|
|
1717
1739
|
xrayEnabled?: Boolean;
|
|
1718
1740
|
/**
|
|
1719
|
-
* Configuration for
|
|
1741
|
+
* Configuration for Amazon Web Services Lambda function authorization.
|
|
1720
1742
|
*/
|
|
1721
1743
|
lambdaAuthorizerConfig?: LambdaAuthorizerConfig;
|
|
1722
1744
|
}
|
package/clients/comprehend.d.ts
CHANGED
|
@@ -259,6 +259,14 @@ declare class Comprehend extends Service {
|
|
|
259
259
|
* Gets a list of the documentation classification jobs that you have submitted.
|
|
260
260
|
*/
|
|
261
261
|
listDocumentClassificationJobs(callback?: (err: AWSError, data: Comprehend.Types.ListDocumentClassificationJobsResponse) => void): Request<Comprehend.Types.ListDocumentClassificationJobsResponse, AWSError>;
|
|
262
|
+
/**
|
|
263
|
+
* Gets a list of summaries of the document classifiers that you have created
|
|
264
|
+
*/
|
|
265
|
+
listDocumentClassifierSummaries(params: Comprehend.Types.ListDocumentClassifierSummariesRequest, callback?: (err: AWSError, data: Comprehend.Types.ListDocumentClassifierSummariesResponse) => void): Request<Comprehend.Types.ListDocumentClassifierSummariesResponse, AWSError>;
|
|
266
|
+
/**
|
|
267
|
+
* Gets a list of summaries of the document classifiers that you have created
|
|
268
|
+
*/
|
|
269
|
+
listDocumentClassifierSummaries(callback?: (err: AWSError, data: Comprehend.Types.ListDocumentClassifierSummariesResponse) => void): Request<Comprehend.Types.ListDocumentClassifierSummariesResponse, AWSError>;
|
|
262
270
|
/**
|
|
263
271
|
* Gets a list of the document classifiers that you have created.
|
|
264
272
|
*/
|
|
@@ -291,6 +299,14 @@ declare class Comprehend extends Service {
|
|
|
291
299
|
* Gets a list of the entity detection jobs that you have submitted.
|
|
292
300
|
*/
|
|
293
301
|
listEntitiesDetectionJobs(callback?: (err: AWSError, data: Comprehend.Types.ListEntitiesDetectionJobsResponse) => void): Request<Comprehend.Types.ListEntitiesDetectionJobsResponse, AWSError>;
|
|
302
|
+
/**
|
|
303
|
+
* Gets a list of summaries for the entity recognizers that you have created.
|
|
304
|
+
*/
|
|
305
|
+
listEntityRecognizerSummaries(params: Comprehend.Types.ListEntityRecognizerSummariesRequest, callback?: (err: AWSError, data: Comprehend.Types.ListEntityRecognizerSummariesResponse) => void): Request<Comprehend.Types.ListEntityRecognizerSummariesResponse, AWSError>;
|
|
306
|
+
/**
|
|
307
|
+
* Gets a list of summaries for the entity recognizers that you have created.
|
|
308
|
+
*/
|
|
309
|
+
listEntityRecognizerSummaries(callback?: (err: AWSError, data: Comprehend.Types.ListEntityRecognizerSummariesResponse) => void): Request<Comprehend.Types.ListEntityRecognizerSummariesResponse, AWSError>;
|
|
294
310
|
/**
|
|
295
311
|
* Gets a list of the properties of all entity recognizers that you created, including recognizers currently in training. Allows you to filter the list of recognizers based on criteria such as status and submission time. This call returns up to 500 entity recognizers in the list, with a default number of 100 recognizers in the list. The results of this list are not in any particular order. Please get the list and sort locally if needed.
|
|
296
312
|
*/
|
|
@@ -510,6 +526,10 @@ declare namespace Comprehend {
|
|
|
510
526
|
* The Amazon S3 location of the augmented manifest file.
|
|
511
527
|
*/
|
|
512
528
|
S3Uri: S3Uri;
|
|
529
|
+
/**
|
|
530
|
+
* The purpose of the data you've provided in the augmented manifest. You can either train or test this data. If you don't specify, the default is train. TRAIN - all of the documents in the manifest will be used for training. If no test documents are provided, Amazon Comprehend will automatically reserve a portion of the training documents for testing. TEST - all of the documents in the manifest will be used for testing.
|
|
531
|
+
*/
|
|
532
|
+
Split?: Split;
|
|
513
533
|
/**
|
|
514
534
|
* The JSON attribute that contains the annotations for your training documents. The number of attribute names that you specify depends on whether your augmented manifest file is the output of a single labeling job or a chained labeling job. If your file is the output of a single labeling job, specify the LabelAttributeName key that was used when the job was created in Ground Truth. If your file is the output of a chained labeling job, specify the LabelAttributeName key for one or more jobs in the chain. Each LabelAttributeName key provides the annotations from an individual job.
|
|
515
535
|
*/
|
|
@@ -791,6 +811,10 @@ declare namespace Comprehend {
|
|
|
791
811
|
* The name of the document classifier.
|
|
792
812
|
*/
|
|
793
813
|
DocumentClassifierName: ComprehendArnName;
|
|
814
|
+
/**
|
|
815
|
+
* The version name given to the newly created classifier. Version names can have a maximum of 256 characters. Alphanumeric characters, hyphens (-) and underscores (_) are allowed. The version name must be unique among all models with the same classifier name in the account/AWS Region.
|
|
816
|
+
*/
|
|
817
|
+
VersionName?: VersionName;
|
|
794
818
|
/**
|
|
795
819
|
* The Amazon Resource Name (ARN) of the AWS Identity and Management (IAM) role that grants Amazon Comprehend read access to your input data.
|
|
796
820
|
*/
|
|
@@ -875,6 +899,10 @@ declare namespace Comprehend {
|
|
|
875
899
|
* The name given to the newly created recognizer. Recognizer names can be a maximum of 256 characters. Alphanumeric characters, hyphens (-) and underscores (_) are allowed. The name must be unique in the account/region.
|
|
876
900
|
*/
|
|
877
901
|
RecognizerName: ComprehendArnName;
|
|
902
|
+
/**
|
|
903
|
+
* The version name given to the newly created recognizer. Version names can be a maximum of 256 characters. Alphanumeric characters, hyphens (-) and underscores (_) are allowed. The version name must be unique among all models with the same recognizer name in the account/ AWS Region.
|
|
904
|
+
*/
|
|
905
|
+
VersionName?: VersionName;
|
|
878
906
|
/**
|
|
879
907
|
* The Amazon Resource Name (ARN) of the AWS Identity and Management (IAM) role that grants Amazon Comprehend read access to your input data.
|
|
880
908
|
*/
|
|
@@ -1261,6 +1289,10 @@ declare namespace Comprehend {
|
|
|
1261
1289
|
* Filters the list of classifiers based on status.
|
|
1262
1290
|
*/
|
|
1263
1291
|
Status?: ModelStatus;
|
|
1292
|
+
/**
|
|
1293
|
+
* The name that you assigned to the document classifier
|
|
1294
|
+
*/
|
|
1295
|
+
DocumentClassifierName?: ComprehendArnName;
|
|
1264
1296
|
/**
|
|
1265
1297
|
* Filters the list of classifiers based on the time that the classifier was submitted for processing. Returns only classifiers submitted before the specified time. Classifiers are returned in ascending order, oldest to newest.
|
|
1266
1298
|
*/
|
|
@@ -1279,6 +1311,10 @@ declare namespace Comprehend {
|
|
|
1279
1311
|
* The Amazon S3 URI for the input data. The S3 bucket must be in the same region as the API endpoint that you are calling. The URI can point to a single input file or it can provide the prefix for a collection of input files. For example, if you use the URI S3://bucketName/prefix, if the prefix is a single file, Amazon Comprehend uses that file as input. If more than one file begins with the prefix, Amazon Comprehend uses all of them as input. This parameter is required if you set DataFormat to COMPREHEND_CSV.
|
|
1280
1312
|
*/
|
|
1281
1313
|
S3Uri?: S3Uri;
|
|
1314
|
+
/**
|
|
1315
|
+
* The Amazon S3 URI for the input data. The Amazon S3 bucket must be in the same AWS Region as the API endpoint that you are calling. The URI can point to a single input file or it can provide the prefix for a collection of input files.
|
|
1316
|
+
*/
|
|
1317
|
+
TestS3Uri?: S3Uri;
|
|
1282
1318
|
/**
|
|
1283
1319
|
* Indicates the delimiter used to separate each label for training a multi-label classifier. The default delimiter between labels is a pipe (|). You can use a different character as a delimiter (if it's an allowed character) by specifying it under Delimiter for labels. If the training documents use a delimiter other than the default or the delimiter you specify, the labels on that line will be combined to make a single unique label, such as LABELLABELLABEL.
|
|
1284
1320
|
*/
|
|
@@ -1364,8 +1400,35 @@ declare namespace Comprehend {
|
|
|
1364
1400
|
* ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses to encrypt trained custom models. The ModelKmsKeyId can be either of the following formats: KMS Key ID: "1234abcd-12ab-34cd-56ef-1234567890ab" Amazon Resource Name (ARN) of a KMS Key: "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"
|
|
1365
1401
|
*/
|
|
1366
1402
|
ModelKmsKeyId?: KmsKeyId;
|
|
1403
|
+
/**
|
|
1404
|
+
* The version name that you assigned to the document classifier.
|
|
1405
|
+
*/
|
|
1406
|
+
VersionName?: VersionName;
|
|
1367
1407
|
}
|
|
1368
1408
|
export type DocumentClassifierPropertiesList = DocumentClassifierProperties[];
|
|
1409
|
+
export type DocumentClassifierSummariesList = DocumentClassifierSummary[];
|
|
1410
|
+
export interface DocumentClassifierSummary {
|
|
1411
|
+
/**
|
|
1412
|
+
* The name that you assigned the document classifier.
|
|
1413
|
+
*/
|
|
1414
|
+
DocumentClassifierName?: ComprehendArnName;
|
|
1415
|
+
/**
|
|
1416
|
+
* The number of versions you created.
|
|
1417
|
+
*/
|
|
1418
|
+
NumberOfVersions?: Integer;
|
|
1419
|
+
/**
|
|
1420
|
+
* The time that the latest document classifier version was submitted for processing.
|
|
1421
|
+
*/
|
|
1422
|
+
LatestVersionCreatedAt?: Timestamp;
|
|
1423
|
+
/**
|
|
1424
|
+
* The version name you assigned to the latest document classifier version.
|
|
1425
|
+
*/
|
|
1426
|
+
LatestVersionName?: VersionName;
|
|
1427
|
+
/**
|
|
1428
|
+
* Provides the status of the latest document classifier version.
|
|
1429
|
+
*/
|
|
1430
|
+
LatestVersionStatus?: ModelStatus;
|
|
1431
|
+
}
|
|
1369
1432
|
export interface DocumentLabel {
|
|
1370
1433
|
/**
|
|
1371
1434
|
* The name of the label.
|
|
@@ -1508,6 +1571,10 @@ declare namespace Comprehend {
|
|
|
1508
1571
|
* The Amazon Resource Number (ARN) of the model to which the endpoint is attached.
|
|
1509
1572
|
*/
|
|
1510
1573
|
ModelArn?: ComprehendModelArn;
|
|
1574
|
+
/**
|
|
1575
|
+
* ARN of the new model to use for updating an existing endpoint. This ARN is going to be different from the model ARN when the update is in progress
|
|
1576
|
+
*/
|
|
1577
|
+
DesiredModelArn?: ComprehendModelArn;
|
|
1511
1578
|
/**
|
|
1512
1579
|
* The desired number of inference units to be used by the model using this endpoint. Each inference unit represents of a throughput of 100 characters per second.
|
|
1513
1580
|
*/
|
|
@@ -1528,6 +1595,10 @@ declare namespace Comprehend {
|
|
|
1528
1595
|
* The Amazon Resource Name (ARN) of the AWS identity and Access Management (IAM) role that grants Amazon Comprehend read access to trained custom models encrypted with a customer managed key (ModelKmsKeyId).
|
|
1529
1596
|
*/
|
|
1530
1597
|
DataAccessRoleArn?: IamRoleArn;
|
|
1598
|
+
/**
|
|
1599
|
+
* Data access role ARN to use in case the new model is encrypted with a customer KMS key.
|
|
1600
|
+
*/
|
|
1601
|
+
DesiredDataAccessRoleArn?: IamRoleArn;
|
|
1531
1602
|
}
|
|
1532
1603
|
export type EndpointPropertiesList = EndpointProperties[];
|
|
1533
1604
|
export type EndpointStatus = "CREATING"|"DELETING"|"FAILED"|"IN_SERVICE"|"UPDATING"|string;
|
|
@@ -1645,6 +1716,10 @@ declare namespace Comprehend {
|
|
|
1645
1716
|
* Specifies the Amazon S3 location where the annotations for an entity recognizer are located. The URI must be in the same region as the API endpoint that you are calling.
|
|
1646
1717
|
*/
|
|
1647
1718
|
S3Uri: S3Uri;
|
|
1719
|
+
/**
|
|
1720
|
+
* This specifies the Amazon S3 location where the test annotations for an entity recognizer are located. The URI must be in the same AWS Region as the API endpoint that you are calling.
|
|
1721
|
+
*/
|
|
1722
|
+
TestS3Uri?: S3Uri;
|
|
1648
1723
|
}
|
|
1649
1724
|
export type EntityRecognizerArn = string;
|
|
1650
1725
|
export type EntityRecognizerAugmentedManifestsList = AugmentedManifestsListItem[];
|
|
@@ -1654,6 +1729,14 @@ declare namespace Comprehend {
|
|
|
1654
1729
|
* Specifies the Amazon S3 location where the training documents for an entity recognizer are located. The URI must be in the same region as the API endpoint that you are calling.
|
|
1655
1730
|
*/
|
|
1656
1731
|
S3Uri: S3Uri;
|
|
1732
|
+
/**
|
|
1733
|
+
* Specifies the Amazon S3 location where the test documents for an entity recognizer are located. The URI must be in the same AWS Region as the API endpoint that you are calling.
|
|
1734
|
+
*/
|
|
1735
|
+
TestS3Uri?: S3Uri;
|
|
1736
|
+
/**
|
|
1737
|
+
* Specifies how the text in an input file should be processed. This is optional, and the default is ONE_DOC_PER_LINE. ONE_DOC_PER_FILE - Each file is considered a separate document. Use this option when you are processing large documents, such as newspaper articles or scientific papers. ONE_DOC_PER_LINE - Each line in a file is considered a separate document. Use this option when you are processing many short documents, such as text messages.
|
|
1738
|
+
*/
|
|
1739
|
+
InputFormat?: InputFormat;
|
|
1657
1740
|
}
|
|
1658
1741
|
export type EntityRecognizerEndpointArn = string;
|
|
1659
1742
|
export interface EntityRecognizerEntityList {
|
|
@@ -1681,6 +1764,10 @@ declare namespace Comprehend {
|
|
|
1681
1764
|
* The status of an entity recognizer.
|
|
1682
1765
|
*/
|
|
1683
1766
|
Status?: ModelStatus;
|
|
1767
|
+
/**
|
|
1768
|
+
* The name that you assigned the entity recognizer.
|
|
1769
|
+
*/
|
|
1770
|
+
RecognizerName?: ComprehendArnName;
|
|
1684
1771
|
/**
|
|
1685
1772
|
* Filters the list of entities based on the time that the list was submitted for processing. Returns only jobs submitted before the specified time. Jobs are returned in descending order, newest to oldest.
|
|
1686
1773
|
*/
|
|
@@ -1806,8 +1893,35 @@ declare namespace Comprehend {
|
|
|
1806
1893
|
* ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses to encrypt trained custom models. The ModelKmsKeyId can be either of the following formats: KMS Key ID: "1234abcd-12ab-34cd-56ef-1234567890ab" Amazon Resource Name (ARN) of a KMS Key: "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"
|
|
1807
1894
|
*/
|
|
1808
1895
|
ModelKmsKeyId?: KmsKeyId;
|
|
1896
|
+
/**
|
|
1897
|
+
* The version name you assigned to the entity recognizer.
|
|
1898
|
+
*/
|
|
1899
|
+
VersionName?: VersionName;
|
|
1809
1900
|
}
|
|
1810
1901
|
export type EntityRecognizerPropertiesList = EntityRecognizerProperties[];
|
|
1902
|
+
export type EntityRecognizerSummariesList = EntityRecognizerSummary[];
|
|
1903
|
+
export interface EntityRecognizerSummary {
|
|
1904
|
+
/**
|
|
1905
|
+
* The name that you assigned the entity recognizer.
|
|
1906
|
+
*/
|
|
1907
|
+
RecognizerName?: ComprehendArnName;
|
|
1908
|
+
/**
|
|
1909
|
+
* The number of versions you created.
|
|
1910
|
+
*/
|
|
1911
|
+
NumberOfVersions?: Integer;
|
|
1912
|
+
/**
|
|
1913
|
+
* The time that the latest entity recognizer version was submitted for processing.
|
|
1914
|
+
*/
|
|
1915
|
+
LatestVersionCreatedAt?: Timestamp;
|
|
1916
|
+
/**
|
|
1917
|
+
* The version name you assigned to the latest entity recognizer version.
|
|
1918
|
+
*/
|
|
1919
|
+
LatestVersionName?: VersionName;
|
|
1920
|
+
/**
|
|
1921
|
+
* Provides the status of the latest entity recognizer version.
|
|
1922
|
+
*/
|
|
1923
|
+
LatestVersionStatus?: ModelStatus;
|
|
1924
|
+
}
|
|
1811
1925
|
export type EntityType = "PERSON"|"LOCATION"|"ORGANIZATION"|"COMMERCIAL_ITEM"|"EVENT"|"DATE"|"QUANTITY"|"TITLE"|"OTHER"|string;
|
|
1812
1926
|
export type EntityTypeName = string;
|
|
1813
1927
|
export interface EntityTypesEvaluationMetrics {
|
|
@@ -2041,6 +2155,26 @@ declare namespace Comprehend {
|
|
|
2041
2155
|
*/
|
|
2042
2156
|
NextToken?: String;
|
|
2043
2157
|
}
|
|
2158
|
+
export interface ListDocumentClassifierSummariesRequest {
|
|
2159
|
+
/**
|
|
2160
|
+
* Identifies the next page of results to return.
|
|
2161
|
+
*/
|
|
2162
|
+
NextToken?: String;
|
|
2163
|
+
/**
|
|
2164
|
+
* The maximum number of results to return on each page. The default is 100.
|
|
2165
|
+
*/
|
|
2166
|
+
MaxResults?: MaxResultsInteger;
|
|
2167
|
+
}
|
|
2168
|
+
export interface ListDocumentClassifierSummariesResponse {
|
|
2169
|
+
/**
|
|
2170
|
+
* The list of summaries of document classifiers.
|
|
2171
|
+
*/
|
|
2172
|
+
DocumentClassifierSummariesList?: DocumentClassifierSummariesList;
|
|
2173
|
+
/**
|
|
2174
|
+
* Identifies the next page of results to return.
|
|
2175
|
+
*/
|
|
2176
|
+
NextToken?: String;
|
|
2177
|
+
}
|
|
2044
2178
|
export interface ListDocumentClassifiersRequest {
|
|
2045
2179
|
/**
|
|
2046
2180
|
* Filters the jobs that are returned. You can filter jobs on their name, status, or the date and time that they were submitted. You can only set one filter at a time.
|
|
@@ -2137,6 +2271,26 @@ declare namespace Comprehend {
|
|
|
2137
2271
|
*/
|
|
2138
2272
|
NextToken?: String;
|
|
2139
2273
|
}
|
|
2274
|
+
export interface ListEntityRecognizerSummariesRequest {
|
|
2275
|
+
/**
|
|
2276
|
+
* Identifies the next page of results to return.
|
|
2277
|
+
*/
|
|
2278
|
+
NextToken?: String;
|
|
2279
|
+
/**
|
|
2280
|
+
* The maximum number of results to return on each page. The default is 100.
|
|
2281
|
+
*/
|
|
2282
|
+
MaxResults?: MaxResultsInteger;
|
|
2283
|
+
}
|
|
2284
|
+
export interface ListEntityRecognizerSummariesResponse {
|
|
2285
|
+
/**
|
|
2286
|
+
* The list entity recognizer summaries.
|
|
2287
|
+
*/
|
|
2288
|
+
EntityRecognizerSummariesList?: EntityRecognizerSummariesList;
|
|
2289
|
+
/**
|
|
2290
|
+
* The list entity recognizer summaries.
|
|
2291
|
+
*/
|
|
2292
|
+
NextToken?: String;
|
|
2293
|
+
}
|
|
2140
2294
|
export interface ListEntityRecognizersRequest {
|
|
2141
2295
|
/**
|
|
2142
2296
|
* Filters the list of entities returned. You can filter on Status, SubmitTimeBefore, or SubmitTimeAfter. You can only set one filter at a time.
|
|
@@ -2550,6 +2704,7 @@ declare namespace Comprehend {
|
|
|
2550
2704
|
Mixed?: Float;
|
|
2551
2705
|
}
|
|
2552
2706
|
export type SentimentType = "POSITIVE"|"NEGATIVE"|"NEUTRAL"|"MIXED"|string;
|
|
2707
|
+
export type Split = "TRAIN"|"TEST"|string;
|
|
2553
2708
|
export interface StartDocumentClassificationJobRequest {
|
|
2554
2709
|
/**
|
|
2555
2710
|
* The identifier of the job.
|
|
@@ -3218,13 +3373,22 @@ declare namespace Comprehend {
|
|
|
3218
3373
|
* The Amazon Resource Number (ARN) of the endpoint being updated.
|
|
3219
3374
|
*/
|
|
3220
3375
|
EndpointArn: ComprehendEndpointArn;
|
|
3376
|
+
/**
|
|
3377
|
+
* The ARN of the new model to use when updating an existing endpoint.
|
|
3378
|
+
*/
|
|
3379
|
+
DesiredModelArn?: ComprehendModelArn;
|
|
3221
3380
|
/**
|
|
3222
3381
|
* The desired number of inference units to be used by the model using this endpoint. Each inference unit represents of a throughput of 100 characters per second.
|
|
3223
3382
|
*/
|
|
3224
|
-
DesiredInferenceUnits
|
|
3383
|
+
DesiredInferenceUnits?: InferenceUnitsInteger;
|
|
3384
|
+
/**
|
|
3385
|
+
* Data access role ARN to use in case the new model is encrypted with a customer CMK.
|
|
3386
|
+
*/
|
|
3387
|
+
DesiredDataAccessRoleArn?: IamRoleArn;
|
|
3225
3388
|
}
|
|
3226
3389
|
export interface UpdateEndpointResponse {
|
|
3227
3390
|
}
|
|
3391
|
+
export type VersionName = string;
|
|
3228
3392
|
export interface VpcConfig {
|
|
3229
3393
|
/**
|
|
3230
3394
|
* The ID number for a security group on an instance of your private VPC. Security groups on your VPC function serve as a virtual firewall to control inbound and outbound traffic and provides security for the resources that you’ll be accessing on the VPC. This ID number is preceded by "sg-", for instance: "sg-03b388029b0a285ea". For more information, see Security Groups for your VPC.
|
package/clients/dms.d.ts
CHANGED
|
@@ -61,11 +61,11 @@ declare class DMS extends Service {
|
|
|
61
61
|
*/
|
|
62
62
|
createReplicationInstance(callback?: (err: AWSError, data: DMS.Types.CreateReplicationInstanceResponse) => void): Request<DMS.Types.CreateReplicationInstanceResponse, AWSError>;
|
|
63
63
|
/**
|
|
64
|
-
* Creates a replication subnet group given a list of the subnet IDs in a VPC.
|
|
64
|
+
* Creates a replication subnet group given a list of the subnet IDs in a VPC. The VPC needs to have at least one subnet in at least two availability zones in the Amazon Web Services Region, otherwise the service will throw a ReplicationSubnetGroupDoesNotCoverEnoughAZs exception.
|
|
65
65
|
*/
|
|
66
66
|
createReplicationSubnetGroup(params: DMS.Types.CreateReplicationSubnetGroupMessage, callback?: (err: AWSError, data: DMS.Types.CreateReplicationSubnetGroupResponse) => void): Request<DMS.Types.CreateReplicationSubnetGroupResponse, AWSError>;
|
|
67
67
|
/**
|
|
68
|
-
* Creates a replication subnet group given a list of the subnet IDs in a VPC.
|
|
68
|
+
* Creates a replication subnet group given a list of the subnet IDs in a VPC. The VPC needs to have at least one subnet in at least two availability zones in the Amazon Web Services Region, otherwise the service will throw a ReplicationSubnetGroupDoesNotCoverEnoughAZs exception.
|
|
69
69
|
*/
|
|
70
70
|
createReplicationSubnetGroup(callback?: (err: AWSError, data: DMS.Types.CreateReplicationSubnetGroupResponse) => void): Request<DMS.Types.CreateReplicationSubnetGroupResponse, AWSError>;
|
|
71
71
|
/**
|
|
@@ -397,11 +397,11 @@ declare class DMS extends Service {
|
|
|
397
397
|
*/
|
|
398
398
|
refreshSchemas(callback?: (err: AWSError, data: DMS.Types.RefreshSchemasResponse) => void): Request<DMS.Types.RefreshSchemasResponse, AWSError>;
|
|
399
399
|
/**
|
|
400
|
-
* Reloads the target database table with the source data.
|
|
400
|
+
* Reloads the target database table with the source data. You can only use this operation with a task in the RUNNING state, otherwise the service will throw an InvalidResourceStateFault exception.
|
|
401
401
|
*/
|
|
402
402
|
reloadTables(params: DMS.Types.ReloadTablesMessage, callback?: (err: AWSError, data: DMS.Types.ReloadTablesResponse) => void): Request<DMS.Types.ReloadTablesResponse, AWSError>;
|
|
403
403
|
/**
|
|
404
|
-
* Reloads the target database table with the source data.
|
|
404
|
+
* Reloads the target database table with the source data. You can only use this operation with a task in the RUNNING state, otherwise the service will throw an InvalidResourceStateFault exception.
|
|
405
405
|
*/
|
|
406
406
|
reloadTables(callback?: (err: AWSError, data: DMS.Types.ReloadTablesResponse) => void): Request<DMS.Types.ReloadTablesResponse, AWSError>;
|
|
407
407
|
/**
|
|
@@ -551,7 +551,7 @@ declare namespace DMS {
|
|
|
551
551
|
*/
|
|
552
552
|
ReplicationInstanceArn: String;
|
|
553
553
|
/**
|
|
554
|
-
* The pending maintenance action to apply to this resource.
|
|
554
|
+
* The pending maintenance action to apply to this resource. Valid values: os-upgrade, system-update, db-upgrade
|
|
555
555
|
*/
|
|
556
556
|
ApplyAction: String;
|
|
557
557
|
/**
|
|
@@ -733,7 +733,7 @@ declare namespace DMS {
|
|
|
733
733
|
*/
|
|
734
734
|
S3Settings?: S3Settings;
|
|
735
735
|
/**
|
|
736
|
-
* The settings in JSON format for the DMS transfer type of source endpoint. Possible settings include the following: ServiceAccessRoleArn - The
|
|
736
|
+
* The settings in JSON format for the DMS transfer type of source endpoint. Possible settings include the following: ServiceAccessRoleArn - The Amazon Resource Name (ARN) used by the service access IAM role. The role must allow the iam:PassRole action. BucketName - The name of the S3 bucket to use. Shorthand syntax for these settings is as follows: ServiceAccessRoleArn=string,BucketName=string JSON syntax for these settings is as follows: { "ServiceAccessRoleArn": "string", "BucketName": "string", }
|
|
737
737
|
*/
|
|
738
738
|
DmsTransferSettings?: DmsTransferSettings;
|
|
739
739
|
/**
|
|
@@ -1647,7 +1647,7 @@ declare namespace DMS {
|
|
|
1647
1647
|
export type DmsSslModeValue = "none"|"require"|"verify-ca"|"verify-full"|string;
|
|
1648
1648
|
export interface DmsTransferSettings {
|
|
1649
1649
|
/**
|
|
1650
|
-
*
|
|
1650
|
+
* The Amazon Resource Name (ARN) used by the service access IAM role. The role must allow the iam:PassRole action.
|
|
1651
1651
|
*/
|
|
1652
1652
|
ServiceAccessRoleArn?: String;
|
|
1653
1653
|
/**
|
|
@@ -1805,7 +1805,7 @@ declare namespace DMS {
|
|
|
1805
1805
|
*/
|
|
1806
1806
|
S3Settings?: S3Settings;
|
|
1807
1807
|
/**
|
|
1808
|
-
* The settings in JSON format for the DMS transfer type of source endpoint. Possible settings include the following: ServiceAccessRoleArn - The
|
|
1808
|
+
* The settings in JSON format for the DMS transfer type of source endpoint. Possible settings include the following: ServiceAccessRoleArn - - The Amazon Resource Name (ARN) used by the service access IAM role. The role must allow the iam:PassRole action. BucketName - The name of the S3 bucket to use. Shorthand syntax for these settings is as follows: ServiceAccessRoleArn=string,BucketName=string, JSON syntax for these settings is as follows: { "ServiceAccessRoleArn": "string", "BucketName": "string"}
|
|
1809
1809
|
*/
|
|
1810
1810
|
DmsTransferSettings?: DmsTransferSettings;
|
|
1811
1811
|
/**
|
|
@@ -2323,7 +2323,7 @@ declare namespace DMS {
|
|
|
2323
2323
|
*/
|
|
2324
2324
|
S3Settings?: S3Settings;
|
|
2325
2325
|
/**
|
|
2326
|
-
* The settings in JSON format for the DMS transfer type of source endpoint. Attributes include the following: serviceAccessRoleArn - The
|
|
2326
|
+
* The settings in JSON format for the DMS transfer type of source endpoint. Attributes include the following: serviceAccessRoleArn - The Amazon Resource Name (ARN) used by the service access IAM role. The role must allow the iam:PassRole action. BucketName - The name of the S3 bucket to use. Shorthand syntax for these settings is as follows: ServiceAccessRoleArn=string ,BucketName=string JSON syntax for these settings is as follows: { "ServiceAccessRoleArn": "string", "BucketName": "string"}
|
|
2327
2327
|
*/
|
|
2328
2328
|
DmsTransferSettings?: DmsTransferSettings;
|
|
2329
2329
|
/**
|
|
@@ -3008,9 +3008,13 @@ declare namespace DMS {
|
|
|
3008
3008
|
*/
|
|
3009
3009
|
ReplicationInstanceArn: String;
|
|
3010
3010
|
/**
|
|
3011
|
-
* If this parameter is true, the reboot is conducted through a Multi-AZ failover.
|
|
3011
|
+
* If this parameter is true, the reboot is conducted through a Multi-AZ failover. If the instance isn't configured for Multi-AZ, then you can't specify true. ( --force-planned-failover and --force-failover can't both be set to true.)
|
|
3012
3012
|
*/
|
|
3013
3013
|
ForceFailover?: BooleanOptional;
|
|
3014
|
+
/**
|
|
3015
|
+
* If this parameter is true, the reboot is conducted through a planned Multi-AZ failover where resources are released and cleaned up prior to conducting the failover. If the instance isn''t configured for Multi-AZ, then you can't specify true. ( --force-planned-failover and --force-failover can't both be set to true.)
|
|
3016
|
+
*/
|
|
3017
|
+
ForcePlannedFailover?: BooleanOptional;
|
|
3014
3018
|
}
|
|
3015
3019
|
export interface RebootReplicationInstanceResponse {
|
|
3016
3020
|
/**
|