Skip to content

Commit 258626c

Browse files
author
AWS
committed
AWS Artifact Update: This release adds an acceptanceType field to the ReportSummary structure (used in the ListReports API response).
1 parent 9eb058f commit 258626c

File tree

3 files changed

+122
-106
lines changed

3 files changed

+122
-106
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "AWS Artifact",
4+
"contributor": "",
5+
"description": "This release adds an acceptanceType field to the ReportSummary structure (used in the ListReports API response)."
6+
}

services/artifact/src/main/resources/codegen-resources/service-2.json

Lines changed: 111 additions & 106 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",
@@ -345,21 +346,21 @@
345346
"ListReportsResponse":{
346347
"type":"structure",
347348
"members":{
348-
"nextToken":{
349-
"shape":"NextTokenAttribute",
350-
"documentation":"<p>Pagination token to request the next page of resources.</p>"
351-
},
352349
"reports":{
353350
"shape":"ReportsList",
354351
"documentation":"<p>List of report resources.</p>"
352+
},
353+
"nextToken":{
354+
"shape":"NextTokenAttribute",
355+
"documentation":"<p>Pagination token to request the next page of resources.</p>"
355356
}
356357
}
357358
},
358359
"LongStringAttribute":{
359360
"type":"string",
360361
"max":1024,
361362
"min":1,
362-
"pattern":"^[^<>]*$"
363+
"pattern":"[^<>]*"
363364
},
364365
"MaxResultsAttribute":{
365366
"type":"integer",
@@ -404,151 +405,155 @@
404405
"ReportDetail":{
405406
"type":"structure",
406407
"members":{
407-
"acceptanceType":{
408-
"shape":"AcceptanceType",
409-
"documentation":"<p>Acceptance type for report.</p>"
410-
},
411-
"arn":{
412-
"shape":"LongStringAttribute",
413-
"documentation":"<p>ARN for the report resource.</p>"
414-
},
415-
"category":{
416-
"shape":"ShortStringAttribute",
417-
"documentation":"<p>Category for the report resource.</p>"
408+
"id":{
409+
"shape":"ReportId",
410+
"documentation":"<p>Unique resource ID for the report resource.</p>"
418411
},
419-
"companyName":{
412+
"name":{
420413
"shape":"ShortStringAttribute",
421-
"documentation":"<p>Associated company name for the report resource.</p>"
422-
},
423-
"createdAt":{
424-
"shape":"TimestampAttribute",
425-
"documentation":"<p>Timestamp indicating when the report resource was created.</p>"
426-
},
427-
"deletedAt":{
428-
"shape":"TimestampAttribute",
429-
"documentation":"<p>Timestamp indicating when the report resource was deleted.</p>"
414+
"documentation":"<p>Name for the report resource.</p>"
430415
},
431416
"description":{
432417
"shape":"LongStringAttribute",
433418
"documentation":"<p>Description for the report resource.</p>"
434419
},
435-
"id":{
436-
"shape":"ReportId",
437-
"documentation":"<p>Unique resource ID for the report resource.</p>"
438-
},
439-
"lastModifiedAt":{
420+
"periodStart":{
440421
"shape":"TimestampAttribute",
441-
"documentation":"<p>Timestamp indicating when the report resource was last modified.</p>"
442-
},
443-
"name":{
444-
"shape":"ShortStringAttribute",
445-
"documentation":"<p>Name for the report resource.</p>"
422+
"documentation":"<p>Timestamp indicating the report resource effective start.</p>"
446423
},
447424
"periodEnd":{
448425
"shape":"TimestampAttribute",
449426
"documentation":"<p>Timestamp indicating the report resource effective end.</p>"
450427
},
451-
"periodStart":{
428+
"createdAt":{
452429
"shape":"TimestampAttribute",
453-
"documentation":"<p>Timestamp indicating the report resource effective start.</p>"
430+
"documentation":"<p>Timestamp indicating when the report resource was created.</p>"
454431
},
455-
"productName":{
456-
"shape":"ShortStringAttribute",
457-
"documentation":"<p>Associated product name for the report resource.</p>"
432+
"lastModifiedAt":{
433+
"shape":"TimestampAttribute",
434+
"documentation":"<p>Timestamp indicating when the report resource was last modified.</p>"
458435
},
459-
"sequenceNumber":{
460-
"shape":"SequenceNumberAttribute",
461-
"documentation":"<p>Sequence number to enforce optimistic locking.</p>"
436+
"deletedAt":{
437+
"shape":"TimestampAttribute",
438+
"documentation":"<p>Timestamp indicating when the report resource was deleted.</p>"
439+
},
440+
"state":{
441+
"shape":"PublishedState",
442+
"documentation":"<p>Current state of the report resource</p>"
443+
},
444+
"arn":{
445+
"shape":"LongStringAttribute",
446+
"documentation":"<p>ARN for the report resource.</p>"
462447
},
463448
"series":{
464449
"shape":"ShortStringAttribute",
465450
"documentation":"<p>Series for the report resource.</p>"
466451
},
467-
"state":{
468-
"shape":"PublishedState",
469-
"documentation":"<p>Current state of the report resource</p>"
452+
"category":{
453+
"shape":"ShortStringAttribute",
454+
"documentation":"<p>Category for the report resource.</p>"
470455
},
471-
"statusMessage":{
472-
"shape":"StatusMessage",
473-
"documentation":"<p>The message associated with the current upload state.</p>"
456+
"companyName":{
457+
"shape":"ShortStringAttribute",
458+
"documentation":"<p>Associated company name for the report resource.</p>"
459+
},
460+
"productName":{
461+
"shape":"ShortStringAttribute",
462+
"documentation":"<p>Associated product name for the report resource.</p>"
474463
},
475464
"termArn":{
476465
"shape":"LongStringAttribute",
477466
"documentation":"<p>Unique resource ARN for term resource.</p>"
478467
},
468+
"version":{
469+
"shape":"VersionAttribute",
470+
"documentation":"<p>Version for the report resource.</p>"
471+
},
472+
"acceptanceType":{
473+
"shape":"AcceptanceType",
474+
"documentation":"<p>Acceptance type for report.</p>"
475+
},
476+
"sequenceNumber":{
477+
"shape":"SequenceNumberAttribute",
478+
"documentation":"<p>Sequence number to enforce optimistic locking.</p>"
479+
},
479480
"uploadState":{
480481
"shape":"UploadState",
481482
"documentation":"<p>The current state of the document upload.</p>"
482483
},
483-
"version":{
484-
"shape":"VersionAttribute",
485-
"documentation":"<p>Version for the report resource.</p>"
484+
"statusMessage":{
485+
"shape":"StatusMessage",
486+
"documentation":"<p>The message associated with the current upload state.</p>"
486487
}
487488
},
488489
"documentation":"<p>Full detail for report resource metadata.</p>"
489490
},
490491
"ReportId":{
491492
"type":"string",
492-
"pattern":"^report-[a-zA-Z0-9]{16}$"
493+
"pattern":"report-[a-zA-Z0-9]{16}"
493494
},
494495
"ReportSummary":{
495496
"type":"structure",
496497
"members":{
498+
"id":{
499+
"shape":"ReportId",
500+
"documentation":"<p>Unique resource ID for the report resource.</p>"
501+
},
502+
"name":{
503+
"shape":"ShortStringAttribute",
504+
"documentation":"<p>Name for the report resource.</p>"
505+
},
506+
"state":{
507+
"shape":"PublishedState",
508+
"documentation":"<p>Current state of the report resource.</p>"
509+
},
497510
"arn":{
498511
"shape":"LongStringAttribute",
499512
"documentation":"<p>ARN for the report resource.</p>"
500513
},
501-
"category":{
502-
"shape":"ShortStringAttribute",
503-
"documentation":"<p>Category for the report resource.</p>"
514+
"version":{
515+
"shape":"VersionAttribute",
516+
"documentation":"<p>Version for the report resource.</p>"
504517
},
505-
"companyName":{
506-
"shape":"ShortStringAttribute",
507-
"documentation":"<p>Associated company name for the report resource.</p>"
518+
"uploadState":{
519+
"shape":"UploadState",
520+
"documentation":"<p>The current state of the document upload.</p>"
508521
},
509522
"description":{
510523
"shape":"LongStringAttribute",
511524
"documentation":"<p>Description for the report resource.</p>"
512525
},
513-
"id":{
514-
"shape":"ReportId",
515-
"documentation":"<p>Unique resource ID for the report resource.</p>"
516-
},
517-
"name":{
518-
"shape":"ShortStringAttribute",
519-
"documentation":"<p>Name for the report resource.</p>"
526+
"periodStart":{
527+
"shape":"TimestampAttribute",
528+
"documentation":"<p>Timestamp indicating the report resource effective start.</p>"
520529
},
521530
"periodEnd":{
522531
"shape":"TimestampAttribute",
523532
"documentation":"<p>Timestamp indicating the report resource effective end.</p>"
524533
},
525-
"periodStart":{
526-
"shape":"TimestampAttribute",
527-
"documentation":"<p>Timestamp indicating the report resource effective start.</p>"
534+
"series":{
535+
"shape":"ShortStringAttribute",
536+
"documentation":"<p>Series for the report resource.</p>"
528537
},
529-
"productName":{
538+
"category":{
530539
"shape":"ShortStringAttribute",
531-
"documentation":"<p>Associated product name for the report resource.</p>"
540+
"documentation":"<p>Category for the report resource.</p>"
532541
},
533-
"series":{
542+
"companyName":{
534543
"shape":"ShortStringAttribute",
535-
"documentation":"<p>Series for the report resource.</p>"
544+
"documentation":"<p>Associated company name for the report resource.</p>"
536545
},
537-
"state":{
538-
"shape":"PublishedState",
539-
"documentation":"<p>Current state of the report resource.</p>"
546+
"productName":{
547+
"shape":"ShortStringAttribute",
548+
"documentation":"<p>Associated product name for the report resource.</p>"
540549
},
541550
"statusMessage":{
542551
"shape":"StatusMessage",
543552
"documentation":"<p>The message associated with the current upload state.</p>"
544553
},
545-
"uploadState":{
546-
"shape":"UploadState",
547-
"documentation":"<p>The current state of the document upload.</p>"
548-
},
549-
"version":{
550-
"shape":"VersionAttribute",
551-
"documentation":"<p>Version for the report resource.</p>"
554+
"acceptanceType":{
555+
"shape":"AcceptanceType",
556+
"documentation":"<p>Acceptance type for report.</p>"
552557
}
553558
},
554559
"documentation":"<p>Summary for report resource.</p>"
@@ -591,17 +596,13 @@
591596
"type":"structure",
592597
"required":[
593598
"message",
594-
"quotaCode",
595599
"resourceId",
596600
"resourceType",
597-
"serviceCode"
601+
"serviceCode",
602+
"quotaCode"
598603
],
599604
"members":{
600605
"message":{"shape":"String"},
601-
"quotaCode":{
602-
"shape":"String",
603-
"documentation":"<p>Code for the affected quota.</p>"
604-
},
605606
"resourceId":{
606607
"shape":"String",
607608
"documentation":"<p>Identifier of the affected resource.</p>"
@@ -613,6 +614,10 @@
613614
"serviceCode":{
614615
"shape":"String",
615616
"documentation":"<p>Code for the affected service.</p>"
617+
},
618+
"quotaCode":{
619+
"shape":"String",
620+
"documentation":"<p>Code for the affected quota.</p>"
616621
}
617622
},
618623
"documentation":"<p>Request would cause a service quota to be exceeded.</p>",
@@ -626,7 +631,7 @@
626631
"type":"string",
627632
"max":256,
628633
"min":1,
629-
"pattern":"^[a-zA-Z0-9_\\-\\s]*$"
634+
"pattern":"[a-zA-Z0-9_\\-\\s]*"
630635
},
631636
"StatusMessage":{"type":"string"},
632637
"String":{"type":"string"},
@@ -635,6 +640,10 @@
635640
"required":["message"],
636641
"members":{
637642
"message":{"shape":"String"},
643+
"serviceCode":{
644+
"shape":"String",
645+
"documentation":"<p>Code for the affected service.</p>"
646+
},
638647
"quotaCode":{
639648
"shape":"String",
640649
"documentation":"<p>Code for the affected quota.</p>"
@@ -644,10 +653,6 @@
644653
"documentation":"<p>Number of seconds in which the caller can retry the request.</p>",
645654
"location":"header",
646655
"locationName":"Retry-After"
647-
},
648-
"serviceCode":{
649-
"shape":"String",
650-
"documentation":"<p>Code for the affected service.</p>"
651656
}
652657
},
653658
"documentation":"<p>Request was denied due to request throttling.</p>",
@@ -678,14 +683,14 @@
678683
"reason"
679684
],
680685
"members":{
681-
"fieldList":{
682-
"shape":"ValidationExceptionFieldList",
683-
"documentation":"<p>The field that caused the error, if applicable.</p>"
684-
},
685686
"message":{"shape":"String"},
686687
"reason":{
687688
"shape":"ValidationExceptionReason",
688689
"documentation":"<p>Reason the request failed validation.</p>"
690+
},
691+
"fieldList":{
692+
"shape":"ValidationExceptionFieldList",
693+
"documentation":"<p>The field that caused the error, if applicable.</p>"
689694
}
690695
},
691696
"documentation":"<p>Request fails to satisfy the constraints specified by an AWS service.</p>",
@@ -698,17 +703,17 @@
698703
"ValidationExceptionField":{
699704
"type":"structure",
700705
"required":[
701-
"message",
702-
"name"
706+
"name",
707+
"message"
703708
],
704709
"members":{
705-
"message":{
706-
"shape":"String",
707-
"documentation":"<p>Message describing why the field failed validation.</p>"
708-
},
709710
"name":{
710711
"shape":"String",
711712
"documentation":"<p>Name of validation exception.</p>"
713+
},
714+
"message":{
715+
"shape":"String",
716+
"documentation":"<p>Message describing why the field failed validation.</p>"
712717
}
713718
},
714719
"documentation":"<p>Validation exception message and name.</p>"
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+
}

0 commit comments

Comments
 (0)