Skip to content

Commit

Permalink
Merge branch 'version-3' into service-protocol-tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mullermp authored Jun 19, 2024
2 parents 5263338 + f1b85a9 commit e33168a
Show file tree
Hide file tree
Showing 165 changed files with 5,560 additions and 587 deletions.
84 changes: 43 additions & 41 deletions apis/artifact/2018-05-10/api-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@
"version":"2.0",
"metadata":{
"apiVersion":"2018-05-10",
"auth":["aws.auth#sigv4"],
"endpointPrefix":"artifact",
"jsonVersion":"1.1",
"protocol":"rest-json",
"protocols":["rest-json"],
"serviceFullName":"AWS Artifact",
"serviceId":"Artifact",
"signatureVersion":"v4",
Expand Down Expand Up @@ -304,15 +305,15 @@
"ListReportsResponse":{
"type":"structure",
"members":{
"nextToken":{"shape":"NextTokenAttribute"},
"reports":{"shape":"ReportsList"}
"reports":{"shape":"ReportsList"},
"nextToken":{"shape":"NextTokenAttribute"}
}
},
"LongStringAttribute":{
"type":"string",
"max":1024,
"min":1,
"pattern":"^[^<>]*$"
"pattern":"[^<>]*"
},
"MaxResultsAttribute":{
"type":"integer",
Expand Down Expand Up @@ -354,49 +355,50 @@
"ReportDetail":{
"type":"structure",
"members":{
"acceptanceType":{"shape":"AcceptanceType"},
"arn":{"shape":"LongStringAttribute"},
"category":{"shape":"ShortStringAttribute"},
"companyName":{"shape":"ShortStringAttribute"},
"createdAt":{"shape":"TimestampAttribute"},
"deletedAt":{"shape":"TimestampAttribute"},
"description":{"shape":"LongStringAttribute"},
"id":{"shape":"ReportId"},
"lastModifiedAt":{"shape":"TimestampAttribute"},
"name":{"shape":"ShortStringAttribute"},
"periodEnd":{"shape":"TimestampAttribute"},
"description":{"shape":"LongStringAttribute"},
"periodStart":{"shape":"TimestampAttribute"},
"productName":{"shape":"ShortStringAttribute"},
"sequenceNumber":{"shape":"SequenceNumberAttribute"},
"series":{"shape":"ShortStringAttribute"},
"periodEnd":{"shape":"TimestampAttribute"},
"createdAt":{"shape":"TimestampAttribute"},
"lastModifiedAt":{"shape":"TimestampAttribute"},
"deletedAt":{"shape":"TimestampAttribute"},
"state":{"shape":"PublishedState"},
"statusMessage":{"shape":"StatusMessage"},
"arn":{"shape":"LongStringAttribute"},
"series":{"shape":"ShortStringAttribute"},
"category":{"shape":"ShortStringAttribute"},
"companyName":{"shape":"ShortStringAttribute"},
"productName":{"shape":"ShortStringAttribute"},
"termArn":{"shape":"LongStringAttribute"},
"version":{"shape":"VersionAttribute"},
"acceptanceType":{"shape":"AcceptanceType"},
"sequenceNumber":{"shape":"SequenceNumberAttribute"},
"uploadState":{"shape":"UploadState"},
"version":{"shape":"VersionAttribute"}
"statusMessage":{"shape":"StatusMessage"}
}
},
"ReportId":{
"type":"string",
"pattern":"^report-[a-zA-Z0-9]{16}$"
"pattern":"report-[a-zA-Z0-9]{16}"
},
"ReportSummary":{
"type":"structure",
"members":{
"arn":{"shape":"LongStringAttribute"},
"category":{"shape":"ShortStringAttribute"},
"companyName":{"shape":"ShortStringAttribute"},
"description":{"shape":"LongStringAttribute"},
"id":{"shape":"ReportId"},
"name":{"shape":"ShortStringAttribute"},
"periodEnd":{"shape":"TimestampAttribute"},
"state":{"shape":"PublishedState"},
"arn":{"shape":"LongStringAttribute"},
"version":{"shape":"VersionAttribute"},
"uploadState":{"shape":"UploadState"},
"description":{"shape":"LongStringAttribute"},
"periodStart":{"shape":"TimestampAttribute"},
"productName":{"shape":"ShortStringAttribute"},
"periodEnd":{"shape":"TimestampAttribute"},
"series":{"shape":"ShortStringAttribute"},
"state":{"shape":"PublishedState"},
"category":{"shape":"ShortStringAttribute"},
"companyName":{"shape":"ShortStringAttribute"},
"productName":{"shape":"ShortStringAttribute"},
"statusMessage":{"shape":"StatusMessage"},
"uploadState":{"shape":"UploadState"},
"version":{"shape":"VersionAttribute"}
"acceptanceType":{"shape":"AcceptanceType"}
}
},
"ReportsList":{
Expand Down Expand Up @@ -430,17 +432,17 @@
"type":"structure",
"required":[
"message",
"quotaCode",
"resourceId",
"resourceType",
"serviceCode"
"serviceCode",
"quotaCode"
],
"members":{
"message":{"shape":"String"},
"quotaCode":{"shape":"String"},
"resourceId":{"shape":"String"},
"resourceType":{"shape":"String"},
"serviceCode":{"shape":"String"}
"serviceCode":{"shape":"String"},
"quotaCode":{"shape":"String"}
},
"error":{
"httpStatusCode":402,
Expand All @@ -452,7 +454,7 @@
"type":"string",
"max":256,
"min":1,
"pattern":"^[a-zA-Z0-9_\\-\\s]*$"
"pattern":"[a-zA-Z0-9_\\-\\s]*"
},
"StatusMessage":{"type":"string"},
"String":{"type":"string"},
Expand All @@ -461,13 +463,13 @@
"required":["message"],
"members":{
"message":{"shape":"String"},
"serviceCode":{"shape":"String"},
"quotaCode":{"shape":"String"},
"retryAfterSeconds":{
"shape":"Integer",
"location":"header",
"locationName":"Retry-After"
},
"serviceCode":{"shape":"String"}
}
},
"error":{
"httpStatusCode":429,
Expand Down Expand Up @@ -496,9 +498,9 @@
"reason"
],
"members":{
"fieldList":{"shape":"ValidationExceptionFieldList"},
"message":{"shape":"String"},
"reason":{"shape":"ValidationExceptionReason"}
"reason":{"shape":"ValidationExceptionReason"},
"fieldList":{"shape":"ValidationExceptionFieldList"}
},
"error":{
"httpStatusCode":400,
Expand All @@ -509,12 +511,12 @@
"ValidationExceptionField":{
"type":"structure",
"required":[
"message",
"name"
"name",
"message"
],
"members":{
"message":{"shape":"String"},
"name":{"shape":"String"}
"name":{"shape":"String"},
"message":{"shape":"String"}
}
},
"ValidationExceptionFieldList":{
Expand Down
33 changes: 17 additions & 16 deletions apis/artifact/2018-05-10/docs-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
"AcceptanceType": {
"base": null,
"refs": {
"ReportDetail$acceptanceType": "<p>Acceptance type for report.</p>"
"ReportDetail$acceptanceType": "<p>Acceptance type for report.</p>",
"ReportSummary$acceptanceType": "<p>Acceptance type for report.</p>"
}
},
"AccessDeniedException": {
Expand Down Expand Up @@ -110,8 +111,8 @@
"LongStringAttribute": {
"base": null,
"refs": {
"ReportDetail$arn": "<p>ARN for the report resource.</p>",
"ReportDetail$description": "<p>Description for the report resource.</p>",
"ReportDetail$arn": "<p>ARN for the report resource.</p>",
"ReportDetail$termArn": "<p>Unique resource ARN for term resource.</p>",
"ReportSummary$arn": "<p>ARN for the report resource.</p>",
"ReportSummary$description": "<p>Description for the report resource.</p>"
Expand Down Expand Up @@ -202,16 +203,16 @@
"base": null,
"refs": {
"GetReportRequest$termToken": "<p>Unique download token provided by GetTermForReport API.</p>",
"ReportDetail$name": "<p>Name for the report resource.</p>",
"ReportDetail$series": "<p>Series for the report resource.</p>",
"ReportDetail$category": "<p>Category for the report resource.</p>",
"ReportDetail$companyName": "<p>Associated company name for the report resource.</p>",
"ReportDetail$name": "<p>Name for the report resource.</p>",
"ReportDetail$productName": "<p>Associated product name for the report resource.</p>",
"ReportDetail$series": "<p>Series for the report resource.</p>",
"ReportSummary$name": "<p>Name for the report resource.</p>",
"ReportSummary$series": "<p>Series for the report resource.</p>",
"ReportSummary$category": "<p>Category for the report resource.</p>",
"ReportSummary$companyName": "<p>Associated company name for the report resource.</p>",
"ReportSummary$name": "<p>Name for the report resource.</p>",
"ReportSummary$productName": "<p>Associated product name for the report resource.</p>",
"ReportSummary$series": "<p>Series for the report resource.</p>"
"ReportSummary$productName": "<p>Associated product name for the report resource.</p>"
}
},
"StatusMessage": {
Expand All @@ -234,16 +235,16 @@
"ResourceNotFoundException$resourceId": "<p>Identifier of the affected resource.</p>",
"ResourceNotFoundException$resourceType": "<p>Type of the affected resource.</p>",
"ServiceQuotaExceededException$message": null,
"ServiceQuotaExceededException$quotaCode": "<p>Code for the affected quota.</p>",
"ServiceQuotaExceededException$resourceId": "<p>Identifier of the affected resource.</p>",
"ServiceQuotaExceededException$resourceType": "<p>Type of the affected resource.</p>",
"ServiceQuotaExceededException$serviceCode": "<p>Code for the affected service.</p>",
"ServiceQuotaExceededException$quotaCode": "<p>Code for the affected quota.</p>",
"ThrottlingException$message": null,
"ThrottlingException$quotaCode": "<p>Code for the affected quota.</p>",
"ThrottlingException$serviceCode": "<p>Code for the affected service.</p>",
"ThrottlingException$quotaCode": "<p>Code for the affected quota.</p>",
"ValidationException$message": null,
"ValidationExceptionField$message": "<p>Message describing why the field failed validation.</p>",
"ValidationExceptionField$name": "<p>Name of validation exception.</p>"
"ValidationExceptionField$name": "<p>Name of validation exception.</p>",
"ValidationExceptionField$message": "<p>Message describing why the field failed validation.</p>"
}
},
"ThrottlingException": {
Expand All @@ -254,13 +255,13 @@
"TimestampAttribute": {
"base": null,
"refs": {
"ReportDetail$periodStart": "<p>Timestamp indicating the report resource effective start.</p>",
"ReportDetail$periodEnd": "<p>Timestamp indicating the report resource effective end.</p>",
"ReportDetail$createdAt": "<p>Timestamp indicating when the report resource was created.</p>",
"ReportDetail$deletedAt": "<p>Timestamp indicating when the report resource was deleted.</p>",
"ReportDetail$lastModifiedAt": "<p>Timestamp indicating when the report resource was last modified.</p>",
"ReportDetail$periodEnd": "<p>Timestamp indicating the report resource effective end.</p>",
"ReportDetail$periodStart": "<p>Timestamp indicating the report resource effective start.</p>",
"ReportSummary$periodEnd": "<p>Timestamp indicating the report resource effective end.</p>",
"ReportSummary$periodStart": "<p>Timestamp indicating the report resource effective start.</p>"
"ReportDetail$deletedAt": "<p>Timestamp indicating when the report resource was deleted.</p>",
"ReportSummary$periodStart": "<p>Timestamp indicating the report resource effective start.</p>",
"ReportSummary$periodEnd": "<p>Timestamp indicating the report resource effective end.</p>"
}
},
"UploadState": {
Expand Down
113 changes: 113 additions & 0 deletions apis/artifact/2018-05-10/examples-1.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,118 @@
{
"version": "1.0",
"examples": {
"GetAccountSettings": [
{
"input": {
},
"output": {
"accountSettings": {
"notificationSubscriptionStatus": "SUBSCRIBED"
}
},
"description": "Get the current account settings.",
"id": "example-1",
"title": "Invoke GetAccountSettings operation"
}
],
"GetReport": [
{
"input": {
"reportId": "report-1hVFddebtfDNJAUf",
"termToken": "term-token-gPFEGk7CF4wS901w7ppYclt7"
},
"output": {
"documentPresignedUrl": "<Presigned S3 URL>"
},
"description": "The GetReport operation is invoked on a reportId and on a optional version.\n Callers must provide a termToken, which is provided by the GetTermForReport\n operation. If callers do not provide a version, it will default to the\n report's latest version",
"id": "example-1",
"title": "Invoke GetReport operation on the latest version of a specific report"
}
],
"GetReportMetadata": [
{
"input": {
"reportId": "report-bqhUJF3FrQZsMJpb"
},
"output": {
"reportDetails": {
"version": 1,
"name": "Name of report",
"arn": "arn:aws:artifact:us-east-1::report/report-bqhUJF3FrQZsMJpb:1",
"category": "Artifact Category",
"companyName": "AWS",
"createdAt": "2022-05-27T23:17:00.343940Z",
"description": "Description of report",
"id": "report-bqhUJF3FrQZsMJpb",
"periodEnd": "2022-04-01T20:32:04Z",
"periodStart": "2022-04-01T20:32:04Z",
"productName": "Product of report",
"series": "Artifact Series",
"state": "PUBLISHED",
"termArn": "arn:aws:artifact:us-east-1::term/term-gLJGG12NyPtYcmtu:1"
}
},
"description": "The GetReportMetadata operation is invoked on a reportId and on a optional version.\n If callers do not provide a version, it will default to the report's latest version.",
"id": "example-1",
"title": "Invoke GetReportMetadata operation on the latest version of a specific report"
}
],
"GetTermForReport": [
{
"input": {
"reportId": "report-bqhUJF3FrQZsMJpb"
},
"output": {
"documentPresignedUrl": "<Presigned S3 URL>",
"termToken": "term-token-gPFEGk7CF4wS901w7ppYclt7"
},
"description": "The GetTermForReport operation is invoked on a reportId and on a optional version.\n If callers do not provide a version, it will default to the report's latest version.",
"id": "example-1",
"title": "Invoke GetTermForReport operation on the latest version of a specific report"
}
],
"ListReports": [
{
"input": {
},
"output": {
"nextToken": "gPFEGk7CF4wS901w7ppYclt7gPFEGk7CF4wS901w7ppYclt7gPFEGk7CF4wS901w7ppYclt7",
"reports": [
{
"version": 1,
"name": "Name of report",
"arn": "arn:aws:artifact:us-east-1::report/report-bqhUJF3FrQZsMJpb",
"category": "Artifact Category",
"companyName": "AWS",
"description": "Description of report",
"id": "report-bqhUJF3FrQZsMJpb",
"periodEnd": "2022-04-01T20:32:04Z",
"periodStart": "2022-04-01T20:32:04Z",
"productName": "Product of report",
"series": "Artifact Series",
"state": "PUBLISHED"
}
]
},
"description": "The ListReports operation returns a collection of report resources.",
"id": "example-1",
"title": "Invoke ListReports operation"
}
],
"PutAccountSettings": [
{
"input": {
"notificationSubscriptionStatus": "SUBSCRIBED"
},
"output": {
"accountSettings": {
"notificationSubscriptionStatus": "SUBSCRIBED"
}
},
"description": "Set the account settings.",
"id": "example-1",
"title": "Invoke PutAccountSettings operation"
}
]
}
}
5 changes: 5 additions & 0 deletions apis/artifact/2018-05-10/waiters-2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"version": 2,
"waiters": {
}
}
3 changes: 2 additions & 1 deletion apis/athena/2017-05-18/api-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"serviceId":"Athena",
"signatureVersion":"v4",
"targetPrefix":"AmazonAthena",
"uid":"athena-2017-05-18"
"uid":"athena-2017-05-18",
"auth":["aws.auth#sigv4"]
},
"operations":{
"BatchGetNamedQuery":{
Expand Down
Loading

0 comments on commit e33168a

Please sign in to comment.