Skip to content

Commit

Permalink
Updates SDK to v2.530.0
Browse files Browse the repository at this point in the history
  • Loading branch information
awstools committed Sep 17, 2019
1 parent 22e5db2 commit c9ac802
Show file tree
Hide file tree
Showing 18 changed files with 114 additions and 60 deletions.
12 changes: 12 additions & 0 deletions .changes/2.530.0.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[
{
"type": "feature",
"category": "Athena",
"description": "This release adds DataManifestLocation field indicating the location and file name of the data manifest file. Users can get a list of files that the Athena query wrote or intended to write from the manifest file."
},
{
"type": "feature",
"category": "Personalize",
"description": "[Personalize] Adds trainingHours to solutionVersion properties."
}
]
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
# Changelog for AWS SDK for JavaScript
<!--LATEST=2.529.0-->
<!--LATEST=2.530.0-->
<!--ENTRYINSERT-->

## 2.530.0
* feature: Athena: This release adds DataManifestLocation field indicating the location and file name of the data manifest file. Users can get a list of files that the Athena query wrote or intended to write from the manifest file.
* feature: Personalize: [Personalize] Adds trainingHours to solutionVersion properties.

## 2.529.0
* feature: EKS: This release lets customers add tags to an Amazon EKS cluster. These tags can be used to control access to the EKS API for managing the cluster using IAM. The Amazon EKS TagResource API allows customers to associate tags with their cluster. Customers can list tags for a cluster using the ListTagsForResource API and remove tags from a cluster with the UntagResource API. Note: tags are specific to the EKS cluster resource, they do not propagate to other AWS resources used by the cluster.
* feature: MediaConvert: AWS Elemental MediaConvert SDK has added support for multi-DRM SPEKE with CMAF outputs, MP3 ingest, and options for improved video quality.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ version.
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.529.0.min.js"></script>
<script src="https://sdk.amazonaws.com/js/aws-sdk-2.530.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
3 changes: 2 additions & 1 deletion apis/athena-2017-05-18.min.json
Original file line number Diff line number Diff line change
Expand Up @@ -611,7 +611,8 @@
},
"DataScannedInBytes": {
"type": "long"
}
},
"DataManifestLocation": {}
}
},
"WorkGroup": {}
Expand Down
10 changes: 7 additions & 3 deletions apis/athena-2017-05-18.normal.json
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@
"shape": "InvalidRequestException"
}
],
"documentation": "<p>Returns the results of a single query execution specified by <code>QueryExecutionId</code> if you have access to the workgroup in which the query ran. This request does not execute the query but returns results. Use <a>StartQueryExecution</a> to run a query.</p>"
"documentation": "<p>Streams the results of a single query execution specified by <code>QueryExecutionId</code> from the Athena query results location in Amazon S3. For more information, see <a href=\"https://docs.aws.amazon.com/athena/latest/ug/querying.html\">Query Results</a> in the <i>Amazon Athena User Guide</i>. This request does not execute the query but returns results. Use <a>StartQueryExecution</a> to run a query.</p> <p>To stream query results successfully, the IAM principal with permission to call <code>GetQueryResults</code> also must have permissions to the Amazon S3 <code>GetObject</code> action for the Athena query results location.</p> <important> <p>IAM principals with permission to the Amazon S3 <code>GetObject</code> action for the query results location are able to retrieve query results from Amazon S3 even if permission to the <code>GetQueryResults</code> action is denied. To restrict user or role access, ensure that Amazon S3 permissions to the Athena query location are denied.</p> </important>"
},
"GetWorkGroup": {
"name": "GetWorkGroup",
Expand Down Expand Up @@ -1089,7 +1089,7 @@
},
"Statistics": {
"shape": "QueryExecutionStatistics",
"documentation": "<p>The amount of data scanned during the query execution and the amount of time that it took to execute, and the type of statement that was run.</p>"
"documentation": "<p>The location of a manifest file that tracks file locations generated by the query, the amount of data scanned by the query, and the amount of time that it took the query to run.</p>"
},
"WorkGroup": {
"shape": "WorkGroupName",
Expand Down Expand Up @@ -1145,9 +1145,13 @@
"DataScannedInBytes": {
"shape": "Long",
"documentation": "<p>The number of bytes in the data that was queried.</p>"
},
"DataManifestLocation": {
"shape": "String",
"documentation": "<p>The location and file name of a data manifest file. The manifest file is saved to the Athena query results location in Amazon S3. It tracks files that the query wrote to Amazon S3. If the query fails, the manifest file also tracks files that the query intended to write. The manifest is useful for identifying orphaned files resulting from a failed query. For more information, see <a href=\"https://docs.aws.amazon.com/athena/latest/ug/querying.html\">Working with Query Output Files</a> in the <i>Amazon Athena User Guide</i>.</p>"
}
},
"documentation": "<p>The amount of data scanned during the query execution and the amount of time that it took to execute, and the type of statement that was run.</p>"
"documentation": "<p>The location of a manifest file that tracks file locations generated by the query, the amount of data scanned by the query, and the amount of time that it took the query to run.</p>"
},
"QueryExecutionStatus": {
"type": "structure",
Expand Down
2 changes: 1 addition & 1 deletion apis/iam-2010-05-08.examples.json
Original file line number Diff line number Diff line change
Expand Up @@ -734,7 +734,7 @@
"AssumeRolePolicyDocument": "<URL-encoded-JSON>",
"CreateDate": "2013-04-18T05:01:58Z",
"Path": "/",
"RoleId": "AIDIODR4TAW7CSEXAMPLE",
"RoleId": "AROADBQP57FF2AEXAMPLE",
"RoleName": "Test-Role"
}
},
Expand Down
4 changes: 2 additions & 2 deletions apis/iam-2010-05-08.normal.json
Original file line number Diff line number Diff line change
Expand Up @@ -3722,7 +3722,7 @@
"documentation": "<p>The data type of the value (or values) specified in the <code>ContextKeyValues</code> parameter.</p>"
}
},
"documentation": "<p>Contains information about a condition context key. It includes the name of the key and specifies the value (or values, if the context key supports multiple values) to use in the simulation. This information is used when evaluating the <code>Condition</code> elements of the input policies.</p> <p>This data type is used as an input parameter to <code> <a>SimulateCustomPolicy</a> </code> and <code> <a>SimulateCustomPolicy</a> </code>.</p>"
"documentation": "<p>Contains information about a condition context key. It includes the name of the key and specifies the value (or values, if the context key supports multiple values) to use in the simulation. This information is used when evaluating the <code>Condition</code> elements of the input policies.</p> <p>This data type is used as an input parameter to <code> <a>SimulateCustomPolicy</a> </code> and <code> <a>SimulatePrincipalPolicy</a> </code>.</p>"
},
"ContextEntryListType": {
"type": "list",
Expand Down Expand Up @@ -4007,7 +4007,7 @@
},
"AssumeRolePolicyDocument": {
"shape": "policyDocumentType",
"documentation": "<p>The trust relationship policy document that grants an entity permission to assume the role.</p> <p>In IAM, you must provide a JSON policy that has been converted to a string. However, for AWS CloudFormation templates formatted in YAML, you can provide the policy in JSON or YAML format. AWS CloudFormation always converts a YAML policy to JSON format before submitting it to IAM.</p> <p>The <a href=\"http://wikipedia.org/wiki/regex\">regex pattern</a> used to validate this parameter is a string of characters consisting of the following:</p> <ul> <li> <p>Any printable ASCII character ranging from the space character (\\u0020) through the end of the ASCII character range</p> </li> <li> <p>The printable characters in the Basic Latin and Latin-1 Supplement character set (through \\u00FF)</p> </li> <li> <p>The special characters tab (\\u0009), line feed (\\u000A), and carriage return (\\u000D)</p> </li> </ul> <p> Upon success, the response includes the same trust policy as a URL-encoded JSON string.</p>"
"documentation": "<p>The trust relationship policy document that grants an entity permission to assume the role.</p> <p>In IAM, you must provide a JSON policy that has been converted to a string. However, for AWS CloudFormation templates formatted in YAML, you can provide the policy in JSON or YAML format. AWS CloudFormation always converts a YAML policy to JSON format before submitting it to IAM.</p> <p>The <a href=\"http://wikipedia.org/wiki/regex\">regex pattern</a> used to validate this parameter is a string of characters consisting of the following:</p> <ul> <li> <p>Any printable ASCII character ranging from the space character (\\u0020) through the end of the ASCII character range</p> </li> <li> <p>The printable characters in the Basic Latin and Latin-1 Supplement character set (through \\u00FF)</p> </li> <li> <p>The special characters tab (\\u0009), line feed (\\u000A), and carriage return (\\u000D)</p> </li> </ul> <p> Upon success, the response includes the same trust policy in JSON format.</p>"
},
"Description": {
"shape": "roleDescriptionType",
Expand Down
9 changes: 6 additions & 3 deletions apis/personalize-2018-05-22.min.json
Original file line number Diff line number Diff line change
Expand Up @@ -709,7 +709,7 @@
"type": "timestamp"
},
"latestSolutionVersion": {
"shape": "S37"
"shape": "S38"
}
}
}
Expand Down Expand Up @@ -747,6 +747,9 @@
"solutionConfig": {
"shape": "Sr"
},
"trainingHours": {
"type": "double"
},
"status": {},
"failureReason": {},
"creationDateTime": {
Expand Down Expand Up @@ -1055,7 +1058,7 @@
"solutionVersions": {
"type": "list",
"member": {
"shape": "S37"
"shape": "S38"
}
},
"nextToken": {}
Expand Down Expand Up @@ -1229,7 +1232,7 @@
"key": {},
"value": {}
},
"S37": {
"S38": {
"type": "structure",
"members": {
"solutionVersionArn": {},
Expand Down
19 changes: 18 additions & 1 deletion apis/personalize-2018-05-22.normal.json
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,9 @@
},
{
"shape": "LimitExceededException"
},
{
"shape": "ResourceInUseException"
}
],
"documentation": "<p>Creates a job that imports training data from your data source (an Amazon S3 bucket) to an Amazon Personalize dataset. To allow Amazon Personalize to import the training data, you must specify an AWS Identity and Access Management (IAM) role that has permission to read from the data source.</p> <important> <p>The dataset import job replaces any previous data in the dataset.</p> </important> <p> <b>Status</b> </p> <p>A dataset import job can be in one of the following states:</p> <ul> <li> <p>CREATE PENDING &gt; CREATE IN_PROGRESS &gt; ACTIVE -or- CREATE FAILED</p> </li> </ul> <p>To get the status of the import job, call <a>DescribeDatasetImportJob</a>, providing the Amazon Resource Name (ARN) of the dataset import job. The dataset import is complete when the status shows as ACTIVE. If the status shows as CREATE FAILED, the response includes a <code>failureReason</code> key, which describes why the job failed.</p> <note> <p>Importing takes time. You must wait until the status shows as ACTIVE before training a model using the dataset.</p> </note> <p class=\"title\"> <b>Related APIs</b> </p> <ul> <li> <p> <a>ListDatasetImportJobs</a> </p> </li> <li> <p> <a>DescribeDatasetImportJob</a> </p> </li> </ul>"
Expand Down Expand Up @@ -830,6 +833,9 @@
},
{
"shape": "ResourceNotFoundException"
},
{
"shape": "InvalidNextTokenException"
}
],
"documentation": "<p>Returns a list of solution versions for the given solution. When a solution is not specified, all the solution versions associated with the account are listed. The response provides the properties for each solution version, including the Amazon Resource Name (ARN). For more information on solutions, see <a>CreateSolution</a>.</p>",
Expand Down Expand Up @@ -993,6 +999,9 @@
"type": "string",
"max": 10000
},
"Boolean": {
"type": "boolean"
},
"Campaign": {
"type": "structure",
"members": {
Expand Down Expand Up @@ -1366,7 +1375,7 @@
"documentation": "<p>The name for the solution.</p>"
},
"performHPO": {
"shape": "PerformHPO",
"shape": "Boolean",
"documentation": "<p>Whether to perform hyperparameter optimization (HPO) on the specified or selected recipe. The default is <code>false</code>.</p> <p>When performing AutoML, this parameter is always <code>true</code> and you should not set it to <code>false</code>.</p>"
},
"performAutoML": {
Expand Down Expand Up @@ -2973,6 +2982,10 @@
"shape": "SolutionConfig",
"documentation": "<p>Describes the configuration properties for the solution.</p>"
},
"trainingHours": {
"shape": "TrainingHours",
"documentation": "<p>The time used to train the model. </p>"
},
"status": {
"shape": "Status",
"documentation": "<p>The status of the solution version.</p> <p>A solution version can be in one of the following states:</p> <ul> <li> <p>CREATE PENDING &gt; CREATE IN_PROGRESS &gt; ACTIVE -or- CREATE FAILED</p> </li> </ul>"
Expand Down Expand Up @@ -3040,6 +3053,10 @@
"type": "string",
"max": 256
},
"TrainingHours": {
"type": "double",
"min": 0
},
"TrainingInputMode": {
"type": "string",
"max": 256
Expand Down
10 changes: 7 additions & 3 deletions clients/athena.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,11 @@ declare class Athena extends Service {
*/
getQueryExecution(callback?: (err: AWSError, data: Athena.Types.GetQueryExecutionOutput) => void): Request<Athena.Types.GetQueryExecutionOutput, AWSError>;
/**
* Returns the results of a single query execution specified by QueryExecutionId if you have access to the workgroup in which the query ran. This request does not execute the query but returns results. Use StartQueryExecution to run a query.
* Streams the results of a single query execution specified by QueryExecutionId from the Athena query results location in Amazon S3. For more information, see Query Results in the Amazon Athena User Guide. This request does not execute the query but returns results. Use StartQueryExecution to run a query. To stream query results successfully, the IAM principal with permission to call GetQueryResults also must have permissions to the Amazon S3 GetObject action for the Athena query results location. IAM principals with permission to the Amazon S3 GetObject action for the query results location are able to retrieve query results from Amazon S3 even if permission to the GetQueryResults action is denied. To restrict user or role access, ensure that Amazon S3 permissions to the Athena query location are denied.
*/
getQueryResults(params: Athena.Types.GetQueryResultsInput, callback?: (err: AWSError, data: Athena.Types.GetQueryResultsOutput) => void): Request<Athena.Types.GetQueryResultsOutput, AWSError>;
/**
* Returns the results of a single query execution specified by QueryExecutionId if you have access to the workgroup in which the query ran. This request does not execute the query but returns results. Use StartQueryExecution to run a query.
* Streams the results of a single query execution specified by QueryExecutionId from the Athena query results location in Amazon S3. For more information, see Query Results in the Amazon Athena User Guide. This request does not execute the query but returns results. Use StartQueryExecution to run a query. To stream query results successfully, the IAM principal with permission to call GetQueryResults also must have permissions to the Amazon S3 GetObject action for the Athena query results location. IAM principals with permission to the Amazon S3 GetObject action for the query results location are able to retrieve query results from Amazon S3 even if permission to the GetQueryResults action is denied. To restrict user or role access, ensure that Amazon S3 permissions to the Athena query location are denied.
*/
getQueryResults(callback?: (err: AWSError, data: Athena.Types.GetQueryResultsOutput) => void): Request<Athena.Types.GetQueryResultsOutput, AWSError>;
/**
Expand Down Expand Up @@ -559,7 +559,7 @@ declare namespace Athena {
*/
Status?: QueryExecutionStatus;
/**
* The amount of data scanned during the query execution and the amount of time that it took to execute, and the type of statement that was run.
* The location of a manifest file that tracks file locations generated by the query, the amount of data scanned by the query, and the amount of time that it took the query to run.
*/
Statistics?: QueryExecutionStatistics;
/**
Expand All @@ -586,6 +586,10 @@ declare namespace Athena {
* The number of bytes in the data that was queried.
*/
DataScannedInBytes?: Long;
/**
* The location and file name of a data manifest file. The manifest file is saved to the Athena query results location in Amazon S3. It tracks files that the query wrote to Amazon S3. If the query fails, the manifest file also tracks files that the query intended to write. The manifest is useful for identifying orphaned files resulting from a failed query. For more information, see Working with Query Output Files in the Amazon Athena User Guide.
*/
DataManifestLocation?: String;
}
export interface QueryExecutionStatus {
/**
Expand Down
2 changes: 1 addition & 1 deletion clients/iam.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1483,7 +1483,7 @@ declare namespace IAM {
*/
RoleName: roleNameType;
/**
* The trust relationship policy document that grants an entity permission to assume the role. In IAM, you must provide a JSON policy that has been converted to a string. However, for AWS CloudFormation templates formatted in YAML, you can provide the policy in JSON or YAML format. AWS CloudFormation always converts a YAML policy to JSON format before submitting it to IAM. The regex pattern used to validate this parameter is a string of characters consisting of the following: Any printable ASCII character ranging from the space character (\u0020) through the end of the ASCII character range The printable characters in the Basic Latin and Latin-1 Supplement character set (through \u00FF) The special characters tab (\u0009), line feed (\u000A), and carriage return (\u000D) Upon success, the response includes the same trust policy as a URL-encoded JSON string.
* The trust relationship policy document that grants an entity permission to assume the role. In IAM, you must provide a JSON policy that has been converted to a string. However, for AWS CloudFormation templates formatted in YAML, you can provide the policy in JSON or YAML format. AWS CloudFormation always converts a YAML policy to JSON format before submitting it to IAM. The regex pattern used to validate this parameter is a string of characters consisting of the following: Any printable ASCII character ranging from the space character (\u0020) through the end of the ASCII character range The printable characters in the Basic Latin and Latin-1 Supplement character set (through \u00FF) The special characters tab (\u0009), line feed (\u000A), and carriage return (\u000D) Upon success, the response includes the same trust policy in JSON format.
*/
AssumeRolePolicyDocument: policyDocumentType;
/**
Expand Down
Loading

0 comments on commit c9ac802

Please sign in to comment.