aws-sdk-artifact 1.3.0 → 1.4.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 555e4110d9524e35a82ce82b507af67e3b6f7b8c8e854f6b6e31ba3f77c99248
4
- data.tar.gz: c030f98c72a0859c93f82b5e1c6f415794288dc9d53e0246552f38d2668a8edd
3
+ metadata.gz: 22b647beaea538ae1a7f836f3924004f71abbcf9c902803fbb9b47555fb4b6cb
4
+ data.tar.gz: 150f5a3a65542e811cb7ccc346c44effad1593f3f6534e9a34b587b075e53fe3
5
5
  SHA512:
6
- metadata.gz: d7fc7e7966cca664591c6a6f60a36530d55ec9184824f4b2d997e629f5c9a0a93f1ed162382004955e80e4612817afdac2ac58dee6a4e32d04a9c664add5af08
7
- data.tar.gz: e6c65b7c7d2c99f79380ddd6366b5e4d12d663e4b340317d21a4f13cecf5d7cee85e53ad543a40b9a1b0e143003dcbc7653fffd61fad505cb7817b232b2e46a8
6
+ metadata.gz: '028377a3d2a085bbce0744700e4a48f50d202212ea1edeae4ab94556a0b27536455ad664990fb029447dbefb271440ede585f8a5d55b4e7c6410e291198d7008'
7
+ data.tar.gz: 47157f3be0def8f12935804c1169f3d1841bf457f4367106b652068ac434add625a0b6d3665f0e36efad5b824e76e92c6227c800e81ed0bb5fa9a1eaf270593a
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.4.0 (2024-06-19)
5
+ ------------------
6
+
7
+ * Feature - This release adds an acceptanceType field to the ReportSummary structure (used in the ListReports API response).
8
+
4
9
  1.3.0 (2024-06-05)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.3.0
1
+ 1.4.0
@@ -419,6 +419,21 @@ module Aws::Artifact
419
419
  #
420
420
  # * {Types::GetAccountSettingsResponse#account_settings #account_settings} => Types::AccountSettings
421
421
  #
422
+ #
423
+ # @example Example: Invoke GetAccountSettings operation
424
+ #
425
+ # # Get the current account settings.
426
+ #
427
+ # resp = client.get_account_settings({
428
+ # })
429
+ #
430
+ # resp.to_h outputs the following:
431
+ # {
432
+ # account_settings: {
433
+ # notification_subscription_status: "SUBSCRIBED",
434
+ # },
435
+ # }
436
+ #
422
437
  # @example Response structure
423
438
  #
424
439
  # resp.account_settings.notification_subscription_status #=> String, one of "SUBSCRIBED", "NOT_SUBSCRIBED"
@@ -447,6 +462,24 @@ module Aws::Artifact
447
462
  #
448
463
  # * {Types::GetReportResponse#document_presigned_url #document_presigned_url} => String
449
464
  #
465
+ #
466
+ # @example Example: Invoke GetReport operation on the latest version of a specific report
467
+ #
468
+ # # The GetReport operation is invoked on a reportId and on a optional version.
469
+ # # Callers must provide a termToken, which is provided by the GetTermForReport
470
+ # # operation. If callers do not provide a version, it will default to the
471
+ # # report's latest version
472
+ #
473
+ # resp = client.get_report({
474
+ # report_id: "report-1hVFddebtfDNJAUf",
475
+ # term_token: "term-token-gPFEGk7CF4wS901w7ppYclt7",
476
+ # })
477
+ #
478
+ # resp.to_h outputs the following:
479
+ # {
480
+ # document_presigned_url: "<Presigned S3 URL>",
481
+ # }
482
+ #
450
483
  # @example Request syntax with placeholder values
451
484
  #
452
485
  # resp = client.get_report({
@@ -480,6 +513,36 @@ module Aws::Artifact
480
513
  #
481
514
  # * {Types::GetReportMetadataResponse#report_details #report_details} => Types::ReportDetail
482
515
  #
516
+ #
517
+ # @example Example: Invoke GetReportMetadata operation on the latest version of a specific report
518
+ #
519
+ # # The GetReportMetadata operation is invoked on a reportId and on a optional version.
520
+ # # If callers do not provide a version, it will default to the report's latest version.
521
+ #
522
+ # resp = client.get_report_metadata({
523
+ # report_id: "report-bqhUJF3FrQZsMJpb",
524
+ # })
525
+ #
526
+ # resp.to_h outputs the following:
527
+ # {
528
+ # report_details: {
529
+ # version: 1,
530
+ # name: "Name of report",
531
+ # arn: "arn:aws:artifact:us-east-1::report/report-bqhUJF3FrQZsMJpb:1",
532
+ # category: "Artifact Category",
533
+ # company_name: "AWS",
534
+ # created_at: Time.parse("2022-05-27T23:17:00.343940Z"),
535
+ # description: "Description of report",
536
+ # id: "report-bqhUJF3FrQZsMJpb",
537
+ # period_end: Time.parse("2022-04-01T20:32:04Z"),
538
+ # period_start: Time.parse("2022-04-01T20:32:04Z"),
539
+ # product_name: "Product of report",
540
+ # series: "Artifact Series",
541
+ # state: "PUBLISHED",
542
+ # term_arn: "arn:aws:artifact:us-east-1::term/term-gLJGG12NyPtYcmtu:1",
543
+ # },
544
+ # }
545
+ #
483
546
  # @example Request syntax with placeholder values
484
547
  #
485
548
  # resp = client.get_report_metadata({
@@ -489,26 +552,26 @@ module Aws::Artifact
489
552
  #
490
553
  # @example Response structure
491
554
  #
492
- # resp.report_details.acceptance_type #=> String, one of "PASSTHROUGH", "EXPLICIT"
493
- # resp.report_details.arn #=> String
494
- # resp.report_details.category #=> String
495
- # resp.report_details.company_name #=> String
496
- # resp.report_details.created_at #=> Time
497
- # resp.report_details.deleted_at #=> Time
498
- # resp.report_details.description #=> String
499
555
  # resp.report_details.id #=> String
500
- # resp.report_details.last_modified_at #=> Time
501
556
  # resp.report_details.name #=> String
502
- # resp.report_details.period_end #=> Time
557
+ # resp.report_details.description #=> String
503
558
  # resp.report_details.period_start #=> Time
