Skip to content

Commit d98a209

Browse files
AWS SDK for RubyNobody
authored andcommitted
Updated service API models for release.
1 parent 77c222a commit d98a209

File tree

8 files changed

+39
-11
lines changed

8 files changed

+39
-11
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
Unreleased Changes
22
------------------
33

4+
* Feature - Aws::Athena - Updated the API, and documentation for Amazon Athena.
5+
6+
* Feature - Aws::IAM - Updated the documentation for AWS Identity and Access Management.
7+
8+
* Feature - Aws::Personalize - Updated the API, and documentation for Amazon Personalize.
9+
410
2.11.354 (2019-09-16)
511
------------------
612

aws-sdk-core/apis/athena/2017-05-18/api-2.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -691,7 +691,8 @@
691691
"type":"structure",
692692
"members":{
693693
"EngineExecutionTimeInMillis":{"shape":"Long"},
694-
"DataScannedInBytes":{"shape":"Long"}
694+
"DataScannedInBytes":{"shape":"Long"},
695+
"DataManifestLocation":{"shape":"String"}
695696
}
696697
},
697698
"QueryExecutionStatus":{

aws-sdk-core/apis/athena/2017-05-18/docs-2.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"DeleteWorkGroup": "<p>Deletes the workgroup with the specified name. The primary workgroup cannot be deleted.</p>",
1111
"GetNamedQuery": "<p>Returns information about a single query. Requires that you have access to the workgroup in which the query was saved.</p>",
1212
"GetQueryExecution": "<p>Returns information about a single execution of a query if you have access to the workgroup in which the query ran. Each time a query executes, information about the query execution is saved with a unique ID.</p>",
13-
"GetQueryResults": "<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>",
13+
"GetQueryResults": "<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>",
1414
"GetWorkGroup": "<p>Returns information about the workgroup with the specified name.</p>",
1515
"ListNamedQueries": "<p>Provides a list of available query IDs only for queries saved in the specified workgroup. Requires that you have access to the workgroup.</p> <p>For code samples using the AWS SDK for Java, see <a href=\"http://docs.aws.amazon.com/athena/latest/ug/code-samples.html\">Examples and Code Samples</a> in the <i>Amazon Athena User Guide</i>.</p>",
1616
"ListQueryExecutions": "<p>Provides a list of available query execution IDs for the queries in the specified workgroup. Requires you to have access to the workgroup in which the queries ran.</p> <p>For code samples using the AWS SDK for Java, see <a href=\"http://docs.aws.amazon.com/athena/latest/ug/code-samples.html\">Examples and Code Samples</a> in the <i>Amazon Athena User Guide</i>.</p>",
@@ -426,9 +426,9 @@
426426
}
427427
},
428428
"QueryExecutionStatistics": {
429-
"base": "<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>",
429+
"base": "<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>",
430430
"refs": {
431-
"QueryExecution$Statistics": "<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>"
431+
"QueryExecution$Statistics": "<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>"
432432
}
433433
},
434434
"QueryExecutionStatus": {
@@ -525,6 +525,7 @@
525525
"ColumnInfo$Label": "<p>A column label.</p>",
526526
"ColumnInfo$Type": "<p>The data type of the column.</p>",
527527
"EncryptionConfiguration$KmsKey": "<p>For <code>SSE-KMS</code> and <code>CSE-KMS</code>, this is the KMS key ARN or ID.</p>",
528+
"QueryExecutionStatistics$DataManifestLocation": "<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>",
528529
"QueryExecutionStatus$StateChangeReason": "<p>Further detail about the status of the query.</p>",
529530
"ResultConfiguration$OutputLocation": "<p>The location in Amazon S3 where your query results are stored, such as <code>s3://path/to/query/bucket/</code>. To run the query, you must specify the query results location using one of the ways: either for individual queries using either this setting (client-side), or in the workgroup, using <a>WorkGroupConfiguration</a>. If none of them is set, Athena issues an error that no output location is provided. For more information, see <a href=\"https://docs.aws.amazon.com/athena/latest/ug/querying.html\">Query Results</a>. If workgroup settings override client-side settings, then the query uses the settings specified for the workgroup. See <a>WorkGroupConfiguration$EnforceWorkGroupConfiguration</a>.</p>",
530531
"ResultConfigurationUpdates$OutputLocation": "<p>The location in Amazon S3 where your query results are stored, such as <code>s3://path/to/query/bucket/</code>. For more information, see <a href=\"https://docs.aws.amazon.com/athena/latest/ug/querying.html\">Query Results</a> If workgroup settings override client-side settings, then the query uses the location for the query results and the encryption configuration that are specified for the workgroup. The \"workgroup settings override\" is specified in EnforceWorkGroupConfiguration (true/false) in the WorkGroupConfiguration. See <a>WorkGroupConfiguration$EnforceWorkGroupConfiguration</a>.</p>"

aws-sdk-core/apis/iam/2010-05-08/docs-2.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@
269269
}
270270
},
271271
"ContextEntry": {
272-
"base": "<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>",
272+
"base": "<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>",
273273
"refs": {
274274
"ContextEntryListType$member": null
275275
}
@@ -2739,7 +2739,7 @@
27392739
"refs": {
27402740
"CreatePolicyRequest$PolicyDocument": "<p>The JSON policy document that you want to use as the content for the new policy.</p> <p>You must provide policies in JSON format in IAM. 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>",
27412741
"CreatePolicyVersionRequest$PolicyDocument": "<p>The JSON policy document that you want to use as the content for this new version of the policy.</p> <p>You must provide policies in JSON format in IAM. 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>",
2742-
"CreateRoleRequest$AssumeRolePolicyDocument": "<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>",
2742+
"CreateRoleRequest$AssumeRolePolicyDocument": "<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>",
27432743
"GetGroupPolicyResponse$PolicyDocument": "<p>The policy document.</p> <p>IAM stores policies in JSON format. However, resources that were created using AWS CloudFormation templates can be formatted in YAML. AWS CloudFormation always converts a YAML policy to JSON format before submitting it to IAM.</p>",
27442744
"GetRolePolicyResponse$PolicyDocument": "<p>The policy document.</p> <p>IAM stores policies in JSON format. However, resources that were created using AWS CloudFormation templates can be formatted in YAML. AWS CloudFormation always converts a YAML policy to JSON format before submitting it to IAM.</p>",
27452745
"GetUserPolicyResponse$PolicyDocument": "<p>The policy document.</p> <p>IAM stores policies in JSON format. However, resources that were created using AWS CloudFormation templates can be formatted in YAML. AWS CloudFormation always converts a YAML policy to JSON format before submitting it to IAM.</p>",

aws-sdk-core/apis/iam/2010-05-08/examples-1.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -734,7 +734,7 @@
734734
"AssumeRolePolicyDocument": "<URL-encoded-JSON>",
735735
"CreateDate": "2013-04-18T05:01:58Z",
736736
"Path": "/",
737-
"RoleId": "AIDIODR4TAW7CSEXAMPLE",
737+
"RoleId": "AROADBQP57FF2AEXAMPLE",
738738
"RoleName": "Test-Role"
739739
}
740740
},

