Skip to content

Commit

Permalink
Updated API models and rebuilt service gems.
Browse files Browse the repository at this point in the history
  • Loading branch information
AWS SDK for Ruby authored and Nobody committed Jun 30, 2022
1 parent 2551a64 commit d9e211e
Show file tree
Hide file tree
Showing 72 changed files with 2,690 additions and 312 deletions.
67 changes: 65 additions & 2 deletions apis/athena/2017-05-18/api-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,19 @@
{"shape":"InvalidRequestException"}
]
},
"BatchGetPreparedStatement":{
"name":"BatchGetPreparedStatement",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"BatchGetPreparedStatementInput"},
"output":{"shape":"BatchGetPreparedStatementOutput"},
"errors":[
{"shape":"InternalServerException"},
{"shape":"InvalidRequestException"}
]
},
"BatchGetQueryExecution":{
"name":"BatchGetQueryExecution",
"http":{
Expand Down Expand Up @@ -521,6 +534,24 @@
"UnprocessedNamedQueryIds":{"shape":"UnprocessedNamedQueryIdList"}
}
},
"BatchGetPreparedStatementInput":{
"type":"structure",
"required":[
"PreparedStatementNames",
"WorkGroup"
],
"members":{
"PreparedStatementNames":{"shape":"PreparedStatementNameList"},
"WorkGroup":{"shape":"WorkGroupName"}
}
},
"BatchGetPreparedStatementOutput":{
"type":"structure",
"members":{
"PreparedStatements":{"shape":"PreparedStatementDetailsList"},
"UnprocessedPreparedStatementNames":{"shape":"UnprocessedPreparedStatementNameList"}
}
},
"BatchGetQueryExecutionInput":{
"type":"structure",
"required":["QueryExecutionIds"],
Expand Down Expand Up @@ -840,6 +871,16 @@
"max":9999,
"min":0
},
"ExecutionParameter":{
"type":"string",
"max":1024,
"min":1
},
"ExecutionParameters":{
"type":"list",
"member":{"shape":"ExecutionParameter"},
"min":1
},
"ExpressionString":{
"type":"string",
"max":256,
Expand Down Expand Up @@ -1259,6 +1300,14 @@
"LastModifiedTime":{"shape":"Date"}
}
},
"PreparedStatementDetailsList":{
"type":"list",
"member":{"shape":"PreparedStatement"}
},
"PreparedStatementNameList":{
"type":"list",
"member":{"shape":"StatementName"}
},
"PreparedStatementSummary":{
"type":"structure",
"members":{
Expand All @@ -1283,7 +1332,8 @@
"Status":{"shape":"QueryExecutionStatus"},
"Statistics":{"shape":"QueryExecutionStatistics"},
"WorkGroup":{"shape":"WorkGroupName"},
"EngineVersion":{"shape":"EngineVersion"}
"EngineVersion":{"shape":"EngineVersion"},
"ExecutionParameters":{"shape":"ExecutionParameters"}
}
},
"QueryExecutionContext":{
Expand Down Expand Up @@ -1409,7 +1459,8 @@
},
"QueryExecutionContext":{"shape":"QueryExecutionContext"},
"ResultConfiguration":{"shape":"ResultConfiguration"},
"WorkGroup":{"shape":"WorkGroupName"}
"WorkGroup":{"shape":"WorkGroupName"},
"ExecutionParameters":{"shape":"ExecutionParameters"}
}
},
"StartQueryExecutionOutput":{
Expand Down Expand Up @@ -1546,6 +1597,18 @@
"type":"list",
"member":{"shape":"UnprocessedNamedQueryId"}
},
"UnprocessedPreparedStatementName":{
"type":"structure",
"members":{
"StatementName":{"shape":"StatementName"},
"ErrorCode":{"shape":"ErrorCode"},
"ErrorMessage":{"shape":"ErrorMessage"}
}
},
"UnprocessedPreparedStatementNameList":{
"type":"list",
"member":{"shape":"UnprocessedPreparedStatementName"}
},
"UnprocessedQueryExecutionId":{
"type":"structure",
"members":{
Expand Down
60 changes: 57 additions & 3 deletions apis/athena/2017-05-18/docs-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"service": "<p>Amazon Athena is an interactive query service that lets you use standard SQL to analyze data directly in Amazon S3. You can point Athena at your data in Amazon S3 and run ad-hoc queries and get results in seconds. Athena is serverless, so there is no infrastructure to set up or manage. You pay only for the queries you run. Athena scales automatically—executing queries in parallel—so results are fast, even with large datasets and complex queries. For more information, see <a href=\"http://docs.aws.amazon.com/athena/latest/ug/what-is.html\">What is Amazon Athena</a> in the <i>Amazon Athena User Guide</i>.</p> <p>If you connect to Athena using the JDBC driver, use version 1.1.0 of the driver or later with the Amazon Athena API. Earlier version drivers do not support the API. For more information and to download the driver, see <a href=\"https://docs.aws.amazon.com/athena/latest/ug/connect-with-jdbc.html\">Accessing Amazon Athena with JDBC</a>.</p> <p>For code samples using the Amazon Web Services SDK for Java, see <a href=\"https://docs.aws.amazon.com/athena/latest/ug/code-samples.html\">Examples and Code Samples</a> in the <i>Amazon Athena User Guide</i>.</p>",
"operations": {
"BatchGetNamedQuery": "<p>Returns the details of a single named query or a list of up to 50 queries, which you provide as an array of query ID strings. Requires you to have access to the workgroup in which the queries were saved. Use <a>ListNamedQueriesInput</a> to get the list of named query IDs in the specified workgroup. If information could not be retrieved for a submitted query ID, information about the query ID submitted is listed under <a>UnprocessedNamedQueryId</a>. Named queries differ from executed queries. Use <a>BatchGetQueryExecutionInput</a> to get details about each unique query execution, and <a>ListQueryExecutionsInput</a> to get a list of query execution IDs.</p>",
"BatchGetPreparedStatement": "<p>Returns the details of a single prepared statement or a list of up to 256 prepared statements for the array of prepared statement names that you provide. Requires you to have access to the workgroup to which the prepared statements belong. If a prepared statement cannot be retrieved for the name specified, the statement is listed in <code>UnprocessedPreparedStatementNames</code>.</p>",
"BatchGetQueryExecution": "<p>Returns the details of a single query execution or a list of up to 50 query executions, which you provide as an array of query execution ID strings. Requires you to have access to the workgroup in which the queries ran. To get a list of query execution IDs, use <a>ListQueryExecutionsInput$WorkGroup</a>. Query executions differ from named (saved) queries. Use <a>BatchGetNamedQueryInput</a> to get details about named queries.</p>",
"CreateDataCatalog": "<p>Creates (registers) a data catalog with the specified name and properties. Catalogs created are visible to all users of the same Amazon Web Services account.</p>",
"CreateNamedQuery": "<p>Creates a named query in the specified workgroup. Requires that you have access to the workgroup.</p> <p>For code samples using the Amazon Web Services 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>",
Expand All @@ -24,7 +25,7 @@
"ListDatabases": "<p>Lists the databases in the specified data catalog.</p>",
"ListEngineVersions": "<p>Returns a list of engine versions that are available to choose from, including the Auto option.</p>",
"ListNamedQueries": "<p>Provides a list of available query IDs only for queries saved in the specified workgroup. Requires that you have access to the specified workgroup. If a workgroup is not specified, lists the saved queries for the primary workgroup.</p> <p>For code samples using the Amazon Web Services 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>",
"ListPreparedStatements": "<p>Lists the prepared statements in the specfied workgroup.</p>",
"ListPreparedStatements": "<p>Lists the prepared statements in the specified workgroup.</p>",
"ListQueryExecutions": "<p>Provides a list of available query execution IDs for the queries in the specified workgroup. If a workgroup is not specified, returns a list of query execution IDs for the primary workgroup. Requires you to have access to the workgroup in which the queries ran.</p> <p>For code samples using the Amazon Web Services 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>",
"ListTableMetadata": "<p>Lists the metadata for the tables in the specified data catalog database.</p>",
"ListTagsForResource": "<p>Lists the tags associated with an Athena workgroup or data catalog resource.</p>",
Expand All @@ -50,7 +51,7 @@
"base": null,
"refs": {
"ListTagsForResourceInput$ResourceARN": "<p>Lists the tags for the resource with the specified ARN.</p>",
"ResourceNotFoundException$ResourceName": null,
"ResourceNotFoundException$ResourceName": "<p>The name of the Amazon resource.</p>",
"TagResourceInput$ResourceARN": "<p>Specifies the ARN of the Athena resource (workgroup or data catalog) to which tags are to be added.</p>",
"UntagResourceInput$ResourceARN": "<p>Specifies the ARN of the resource from which tags are to be removed.</p>"
}
Expand All @@ -71,6 +72,16 @@
"refs": {
}
},
"BatchGetPreparedStatementInput": {
"base": null,
"refs": {
}
},
"BatchGetPreparedStatementOutput": {
"base": null,
"refs": {
}
},
"BatchGetQueryExecutionInput": {
"base": null,
"refs": {
Expand Down Expand Up @@ -364,6 +375,7 @@
"refs": {
"InvalidRequestException$AthenaErrorCode": null,
"UnprocessedNamedQueryId$ErrorCode": "<p>The error code returned when the processing request for the named query failed, if applicable.</p>",
"UnprocessedPreparedStatementName$ErrorCode": "<p>The error code returned when the request for the prepared statement failed.</p>",
"UnprocessedQueryExecutionId$ErrorCode": "<p>The error code returned when the query execution failed to process, if applicable.</p>"
}
},
Expand All @@ -376,6 +388,7 @@
"ResourceNotFoundException$Message": null,
"TooManyRequestsException$Message": null,
"UnprocessedNamedQueryId$ErrorMessage": "<p>The error message returned when the processing request for the named query failed, if applicable.</p>",
"UnprocessedPreparedStatementName$ErrorMessage": "<p>The error message containing the reason why the prepared statement could not be returned. The following error messages are possible:</p> <ul> <li> <p> <code>INVALID_INPUT</code> - The name of the prepared statement that was provided is not valid (for example, the name is too long).</p> </li> <li> <p> <code>STATEMENT_NOT_FOUND</code> - A prepared statement with the name provided could not be found.</p> </li> <li> <p> <code>UNAUTHORIZED</code> - The requester does not have permission to access the workgroup that contains the prepared statement.</p> </li> </ul>",
"UnprocessedQueryExecutionId$ErrorMessage": "<p>The error message returned when the query execution failed to process, if applicable.</p>"
}
},
Expand All @@ -385,6 +398,19 @@
"AthenaError$ErrorType": "<p>An integer value that provides specific information about an Athena query error. For the meaning of specific values, see the <a href=\"https://docs.aws.amazon.com/athena/latest/ug/error-reference.html#error-reference-error-type-reference\">Error Type Reference</a> in the <i>Amazon Athena User Guide</i>.</p>"
}
},
"ExecutionParameter": {
"base": null,
"refs": {
"ExecutionParameters$member": null
}
},
"ExecutionParameters": {
"base": null,
"refs": {
"QueryExecution$ExecutionParameters": "<p>A list of values for the parameters in a query. The values are applied sequentially to the parameters in the query in the order in which the parameters occur.</p>",
"StartQueryExecutionInput$ExecutionParameters": "<p>A list of values for the parameters in a query. The values are applied sequentially to the parameters in the query in the order in which the parameters occur.</p>"
}
},
"ExpressionString": {
"base": null,
"refs": {
Expand Down Expand Up @@ -742,7 +768,20 @@
"PreparedStatement": {
"base": "<p>A prepared SQL statement for use with Athena.</p>",
"refs": {
"GetPreparedStatementOutput$PreparedStatement": "<p>The name of the prepared statement that was retrieved.</p>"
"GetPreparedStatementOutput$PreparedStatement": "<p>The name of the prepared statement that was retrieved.</p>",
"PreparedStatementDetailsList$member": null
}
},
"PreparedStatementDetailsList": {
"base": null,
"refs": {
"BatchGetPreparedStatementOutput$PreparedStatements": "<p>The list of prepared statements returned.</p>"
}
},
"PreparedStatementNameList": {
"base": null,
"refs": {
"BatchGetPreparedStatementInput$PreparedStatementNames": "<p>A list of prepared statement names to return.</p>"
}
},
"PreparedStatementSummary": {
Expand Down Expand Up @@ -893,7 +932,9 @@
"DeletePreparedStatementInput$StatementName": "<p>The name of the prepared statement to delete.</p>",
"GetPreparedStatementInput$StatementName": "<p>The name of the prepared statement to retrieve.</p>",
"PreparedStatement$StatementName": "<p>The name of the prepared statement.</p>",
"PreparedStatementNameList$member": null,
"PreparedStatementSummary$StatementName": "<p>The name of the prepared statement.</p>",
"UnprocessedPreparedStatementName$StatementName": "<p>The name of a prepared statement that could not be returned due to an error.</p>",
"UpdatePreparedStatementInput$StatementName": "<p>The name of the prepared statement.</p>"
}
},
Expand Down Expand Up @@ -1056,6 +1097,18 @@
"BatchGetNamedQueryOutput$UnprocessedNamedQueryIds": "<p>Information about provided query IDs.</p>"
}
},
"UnprocessedPreparedStatementName": {
"base": "<p>The name of a prepared statement that could not be returned.</p>",
"refs": {
"UnprocessedPreparedStatementNameList$member": null
}
},
"UnprocessedPreparedStatementNameList": {
"base": null,
"refs": {
"BatchGetPreparedStatementOutput$UnprocessedPreparedStatementNames": "<p>A list of one or more prepared statements that were requested but could not be returned.</p>"
}
},
"UnprocessedQueryExecutionId": {
"base": "<p>Describes a query execution that failed to process.</p>",
"refs": {
Expand Down Expand Up @@ -1149,6 +1202,7 @@
"WorkGroupName": {
"base": null,
"refs": {
"BatchGetPreparedStatementInput$WorkGroup": "<p>The name of the workgroup to which the prepared statements belong.</p>",
"CreateNamedQueryInput$WorkGroup": "<p>The name of the workgroup in which the named query is being created.</p>",
"CreatePreparedStatementInput$WorkGroup": "<p>The name of the workgroup to which the prepared statement belongs.</p>",
"CreateWorkGroupInput$Name": "<p>The workgroup name.</p>",
Expand Down
11 changes: 9 additions & 2 deletions apis/customer-profiles/2020-08-15/api-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -743,7 +743,8 @@
"members":{
"Enabled":{"shape":"optionalBoolean"},
"Consolidation":{"shape":"Consolidation"},
"ConflictResolution":{"shape":"ConflictResolution"}
"ConflictResolution":{"shape":"ConflictResolution"},
"MinAllowedConfidenceScoreForMerging":{"shape":"Double0To1"}
}
},
"BadRequestException":{
Expand Down Expand Up @@ -1120,6 +1121,11 @@
}
},
"Double":{"type":"double"},
"Double0To1":{
"type":"double",
"max":1.0,
"min":0.0
},
"ExportingConfig":{
"type":"structure",
"members":{
Expand Down Expand Up @@ -1227,7 +1233,8 @@
"locationName":"DomainName"
},
"Consolidation":{"shape":"Consolidation"},
"ConflictResolution":{"shape":"ConflictResolution"}
"ConflictResolution":{"shape":"ConflictResolution"},
"MinAllowedConfidenceScoreForMerging":{"shape":"Double0To1"}
}
},
"GetAutoMergingPreviewResponse":{
Expand Down
13 changes: 10 additions & 3 deletions apis/customer-profiles/2020-08-15/docs-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"name": {
"base": null,
"refs": {
"AddProfileKeyRequest$KeyName": "<p>A searchable identifier of a customer profile.</p>",
"AddProfileKeyRequest$KeyName": "<p>A searchable identifier of a customer profile. The predefined keys you can use include: _account, _profileId, _assetId, _caseId, _orderId, _fullName, _phone, _email, _ctrContactId, _marketoLeadId, _salesforceAccountId, _salesforceContactId, _salesforceAssetId, _zendeskUserId, _zendeskExternalId, _zendeskTicketId, _serviceNowSystemId, _serviceNowIncidentId, _segmentUserId, _shopifyCustomerId, _shopifyOrderId.</p>",
"AddProfileKeyRequest$DomainName": "<p>The unique name of the domain.</p>",
"AddProfileKeyResponse$KeyName": "<p>A searchable identifier of a customer profile.</p>",
"CreateDomainRequest$DomainName": "<p>The unique name of the domain.</p>",
Expand Down Expand Up @@ -97,7 +97,7 @@
"PutIntegrationResponse$DomainName": "<p>The unique name of the domain.</p>",
"PutProfileObjectRequest$DomainName": "<p>The unique name of the domain.</p>",
"PutProfileObjectTypeRequest$DomainName": "<p>The unique name of the domain.</p>",
"PutProfileObjectTypeRequest$TemplateId": "<p>A unique identifier for the object template.</p>",
"PutProfileObjectTypeRequest$TemplateId": "<p>A unique identifier for the object template. For some attributes in the request, the service will use the default value from the object template when TemplateId is present. If these attributes are present in the request, the service may return a <code>BadRequestException</code>. These attributes include: AllowProfileCreation, SourceLastUpdatedTimestampFormat, Fields, and Keys. For example, if AllowProfileCreation is set to true when TemplateId is set, the service may return a <code>BadRequestException</code>.</p>",
"PutProfileObjectTypeResponse$TemplateId": "<p>A unique identifier for the object template.</p>",
"SearchProfilesRequest$DomainName": "<p>The unique name of the domain.</p>",
"SearchProfilesRequest$KeyName": "<p>A searchable identifier of a customer profile. The predefined keys you can use to search include: _account, _profileId, _assetId, _caseId, _orderId, _fullName, _phone, _email, _ctrContactId, _marketoLeadId, _salesforceAccountId, _salesforceContactId, _salesforceAssetId, _zendeskUserId, _zendeskExternalId, _zendeskTicketId, _serviceNowSystemId, _serviceNowIncidentId, _segmentUserId, _shopifyCustomerId, _shopifyOrderId.</p>",
Expand Down Expand Up @@ -382,7 +382,14 @@
"Double": {
"base": null,
"refs": {
"MatchItem$ConfidenceScore": "<p>A number between 0 and 1 that represents the confidence level of assigning profiles to a matching group. A score of 1 likely indicates an exact match.</p>"
"MatchItem$ConfidenceScore": "<p>A number between 0 and 1, where a higher score means higher similarity. Examining match confidence scores lets you distinguish between groups of similar records in which the system is highly confident (which you may decide to merge), groups of similar records about which the system is uncertain (which you may decide to have reviewed by a human), and groups of similar records that the system deems to be unlikely (which you may decide to reject). Given confidence scores vary as per the data input, it should not be used an absolute measure of matching quality.</p>"
}
},
"Double0To1": {
"base": null,
"refs": {
"AutoMerging$MinAllowedConfidenceScoreForMerging": "<p>A number between 0 and 1 that represents the minimum confidence score required for profiles within a matching group to be merged during the auto-merge process. A higher score means higher similarity required to merge profiles. </p>",
"GetAutoMergingPreviewRequest$MinAllowedConfidenceScoreForMerging": "<p>Minimum confidence score required for profiles within a matching group to be merged during the auto-merge process.</p>"
}
},
"ExportingConfig": {
Expand Down
Loading

0 comments on commit d9e211e

Please sign in to comment.