504
- # resp.report_details.product_name #=> String
505
- # resp.report_details.sequence_number #=> Integer
506
- # resp.report_details.series #=> String
559
+ # resp.report_details.period_end #=> Time
560
+ # resp.report_details.created_at #=> Time
561
+ # resp.report_details.last_modified_at #=> Time
562
+ # resp.report_details.deleted_at #=> Time
507
563
  # resp.report_details.state #=> String, one of "PUBLISHED", "UNPUBLISHED"
508
- # resp.report_details.status_message #=> String
564
+ # resp.report_details.arn #=> String
565
+ # resp.report_details.series #=> String
566
+ # resp.report_details.category #=> String
567
+ # resp.report_details.company_name #=> String
568
+ # resp.report_details.product_name #=> String
509
569
  # resp.report_details.term_arn #=> String
510
- # resp.report_details.upload_state #=> String, one of "PROCESSING", "COMPLETE", "FAILED", "FAULT"
511
570
  # resp.report_details.version #=> Integer
571
+ # resp.report_details.acceptance_type #=> String, one of "PASSTHROUGH", "EXPLICIT"
572
+ # resp.report_details.sequence_number #=> Integer
573
+ # resp.report_details.upload_state #=> String, one of "PROCESSING", "COMPLETE", "FAILED", "FAULT"
574
+ # resp.report_details.status_message #=> String
512
575
  #
513
576
  # @see http://docs.aws.amazon.com/goto/WebAPI/artifact-2018-05-10/GetReportMetadata AWS API Documentation
514
577
  #
@@ -532,6 +595,22 @@ module Aws::Artifact
532
595
  # * {Types::GetTermForReportResponse#document_presigned_url #document_presigned_url} => String
533
596
  # * {Types::GetTermForReportResponse#term_token #term_token} => String
534
597
  #
598
+ #
599
+ # @example Example: Invoke GetTermForReport operation on the latest version of a specific report
600
+ #
601
+ # # The GetTermForReport operation is invoked on a reportId and on a optional version.
602
+ # # If callers do not provide a version, it will default to the report's latest version.
603
+ #
604
+ # resp = client.get_term_for_report({
605
+ # report_id: "report-bqhUJF3FrQZsMJpb",
606
+ # })
607
+ #
608
+ # resp.to_h outputs the following:
609
+ # {
610
+ # document_presigned_url: "<Presigned S3 URL>",
611
+ # term_token: "term-token-gPFEGk7CF4wS901w7ppYclt7",
612
+ # }
613
+ #
535
614
  # @example Request syntax with placeholder values
536
615
  #
537
616
  # resp = client.get_term_for_report({
@@ -563,11 +642,40 @@ module Aws::Artifact
563
642
  #
564
643
  # @return [Types::ListReportsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
565
644
  #
566
- # * {Types::ListReportsResponse#next_token #next_token} => String
567
645
  # * {Types::ListReportsResponse#reports #reports} => Array&lt;Types::ReportSummary&gt;
646
+ # * {Types::ListReportsResponse#next_token #next_token} => String
568
647
  #
569
648
  # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
570
649
  #
650
+ #
651
+ # @example Example: Invoke ListReports operation
652
+ #
653
+ # # The ListReports operation returns a collection of report resources.
654
+ #
655
+ # resp = client.list_reports({
656
+ # })
657
+ #
658
+ # resp.to_h outputs the following:
659
+ # {
660
+ # next_token: "gPFEGk7CF4wS901w7ppYclt7gPFEGk7CF4wS901w7ppYclt7gPFEGk7CF4wS901w7ppYclt7",
661
+ # reports: [
662
+ # {
663
+ # version: 1,
664
+ # name: "Name of report",
665
+ # arn: "arn:aws:artifact:us-east-1::report/report-bqhUJF3FrQZsMJpb",
666
+ # category: "Artifact Category",
667
+ # company_name: "AWS",
668
+ # description: "Description of report",
669
+ # id: "report-bqhUJF3FrQZsMJpb",
670
+ # period_end: Time.parse("2022-04-01T20:32:04Z"),
671
+ # period_start: Time.parse("2022-04-01T20:32:04Z"),
672
+ # product_name: "Product of report",
673
+ # series: "Artifact Series",
674
+ # state: "PUBLISHED",
675
+ # },
676
+ # ],
677
+ # }
678
+ #
571
679
  # @example Request syntax with placeholder values
572
680
  #
573
681
  # resp = client.list_reports({
@@ -577,22 +685,23 @@ module Aws::Artifact
577
685
  #
578
686
  # @example Response structure
579
687
  #
580
- # resp.next_token #=> String
581
688
  # resp.reports #=> Array
582
- # resp.reports[0].arn #=> String
583
- # resp.reports[0].category #=> String
584
- # resp.reports[0].company_name #=> String
585
- # resp.reports[0].description #=> String
586
689
  # resp.reports[0].id #=> String
587
690
  # resp.reports[0].name #=> String
588
- # resp.reports[0].period_end #=> Time
691
+ # resp.reports[0].state #=> String, one of "PUBLISHED", "UNPUBLISHED"
692
+ # resp.reports[0].arn #=> String
693
+ # resp.reports[0].version #=> Integer
694
+ # resp.reports[0].upload_state #=> String, one of "PROCESSING", "COMPLETE", "FAILED", "FAULT"
695
+ # resp.reports[0].description #=> String
589
696
  # resp.reports[0].period_start #=> Time
590
- # resp.reports[0].product_name #=> String
697
+ # resp.reports[0].period_end #=> Time
591
698
  # resp.reports[0].series #=> String
592
- # resp.reports[0].state #=> String, one of "PUBLISHED", "UNPUBLISHED"
699
+ # resp.reports[0].category #=> String
700
+ # resp.reports[0].company_name #=> String
701
+ # resp.reports[0].product_name #=> String
593
702
  # resp.reports[0].status_message #=> String
594
- # resp.reports[0].upload_state #=> String, one of "PROCESSING", "COMPLETE", "FAILED", "FAULT"
595
- # resp.reports[0].version #=> Integer
703
+ # resp.reports[0].acceptance_type #=> String, one of "PASSTHROUGH", "EXPLICIT"
704
+ # resp.next_token #=> String
596
705
  #
597
706
  # @see http://docs.aws.amazon.com/goto/WebAPI/artifact-2018-05-10/ListReports AWS API Documentation
598
707
  #
@@ -612,6 +721,22 @@ module Aws::Artifact
612
721
  #
613
722
  # * {Types::PutAccountSettingsResponse#account_settings #account_settings} => Types::AccountSettings
