Skip to content

Commit f1b85a9

Browse files
Updated API models and rebuilt service gems.
1 parent 1d2698a commit f1b85a9

File tree

72 files changed

+1109
-358
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

72 files changed

+1109
-358
lines changed

apis/artifact/2018-05-10/api-2.json

Lines changed: 43 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@
22
"version":"2.0",
33
"metadata":{
44
"apiVersion":"2018-05-10",
5+
"auth":["aws.auth#sigv4"],
56
"endpointPrefix":"artifact",
6-
"jsonVersion":"1.1",
77
"protocol":"rest-json",
8+
"protocols":["rest-json"],
89
"serviceFullName":"AWS Artifact",
910
"serviceId":"Artifact",
1011
"signatureVersion":"v4",
@@ -304,15 +305,15 @@
304305
"ListReportsResponse":{
305306
"type":"structure",
306307
"members":{
307-
"nextToken":{"shape":"NextTokenAttribute"},
308-
"reports":{"shape":"ReportsList"}
308+
"reports":{"shape":"ReportsList"},
309+
"nextToken":{"shape":"NextTokenAttribute"}
309310
}
310311
},
311312
"LongStringAttribute":{
312313
"type":"string",
313314
"max":1024,
314315
"min":1,
315-
"pattern":"^[^<>]*$"
316+
"pattern":"[^<>]*"
316317
},
317318
"MaxResultsAttribute":{
318319
"type":"integer",
@@ -354,49 +355,50 @@
354355
"ReportDetail":{
355356
"type":"structure",
356357
"members":{
357-
"acceptanceType":{"shape":"AcceptanceType"},
358-
"arn":{"shape":"LongStringAttribute"},
359-
"category":{"shape":"ShortStringAttribute"},
360-
"companyName":{"shape":"ShortStringAttribute"},
361-
"createdAt":{"shape":"TimestampAttribute"},
362-
"deletedAt":{"shape":"TimestampAttribute"},
363-
"description":{"shape":"LongStringAttribute"},
364358
"id":{"shape":"ReportId"},
365-
"lastModifiedAt":{"shape":"TimestampAttribute"},
366359
"name":{"shape":"ShortStringAttribute"},
367-
"periodEnd":{"shape":"TimestampAttribute"},
360+
"description":{"shape":"LongStringAttribute"},
368361
"periodStart":{"shape":"TimestampAttribute"},
369-
"productName":{"shape":"ShortStringAttribute"},
370-
"sequenceNumber":{"shape":"SequenceNumberAttribute"},
371-
"series":{"shape":"ShortStringAttribute"},
362+
"periodEnd":{"shape":"TimestampAttribute"},
363+
"createdAt":{"shape":"TimestampAttribute"},
364+
"lastModifiedAt":{"shape":"TimestampAttribute"},
365+
"deletedAt":{"shape":"TimestampAttribute"},
372366
"state":{"shape":"PublishedState"},
373-
"statusMessage":{"shape":"StatusMessage"},
367+
"arn":{"shape":"LongStringAttribute"},
368+
"series":{"shape":"ShortStringAttribute"},
369+
"category":{"shape":"ShortStringAttribute"},
370+
"companyName":{"shape":"ShortStringAttribute"},
371+
"productName":{"shape":"ShortStringAttribute"},
374372
"termArn":{"shape":"LongStringAttribute"},
373+
"version":{"shape":"VersionAttribute"},
374+
"acceptanceType":{"shape":"AcceptanceType"},
375+
"sequenceNumber":{"shape":"SequenceNumberAttribute"},
375376
"uploadState":{"shape":"UploadState"},
376-
"version":{"shape":"VersionAttribute"}
377+
"statusMessage":{"shape":"StatusMessage"}
377378
}
378379
},
379380
"ReportId":{
380381
"type":"string",
381-
"pattern":"^report-[a-zA-Z0-9]{16}$"
382+
"pattern":"report-[a-zA-Z0-9]{16}"
382383
},
383384
"ReportSummary":{
384385
"type":"structure",
385386
"members":{
386-
"arn":{"shape":"LongStringAttribute"},
387-
"category":{"shape":"ShortStringAttribute"},
388-
"companyName":{"shape":"ShortStringAttribute"},
389-
"description":{"shape":"LongStringAttribute"},
390387
"id":{"shape":"ReportId"},
391388
"name":{"shape":"ShortStringAttribute"},
392-
"periodEnd":{"shape":"TimestampAttribute"},
389+
"state":{"shape":"PublishedState"},
390+
"arn":{"shape":"LongStringAttribute"},
391+
"version":{"shape":"VersionAttribute"},
392+
"uploadState":{"shape":"UploadState"},
393+
"description":{"shape":"LongStringAttribute"},
393394
"periodStart":{"shape":"TimestampAttribute"},
394-
"productName":{"shape":"ShortStringAttribute"},
395+
"periodEnd":{"shape":"TimestampAttribute"},
395396
"series":{"shape":"ShortStringAttribute"},
396-
"state":{"shape":"PublishedState"},
397+
"category":{"shape":"ShortStringAttribute"},
398+
"companyName":{"shape":"ShortStringAttribute"},
399+
"productName":{"shape":"ShortStringAttribute"},
397400
"statusMessage":{"shape":"StatusMessage"},
398-
"uploadState":{"shape":"UploadState"},
399-
"version":{"shape":"VersionAttribute"}
401+
"acceptanceType":{"shape":"AcceptanceType"}
400402
}
401403
},
402404
"ReportsList":{
@@ -430,17 +432,17 @@
430432
"type":"structure",
431433
"required":[
432434
"message",
433-
"quotaCode",
434435
"resourceId",
435436
"resourceType",
436-
"serviceCode"
437+
"serviceCode",
438+
"quotaCode"
437439
],
438440
"members":{
439441
"message":{"shape":"String"},
440-
"quotaCode":{"shape":"String"},
441442
"resourceId":{"shape":"String"},
442443
"resourceType":{"shape":"String"},
443-
"serviceCode":{"shape":"String"}
444+
"serviceCode":{"shape":"String"},
445+
"quotaCode":{"shape":"String"}
444446
},
445447
"error":{
446448
"httpStatusCode":402,
@@ -452,7 +454,7 @@
452454
"type":"string",
453455
"max":256,
454456
"min":1,
455-
"pattern":"^[a-zA-Z0-9_\\-\\s]*$"
457+
"pattern":"[a-zA-Z0-9_\\-\\s]*"
456458
},
457459
"StatusMessage":{"type":"string"},
458460
"String":{"type":"string"},
@@ -461,13 +463,13 @@
461463
"required":["message"],
462464
"members":{
463465
"message":{"shape":"String"},
466+
"serviceCode":{"shape":"String"},
464467
"quotaCode":{"shape":"String"},
465468
"retryAfterSeconds":{
466469
"shape":"Integer",
467470
"location":"header",
468471
"locationName":"Retry-After"
469-
},
470-
"serviceCode":{"shape":"String"}
472+
}
471473
},
472474
"error":{
473475
"httpStatusCode":429,
@@ -496,9 +498,9 @@
496498
"reason"
497499
],
498500
"members":{
499-
"fieldList":{"shape":"ValidationExceptionFieldList"},
500501
"message":{"shape":"String"},
501-
"reason":{"shape":"ValidationExceptionReason"}
502+
"reason":{"shape":"ValidationExceptionReason"},
503+
"fieldList":{"shape":"ValidationExceptionFieldList"}
502504
},
503505
"error":{
504506
"httpStatusCode":400,
@@ -509,12 +511,12 @@
509511
"ValidationExceptionField":{
510512
"type":"structure",
511513
"required":[
512-
"message",
513-
"name"
514+
"name",
515+
"message"
514516
],
515517
"members":{
516-
"message":{"shape":"String"},
517-
"name":{"shape":"String"}
518+
"name":{"shape":"String"},
519+
"message":{"shape":"String"}
518520
}
519521
},
520522
"ValidationExceptionFieldList":{

apis/artifact/2018-05-10/docs-2.json

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
"AcceptanceType": {
1414
"base": null,
1515
"refs": {
16-
"ReportDetail$acceptanceType": "<p>Acceptance type for report.</p>"
16+
"ReportDetail$acceptanceType": "<p>Acceptance type for report.</p>",
17+
"ReportSummary$acceptanceType": "<p>Acceptance type for report.</p>"
1718
}
1819
},
1920
"AccessDeniedException": {
@@ -110,8 +111,8 @@
110111
"LongStringAttribute": {
111112
"base": null,
112113
"refs": {
113-
"ReportDetail$arn": "<p>ARN for the report resource.</p>",
114114
"ReportDetail$description": "<p>Description for the report resource.</p>",
115+
"ReportDetail$arn": "<p>ARN for the report resource.</p>",
115116
"ReportDetail$termArn": "<p>Unique resource ARN for term resource.</p>",
116117
"ReportSummary$arn": "<p>ARN for the report resource.</p>",
117118
"ReportSummary$description": "<p>Description for the report resource.</p>"
@@ -202,16 +203,16 @@
202203
"base": null,
203204
"refs": {
204205
"GetReportRequest$termToken": "<p>Unique download token provided by GetTermForReport API.</p>",
206+
"ReportDetail$name": "<p>Name for the report resource.</p>",
207+
"ReportDetail$series": "<p>Series for the report resource.</p>",
205208
"ReportDetail$category": "<p>Category for the report resource.</p>",
206209
"ReportDetail$companyName": "<p>Associated company name for the report resource.</p>",
207-
"ReportDetail$name": "<p>Name for the report resource.</p>",
208210
"ReportDetail$productName": "<p>Associated product name for the report resource.</p>",
209-
"ReportDetail$series": "<p>Series for the report resource.</p>",
211+
"ReportSummary$name": "<p>Name for the report resource.</p>",
212+
"ReportSummary$series": "<p>Series for the report resource.</p>",
210213
"ReportSummary$category": "<p>Category for the report resource.</p>",
211214
"ReportSummary$companyName": "<p>Associated company name for the report resource.</p>",
212-
"ReportSummary$name": "<p>Name for the report resource.</p>",
213-
"ReportSummary$productName": "<p>Associated product name for the report resource.</p>",
214-
"ReportSummary$series": "<p>Series for the report resource.</p>"
215+
"ReportSummary$productName": "<p>Associated product name for the report resource.</p>"
215216
}
216217
},
217218
"StatusMessage": {
@@ -234,16 +235,16 @@
234235
"ResourceNotFoundException$resourceId": "<p>Identifier of the affected resource.</p>",
235236
"ResourceNotFoundException$resourceType": "<p>Type of the affected resource.</p>",
236237
"ServiceQuotaExceededException$message": null,
237-
"ServiceQuotaExceededException$quotaCode": "<p>Code for the affected quota.</p>",
238238
"ServiceQuotaExceededException$resourceId": "<p>Identifier of the affected resource.</p>",
239239
"ServiceQuotaExceededException$resourceType": "<p>Type of the affected resource.</p>",
240240
"ServiceQuotaExceededException$serviceCode": "<p>Code for the affected service.</p>",
241+
"ServiceQuotaExceededException$quotaCode": "<p>Code for the affected quota.</p>",
241242
"ThrottlingException$message": null,
242-
"ThrottlingException$quotaCode": "<p>Code for the affected quota.</p>",
243243
"ThrottlingException$serviceCode": "<p>Code for the affected service.</p>",
244+
"ThrottlingException$quotaCode": "<p>Code for the affected quota.</p>",
244245
"ValidationException$message": null,
245-
"ValidationExceptionField$message": "<p>Message describing why the field failed validation.</p>",
246-
"ValidationExceptionField$name": "<p>Name of validation exception.</p>"
246+
"ValidationExceptionField$name": "<p>Name of validation exception.</p>",
247+
"ValidationExceptionField$message": "<p>Message describing why the field failed validation.</p>"
247248
}
248249
},
249250
"ThrottlingException": {
@@ -254,13 +255,13 @@
254255
"TimestampAttribute": {
255256
"base": null,
256257
"refs": {
258+
"ReportDetail$periodStart": "<p>Timestamp indicating the report resource effective start.</p>",
259+
"ReportDetail$periodEnd": "<p>Timestamp indicating the report resource effective end.</p>",
257260
"ReportDetail$createdAt": "<p>Timestamp indicating when the report resource was created.</p>",
258-
"ReportDetail$deletedAt": "<p>Timestamp indicating when the report resource was deleted.</p>",
259261
"ReportDetail$lastModifiedAt": "<p>Timestamp indicating when the report resource was last modified.</p>",
260-
"ReportDetail$periodEnd": "<p>Timestamp indicating the report resource effective end.</p>",
261-
"ReportDetail$periodStart": "<p>Timestamp indicating the report resource effective start.</p>",
262-
"ReportSummary$periodEnd": "<p>Timestamp indicating the report resource effective end.</p>",
263-
"ReportSummary$periodStart": "<p>Timestamp indicating the report resource effective start.</p>"
262+
"ReportDetail$deletedAt": "<p>Timestamp indicating when the report resource was deleted.</p>",
263+
"ReportSummary$periodStart": "<p>Timestamp indicating the report resource effective start.</p>",
264+
"ReportSummary$periodEnd": "<p>Timestamp indicating the report resource effective end.</p>"
264265
}
265266
},
266267
"UploadState": {
Lines changed: 113 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,118 @@
11
{
22
"version": "1.0",
33
"examples": {
4+
"GetAccountSettings": [
5+
{
6+
"input": {
7+
},
8+
"output": {
9+
"accountSettings": {
10+
"notificationSubscriptionStatus": "SUBSCRIBED"
11+
}
12+
},
13+
"description": "Get the current account settings.",
14+
"id": "example-1",
15+
"title": "Invoke GetAccountSettings operation"
16+
}
17+
],
18+
"GetReport": [
19+
{
20+
"input": {
21+
"reportId": "report-1hVFddebtfDNJAUf",
22+
"termToken": "term-token-gPFEGk7CF4wS901w7ppYclt7"
23+
},
24+
"output": {
25+
"documentPresignedUrl": "<Presigned S3 URL>"
26+
},
27+
"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",
28+
"id": "example-1",
29+
"title": "Invoke GetReport operation on the latest version of a specific report"
30+
}
31+
],
32+
"GetReportMetadata": [
33+
{
34+
"input": {
35+
"reportId": "report-bqhUJF3FrQZsMJpb"
36+
},
37+
"output": {
38+
"reportDetails": {
39+
"version": 1,
40+
"name": "Name of report",
41+
"arn": "arn:aws:artifact:us-east-1::report/report-bqhUJF3FrQZsMJpb:1",
42+
"category": "Artifact Category",
43+
"companyName": "AWS",
44+
"createdAt": "2022-05-27T23:17:00.343940Z",
45+
"description": "Description of report",
46+
"id": "report-bqhUJF3FrQZsMJpb",
47+
"periodEnd": "2022-04-01T20:32:04Z",
48+
"periodStart": "2022-04-01T20:32:04Z",
49+
"productName": "Product of report",
50+
"series": "Artifact Series",
51+
"state": "PUBLISHED",
52+
"termArn": "arn:aws:artifact:us-east-1::term/term-gLJGG12NyPtYcmtu:1"
53+
}
54+
},
55+
"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.",
56+
"id": "example-1",
57+
"title": "Invoke GetReportMetadata operation on the latest version of a specific report"
58+
}
59+
],
60+
"GetTermForReport": [
61+
{
62+
"input": {
63+
"reportId": "report-bqhUJF3FrQZsMJpb"
64+
},
65+
"output": {
66+
"documentPresignedUrl": "<Presigned S3 URL>",
67+
"termToken": "term-token-gPFEGk7CF4wS901w7ppYclt7"
68+
},
69+
"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.",
70+
"id": "example-1",
71+
"title": "Invoke GetTermForReport operation on the latest version of a specific report"
72+
}
73+
],
74+
"ListReports": [
75+
{
76+
"input": {
77+
},
78+
"output": {
79+
"nextToken": "gPFEGk7CF4wS901w7ppYclt7gPFEGk7CF4wS901w7ppYclt7gPFEGk7CF4wS901w7ppYclt7",
80+
"reports": [
81+
{
82+
"version": 1,
83+
"name": "Name of report",
84+
"arn": "arn:aws:artifact:us-east-1::report/report-bqhUJF3FrQZsMJpb",
85+
"category": "Artifact Category",
86+
"companyName": "AWS",
87+
"description": "Description of report",
88+
"id": "report-bqhUJF3FrQZsMJpb",
89+
"periodEnd": "2022-04-01T20:32:04Z",
90+
"periodStart": "2022-04-01T20:32:04Z",
91+
"productName": "Product of report",
92+
"series": "Artifact Series",
93+
"state": "PUBLISHED"
94+
}
95+
]
96+
},
97+
"description": "The ListReports operation returns a collection of report resources.",
98+
"id": "example-1",
99+
"title": "Invoke ListReports operation"
100+
}
101+
],
102+
"PutAccountSettings": [
103+
{
104+
"input": {
105+
"notificationSubscriptionStatus": "SUBSCRIBED"
106+
},
107+
"output": {
108+
"accountSettings": {
109+
"notificationSubscriptionStatus": "SUBSCRIBED"
110+
}
111+
},
112+
"description": "Set the account settings.",
113+
"id": "example-1",
114+
"title": "Invoke PutAccountSettings operation"
115+
}
116+
]
4117
}
5118
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"version": 2,
3+
"waiters": {
4+
}
5+
}

apis/athena/2017-05-18/api-2.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
"serviceId":"Athena",
1111
"signatureVersion":"v4",
1212
"targetPrefix":"AmazonAthena",
13-
"uid":"athena-2017-05-18"
13+
"uid":"athena-2017-05-18",
14+
"auth":["aws.auth#sigv4"]
1415
},
1516
"operations":{
1617
"BatchGetNamedQuery":{

0 commit comments

Comments
 (0)