aws-sdk-core/apis/personalize/2018-05-22/api-2.json

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,8 @@
7373
{"shape":"InvalidInputException"},
7474
{"shape":"ResourceNotFoundException"},
7575
{"shape":"ResourceAlreadyExistsException"},
76-
{"shape":"LimitExceededException"}
76+
{"shape":"LimitExceededException"},
77+
{"shape":"ResourceInUseException"}
7778
]
7879
},
7980
"CreateEventTracker":{
@@ -495,7 +496,8 @@
495496
"output":{"shape":"ListSolutionVersionsResponse"},
496497
"errors":[
497498
{"shape":"InvalidInputException"},
498-
{"shape":"ResourceNotFoundException"}
499+
{"shape":"ResourceNotFoundException"},
500+
{"shape":"InvalidNextTokenException"}
499501
],
500502
"idempotent":true
501503
},
@@ -584,6 +586,7 @@
584586
"type":"string",
585587
"max":10000
586588
},
589+
"Boolean":{"type":"boolean"},
587590
"Campaign":{
588591
"type":"structure",
589592
"members":{
@@ -786,7 +789,7 @@
786789
],
787790
"members":{
788791
"name":{"shape":"Name"},
789-
"performHPO":{"shape":"PerformHPO"},
792+
"performHPO":{"shape":"Boolean"},
790793
"performAutoML":{"shape":"PerformAutoML"},
791794
"recipeArn":{"shape":"Arn"},
792795
"datasetGroupArn":{"shape":"Arn"},
@@ -1633,6 +1636,7 @@
16331636
"eventType":{"shape":"EventType"},
16341637
"datasetGroupArn":{"shape":"Arn"},
16351638
"solutionConfig":{"shape":"SolutionConfig"},
1639+
"trainingHours":{"shape":"TrainingHours"},
16361640
"status":{"shape":"Status"},
16371641
"failureReason":{"shape":"FailureReason"},
16381642
"creationDateTime":{"shape":"Date"},
@@ -1667,6 +1671,10 @@
16671671
"type":"string",
16681672
"max":256
16691673
},
1674+
"TrainingHours":{
1675+
"type":"double",
1676+
"min":0
1677+
},
16701678
"TrainingInputMode":{
16711679
"type":"string",
16721680
"max":256

aws-sdk-core/apis/personalize/2018-05-22/docs-2.json

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,12 @@
169169
"DatasetSchema$schema": "<p>The schema.</p>"
170170
}
171171
},
172+
"Boolean": {
173+
"base": null,
174+
"refs": {
175+
"CreateSolutionRequest$performHPO": "<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>"
176+
}
177+
},
172178
"Campaign": {
173179
"base": "<p>Describes a deployed solution version, otherwise known as a campaign. For more information on campaigns, see <a>CreateCampaign</a>.</p>",
174180
"refs": {
@@ -1042,7 +1048,6 @@
10421048
"PerformHPO": {
10431049
"base": null,
10441050
"refs": {
1045-
"CreateSolutionRequest$performHPO": "<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>",
10461051
"Solution$performHPO": "<p>Whether to perform hyperparameter optimization (HPO) on the chosen recipe. The default is <code>false</code>.</p>",
10471052
"SolutionVersion$performHPO": "<p>Whether to perform hyperparameter optimization (HPO) on the chosen recipe. The default is <code>false</code>.</p>"
10481053
}
@@ -1193,6 +1198,12 @@
11931198
"EventTracker$trackingId": "<p>The ID of the event tracker. Include this ID in requests to the <a href=\"https://docs.aws.amazon.com/personalize/latest/dg/API_UBS_PutEvents.html\">PutEvents</a> API.</p>"
11941199
}
11951200
},
1201+
"TrainingHours": {
1202+
"base": null,
1203+
"refs": {
1204+
"SolutionVersion$trainingHours": "<p>The time used to train the model. </p>"
1205+
}
1206+
},
11961207
"TrainingInputMode": {
11971208
"base": null,
11981209
"refs": {

aws-sdk-core/endpoints.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -398,6 +398,7 @@
398398
},
399399
"athena" : {
400400
"endpoints" : {
401+
"ap-east-1" : { },
401402
"ap-northeast-1" : { },
402403
"ap-northeast-2" : { },
403404
"ap-south-1" : { },

0 commit comments

Comments
 (0)