614
723
  #
724
+ #
725
+ # @example Example: Invoke PutAccountSettings operation
726
+ #
727
+ # # Set the account settings.
728
+ #
729
+ # resp = client.put_account_settings({
730
+ # notification_subscription_status: "SUBSCRIBED",
731
+ # })
732
+ #
733
+ # resp.to_h outputs the following:
734
+ # {
735
+ # account_settings: {
736
+ # notification_subscription_status: "SUBSCRIBED",
737
+ # },
738
+ # }
739
+ #
615
740
  # @example Request syntax with placeholder values
616
741
  #
617
742
  # resp = client.put_account_settings({
@@ -644,7 +769,7 @@ module Aws::Artifact
644
769
  params: params,
645
770
  config: config)
646
771
  context[:gem_name] = 'aws-sdk-artifact'
647
- context[:gem_version] = '1.3.0'
772
+ context[:gem_version] = '1.4.0'
648
773
  Seahorse::Client::Request.new(handlers, context)
649
774
  end
650
775
 
@@ -104,8 +104,8 @@ module Aws::Artifact
104
104
  ListReportsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextTokenAttribute, location: "querystring", location_name: "nextToken"))
105
105
  ListReportsRequest.struct_class = Types::ListReportsRequest
106
106
 
107
- ListReportsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextTokenAttribute, location_name: "nextToken"))
108
107
  ListReportsResponse.add_member(:reports, Shapes::ShapeRef.new(shape: ReportsList, location_name: "reports"))
108
+ ListReportsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextTokenAttribute, location_name: "nextToken"))
109
109
  ListReportsResponse.struct_class = Types::ListReportsResponse
110
110
 
111
111
  PutAccountSettingsRequest.add_member(:notification_subscription_status, Shapes::ShapeRef.new(shape: NotificationSubscriptionStatus, location_name: "notificationSubscriptionStatus"))
@@ -114,42 +114,43 @@ module Aws::Artifact
114
114
  PutAccountSettingsResponse.add_member(:account_settings, Shapes::ShapeRef.new(shape: AccountSettings, location_name: "accountSettings"))
115
115
  PutAccountSettingsResponse.struct_class = Types::PutAccountSettingsResponse
116
116
 
117
- ReportDetail.add_member(:acceptance_type, Shapes::ShapeRef.new(shape: AcceptanceType, location_name: "acceptanceType"))
118
- ReportDetail.add_member(:arn, Shapes::ShapeRef.new(shape: LongStringAttribute, location_name: "arn"))
119
- ReportDetail.add_member(:category, Shapes::ShapeRef.new(shape: ShortStringAttribute, location_name: "category"))
120
- ReportDetail.add_member(:company_name, Shapes::ShapeRef.new(shape: ShortStringAttribute, location_name: "companyName"))
121
- ReportDetail.add_member(:created_at, Shapes::ShapeRef.new(shape: TimestampAttribute, location_name: "createdAt"))
122
- ReportDetail.add_member(:deleted_at, Shapes::ShapeRef.new(shape: TimestampAttribute, location_name: "deletedAt"))
123
- ReportDetail.add_member(:description, Shapes::ShapeRef.new(shape: LongStringAttribute, location_name: "description"))
124
117
  ReportDetail.add_member(:id, Shapes::ShapeRef.new(shape: ReportId, location_name: "id"))
125
- ReportDetail.add_member(:last_modified_at, Shapes::ShapeRef.new(shape: TimestampAttribute, location_name: "lastModifiedAt"))
126
118
  ReportDetail.add_member(:name, Shapes::ShapeRef.new(shape: ShortStringAttribute, location_name: "name"))
127
- ReportDetail.add_member(:period_end, Shapes::ShapeRef.new(shape: TimestampAttribute, location_name: "periodEnd"))
119
+ ReportDetail.add_member(:description, Shapes::ShapeRef.new(shape: LongStringAttribute, location_name: "description"))
128
120
  ReportDetail.add_member(:period_start, Shapes::ShapeRef.new(shape: TimestampAttribute, location_name: "periodStart"))
129
- ReportDetail.add_member(:product_name, Shapes::ShapeRef.new(shape: ShortStringAttribute, location_name: "productName"))
130
- ReportDetail.add_member(:sequence_number, Shapes::ShapeRef.new(shape: SequenceNumberAttribute, location_name: "sequenceNumber"))
131
- ReportDetail.add_member(:series, Shapes::ShapeRef.new(shape: ShortStringAttribute, location_name: "series"))
121
+ ReportDetail.add_member(:period_end, Shapes::ShapeRef.new(shape: TimestampAttribute, location_name: "periodEnd"))
122
+ ReportDetail.add_member(:created_at, Shapes::ShapeRef.new(shape: TimestampAttribute, location_name: "createdAt"))
123
+ ReportDetail.add_member(:last_modified_at, Shapes::ShapeRef.new(shape: TimestampAttribute, location_name: "lastModifiedAt"))
124
+ ReportDetail.add_member(:deleted_at, Shapes::ShapeRef.new(shape: TimestampAttribute, location_name: "deletedAt"))
132
125
  ReportDetail.add_member(:state, Shapes::ShapeRef.new(shape: PublishedState, location_name: "state"))
133
- ReportDetail.add_member(:status_message, Shapes::ShapeRef.new(shape: StatusMessage, location_name: "statusMessage"))
126
+ ReportDetail.add_member(:arn, Shapes::ShapeRef.new(shape: LongStringAttribute, location_name: "arn"))
127
+ ReportDetail.add_member(:series, Shapes::ShapeRef.new(shape: ShortStringAttribute, location_name: "series"))
128
+ ReportDetail.add_member(:category, Shapes::ShapeRef.new(shape: ShortStringAttribute, location_name: "category"))
129
+ ReportDetail.add_member(:company_name, Shapes::ShapeRef.new(shape: ShortStringAttribute, location_name: "companyName"))
130
+ ReportDetail.add_member(:product_name, Shapes::ShapeRef.new(shape: ShortStringAttribute, location_name: "productName"))
134
131
  ReportDetail.add_member(:term_arn, Shapes::ShapeRef.new(shape: LongStringAttribute, location_name: "termArn"))
135
- ReportDetail.add_member(:upload_state, Shapes::ShapeRef.new(shape: UploadState, location_name: "uploadState"))
136
132
  ReportDetail.add_member(:version, Shapes::ShapeRef.new(shape: VersionAttribute, location_name: "version"))
