Skip to content

Commit

Permalink
Updates SDK to v2.1140.0
Browse files Browse the repository at this point in the history
  • Loading branch information
awstools committed May 20, 2022
1 parent ee03cce commit 48a8ecb
Show file tree
Hide file tree
Showing 13 changed files with 85 additions and 60 deletions.
7 changes: 7 additions & 0 deletions .changes/2.1140.0.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[
{
"type": "feature",
"category": "Comprehend",
"description": "Comprehend releases 14 new entity types for DetectPiiEntities and ContainsPiiEntities APIs."
}
]
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
# Changelog for AWS SDK for JavaScript
<!--LATEST=2.1139.0-->
<!--LATEST=2.1140.0-->
<!--ENTRYINSERT-->

## 2.1140.0
* feature: Comprehend: Comprehend releases 14 new entity types for DetectPiiEntities and ContainsPiiEntities APIs.

## 2.1139.0
* feature: GameSparks: This release adds an optional DeploymentResult field in the responses of GetStageDeploymentIntegrationTests and ListStageDeploymentIntegrationTests APIs.
* feature: LookoutMetrics: In this release we added SnsFormat to SNSConfiguration to support human readable alert.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ For release notes, see the [CHANGELOG](https://github.com/aws/aws-sdk-js/blob/ma
To use the SDK in the browser, simply add the following script tag to your
HTML pages:

<script src="https://sdk.amazonaws.com/js/aws-sdk-2.1139.0.min.js"></script>
<script src="https://sdk.amazonaws.com/js/aws-sdk-2.1140.0.min.js"></script>

You can also build a custom browser SDK with your specified set of AWS services.
This can allow you to reduce the SDK's size, specify different API versions of
Expand Down
53 changes: 34 additions & 19 deletions apis/comprehend-2017-11-27.normal.json
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@
"shape": "InternalServerException"
}
],
"documentation": "<p>Creates a model-specific endpoint for synchronous inference for a previously trained custom model </p>"
"documentation": "<p>Creates a model-specific endpoint for synchronous inference for a previously trained custom model For information about endpoints, see <a href=\"https://docs.aws.amazon.com/comprehend/latest/dg/manage-endpoints.html\">Managing endpoints</a>.</p>"
},
"CreateEntityRecognizer": {
"name": "CreateEntityRecognizer",
Expand Down Expand Up @@ -404,7 +404,7 @@
"shape": "InternalServerException"
}
],
"documentation": "<p>Deletes a model-specific endpoint for a previously-trained custom model. All endpoints must be deleted in order for the model to be deleted.</p>"
"documentation": "<p>Deletes a model-specific endpoint for a previously-trained custom model. All endpoints must be deleted in order for the model to be deleted. For information about endpoints, see <a href=\"https://docs.aws.amazon.com/comprehend/latest/dg/manage-endpoints.html\">Managing endpoints</a>.</p>"
},
"DeleteEntityRecognizer": {
"name": "DeleteEntityRecognizer",
Expand Down Expand Up @@ -575,7 +575,7 @@
"shape": "InternalServerException"
}
],
"documentation": "<p>Gets the properties associated with a specific endpoint. Use this operation to get the status of an endpoint.</p>"
"documentation": "<p>Gets the properties associated with a specific endpoint. Use this operation to get the status of an endpoint. For information about endpoints, see <a href=\"https://docs.aws.amazon.com/comprehend/latest/dg/manage-endpoints.html\">Managing endpoints</a>.</p>"
},
"DescribeEntitiesDetectionJob": {
"name": "DescribeEntitiesDetectionJob",
Expand Down Expand Up @@ -1169,7 +1169,7 @@
"shape": "InternalServerException"
}
],
"documentation": "<p>Gets a list of all existing endpoints that you've created.</p>"
"documentation": "<p>Gets a list of all existing endpoints that you've created. For information about endpoints, see <a href=\"https://docs.aws.amazon.com/comprehend/latest/dg/manage-endpoints.html\">Managing endpoints</a>.</p>"
},
"ListEntitiesDetectionJobs": {
"name": "ListEntitiesDetectionJobs",
Expand Down Expand Up @@ -1909,7 +1909,7 @@
"shape": "InternalServerException"
}
],
"documentation": "<p>Stops a sentiment detection job in progress.</p> <p>If the job state is <code>IN_PROGRESS</code> the job is marked for termination and put into the <code>STOP_REQUESTED</code> state. If the job completes before it can be stopped, it is put into the <code>COMPLETED</code> state; otherwise the job is be stopped and put into the <code>STOPPED</code> state.</p> <p>If the job is in the <code>COMPLETED</code> or <code>FAILED</code> state when you call the <code>StopDominantLanguageDetectionJob</code> operation, the operation returns a 400 Internal Request Exception. </p> <p>When a job is stopped, any documents already processed are written to the output location.</p>"
"documentation": "<p>Stops a sentiment detection job in progress.</p> <p>If the job state is <code>IN_PROGRESS</code>, the job is marked for termination and put into the <code>STOP_REQUESTED</code> state. If the job completes before it can be stopped, it is put into the <code>COMPLETED</code> state; otherwise the job is be stopped and put into the <code>STOPPED</code> state.</p> <p>If the job is in the <code>COMPLETED</code> or <code>FAILED</code> state when you call the <code>StopDominantLanguageDetectionJob</code> operation, the operation returns a 400 Internal Request Exception. </p> <p>When a job is stopped, any documents already processed are written to the output location.</p>"
},
"StopTargetedSentimentDetectionJob": {
"name": "StopTargetedSentimentDetectionJob",
Expand All @@ -1934,7 +1934,7 @@
"shape": "InternalServerException"
}
],
"documentation": "<p>Stops a targeted sentiment detection job in progress.</p> <p>If the job state is <code>IN_PROGRESS</code> the job is marked for termination and put into the <code>STOP_REQUESTED</code> state. If the job completes before it can be stopped, it is put into the <code>COMPLETED</code> state; otherwise the job is be stopped and put into the <code>STOPPED</code> state.</p> <p>If the job is in the <code>COMPLETED</code> or <code>FAILED</code> state when you call the <code>StopDominantLanguageDetectionJob</code> operation, the operation returns a 400 Internal Request Exception. </p> <p>When a job is stopped, any documents already processed are written to the output location.</p>"
"documentation": "<p>Stops a targeted sentiment detection job in progress.</p> <p>If the job state is <code>IN_PROGRESS</code>, the job is marked for termination and put into the <code>STOP_REQUESTED</code> state. If the job completes before it can be stopped, it is put into the <code>COMPLETED</code> state; otherwise the job is be stopped and put into the <code>STOPPED</code> state.</p> <p>If the job is in the <code>COMPLETED</code> or <code>FAILED</code> state when you call the <code>StopDominantLanguageDetectionJob</code> operation, the operation returns a 400 Internal Request Exception. </p> <p>When a job is stopped, any documents already processed are written to the output location.</p>"
},
"StopTrainingDocumentClassifier": {
"name": "StopTrainingDocumentClassifier",
Expand Down Expand Up @@ -2089,7 +2089,7 @@
"shape": "InternalServerException"
}
],
"documentation": "<p>Updates information about the specified endpoint.</p>"
"documentation": "<p>Updates information about the specified endpoint. For information about endpoints, see <a href=\"https://docs.aws.amazon.com/comprehend/latest/dg/manage-endpoints.html\">Managing endpoints</a>.</p>"
}
},
"shapes": {
Expand Down Expand Up @@ -2265,7 +2265,7 @@
"members": {
"TextList": {
"shape": "CustomerInputStringList",
"documentation": "<p>A list containing the text of the input documents. The list can contain a maximum of 25 documents. Each document must contain fewer that 5,000 bytes of UTF-8 encoded characters.</p>"
"documentation": "<p>A list containing the text of the input documents. The list can contain a maximum of 25 documents. Each document must contain fewer than 5,000 bytes of UTF-8 encoded characters.</p>"
},
"LanguageCode": {
"shape": "LanguageCode",
Expand Down Expand Up @@ -2491,7 +2491,7 @@
},
"EndpointArn": {
"shape": "DocumentClassifierEndpointArn",
"documentation": "<p>The Amazon Resource Number (ARN) of the endpoint.</p>"
"documentation": "<p>The Amazon Resource Number (ARN) of the endpoint. For information about endpoints, see <a href=\"https://docs.aws.amazon.com/comprehend/latest/dg/manage-endpoints.html\">Managing endpoints</a>.</p>"
}
}
},
Expand Down Expand Up @@ -2553,7 +2553,7 @@
},
"LanguageCode": {
"shape": "LanguageCode",
"documentation": "<p>The language of the input documents.</p>"
"documentation": "<p>The language of the input documents. Currently, English is the only valid language.</p>"
}
}
},
Expand Down Expand Up @@ -2758,6 +2758,7 @@
"member": {
"shape": "CustomerInputString"
},
"min": 1,
"sensitive": true
},
"DeleteDocumentClassifierRequest": {
Expand Down Expand Up @@ -3150,7 +3151,7 @@
},
"EndpointArn": {
"shape": "EntityRecognizerEndpointArn",
"documentation": "<p>The Amazon Resource Name of an endpoint that is associated with a custom entity recognition model. Provide an endpoint if you want to detect entities by using your own custom model instead of the default model that is used by Amazon Comprehend.</p> <p>If you specify an endpoint, Amazon Comprehend uses the language of your custom model, and it ignores any language code that you provide in your request.</p>"
"documentation": "<p>The Amazon Resource Name of an endpoint that is associated with a custom entity recognition model. Provide an endpoint if you want to detect entities by using your own custom model instead of the default model that is used by Amazon Comprehend.</p> <p>If you specify an endpoint, Amazon Comprehend uses the language of your custom model, and it ignores any language code that you provide in your request.</p> <p>For information about endpoints, see <a href=\"https://docs.aws.amazon.com/comprehend/latest/dg/manage-endpoints.html\">Managing endpoints</a>.</p>"
}
}
},
Expand Down Expand Up @@ -3204,7 +3205,7 @@
},
"LanguageCode": {
"shape": "LanguageCode",
"documentation": "<p>The language of the input documents.</p>"
"documentation": "<p>The language of the input documents. Currently, English is the only valid language.</p>"
}
}
},
Expand Down Expand Up @@ -3364,7 +3365,7 @@
},
"VpcConfig": {
"shape": "VpcConfig",
"documentation": "<p> Configuration parameters for a private Virtual Private Cloud (VPC) containing the resources you are using for your document classification job. For more information, see <a href=\"https://docs.aws.amazon.com/vpc/latest/userguide/what-is-amazon-vpc.html\">Amazon VPC</a>. </p>"
"documentation": "<p> Configuration parameters for a private Virtual Private Cloud (VPC) containing the resources you are using for your document classification job. For more information, see <a href=\"https://docs.aws.amazon.com/vppc/latest/userguide/what-is-amazon-vpc.html\">Amazon VPC</a>. </p>"
}
},
"documentation": "<p>Provides information about a document classification job.</p>"
Expand Down Expand Up @@ -3444,7 +3445,7 @@
"documentation": "<p>A list of augmented manifest files that provide training data for your custom model. An augmented manifest file is a labeled dataset that is produced by Amazon SageMaker Ground Truth.</p> <p>This parameter is required if you set <code>DataFormat</code> to <code>AUGMENTED_MANIFEST</code>.</p>"
}
},
"documentation": "<p>The input properties for training a document classifier. </p> <p>For more information on how the input file is formatted, see <a>how-document-classification-training-data</a>. </p>"
"documentation": "<p>The input properties for training a document classifier. </p> <p>For more information on how the input file is formatted, see <a>prep-classifier-data</a>. </p>"
},
"DocumentClassifierMode": {
"type": "string",
Expand Down Expand Up @@ -3524,7 +3525,7 @@
},
"VpcConfig": {
"shape": "VpcConfig",
"documentation": "<p> Configuration parameters for a private Virtual Private Cloud (VPC) containing the resources you are using for your custom classifier. For more information, see <a href=\"https://docs.aws.amazon.com/vpc/latest/userguide/what-is-amazon-vpc.html\">Amazon VPC</a>. </p>"
"documentation": "<p> Configuration parameters for a private Virtual Private Cloud (VPC) containing the resources you are using for your custom classifier. For more information, see <a href=\"https://docs.aws.amazon.com/vppc/latest/userguide/what-is-amazon-vpc.html\">Amazon VPC</a>. </p>"
},
"Mode": {
"shape": "DocumentClassifierMode",
Expand Down Expand Up @@ -3809,7 +3810,7 @@
"documentation": "<p>Data access role ARN to use in case the new model is encrypted with a customer KMS key.</p>"
}
},
"documentation": "<p>Specifies information about the specified endpoint.</p>"
"documentation": "<p>Specifies information about the specified endpoint. For information about endpoints, see <a href=\"https://docs.aws.amazon.com/comprehend/latest/dg/manage-endpoints.html\">Managing endpoints</a>.</p>"
},
"EndpointPropertiesList": {
"type": "list",
Expand Down Expand Up @@ -5405,7 +5406,21 @@
"AWS_SECRET_KEY",
"IP_ADDRESS",
"MAC_ADDRESS",
"ALL"
"ALL",
"LICENSE_PLATE",
"VEHICLE_IDENTIFICATION_NUMBER",
"UK_NATIONAL_INSURANCE_NUMBER",
"CA_SOCIAL_INSURANCE_NUMBER",
"US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER",
"UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER",
"IN_PERMANENT_ACCOUNT_NUMBER",
"IN_NREGA",
"INTERNATIONAL_BANK_ACCOUNT_NUMBER",
"SWIFT_CODE",
"UK_NATIONAL_HEALTH_SERVICE_NUMBER",
"CA_HEALTH_NUMBER",
"IN_AADHAAR",
"IN_VOTER_NUMBER"
]
},
"PiiOutputDataConfig": {
Expand Down Expand Up @@ -5984,7 +5999,7 @@
},
"LanguageCode": {
"shape": "LanguageCode",
"documentation": "<p>The language of the input documents.</p>"
"documentation": "<p>The language of the input documents. Currently, English is the only valid language.</p>"
},
"ClientRequestToken": {
"shape": "ClientRequestTokenString",
Expand Down Expand Up @@ -6105,7 +6120,7 @@
},
"LanguageCode": {
"shape": "LanguageCode",
"documentation": "<p>The language of the input documents. You can specify any of the primary languages supported by Amazon Comprehend. All documents must be in the same language.</p>"
"documentation": "<p>The language of the input documents. Currently, English is the only valid language.</p>"
},
"ClientRequestToken": {
"shape": "ClientRequestTokenString",
Expand Down
8 changes: 4 additions & 4 deletions apis/logs-2014-03-28.normal.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
"shape": "ResourceAlreadyExistsException"
}
],
"documentation": "<p>Creates an export task, which allows you to efficiently export data from a log group to an Amazon S3 bucket. When you perform a <code>CreateExportTask</code> operation, you must use credentials that have permission to write to the S3 bucket that you specify as the destination.</p> <p>This is an asynchronous call. If all the required information is provided, this operation initiates an export task and responds with the ID of the task. After the task has started, you can use <a href=\"https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DescribeExportTasks.html\">DescribeExportTasks</a> to get the status of the export task. Each account can only have one active (<code>RUNNING</code> or <code>PENDING</code>) export task at a time. To cancel an export task, use <a href=\"https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_CancelExportTask.html\">CancelExportTask</a>.</p> <p>You can export logs from multiple log groups or multiple time ranges to the same S3 bucket. To separate out log data for each export task, you can specify a prefix to be used as the Amazon S3 key prefix for all exported objects.</p> <p>Exporting to S3 buckets that are encrypted with AES-256 is supported. Exporting to S3 buckets encrypted with SSE-KMS is not supported. </p>"
"documentation": "<p>Creates an export task, which allows you to efficiently export data from a log group to an Amazon S3 bucket. When you perform a <code>CreateExportTask</code> operation, you must use credentials that have permission to write to the S3 bucket that you specify as the destination.</p> <important> <p>Exporting log data to Amazon S3 buckets that are encrypted by KMS is not supported. Exporting log data to Amazon S3 buckets that have S3 Object Lock enabled with a retention period is not supported.</p> <p>Exporting to S3 buckets that are encrypted with AES-256 is supported. </p> </important> <p>This is an asynchronous call. If all the required information is provided, this operation initiates an export task and responds with the ID of the task. After the task has started, you can use <a href=\"https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DescribeExportTasks.html\">DescribeExportTasks</a> to get the status of the export task. Each account can only have one active (<code>RUNNING</code> or <code>PENDING</code>) export task at a time. To cancel an export task, use <a href=\"https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_CancelExportTask.html\">CancelExportTask</a>.</p> <p>You can export logs from multiple log groups or multiple time ranges to the same S3 bucket. To separate out log data for each export task, you can specify a prefix to be used as the Amazon S3 key prefix for all exported objects.</p> <note> <p>Time-based sorting on chunks of log data inside an exported file is not guaranteed. You can sort the exported log fild data by using Linux utilities.</p> </note>"
},
"CreateLogGroup": {
"name": "CreateLogGroup",
Expand Down Expand Up @@ -1127,7 +1127,7 @@
},
"to": {
"shape": "Timestamp",
"documentation": "<p>The end time of the range for the request, expreswatchlogsdocused as the number of milliseconds after Jan 1, 1970 00:00:00 UTC. Events with a timestamp later than this time are not exported.</p>"
"documentation": "<p>The end time of the range for the request, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC. Events with a timestamp later than this time are not exported.</p>"
},
"destination": {
"shape": "ExportDestinationBucket",
Expand Down Expand Up @@ -1187,7 +1187,7 @@
},
"Days": {
"type": "integer",
"documentation": "<p>The number of days to retain the log events in the specified log group. Possible values are: 1, 3, 5, 7, 14, 30, 60, 90, 120, 150, 180, 365, 400, 545, 731, 1827, and 3653.</p> <p>To set a log group to never have log events expire, use <a href=\"https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DeleteRetentionPolicy.html\">DeleteRetentionPolicy</a>. </p>"
"documentation": "<p>The number of days to retain the log events in the specified log group. Possible values are: 1, 3, 5, 7, 14, 30, 60, 90, 120, 150, 180, 365, 400, 545, 731, 1827, 2192, 2557, 2922, 3288, and 3653.</p> <p>To set a log group to never have log events expire, use <a href=\"https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DeleteRetentionPolicy.html\">DeleteRetentionPolicy</a>. </p>"
},
"DefaultValue": {
"type": "double"
Expand Down Expand Up @@ -1401,7 +1401,7 @@
"members": {
"logGroups": {
"shape": "LogGroups",
"documentation": "<p>The log groups.</p> <p>If the <code>retentionInDays</code> value if not included for a log group, then that log group is set to have its events never expire.</p>"
"documentation": "<p>The log groups.</p> <p>If the <code>retentionInDays</code> value is not included for a log group, then that log group is set to have its events never expire.</p>"
},
"nextToken": {
"shape": "NextToken"
Expand Down
Loading

0 comments on commit 48a8ecb

Please sign in to comment.