aws-sdk-artifact 1.14.0 → 1.15.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-artifact/client.rb +94 -10
- data/lib/aws-sdk-artifact/client_api.rb +53 -0
- data/lib/aws-sdk-artifact/types.rb +109 -0
- data/lib/aws-sdk-artifact.rb +1 -1
- data/sig/client.rbs +12 -0
- data/sig/types.rbs +29 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cdb922b3a13f3668a24b903c7e65072af1ff50290ea0f8d21924a8c7aa9e5ad5
|
4
|
+
data.tar.gz: 4183ae43c6027ad0522490235c5160428ab9680bfa0d2ccc71f508619ae07b30
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7283cea76afa7a9fe8ddd462487eaac1bd832584427e736923b6e3b6f06d6affee354bdcaace2b02c04341f91032b9bf5789ef489b45ac86605b0bcd60309677
|
7
|
+
data.tar.gz: c8095f38f2920546966dcc6ccea32ca227cad131453baf3e0a2528fde7765f535f7e75870855d8c56f4beb0a7bf8f74a8a6c1d8b5b470c166bf53bb4dc1659ca
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.15.0
|
@@ -505,8 +505,8 @@ module Aws::Artifact
|
|
505
505
|
# # report's latest version
|
506
506
|
#
|
507
507
|
# resp = client.get_report({
|
508
|
-
# report_id: "report-
|
509
|
-
# term_token: "term-token-
|
508
|
+
# report_id: "report-abcdef0123456789",
|
509
|
+
# term_token: "term-token-abcdefghijklm01234567890",
|
510
510
|
# })
|
511
511
|
#
|
512
512
|
# resp.to_h outputs the following:
|
@@ -562,18 +562,18 @@ module Aws::Artifact
|
|
562
562
|
# report_details: {
|
563
563
|
# version: 1,
|
564
564
|
# name: "Name of report",
|
565
|
-
# arn: "arn:aws:artifact:us-east-1::report/report-
|
565
|
+
# arn: "arn:aws:artifact:us-east-1::report/report-abcdef0123456789:1",
|
566
566
|
# category: "Artifact Category",
|
567
567
|
# company_name: "AWS",
|
568
568
|
# created_at: Time.parse("2022-05-27T23:17:00.343940Z"),
|
569
569
|
# description: "Description of report",
|
570
|
-
# id: "report-
|
570
|
+
# id: "report-abcdef0123456789",
|
571
571
|
# period_end: Time.parse("2022-04-01T20:32:04Z"),
|
572
572
|
# period_start: Time.parse("2022-04-01T20:32:04Z"),
|
573
573
|
# product_name: "Product of report",
|
574
574
|
# series: "Artifact Series",
|
575
575
|
# state: "PUBLISHED",
|
576
|
-
# term_arn: "arn:aws:artifact:us-east-1::term/term-
|
576
|
+
# term_arn: "arn:aws:artifact:us-east-1::term/term-abcdef0123456789:1",
|
577
577
|
# },
|
578
578
|
# }
|
579
579
|
#
|
@@ -636,13 +636,13 @@ module Aws::Artifact
|
|
636
636
|
# # If callers do not provide a version, it will default to the report's latest version.
|
637
637
|
#
|
638
638
|
# resp = client.get_term_for_report({
|
639
|
-
# report_id: "report-
|
639
|
+
# report_id: "report-abcdef0123456789",
|
640
640
|
# })
|
641
641
|
#
|
642
642
|
# resp.to_h outputs the following:
|
643
643
|
# {
|
644
644
|
# document_presigned_url: "<Presigned S3 URL>",
|
645
|
-
# term_token: "term-token-
|
645
|
+
# term_token: "term-token-abcdefghijklm01234567890",
|
646
646
|
# }
|
647
647
|
#
|
648
648
|
# @example Request syntax with placeholder values
|
@@ -666,6 +666,90 @@ module Aws::Artifact
|
|
666
666
|
req.send_request(options)
|
667
667
|
end
|
668
668
|
|
669
|
+
# List active customer-agreements applicable to calling identity.
|
670
|
+
#
|
671
|
+
# @option params [Integer] :max_results
|
672
|
+
# Maximum number of resources to return in the paginated response.
|
673
|
+
#
|
674
|
+
# @option params [String] :next_token
|
675
|
+
# Pagination token to request the next page of resources.
|
676
|
+
#
|
677
|
+
# @return [Types::ListCustomerAgreementsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
678
|
+
#
|
679
|
+
# * {Types::ListCustomerAgreementsResponse#customer_agreements #customer_agreements} => Array<Types::CustomerAgreementSummary>
|
680
|
+
# * {Types::ListCustomerAgreementsResponse#next_token #next_token} => String
|
681
|
+
#
|
682
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
683
|
+
#
|
684
|
+
#
|
685
|
+
# @example Example: Invoke ListCustomerAgreements operation
|
686
|
+
#
|
687
|
+
# # The ListCustomerAgreements operation returns a collection of customer-agreement resources in the ACTIVE state for the
|
688
|
+
# # calling credential.
|
689
|
+
#
|
690
|
+
# resp = client.list_customer_agreements({
|
691
|
+
# })
|
692
|
+
#
|
693
|
+
# resp.to_h outputs the following:
|
694
|
+
# {
|
695
|
+
# customer_agreements: [
|
696
|
+
# {
|
697
|
+
# name: "Name of agreement",
|
698
|
+
# type: "DEFAULT",
|
699
|
+
# acceptance_terms: [
|
700
|
+
# "terms acknowledged when agreement was accepted",
|
701
|
+
# ],
|
702
|
+
# agreement_arn: "arn:aws:artifact:::agreement/agreement-abcdef0123456789",
|
703
|
+
# arn: "arn:aws:artifact::111111111111:customer-agreement/customer-agreement-abcdef0123456789",
|
704
|
+
# aws_account_id: "111111111111",
|
705
|
+
# description: "Description of agreement",
|
706
|
+
# effective_start: Time.parse("2022-04-01T20:32:04Z"),
|
707
|
+
# id: "customer-agreement-abcdef0123456789",
|
708
|
+
# state: "ACTIVE",
|
709
|
+
# terminate_terms: [
|
710
|
+
# "terms that must be acknowledged to terminate this agreement",
|
711
|
+
# ],
|
712
|
+
# },
|
713
|
+
# ],
|
714
|
+
# next_token: "gPFEGk7CF4wS901w7ppYclt7gPFEGk7CF4wS901w7ppYclt7gPFEGk7CF4wS901w7ppYclt7",
|
715
|
+
# }
|
716
|
+
#
|
717
|
+
# @example Request syntax with placeholder values
|
718
|
+
#
|
719
|
+
# resp = client.list_customer_agreements({
|
720
|
+
# max_results: 1,
|
721
|
+
# next_token: "NextTokenAttribute",
|
722
|
+
# })
|
723
|
+
#
|
724
|
+
# @example Response structure
|
725
|
+
#
|
726
|
+
# resp.customer_agreements #=> Array
|
727
|
+
# resp.customer_agreements[0].name #=> String
|
728
|
+
# resp.customer_agreements[0].arn #=> String
|
729
|
+
# resp.customer_agreements[0].id #=> String
|
730
|
+
# resp.customer_agreements[0].agreement_arn #=> String
|
731
|
+
# resp.customer_agreements[0].aws_account_id #=> String
|
732
|
+
# resp.customer_agreements[0].organization_arn #=> String
|
733
|
+
# resp.customer_agreements[0].effective_start #=> Time
|
734
|
+
# resp.customer_agreements[0].effective_end #=> Time
|
735
|
+
# resp.customer_agreements[0].state #=> String, one of "ACTIVE", "CUSTOMER_TERMINATED", "AWS_TERMINATED"
|
736
|
+
# resp.customer_agreements[0].description #=> String
|
737
|
+
# resp.customer_agreements[0].acceptance_terms #=> Array
|
738
|
+
# resp.customer_agreements[0].acceptance_terms[0] #=> String
|
739
|
+
# resp.customer_agreements[0].terminate_terms #=> Array
|
740
|
+
# resp.customer_agreements[0].terminate_terms[0] #=> String
|
741
|
+
# resp.customer_agreements[0].type #=> String, one of "CUSTOM", "DEFAULT", "MODIFIED"
|
742
|
+
# resp.next_token #=> String
|
743
|
+
#
|
744
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/artifact-2018-05-10/ListCustomerAgreements AWS API Documentation
|
745
|
+
#
|
746
|
+
# @overload list_customer_agreements(params = {})
|
747
|
+
# @param [Hash] params ({})
|
748
|
+
def list_customer_agreements(params = {}, options = {})
|
749
|
+
req = build_request(:list_customer_agreements, params)
|
750
|
+
req.send_request(options)
|
751
|
+
end
|
752
|
+
|
669
753
|
# List available reports.
|
670
754
|
#
|
671
755
|
# @option params [Integer] :max_results
|
@@ -696,11 +780,11 @@ module Aws::Artifact
|
|
696
780
|
# {
|
697
781
|
# version: 1,
|
698
782
|
# name: "Name of report",
|
699
|
-
# arn: "arn:aws:artifact:us-east-1::report/report-
|
783
|
+
# arn: "arn:aws:artifact:us-east-1::report/report-abcdef0123456789",
|
700
784
|
# category: "Artifact Category",
|
701
785
|
# company_name: "AWS",
|
702
786
|
# description: "Description of report",
|
703
|
-
# id: "report-
|
787
|
+
# id: "report-abcdef0123456789",
|
704
788
|
# period_end: Time.parse("2022-04-01T20:32:04Z"),
|
705
789
|
# period_start: Time.parse("2022-04-01T20:32:04Z"),
|
706
790
|
# product_name: "Product of report",
|
@@ -808,7 +892,7 @@ module Aws::Artifact
|
|
808
892
|
tracer: tracer
|
809
893
|
)
|
810
894
|
context[:gem_name] = 'aws-sdk-artifact'
|
811
|
-
context[:gem_version] = '1.
|
895
|
+
context[:gem_version] = '1.15.0'
|
812
896
|
Seahorse::Client::Request.new(handlers, context)
|
813
897
|
end
|
814
898
|
|
@@ -17,7 +17,13 @@ module Aws::Artifact
|
|
17
17
|
AcceptanceType = Shapes::StringShape.new(name: 'AcceptanceType')
|
18
18
|
AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
|
19
19
|
AccountSettings = Shapes::StructureShape.new(name: 'AccountSettings')
|
20
|
+
AgreementTerms = Shapes::ListShape.new(name: 'AgreementTerms')
|
21
|
+
AgreementType = Shapes::StringShape.new(name: 'AgreementType')
|
20
22
|
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
23
|
+
CustomerAgreementIdAttribute = Shapes::StringShape.new(name: 'CustomerAgreementIdAttribute')
|
24
|
+
CustomerAgreementList = Shapes::ListShape.new(name: 'CustomerAgreementList')
|
25
|
+
CustomerAgreementState = Shapes::StringShape.new(name: 'CustomerAgreementState')
|
26
|
+
CustomerAgreementSummary = Shapes::StructureShape.new(name: 'CustomerAgreementSummary')
|
21
27
|
GetAccountSettingsRequest = Shapes::StructureShape.new(name: 'GetAccountSettingsRequest')
|
22
28
|
GetAccountSettingsResponse = Shapes::StructureShape.new(name: 'GetAccountSettingsResponse')
|
23
29
|
GetReportMetadataRequest = Shapes::StructureShape.new(name: 'GetReportMetadataRequest')
|
@@ -30,6 +36,8 @@ module Aws::Artifact
|
|
30
36
|
GetTermForReportResponseDocumentPresignedUrlString = Shapes::StringShape.new(name: 'GetTermForReportResponseDocumentPresignedUrlString')
|
31
37
|
Integer = Shapes::IntegerShape.new(name: 'Integer')
|
32
38
|
InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
|
39
|
+
ListCustomerAgreementsRequest = Shapes::StructureShape.new(name: 'ListCustomerAgreementsRequest')
|
40
|
+
ListCustomerAgreementsResponse = Shapes::StructureShape.new(name: 'ListCustomerAgreementsResponse')
|
33
41
|
ListReportsRequest = Shapes::StructureShape.new(name: 'ListReportsRequest')
|
34
42
|
ListReportsResponse = Shapes::StructureShape.new(name: 'ListReportsResponse')
|
35
43
|
LongStringAttribute = Shapes::StringShape.new(name: 'LongStringAttribute')
|
@@ -64,11 +72,30 @@ module Aws::Artifact
|
|
64
72
|
AccountSettings.add_member(:notification_subscription_status, Shapes::ShapeRef.new(shape: NotificationSubscriptionStatus, location_name: "notificationSubscriptionStatus"))
|
65
73
|
AccountSettings.struct_class = Types::AccountSettings
|
66
74
|
|
75
|
+
AgreementTerms.member = Shapes::ShapeRef.new(shape: LongStringAttribute)
|
76
|
+
|
67
77
|
ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
68
78
|
ConflictException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceId"))
|
69
79
|
ConflictException.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceType"))
|
70
80
|
ConflictException.struct_class = Types::ConflictException
|
71
81
|
|
82
|
+
CustomerAgreementList.member = Shapes::ShapeRef.new(shape: CustomerAgreementSummary)
|
83
|
+
|
84
|
+
CustomerAgreementSummary.add_member(:name, Shapes::ShapeRef.new(shape: LongStringAttribute, location_name: "name"))
|
85
|
+
CustomerAgreementSummary.add_member(:arn, Shapes::ShapeRef.new(shape: LongStringAttribute, location_name: "arn"))
|
86
|
+
CustomerAgreementSummary.add_member(:id, Shapes::ShapeRef.new(shape: CustomerAgreementIdAttribute, location_name: "id"))
|
87
|
+
CustomerAgreementSummary.add_member(:agreement_arn, Shapes::ShapeRef.new(shape: LongStringAttribute, location_name: "agreementArn"))
|
88
|
+
CustomerAgreementSummary.add_member(:aws_account_id, Shapes::ShapeRef.new(shape: ShortStringAttribute, location_name: "awsAccountId"))
|
89
|
+
CustomerAgreementSummary.add_member(:organization_arn, Shapes::ShapeRef.new(shape: LongStringAttribute, location_name: "organizationArn"))
|
90
|
+
CustomerAgreementSummary.add_member(:effective_start, Shapes::ShapeRef.new(shape: TimestampAttribute, location_name: "effectiveStart"))
|
91
|
+
CustomerAgreementSummary.add_member(:effective_end, Shapes::ShapeRef.new(shape: TimestampAttribute, location_name: "effectiveEnd"))
|
92
|
+
CustomerAgreementSummary.add_member(:state, Shapes::ShapeRef.new(shape: CustomerAgreementState, location_name: "state"))
|
93
|
+
CustomerAgreementSummary.add_member(:description, Shapes::ShapeRef.new(shape: LongStringAttribute, location_name: "description"))
|
94
|
+
CustomerAgreementSummary.add_member(:acceptance_terms, Shapes::ShapeRef.new(shape: AgreementTerms, location_name: "acceptanceTerms"))
|
95
|
+
CustomerAgreementSummary.add_member(:terminate_terms, Shapes::ShapeRef.new(shape: AgreementTerms, location_name: "terminateTerms"))
|
96
|
+
CustomerAgreementSummary.add_member(:type, Shapes::ShapeRef.new(shape: AgreementType, location_name: "type"))
|
97
|
+
CustomerAgreementSummary.struct_class = Types::CustomerAgreementSummary
|
98
|
+
|
72
99
|
GetAccountSettingsRequest.struct_class = Types::GetAccountSettingsRequest
|
73
100
|
|
74
101
|
GetAccountSettingsResponse.add_member(:account_settings, Shapes::ShapeRef.new(shape: AccountSettings, location_name: "accountSettings"))
|
@@ -101,6 +128,14 @@ module Aws::Artifact
|
|
101
128
|
InternalServerException.add_member(:retry_after_seconds, Shapes::ShapeRef.new(shape: Integer, location: "header", location_name: "Retry-After"))
|
102
129
|
InternalServerException.struct_class = Types::InternalServerException
|
103
130
|
|
131
|
+
ListCustomerAgreementsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResultsAttribute, location: "querystring", location_name: "maxResults"))
|
132
|
+
ListCustomerAgreementsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextTokenAttribute, location: "querystring", location_name: "nextToken"))
|
133
|
+
ListCustomerAgreementsRequest.struct_class = Types::ListCustomerAgreementsRequest
|
134
|
+
|
135
|
+
ListCustomerAgreementsResponse.add_member(:customer_agreements, Shapes::ShapeRef.new(shape: CustomerAgreementList, required: true, location_name: "customerAgreements"))
|
136
|
+
ListCustomerAgreementsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextTokenAttribute, location_name: "nextToken"))
|
137
|
+
ListCustomerAgreementsResponse.struct_class = Types::ListCustomerAgreementsResponse
|
138
|
+
|
104
139
|
ListReportsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResultsAttribute, location: "querystring", location_name: "maxResults"))
|
105
140
|
ListReportsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextTokenAttribute, location: "querystring", location_name: "nextToken"))
|
106
141
|
ListReportsRequest.struct_class = Types::ListReportsRequest
|
@@ -263,6 +298,24 @@ module Aws::Artifact
|
|
263
298
|
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
264
299
|
end)
|
265
300
|
|
301
|
+
api.add_operation(:list_customer_agreements, Seahorse::Model::Operation.new.tap do |o|
|
302
|
+
o.name = "ListCustomerAgreements"
|
303
|
+
o.http_method = "GET"
|
304
|
+
o.http_request_uri = "/v1/customer-agreement/list"
|
305
|
+
o.input = Shapes::ShapeRef.new(shape: ListCustomerAgreementsRequest)
|
306
|
+
o.output = Shapes::ShapeRef.new(shape: ListCustomerAgreementsResponse)
|
307
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
308
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
309
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
310
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
311
|
+
o[:pager] = Aws::Pager.new(
|
312
|
+
limit_key: "max_results",
|
313
|
+
tokens: {
|
314
|
+
"next_token" => "next_token"
|
315
|
+
}
|
316
|
+
)
|
317
|
+
end)
|
318
|
+
|
266
319
|
api.add_operation(:list_reports, Seahorse::Model::Operation.new.tap do |o|
|
267
320
|
o.name = "ListReports"
|
268
321
|
o.http_method = "GET"
|
@@ -60,6 +60,81 @@ module Aws::Artifact
|
|
60
60
|
include Aws::Structure
|
61
61
|
end
|
62
62
|
|
63
|
+
# Summary for customer-agreement resource.
|
64
|
+
#
|
65
|
+
# @!attribute [rw] name
|
66
|
+
# Name of the customer-agreement resource.
|
67
|
+
# @return [String]
|
68
|
+
#
|
69
|
+
# @!attribute [rw] arn
|
70
|
+
# ARN of the customer-agreement resource.
|
71
|
+
# @return [String]
|
72
|
+
#
|
73
|
+
# @!attribute [rw] id
|
74
|
+
# Identifier of the customer-agreement resource.
|
75
|
+
# @return [String]
|
76
|
+
#
|
77
|
+
# @!attribute [rw] agreement_arn
|
78
|
+
# ARN of the agreement resource the customer-agreement resource
|
79
|
+
# represents.
|
80
|
+
# @return [String]
|
81
|
+
#
|
82
|
+
# @!attribute [rw] aws_account_id
|
83
|
+
# AWS account Id that owns the resource.
|
84
|
+
# @return [String]
|
85
|
+
#
|
86
|
+
# @!attribute [rw] organization_arn
|
87
|
+
# ARN of the organization that owns the resource.
|
88
|
+
# @return [String]
|
89
|
+
#
|
90
|
+
# @!attribute [rw] effective_start
|
91
|
+
# Timestamp indicating when the agreement became effective.
|
92
|
+
# @return [Time]
|
93
|
+
#
|
94
|
+
# @!attribute [rw] effective_end
|
95
|
+
# Timestamp indicating when the agreement was terminated.
|
96
|
+
# @return [Time]
|
97
|
+
#
|
98
|
+
# @!attribute [rw] state
|
99
|
+
# State of the resource.
|
100
|
+
# @return [String]
|
101
|
+
#
|
102
|
+
# @!attribute [rw] description
|
103
|
+
# Description of the resource.
|
104
|
+
# @return [String]
|
105
|
+
#
|
106
|
+
# @!attribute [rw] acceptance_terms
|
107
|
+
# Terms required to accept the agreement resource.
|
108
|
+
# @return [Array<String>]
|
109
|
+
#
|
110
|
+
# @!attribute [rw] terminate_terms
|
111
|
+
# Terms required to terminate the customer-agreement resource.
|
112
|
+
# @return [Array<String>]
|
113
|
+
#
|
114
|
+
# @!attribute [rw] type
|
115
|
+
# Type of the customer-agreement resource.
|
116
|
+
# @return [String]
|
117
|
+
#
|
118
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/artifact-2018-05-10/CustomerAgreementSummary AWS API Documentation
|
119
|
+
#
|
120
|
+
class CustomerAgreementSummary < Struct.new(
|
121
|
+
:name,
|
122
|
+
:arn,
|
123
|
+
:id,
|
124
|
+
:agreement_arn,
|
125
|
+
:aws_account_id,
|
126
|
+
:organization_arn,
|
127
|
+
:effective_start,
|
128
|
+
:effective_end,
|
129
|
+
:state,
|
130
|
+
:description,
|
131
|
+
:acceptance_terms,
|
132
|
+
:terminate_terms,
|
133
|
+
:type)
|
134
|
+
SENSITIVE = []
|
135
|
+
include Aws::Structure
|
136
|
+
end
|
137
|
+
|
63
138
|
# @api private
|
64
139
|
#
|
65
140
|
# @see http://docs.aws.amazon.com/goto/WebAPI/artifact-2018-05-10/GetAccountSettingsRequest AWS API Documentation
|
@@ -193,6 +268,40 @@ module Aws::Artifact
|
|
193
268
|
include Aws::Structure
|
194
269
|
end
|
195
270
|
|
271
|
+
# @!attribute [rw] max_results
|
272
|
+
# Maximum number of resources to return in the paginated response.
|
273
|
+
# @return [Integer]
|
274
|
+
#
|
275
|
+
# @!attribute [rw] next_token
|
276
|
+
# Pagination token to request the next page of resources.
|
277
|
+
# @return [String]
|
278
|
+
#
|
279
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/artifact-2018-05-10/ListCustomerAgreementsRequest AWS API Documentation
|
280
|
+
#
|
281
|
+
class ListCustomerAgreementsRequest < Struct.new(
|
282
|
+
:max_results,
|
283
|
+
:next_token)
|
284
|
+
SENSITIVE = []
|
285
|
+
include Aws::Structure
|
286
|
+
end
|
287
|
+
|
288
|
+
# @!attribute [rw] customer_agreements
|
289
|
+
# List of customer-agreement resources.
|
290
|
+
# @return [Array<Types::CustomerAgreementSummary>]
|
291
|
+
#
|
292
|
+
# @!attribute [rw] next_token
|
293
|
+
# Pagination token to request the next page of resources.
|
294
|
+
# @return [String]
|
295
|
+
#
|
296
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/artifact-2018-05-10/ListCustomerAgreementsResponse AWS API Documentation
|
297
|
+
#
|
298
|
+
class ListCustomerAgreementsResponse < Struct.new(
|
299
|
+
:customer_agreements,
|
300
|
+
:next_token)
|
301
|
+
SENSITIVE = []
|
302
|
+
include Aws::Structure
|
303
|
+
end
|
304
|
+
|
196
305
|
# @!attribute [rw] max_results
|
197
306
|
# Maximum number of resources to return in the paginated response.
|
198
307
|
# @return [Integer]
|
data/lib/aws-sdk-artifact.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -119,6 +119,18 @@ module Aws
|
|
119
119
|
) -> _GetTermForReportResponseSuccess
|
120
120
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetTermForReportResponseSuccess
|
121
121
|
|
122
|
+
interface _ListCustomerAgreementsResponseSuccess
|
123
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListCustomerAgreementsResponse]
|
124
|
+
def customer_agreements: () -> ::Array[Types::CustomerAgreementSummary]
|
125
|
+
def next_token: () -> ::String
|
126
|
+
end
|
127
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Artifact/Client.html#list_customer_agreements-instance_method
|
128
|
+
def list_customer_agreements: (
|
129
|
+
?max_results: ::Integer,
|
130
|
+
?next_token: ::String
|
131
|
+
) -> _ListCustomerAgreementsResponseSuccess
|
132
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListCustomerAgreementsResponseSuccess
|
133
|
+
|
122
134
|
interface _ListReportsResponseSuccess
|
123
135
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListReportsResponse]
|
124
136
|
def reports: () -> ::Array[Types::ReportSummary]
|
data/sig/types.rbs
CHANGED
@@ -25,6 +25,23 @@ module Aws::Artifact
|
|
25
25
|
SENSITIVE: []
|
26
26
|
end
|
27
27
|
|
28
|
+
class CustomerAgreementSummary
|
29
|
+
attr_accessor name: ::String
|
30
|
+
attr_accessor arn: ::String
|
31
|
+
attr_accessor id: ::String
|
32
|
+
attr_accessor agreement_arn: ::String
|
33
|
+
attr_accessor aws_account_id: ::String
|
34
|
+
attr_accessor organization_arn: ::String
|
35
|
+
attr_accessor effective_start: ::Time
|
36
|
+
attr_accessor effective_end: ::Time
|
37
|
+
attr_accessor state: ("ACTIVE" | "CUSTOMER_TERMINATED" | "AWS_TERMINATED")
|
38
|
+
attr_accessor description: ::String
|
39
|
+
attr_accessor acceptance_terms: ::Array[::String]
|
40
|
+
attr_accessor terminate_terms: ::Array[::String]
|
41
|
+
attr_accessor type: ("CUSTOM" | "DEFAULT" | "MODIFIED")
|
42
|
+
SENSITIVE: []
|
43
|
+
end
|
44
|
+
|
28
45
|
class GetAccountSettingsRequest < Aws::EmptyStructure
|
29
46
|
end
|
30
47
|
|
@@ -74,6 +91,18 @@ module Aws::Artifact
|
|
74
91
|
SENSITIVE: []
|
75
92
|
end
|
76
93
|
|
94
|
+
class ListCustomerAgreementsRequest
|
95
|
+
attr_accessor max_results: ::Integer
|
96
|
+
attr_accessor next_token: ::String
|
97
|
+
SENSITIVE: []
|
98
|
+
end
|
99
|
+
|
100
|
+
class ListCustomerAgreementsResponse
|
101
|
+
attr_accessor customer_agreements: ::Array[Types::CustomerAgreementSummary]
|
102
|
+
attr_accessor next_token: ::String
|
103
|
+
SENSITIVE: []
|
104
|
+
end
|
105
|
+
|
77
106
|
class ListReportsRequest
|
78
107
|
attr_accessor max_results: ::Integer
|
79
108
|
attr_accessor next_token: ::String
|
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.
|
4
|
+
version: 1.15.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-
|
11
|
+
date: 2024-12-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|