133
+ ReportDetail.add_member(:acceptance_type, Shapes::ShapeRef.new(shape: AcceptanceType, location_name: "acceptanceType"))
134
+ ReportDetail.add_member(:sequence_number, Shapes::ShapeRef.new(shape: SequenceNumberAttribute, location_name: "sequenceNumber"))
135
+ ReportDetail.add_member(:upload_state, Shapes::ShapeRef.new(shape: UploadState, location_name: "uploadState"))
136
+ ReportDetail.add_member(:status_message, Shapes::ShapeRef.new(shape: StatusMessage, location_name: "statusMessage"))
137
137
  ReportDetail.struct_class = Types::ReportDetail
138
138
 
139
- ReportSummary.add_member(:arn, Shapes::ShapeRef.new(shape: LongStringAttribute, location_name: "arn"))
140
- ReportSummary.add_member(:category, Shapes::ShapeRef.new(shape: ShortStringAttribute, location_name: "category"))
141
- ReportSummary.add_member(:company_name, Shapes::ShapeRef.new(shape: ShortStringAttribute, location_name: "companyName"))
142
- ReportSummary.add_member(:description, Shapes::ShapeRef.new(shape: LongStringAttribute, location_name: "description"))
143
139
  ReportSummary.add_member(:id, Shapes::ShapeRef.new(shape: ReportId, location_name: "id"))
144
140
  ReportSummary.add_member(:name, Shapes::ShapeRef.new(shape: ShortStringAttribute, location_name: "name"))
145
- ReportSummary.add_member(:period_end, Shapes::ShapeRef.new(shape: TimestampAttribute, location_name: "periodEnd"))
141
+ ReportSummary.add_member(:state, Shapes::ShapeRef.new(shape: PublishedState, location_name: "state"))
142
+ ReportSummary.add_member(:arn, Shapes::ShapeRef.new(shape: LongStringAttribute, location_name: "arn"))
143
+ ReportSummary.add_member(:version, Shapes::ShapeRef.new(shape: VersionAttribute, location_name: "version"))
144
+ ReportSummary.add_member(:upload_state, Shapes::ShapeRef.new(shape: UploadState, location_name: "uploadState"))
145
+ ReportSummary.add_member(:description, Shapes::ShapeRef.new(shape: LongStringAttribute, location_name: "description"))
146
146
  ReportSummary.add_member(:period_start, Shapes::ShapeRef.new(shape: TimestampAttribute, location_name: "periodStart"))
147
- ReportSummary.add_member(:product_name, Shapes::ShapeRef.new(shape: ShortStringAttribute, location_name: "productName"))
147
+ ReportSummary.add_member(:period_end, Shapes::ShapeRef.new(shape: TimestampAttribute, location_name: "periodEnd"))
148
148
  ReportSummary.add_member(:series, Shapes::ShapeRef.new(shape: ShortStringAttribute, location_name: "series"))
149
- ReportSummary.add_member(:state, Shapes::ShapeRef.new(shape: PublishedState, location_name: "state"))
149
+ ReportSummary.add_member(:category, Shapes::ShapeRef.new(shape: ShortStringAttribute, location_name: "category"))
150
+ ReportSummary.add_member(:company_name, Shapes::ShapeRef.new(shape: ShortStringAttribute, location_name: "companyName"))
151
+ ReportSummary.add_member(:product_name, Shapes::ShapeRef.new(shape: ShortStringAttribute, location_name: "productName"))
150
152
  ReportSummary.add_member(:status_message, Shapes::ShapeRef.new(shape: StatusMessage, location_name: "statusMessage"))
151
- ReportSummary.add_member(:upload_state, Shapes::ShapeRef.new(shape: UploadState, location_name: "uploadState"))
152
- ReportSummary.add_member(:version, Shapes::ShapeRef.new(shape: VersionAttribute, location_name: "version"))
153
+ ReportSummary.add_member(:acceptance_type, Shapes::ShapeRef.new(shape: AcceptanceType, location_name: "acceptanceType"))
153
154
  ReportSummary.struct_class = Types::ReportSummary
154
155
 
155
156
  ReportsList.member = Shapes::ShapeRef.new(shape: ReportSummary)
@@ -160,25 +161,25 @@ module Aws::Artifact
160
161
  ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
161
162
 
162
163
  ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
163
- ServiceQuotaExceededException.add_member(:quota_code, Shapes::ShapeRef.new(shape: String, required: true, location_name: "quotaCode"))
164
164
  ServiceQuotaExceededException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceId"))
165
165
  ServiceQuotaExceededException.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceType"))
166
166
  ServiceQuotaExceededException.add_member(:service_code, Shapes::ShapeRef.new(shape: String, required: true, location_name: "serviceCode"))
167
+ ServiceQuotaExceededException.add_member(:quota_code, Shapes::ShapeRef.new(shape: String, required: true, location_name: "quotaCode"))
167
168
  ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
168
169
 
169
170
  ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
171
+ ThrottlingException.add_member(:service_code, Shapes::ShapeRef.new(shape: String, location_name: "serviceCode"))
170
172
  ThrottlingException.add_member(:quota_code, Shapes::ShapeRef.new(shape: String, location_name: "quotaCode"))
171
173
  ThrottlingException.add_member(:retry_after_seconds, Shapes::ShapeRef.new(shape: Integer, location: "header", location_name: "Retry-After"))
172
- ThrottlingException.add_member(:service_code, Shapes::ShapeRef.new(shape: String, location_name: "serviceCode"))
173
174
  ThrottlingException.struct_class = Types::ThrottlingException
174
175
 
175
- ValidationException.add_member(:field_list, Shapes::ShapeRef.new(shape: ValidationExceptionFieldList, location_name: "fieldList"))
176
176
  ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
177
177
  ValidationException.add_member(:reason, Shapes::ShapeRef.new(shape: ValidationExceptionReason, required: true, location_name: "reason"))
178
+ ValidationException.add_member(:field_list, Shapes::ShapeRef.new(shape: ValidationExceptionFieldList, location_name: "fieldList"))
178
179
  ValidationException.struct_class = Types::ValidationException
179
180
 
180
- ValidationExceptionField.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
181
181
  ValidationExceptionField.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "name"))
182
+ ValidationExceptionField.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
182
183
  ValidationExceptionField.struct_class = Types::ValidationExceptionField
183
184
 
184
185
  ValidationExceptionFieldList.member = Shapes::ShapeRef.new(shape: ValidationExceptionField)
@@ -191,9 +192,10 @@ module Aws::Artifact
191
192
 
192
193
  api.metadata = {
193
194
  "apiVersion" => "2018-05-10",
195
+ "auth" => ["aws.auth#sigv4"],
194
196
  "endpointPrefix" => "artifact",
195
- "jsonVersion" => "1.1",
196
197
  "protocol" => "rest-json",
198
+ "protocols" => ["rest-json"],
197
199
  "serviceFullName" => "AWS Artifact",
198
200
  "serviceId" => "Artifact",
199
201
  "signatureVersion" => "v4",
@@ -144,11 +144,6 @@ module Aws::Artifact
144
144
  @message || @data[:message]
145
145
  end
146
146
 
147
- # @return [String]
148
- def quota_code
149
- @data[:quota_code]
150
- end
151
-
152
147
  # @return [String]
153
148
  def resource_id
154
149
  @data[:resource_id]
@@ -163,6 +158,11 @@ module Aws::Artifact
163
158
  def service_code
164
159
  @data[:service_code]
165
160
  end
161
+
162
+ # @return [String]
163
+ def quota_code
164
+ @data[:quota_code]
165
+ end
166
166
  end
167
167
 
168
168
  class ThrottlingException < ServiceError
@@ -179,6 +179,11 @@ module Aws::Artifact
179
179
  @message || @data[:message]
180
180
  end
181
181
 
182
+ # @return [String]
183
+ def service_code
184
+ @data[:service_code]
185
+ end
186
+
182
187
  # @return [String]
183
188
  def quota_code
184
189
  @data[:quota_code]
@@ -189,11 +194,6 @@ module Aws::Artifact
189
194
  @data[:retry_after_seconds]
190
195
  end
191
196
 
192
- # @return [String]
193
- def service_code
194
- @data[:service_code]
195
- end
196
-
197
197
  def retryable?
198
198
  true
199
199
  end
@@ -212,11 +212,6 @@ module Aws::Artifact
212
212
  super(context, message, data)
213
213
  end
214
214
 
215
- # @return [String]
216
- def field_list
217
- @data[:field_list]
218
- end
219
-
220
215
  # @return [String]
221
216
  def message
222
217
  @message || @data[:message]
@@ -226,6 +221,11 @@ module Aws::Artifact
226
221
  def reason
227
222
  @data[:reason]
228
223
  end
224
+
225
+ # @return [String]
226
+ def field_list
227
+ @data[:field_list]
228
+ end
229
229
  end
230
230
 
231
231
  end
@@ -210,19 +210,19 @@ module Aws::Artifact
210
210
  include Aws::Structure
211
211
  end
212
212
 
213
- # @!attribute [rw] next_token
214
- # Pagination token to request the next page of resources.
215
- # @return [String]
216
- #
217
213
  # @!attribute [rw] reports
218
214
  # List of report resources.
219
215
  # @return [Array<Types::ReportSummary>]
220
216
  #
217
+ # @!attribute [rw] next_token
218
+ # Pagination token to request the next page of resources.
219
+ # @return [String]
220
+ #
221
221
  # @see http://docs.aws.amazon.com/goto/WebAPI/artifact-2018-05-10/ListReportsResponse AWS API Documentation
222
222
  #
223
223
  class ListReportsResponse < Struct.new(
224
- :next_token,
225
- :reports)
224
+ :reports,
225
+ :next_token)
226
226
  SENSITIVE = []
227
227
  include Aws::Structure
228
228
  end
@@ -253,188 +253,193 @@ module Aws::Artifact
253
253
 
254
254
  # Full detail for report resource metadata.
255
255
  #
256
- # @!attribute [rw] acceptance_type
257
- # Acceptance type for report.
256
+ # @!attribute [rw] id
257
+ # Unique resource ID for the report resource.
258
258
  # @return [String]
259
259
  #
260
- # @!attribute [rw] arn
261
- # ARN for the report resource.
260
+ # @!attribute [rw] name
261
+ # Name for the report resource.
262
262
  # @return [String]
263
263
  #
264
- # @!attribute [rw] category
265
- # Category for the report resource.
264
+ # @!attribute [rw] description
265
+ # Description for the report resource.
266
266
  # @return [String]
267
267
  #
268
- # @!attribute [rw] company_name
269
- # Associated company name for the report resource.
270
- # @return [String]
268
+ # @!attribute [rw] period_start
269
+ # Timestamp indicating the report resource effective start.
270
+ # @return [Time]
271
+ #
272
+ # @!attribute [rw] period_end
273
+ # Timestamp indicating the report resource effective end.
274
+ # @return [Time]
271
275
  #
272
276
  # @!attribute [rw] created_at
273
277
  # Timestamp indicating when the report resource was created.
274
278
  # @return [Time]
275
279
  #
280
+ # @!attribute [rw] last_modified_at
281
+ # Timestamp indicating when the report resource was last modified.
282
+ # @return [Time]
283
+ #
276
284
  # @!attribute [rw] deleted_at
277
285
  # Timestamp indicating when the report resource was deleted.
278
286
  # @return [Time]
279
287
  #
280
- # @!attribute [rw] description
281
- # Description for the report resource.
288
+ # @!attribute [rw] state
289
+ # Current state of the report resource
282
290
  # @return [String]
283
291
  #
284
- # @!attribute [rw] id
285
- # Unique resource ID for the report resource.
292
+ # @!attribute [rw] arn
293
+ # ARN for the report resource.
286
294
  # @return [String]
287
295
  #
288
- # @!attribute [rw] last_modified_at
289
- # Timestamp indicating when the report resource was last modified.
290
- # @return [Time]
291
- #
292
- # @!attribute [rw] name
293
- # Name for the report resource.
296
+ # @!attribute [rw] series
297
+ # Series for the report resource.
294
298
  # @return [String]
295
299
  #
296
- # @!attribute [rw] period_end
297
- # Timestamp indicating the report resource effective end.
298
- # @return [Time]
300
+ # @!attribute [rw] category
301
+ # Category for the report resource.
302
+ # @return [String]
299
303
  #
300
- # @!attribute [rw] period_start
301
- # Timestamp indicating the report resource effective start.
302
- # @return [Time]
304
+ # @!attribute [rw] company_name
305
+ # Associated company name for the report resource.
306
+ # @return [String]
303
307
  #
304
308
  # @!attribute [rw] product_name
305
309
  # Associated product name for the report resource.
306
310
  # @return [String]
307
311
  #
308
- # @!attribute [rw] sequence_number
309
- # Sequence number to enforce optimistic locking.
310
- # @return [Integer]
311
- #
312
- # @!attribute [rw] series
313
- # Series for the report resource.
312
+ # @!attribute [rw] term_arn
313
+ # Unique resource ARN for term resource.
314
314
  # @return [String]
315
315
  #
316
- # @!attribute [rw] state
317
- # Current state of the report resource
318
- # @return [String]
316
+ # @!attribute [rw] version
317
+ # Version for the report resource.
318
+ # @return [Integer]
319
319
  #
320
- # @!attribute [rw] status_message
321
- # The message associated with the current upload state.
320
+ # @!attribute [rw] acceptance_type
321
+ # Acceptance type for report.
322
322
  # @return [String]
323
323
  #
324
- # @!attribute [rw] term_arn
325
- # Unique resource ARN for term resource.
326
- # @return [String]
324
+ # @!attribute [rw] sequence_number
325
+ # Sequence number to enforce optimistic locking.
326
+ # @return [Integer]
327
327
  #
328
328
  # @!attribute [rw] upload_state
329
329
  # The current state of the document upload.
330
330
  # @return [String]
331
331
  #
332
- # @!attribute [rw] version
333
- # Version for the report resource.
334
- # @return [Integer]
332
+ # @!attribute [rw] status_message
333
+ # The message associated with the current upload state.
334
+ # @return [String]
335
335
  #
336
336
  # @see http://docs.aws.amazon.com/goto/WebAPI/artifact-2018-05-10/ReportDetail AWS API Documentation
337
337
  #
338
338
  class ReportDetail < Struct.new(
339
- :acceptance_type,
340
- :arn,
341
- :category,
342
- :company_name,
343
- :created_at,
344
- :deleted_at,
345
- :description,
346
339
  :id,
347
- :last_modified_at,
348
340
  :name,
349
- :period_end,
341
+ :description,
350
342
  :period_start,
351
- :product_name,
352
- :sequence_number,
353
- :series,
343
+ :period_end,
344
+ :created_at,
345
+ :last_modified_at,
346
+ :deleted_at,
354
347
  :state,
355
- :status_message,
348
+ :arn,
349
+ :series,
350
+ :category,
351
+ :company_name,
352
+ :product_name,
356
353
  :term_arn,
354
+ :version,
355
+ :acceptance_type,
356
+ :sequence_number,
357
357
  :upload_state,
358
- :version)
358
+ :status_message)
359
359
  SENSITIVE = []
360
360
  include Aws::Structure
361
361
  end
362
362
 
363
363
  # Summary for report resource.
364
364
  #
365
- # @!attribute [rw] arn
366
- # ARN for the report resource.
365
+ # @!attribute [rw] id
366
+ # Unique resource ID for the report resource.
367
367
  # @return [String]
368
368
  #
369
- # @!attribute [rw] category
370
- # Category for the report resource.
369
+ # @!attribute [rw] name
370
+ # Name for the report resource.
371
371
  # @return [String]
372
372
  #
373
- # @!attribute [rw] company_name
374
- # Associated company name for the report resource.
373
+ # @!attribute [rw] state
374
+ # Current state of the report resource.
375
375
  # @return [String]
376
376
  #
377
- # @!attribute [rw] description
378
- # Description for the report resource.
377
+ # @!attribute [rw] arn
378
+ # ARN for the report resource.
379
379
  # @return [String]
380
380
  #
381
- # @!attribute [rw] id
382
- # Unique resource ID for the report resource.
383
- # @return [String]
381
+ # @!attribute [rw] version
382
+ # Version for the report resource.
383
+ # @return [Integer]
384
384
  #
385
- # @!attribute [rw] name
386
- # Name for the report resource.
385
+ # @!attribute [rw] upload_state
386
+ # The current state of the document upload.
387
387
  # @return [String]
388
388
  #
389
- # @!attribute [rw] period_end
390
- # Timestamp indicating the report resource effective end.
391
- # @return [Time]
389
+ # @!attribute [rw] description
390
+ # Description for the report resource.
391
+ # @return [String]
392
392
  #
393
393
  # @!attribute [rw] period_start
394
394
  # Timestamp indicating the report resource effective start.
395
395
  # @return [Time]
396
396
  #
397
- # @!attribute [rw] product_name
398
- # Associated product name for the report resource.
399
- # @return [String]
397
+ # @!attribute [rw] period_end
398
+ # Timestamp indicating the report resource effective end.
399
+ # @return [Time]
400
400
  #
401
401
  # @!attribute [rw] series
402
402
  # Series for the report resource.
403
403
  # @return [String]
404
404
  #
405
- # @!attribute [rw] state
406
- # Current state of the report resource.
405
+ # @!attribute [rw] category
406
+ # Category for the report resource.
407
+ # @return [String]
408
+ #
409
+ # @!attribute [rw] company_name
410
+ # Associated company name for the report resource.
411
+ # @return [String]
412
+ #
413
+ # @!attribute [rw] product_name
414
+ # Associated product name for the report resource.
407
415
  # @return [String]
408
416
  #
409
417
  # @!attribute [rw] status_message
410
418
  # The message associated with the current upload state.
411
419
  # @return [String]
412
420
  #
413
- # @!attribute [rw] upload_state
414
- # The current state of the document upload.
421
+ # @!attribute [rw] acceptance_type
422
+ # Acceptance type for report.
415
423
  # @return [String]
416
424
  #
417
- # @!attribute [rw] version
418
- # Version for the report resource.
419
- # @return [Integer]
420
- #
421
425
  # @see http://docs.aws.amazon.com/goto/WebAPI/artifact-2018-05-10/ReportSummary AWS API Documentation
422
426
  #
423
427
  class ReportSummary < Struct.new(
424
- :arn,
425
- :category,
426
- :company_name,
427
- :description,
428
428
  :id,
429
429
  :name,
430
- :period_end,
430
+ :state,
431
+ :arn,
432
+ :version,
433
+ :upload_state,
434
+ :description,
431
435
  :period_start,
432
- :product_name,
436
+ :period_end,
433
437
  :series,
434
- :state,
438
+ :category,
439
+ :company_name,
440
+ :product_name,
435
441
  :status_message,
436
- :upload_state,
437
- :version)
442
+ :acceptance_type)
438
443
  SENSITIVE = []
439
444
  include Aws::Structure
440
445
  end
@@ -467,10 +472,6 @@ module Aws::Artifact
467
472
  # @!attribute [rw] message
468
473
  # @return [String]
469
474
  #
470
- # @!attribute [rw] quota_code
471
- # Code for the affected quota.
472
- # @return [String]
473
- #
474
475
  # @!attribute [rw] resource_id
475
476
  # Identifier of the affected resource.
476
477
  # @return [String]
@@ -483,14 +484,18 @@ module Aws::Artifact
483
484
  # Code for the affected service.
484
485
  # @return [String]
485
486
  #
487
+ # @!attribute [rw] quota_code
488
+ # Code for the affected quota.
489
+ # @return [String]
490
+ #
486
491
  # @see http://docs.aws.amazon.com/goto/WebAPI/artifact-2018-05-10/ServiceQuotaExceededException AWS API Documentation
487
492
  #
488
493
  class ServiceQuotaExceededException < Struct.new(
489
494
  :message,
490
- :quota_code,
491
495
  :resource_id,
492
496
  :resource_type,
493
- :service_code)
497
+ :service_code,
498
+ :quota_code)
494
499
  SENSITIVE = []
495
500
  include Aws::Structure
496
501
  end
@@ -500,6 +505,10 @@ module Aws::Artifact
500
505
  # @!attribute [rw] message
501
506
  # @return [String]
502
507
  #
508
+ # @!attribute [rw] service_code
509
+ # Code for the affected service.
510
+ # @return [String]
511
+ #
503
512
  # @!attribute [rw] quota_code
504
513
  # Code for the affected quota.
505
514
  # @return [String]
@@ -508,27 +517,19 @@ module Aws::Artifact
508
517
  # Number of seconds in which the caller can retry the request.
509
518
  # @return [Integer]
510
519
  #
511
- # @!attribute [rw] service_code
512
- # Code for the affected service.
513
- # @return [String]
514
- #
515
520
  # @see http://docs.aws.amazon.com/goto/WebAPI/artifact-2018-05-10/ThrottlingException AWS API Documentation
516
521
  #
517
522
  class ThrottlingException < Struct.new(
518
523
  :message,
524
+ :service_code,
519
525
  :quota_code,
520
- :retry_after_seconds,
521
- :service_code)
526
+ :retry_after_seconds)
522
527
  SENSITIVE = []
523
528
  include Aws::Structure
524
529
  end
525
530
 
526
531
  # Request fails to satisfy the constraints specified by an AWS service.
527
532
  #
528
- # @!attribute [rw] field_list
529
- # The field that caused the error, if applicable.
530
- # @return [Array<Types::ValidationExceptionField>]
531
- #
532
533
  # @!attribute [rw] message
533
534
  # @return [String]
534
535
  #
@@ -536,31 +537,35 @@ module Aws::Artifact
536
537
  # Reason the request failed validation.
537
538
  # @return [String]
538
539
  #
540
+ # @!attribute [rw] field_list
541
+ # The field that caused the error, if applicable.
542
+ # @return [Array<Types::ValidationExceptionField>]
543
+ #
539
544
  # @see http://docs.aws.amazon.com/goto/WebAPI/artifact-2018-05-10/ValidationException AWS API Documentation
540
545
  #
541
546
  class ValidationException < Struct.new(
542
- :field_list,
543
547
  :message,
544
- :reason)
548
+ :reason,
549
+ :field_list)
545
550
  SENSITIVE = []
546
551
  include Aws::Structure
547
552
  end
548
553
 
549
554
  # Validation exception message and name.
550
555
  #
551
- # @!attribute [rw] message
552
- # Message describing why the field failed validation.
553
- # @return [String]
554
- #
555
556
  # @!attribute [rw] name
556
557
  # Name of validation exception.
557
558
  # @return [String]
558
559
  #
560
+ # @!attribute [rw] message
561
+ # Message describing why the field failed validation.
562
+ # @return [String]
563
+ #
559
564
  # @see http://docs.aws.amazon.com/goto/WebAPI/artifact-2018-05-10/ValidationExceptionField AWS API Documentation
560
565
  #
561
566
  class ValidationExceptionField < Struct.new(
562
- :message,
563
- :name)
567
+ :name,
568
+ :message)
564
569
  SENSITIVE = []
565
570
  include Aws::Structure
566
571
  end
@@ -0,0 +1,15 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ require 'aws-sdk-core/waiters'
11
+
12
+ module Aws::Artifact
13
+ module Waiters
14
+ end
15
+ end
@@ -16,6 +16,7 @@ require_relative 'aws-sdk-artifact/client_api'
16
16
  require_relative 'aws-sdk-artifact/plugins/endpoints.rb'
17
17
  require_relative 'aws-sdk-artifact/client'
18
18
  require_relative 'aws-sdk-artifact/errors'
19
+ require_relative 'aws-sdk-artifact/waiters'
19
20
  require_relative 'aws-sdk-artifact/resource'
20
21
  require_relative 'aws-sdk-artifact/endpoint_parameters'
21
22
  require_relative 'aws-sdk-artifact/endpoint_provider'
@@ -52,6 +53,6 @@ require_relative 'aws-sdk-artifact/customizations'
52
53
  # @!group service
53
54
  module Aws::Artifact
54
55
 
55
- GEM_VERSION = '1.3.0'
56
+ GEM_VERSION = '1.4.0'
56
57
 
57
58
  end
data/sig/client.rbs CHANGED
@@ -118,8 +118,8 @@ module Aws
118
118
 
119
119
  interface _ListReportsResponseSuccess
120
120
  include ::Seahorse::Client::_ResponseSuccess[Types::ListReportsResponse]
121
- def next_token: () -> ::String
122
121
  def reports: () -> ::Array[Types::ReportSummary]
122
+ def next_token: () -> ::String
123
123
  end
124
124
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Artifact/Client.html#list_reports-instance_method
125
125
  def list_reports: (
data/sig/errors.rbs CHANGED
@@ -30,21 +30,21 @@ module Aws
30
30
  end
31
31
  class ServiceQuotaExceededException < ::Aws::Errors::ServiceError
32
32
  def message: () -> ::String
33
- def quota_code: () -> ::String
34
33
  def resource_id: () -> ::String
35
34
  def resource_type: () -> ::String
36
35
  def service_code: () -> ::String
36
+ def quota_code: () -> ::String
37
37
  end
38
38
  class ThrottlingException < ::Aws::Errors::ServiceError
39
39
  def message: () -> ::String
40
+ def service_code: () -> ::String
40
41
  def quota_code: () -> ::String
41
42
  def retry_after_seconds: () -> ::String
42
- def service_code: () -> ::String
43
43
  end
44
44
  class ValidationException < ::Aws::Errors::ServiceError
45
- def field_list: () -> ::String
46
45
  def message: () -> ::String
47
46
  def reason: () -> ::String
47
+ def field_list: () -> ::String
48
48
  end
49
49
  end
50
50
  end
data/sig/types.rbs CHANGED
@@ -81,8 +81,8 @@ module Aws::Artifact
81
81
  end
82
82
 
83
83
  class ListReportsResponse
84
- attr_accessor next_token: ::String
85
84
  attr_accessor reports: ::Array[Types::ReportSummary]
85
+ attr_accessor next_token: ::String
86
86
  SENSITIVE: []
87
87
  end
88
88
 
@@ -97,44 +97,45 @@ module Aws::Artifact
97
97
  end
98
98
 
99
99
  class ReportDetail
100
- attr_accessor acceptance_type: ("PASSTHROUGH" | "EXPLICIT")
101
- attr_accessor arn: ::String
102
- attr_accessor category: ::String
103
- attr_accessor company_name: ::String
104
- attr_accessor created_at: ::Time
105
- attr_accessor deleted_at: ::Time
106
- attr_accessor description: ::String
107
100
  attr_accessor id: ::String
108
- attr_accessor last_modified_at: ::Time
109
101
  attr_accessor name: ::String
110
- attr_accessor period_end: ::Time
102
+ attr_accessor description: ::String
111
103
  attr_accessor period_start: ::Time
112
- attr_accessor product_name: ::String
113
- attr_accessor sequence_number: ::Integer
114
- attr_accessor series: ::String
104
+ attr_accessor period_end: ::Time
105
+ attr_accessor created_at: ::Time
106
+ attr_accessor last_modified_at: ::Time
107
+ attr_accessor deleted_at: ::Time
115
108
  attr_accessor state: ("PUBLISHED" | "UNPUBLISHED")
116
- attr_accessor status_message: ::String
109
+ attr_accessor arn: ::String
110
+ attr_accessor series: ::String
111
+ attr_accessor category: ::String
112
+ attr_accessor company_name: ::String
113
+ attr_accessor product_name: ::String
117
114
  attr_accessor term_arn: ::String
118
- attr_accessor upload_state: ("PROCESSING" | "COMPLETE" | "FAILED" | "FAULT")
119
115
  attr_accessor version: ::Integer
116
+ attr_accessor acceptance_type: ("PASSTHROUGH" | "EXPLICIT")
117
+ attr_accessor sequence_number: ::Integer
118
+ attr_accessor upload_state: ("PROCESSING" | "COMPLETE" | "FAILED" | "FAULT")
119
+ attr_accessor status_message: ::String
120
120
  SENSITIVE: []
121
121
  end
122
122
 
123
123
  class ReportSummary
124
- attr_accessor arn: ::String
125
- attr_accessor category: ::String
126
- attr_accessor company_name: ::String
127
- attr_accessor description: ::String
128
124
  attr_accessor id: ::String
129
125
  attr_accessor name: ::String
130
- attr_accessor period_end: ::Time
126
+ attr_accessor state: ("PUBLISHED" | "UNPUBLISHED")
127
+ attr_accessor arn: ::String
128
+ attr_accessor version: ::Integer
129
+ attr_accessor upload_state: ("PROCESSING" | "COMPLETE" | "FAILED" | "FAULT")
130
+ attr_accessor description: ::String
131
131
  attr_accessor period_start: ::Time
132
- attr_accessor product_name: ::String
132
+ attr_accessor period_end: ::Time
133
133
  attr_accessor series: ::String
134
- attr_accessor state: ("PUBLISHED" | "UNPUBLISHED")
134
+ attr_accessor category: ::String
135
+ attr_accessor company_name: ::String
136
+ attr_accessor product_name: ::String
135
137
  attr_accessor status_message: ::String
136
- attr_accessor upload_state: ("PROCESSING" | "COMPLETE" | "FAILED" | "FAULT")
137
- attr_accessor version: ::Integer
138
+ attr_accessor acceptance_type: ("PASSTHROUGH" | "EXPLICIT")
138
139
  SENSITIVE: []
139
140
  end
140
141
 
@@ -147,31 +148,31 @@ module Aws::Artifact
147
148
 
148
149
  class ServiceQuotaExceededException
149
150
  attr_accessor message: ::String
150
- attr_accessor quota_code: ::String
151
151
  attr_accessor resource_id: ::String
152
152
  attr_accessor resource_type: ::String
153
153
  attr_accessor service_code: ::String
154
+ attr_accessor quota_code: ::String
154
155
  SENSITIVE: []
155
156
  end
156
157
 
157
158
  class ThrottlingException
158
159
  attr_accessor message: ::String
160
+ attr_accessor service_code: ::String
159
161
  attr_accessor quota_code: ::String
160
162
  attr_accessor retry_after_seconds: ::Integer
161
- attr_accessor service_code: ::String
162
163
  SENSITIVE: []
163
164
  end
164
165
 
165
166
  class ValidationException
166
- attr_accessor field_list: ::Array[Types::ValidationExceptionField]
167
167
  attr_accessor message: ::String
168
168
  attr_accessor reason: ("unknownOperation" | "cannotParse" | "fieldValidationFailed" | "invalidToken" | "other")
169
+ attr_accessor field_list: ::Array[Types::ValidationExceptionField]
169
170
  SENSITIVE: []
170
171
  end
171
172
 
172
173
  class ValidationExceptionField
173
- attr_accessor message: ::String
174
174
  attr_accessor name: ::String
175
+ attr_accessor message: ::String
175
176
  SENSITIVE: []
176
177
  end
177
178
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-artifact
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-06-05 00:00:00.000000000 Z
11
+ date: 2024-06-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -66,6 +66,7 @@ files:
66
66
  - lib/aws-sdk-artifact/plugins/endpoints.rb
67
67
  - lib/aws-sdk-artifact/resource.rb
68
68
  - lib/aws-sdk-artifact/types.rb
69
+ - lib/aws-sdk-artifact/waiters.rb
69
70
  - sig/client.rbs
70
71
  - sig/errors.rbs
71
72
  - sig/resource.rbs