aws-sdk-artifact 1.38.0 → 1.40.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-artifact/client.rb +451 -1
- data/lib/aws-sdk-artifact/client_api.rb +292 -0
- data/lib/aws-sdk-artifact/types.rb +504 -0
- data/lib/aws-sdk-artifact.rb +2 -2
- data/sig/client.rbs +100 -0
- data/sig/types.rbs +162 -0
- metadata +3 -3
|
@@ -19,13 +19,23 @@ module Aws::Artifact
|
|
|
19
19
|
AccountSettings = Shapes::StructureShape.new(name: 'AccountSettings')
|
|
20
20
|
AgreementTerms = Shapes::ListShape.new(name: 'AgreementTerms')
|
|
21
21
|
AgreementType = Shapes::StringShape.new(name: 'AgreementType')
|
|
22
|
+
Blob = Shapes::BlobShape.new(name: 'Blob')
|
|
23
|
+
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
|
24
|
+
Citation = Shapes::StructureShape.new(name: 'Citation')
|
|
25
|
+
CitationList = Shapes::ListShape.new(name: 'CitationList')
|
|
22
26
|
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
|
27
|
+
CreateComplianceInquiryRequest = Shapes::StructureShape.new(name: 'CreateComplianceInquiryRequest')
|
|
28
|
+
CreateComplianceInquiryResponse = Shapes::StructureShape.new(name: 'CreateComplianceInquiryResponse')
|
|
23
29
|
CustomerAgreementIdAttribute = Shapes::StringShape.new(name: 'CustomerAgreementIdAttribute')
|
|
24
30
|
CustomerAgreementList = Shapes::ListShape.new(name: 'CustomerAgreementList')
|
|
25
31
|
CustomerAgreementState = Shapes::StringShape.new(name: 'CustomerAgreementState')
|
|
26
32
|
CustomerAgreementSummary = Shapes::StructureShape.new(name: 'CustomerAgreementSummary')
|
|
33
|
+
ExportComplianceInquiryRequest = Shapes::StructureShape.new(name: 'ExportComplianceInquiryRequest')
|
|
34
|
+
ExportComplianceInquiryResponse = Shapes::StructureShape.new(name: 'ExportComplianceInquiryResponse')
|
|
27
35
|
GetAccountSettingsRequest = Shapes::StructureShape.new(name: 'GetAccountSettingsRequest')
|
|
28
36
|
GetAccountSettingsResponse = Shapes::StructureShape.new(name: 'GetAccountSettingsResponse')
|
|
37
|
+
GetComplianceInquiryMetadataRequest = Shapes::StructureShape.new(name: 'GetComplianceInquiryMetadataRequest')
|
|
38
|
+
GetComplianceInquiryMetadataResponse = Shapes::StructureShape.new(name: 'GetComplianceInquiryMetadataResponse')
|
|
29
39
|
GetReportMetadataRequest = Shapes::StructureShape.new(name: 'GetReportMetadataRequest')
|
|
30
40
|
GetReportMetadataResponse = Shapes::StructureShape.new(name: 'GetReportMetadataResponse')
|
|
31
41
|
GetReportRequest = Shapes::StructureShape.new(name: 'GetReportRequest')
|
|
@@ -34,33 +44,68 @@ module Aws::Artifact
|
|
|
34
44
|
GetTermForReportRequest = Shapes::StructureShape.new(name: 'GetTermForReportRequest')
|
|
35
45
|
GetTermForReportResponse = Shapes::StructureShape.new(name: 'GetTermForReportResponse')
|
|
36
46
|
GetTermForReportResponseDocumentPresignedUrlString = Shapes::StringShape.new(name: 'GetTermForReportResponseDocumentPresignedUrlString')
|
|
47
|
+
IdempotentClientToken = Shapes::StringShape.new(name: 'IdempotentClientToken')
|
|
48
|
+
InputSource = Shapes::StringShape.new(name: 'InputSource')
|
|
49
|
+
InquiriesList = Shapes::ListShape.new(name: 'InquiriesList')
|
|
50
|
+
InquiryContent = Shapes::UnionShape.new(name: 'InquiryContent')
|
|
51
|
+
InquiryDetail = Shapes::StructureShape.new(name: 'InquiryDetail')
|
|
52
|
+
InquiryFileContent = Shapes::StructureShape.new(name: 'InquiryFileContent')
|
|
53
|
+
InquiryFileContentFileSectionsList = Shapes::ListShape.new(name: 'InquiryFileContentFileSectionsList')
|
|
54
|
+
InquiryId = Shapes::StringShape.new(name: 'InquiryId')
|
|
55
|
+
InquiryStatus = Shapes::StringShape.new(name: 'InquiryStatus')
|
|
56
|
+
InquiryStatusMessage = Shapes::StringShape.new(name: 'InquiryStatusMessage')
|
|
57
|
+
InquirySummary = Shapes::StructureShape.new(name: 'InquirySummary')
|
|
58
|
+
InquirySupportMode = Shapes::StringShape.new(name: 'InquirySupportMode')
|
|
37
59
|
Integer = Shapes::IntegerShape.new(name: 'Integer')
|
|
38
60
|
InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
|
|
61
|
+
ListComplianceInquiriesRequest = Shapes::StructureShape.new(name: 'ListComplianceInquiriesRequest')
|
|
62
|
+
ListComplianceInquiriesResponse = Shapes::StructureShape.new(name: 'ListComplianceInquiriesResponse')
|
|
63
|
+
ListComplianceInquiryQueriesRequest = Shapes::StructureShape.new(name: 'ListComplianceInquiryQueriesRequest')
|
|
64
|
+
ListComplianceInquiryQueriesResponse = Shapes::StructureShape.new(name: 'ListComplianceInquiryQueriesResponse')
|
|
39
65
|
ListCustomerAgreementsRequest = Shapes::StructureShape.new(name: 'ListCustomerAgreementsRequest')
|
|
40
66
|
ListCustomerAgreementsResponse = Shapes::StructureShape.new(name: 'ListCustomerAgreementsResponse')
|
|
41
67
|
ListReportVersionsRequest = Shapes::StructureShape.new(name: 'ListReportVersionsRequest')
|
|
42
68
|
ListReportVersionsResponse = Shapes::StructureShape.new(name: 'ListReportVersionsResponse')
|
|
43
69
|
ListReportsRequest = Shapes::StructureShape.new(name: 'ListReportsRequest')
|
|
44
70
|
ListReportsResponse = Shapes::StructureShape.new(name: 'ListReportsResponse')
|
|
71
|
+
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
|
72
|
+
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
|
45
73
|
LongStringAttribute = Shapes::StringShape.new(name: 'LongStringAttribute')
|
|
46
74
|
MaxResultsAttribute = Shapes::IntegerShape.new(name: 'MaxResultsAttribute')
|
|
47
75
|
NextTokenAttribute = Shapes::StringShape.new(name: 'NextTokenAttribute')
|
|
48
76
|
NotificationSubscriptionStatus = Shapes::StringShape.new(name: 'NotificationSubscriptionStatus')
|
|
77
|
+
PresignedUrl = Shapes::StringShape.new(name: 'PresignedUrl')
|
|
49
78
|
PublishedState = Shapes::StringShape.new(name: 'PublishedState')
|
|
50
79
|
PutAccountSettingsRequest = Shapes::StructureShape.new(name: 'PutAccountSettingsRequest')
|
|
51
80
|
PutAccountSettingsResponse = Shapes::StructureShape.new(name: 'PutAccountSettingsResponse')
|
|
81
|
+
QueriesList = Shapes::ListShape.new(name: 'QueriesList')
|
|
82
|
+
QueryIdentifiersList = Shapes::ListShape.new(name: 'QueryIdentifiersList')
|
|
83
|
+
QueryStatus = Shapes::StringShape.new(name: 'QueryStatus')
|
|
84
|
+
QueryStatusMessage = Shapes::StringShape.new(name: 'QueryStatusMessage')
|
|
85
|
+
QuerySummary = Shapes::StructureShape.new(name: 'QuerySummary')
|
|
52
86
|
ReportDetail = Shapes::StructureShape.new(name: 'ReportDetail')
|
|
53
87
|
ReportId = Shapes::StringShape.new(name: 'ReportId')
|
|
54
88
|
ReportSummary = Shapes::StructureShape.new(name: 'ReportSummary')
|
|
55
89
|
ReportsList = Shapes::ListShape.new(name: 'ReportsList')
|
|
56
90
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
|
91
|
+
ResponseVersion = Shapes::StructureShape.new(name: 'ResponseVersion')
|
|
92
|
+
ResponseVersionList = Shapes::ListShape.new(name: 'ResponseVersionList')
|
|
93
|
+
ReviewType = Shapes::StringShape.new(name: 'ReviewType')
|
|
57
94
|
SequenceNumberAttribute = Shapes::IntegerShape.new(name: 'SequenceNumberAttribute')
|
|
58
95
|
ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
|
|
59
96
|
ShortStringAttribute = Shapes::StringShape.new(name: 'ShortStringAttribute')
|
|
60
97
|
StatusMessage = Shapes::StringShape.new(name: 'StatusMessage')
|
|
61
98
|
String = Shapes::StringShape.new(name: 'String')
|
|
99
|
+
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
|
100
|
+
TagKeys = Shapes::ListShape.new(name: 'TagKeys')
|
|
101
|
+
TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
|
|
102
|
+
TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
|
|
103
|
+
TagValue = Shapes::StringShape.new(name: 'TagValue')
|
|
104
|
+
TagsMap = Shapes::MapShape.new(name: 'TagsMap')
|
|
62
105
|
ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
|
|
63
106
|
TimestampAttribute = Shapes::TimestampShape.new(name: 'TimestampAttribute', timestampFormat: "iso8601")
|
|
107
|
+
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
|
108
|
+
UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
|
|
64
109
|
UploadState = Shapes::StringShape.new(name: 'UploadState')
|
|
65
110
|
ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
|
|
66
111
|
ValidationExceptionField = Shapes::StructureShape.new(name: 'ValidationExceptionField')
|
|
@@ -76,11 +121,29 @@ module Aws::Artifact
|
|
|
76
121
|
|
|
77
122
|
AgreementTerms.member = Shapes::ShapeRef.new(shape: LongStringAttribute)
|
|
78
123
|
|
|
124
|
+
Citation.add_member(:source_label, Shapes::ShapeRef.new(shape: ShortStringAttribute, location_name: "sourceLabel"))
|
|
125
|
+
Citation.add_member(:source_content, Shapes::ShapeRef.new(shape: LongStringAttribute, location_name: "sourceContent"))
|
|
126
|
+
Citation.add_member(:source_link, Shapes::ShapeRef.new(shape: LongStringAttribute, location_name: "sourceLink"))
|
|
127
|
+
Citation.struct_class = Types::Citation
|
|
128
|
+
|
|
129
|
+
CitationList.member = Shapes::ShapeRef.new(shape: Citation)
|
|
130
|
+
|
|
79
131
|
ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
|
80
132
|
ConflictException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceId"))
|
|
81
133
|
ConflictException.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceType"))
|
|
82
134
|
ConflictException.struct_class = Types::ConflictException
|
|
83
135
|
|
|
136
|
+
CreateComplianceInquiryRequest.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "name"))
|
|
137
|
+
CreateComplianceInquiryRequest.add_member(:inquiry_content, Shapes::ShapeRef.new(shape: InquiryContent, required: true, location_name: "inquiryContent"))
|
|
138
|
+
CreateComplianceInquiryRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotentClientToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
|
139
|
+
CreateComplianceInquiryRequest.add_member(:support_mode, Shapes::ShapeRef.new(shape: InquirySupportMode, location_name: "supportMode"))
|
|
140
|
+
CreateComplianceInquiryRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagsMap, location_name: "tags"))
|
|
141
|
+
CreateComplianceInquiryRequest.struct_class = Types::CreateComplianceInquiryRequest
|
|
142
|
+
|
|
143
|
+
CreateComplianceInquiryResponse.add_member(:compliance_inquiry_summary, Shapes::ShapeRef.new(shape: InquirySummary, location_name: "complianceInquirySummary"))
|
|
144
|
+
CreateComplianceInquiryResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagsMap, location_name: "tags"))
|
|
145
|
+
CreateComplianceInquiryResponse.struct_class = Types::CreateComplianceInquiryResponse
|
|
146
|
+
|
|
84
147
|
CustomerAgreementList.member = Shapes::ShapeRef.new(shape: CustomerAgreementSummary)
|
|
85
148
|
|
|
86
149
|
CustomerAgreementSummary.add_member(:name, Shapes::ShapeRef.new(shape: LongStringAttribute, location_name: "name"))
|
|
@@ -98,11 +161,27 @@ module Aws::Artifact
|
|
|
98
161
|
CustomerAgreementSummary.add_member(:type, Shapes::ShapeRef.new(shape: AgreementType, location_name: "type"))
|
|
99
162
|
CustomerAgreementSummary.struct_class = Types::CustomerAgreementSummary
|
|
100
163
|
|
|
164
|
+
ExportComplianceInquiryRequest.add_member(:compliance_inquiry_id, Shapes::ShapeRef.new(shape: InquiryId, required: true, location_name: "complianceInquiryId"))
|
|
165
|
+
ExportComplianceInquiryRequest.add_member(:query_identifiers, Shapes::ShapeRef.new(shape: QueryIdentifiersList, location_name: "queryIdentifiers"))
|
|
166
|
+
ExportComplianceInquiryRequest.add_member(:include_citations, Shapes::ShapeRef.new(shape: Boolean, location_name: "includeCitations"))
|
|
167
|
+
ExportComplianceInquiryRequest.struct_class = Types::ExportComplianceInquiryRequest
|
|
168
|
+
|
|
169
|
+
ExportComplianceInquiryResponse.add_member(:document_presigned_url, Shapes::ShapeRef.new(shape: PresignedUrl, location_name: "documentPresignedUrl"))
|
|
170
|
+
ExportComplianceInquiryResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagsMap, location_name: "tags"))
|
|
171
|
+
ExportComplianceInquiryResponse.struct_class = Types::ExportComplianceInquiryResponse
|
|
172
|
+
|
|
101
173
|
GetAccountSettingsRequest.struct_class = Types::GetAccountSettingsRequest
|
|
102
174
|
|
|
103
175
|
GetAccountSettingsResponse.add_member(:account_settings, Shapes::ShapeRef.new(shape: AccountSettings, location_name: "accountSettings"))
|
|
104
176
|
GetAccountSettingsResponse.struct_class = Types::GetAccountSettingsResponse
|
|
105
177
|
|
|
178
|
+
GetComplianceInquiryMetadataRequest.add_member(:compliance_inquiry_id, Shapes::ShapeRef.new(shape: InquiryId, required: true, location: "querystring", location_name: "complianceInquiryId"))
|
|
179
|
+
GetComplianceInquiryMetadataRequest.struct_class = Types::GetComplianceInquiryMetadataRequest
|
|
180
|
+
|
|
181
|
+
GetComplianceInquiryMetadataResponse.add_member(:compliance_inquiry_detail, Shapes::ShapeRef.new(shape: InquiryDetail, location_name: "complianceInquiryDetail"))
|
|
182
|
+
GetComplianceInquiryMetadataResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagsMap, location_name: "tags"))
|
|
183
|
+
GetComplianceInquiryMetadataResponse.struct_class = Types::GetComplianceInquiryMetadataResponse
|
|
184
|
+
|
|
106
185
|
GetReportMetadataRequest.add_member(:report_id, Shapes::ShapeRef.new(shape: ReportId, required: true, location: "querystring", location_name: "reportId"))
|
|
107
186
|
GetReportMetadataRequest.add_member(:report_version, Shapes::ShapeRef.new(shape: VersionAttribute, location: "querystring", location_name: "reportVersion"))
|
|
108
187
|
GetReportMetadataRequest.struct_class = Types::GetReportMetadataRequest
|
|
@@ -126,10 +205,63 @@ module Aws::Artifact
|
|
|
126
205
|
GetTermForReportResponse.add_member(:term_token, Shapes::ShapeRef.new(shape: String, location_name: "termToken"))
|
|
127
206
|
GetTermForReportResponse.struct_class = Types::GetTermForReportResponse
|
|
128
207
|
|
|
208
|
+
InquiriesList.member = Shapes::ShapeRef.new(shape: InquirySummary)
|
|
209
|
+
|
|
210
|
+
InquiryContent.add_member(:query, Shapes::ShapeRef.new(shape: LongStringAttribute, location_name: "query"))
|
|
211
|
+
InquiryContent.add_member(:file_content, Shapes::ShapeRef.new(shape: InquiryFileContent, location_name: "fileContent"))
|
|
212
|
+
InquiryContent.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
|
213
|
+
InquiryContent.add_member_subclass(:query, Types::InquiryContent::Query)
|
|
214
|
+
InquiryContent.add_member_subclass(:file_content, Types::InquiryContent::FileContent)
|
|
215
|
+
InquiryContent.add_member_subclass(:unknown, Types::InquiryContent::Unknown)
|
|
216
|
+
InquiryContent.struct_class = Types::InquiryContent
|
|
217
|
+
|
|
218
|
+
InquiryDetail.add_member(:arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "arn"))
|
|
219
|
+
InquiryDetail.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "name"))
|
|
220
|
+
InquiryDetail.add_member(:id, Shapes::ShapeRef.new(shape: InquiryId, required: true, location_name: "id"))
|
|
221
|
+
InquiryDetail.add_member(:status, Shapes::ShapeRef.new(shape: InquiryStatus, required: true, location_name: "status"))
|
|
222
|
+
InquiryDetail.add_member(:status_message, Shapes::ShapeRef.new(shape: InquiryStatusMessage, required: true, location_name: "statusMessage"))
|
|
223
|
+
InquiryDetail.add_member(:input_source, Shapes::ShapeRef.new(shape: InputSource, required: true, location_name: "inputSource"))
|
|
224
|
+
InquiryDetail.add_member(:created_at, Shapes::ShapeRef.new(shape: TimestampAttribute, required: true, location_name: "createdAt"))
|
|
225
|
+
InquiryDetail.add_member(:updated_at, Shapes::ShapeRef.new(shape: TimestampAttribute, location_name: "updatedAt"))
|
|
226
|
+
InquiryDetail.add_member(:support_mode, Shapes::ShapeRef.new(shape: InquirySupportMode, location_name: "supportMode"))
|
|
227
|
+
InquiryDetail.struct_class = Types::InquiryDetail
|
|
228
|
+
|
|
229
|
+
InquiryFileContent.add_member(:file_sections, Shapes::ShapeRef.new(shape: InquiryFileContentFileSectionsList, location_name: "fileSections"))
|
|
230
|
+
InquiryFileContent.add_member(:content, Shapes::ShapeRef.new(shape: Blob, required: true, location_name: "content"))
|
|
231
|
+
InquiryFileContent.struct_class = Types::InquiryFileContent
|
|
232
|
+
|
|
233
|
+
InquiryFileContentFileSectionsList.member = Shapes::ShapeRef.new(shape: ShortStringAttribute)
|
|
234
|
+
|
|
235
|
+
InquirySummary.add_member(:arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "arn"))
|
|
236
|
+
InquirySummary.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "name"))
|
|
237
|
+
InquirySummary.add_member(:id, Shapes::ShapeRef.new(shape: InquiryId, required: true, location_name: "id"))
|
|
238
|
+
InquirySummary.add_member(:status, Shapes::ShapeRef.new(shape: InquiryStatus, required: true, location_name: "status"))
|
|
239
|
+
InquirySummary.add_member(:status_message, Shapes::ShapeRef.new(shape: InquiryStatusMessage, required: true, location_name: "statusMessage"))
|
|
240
|
+
InquirySummary.add_member(:input_source, Shapes::ShapeRef.new(shape: InputSource, required: true, location_name: "inputSource"))
|
|
241
|
+
InquirySummary.add_member(:created_at, Shapes::ShapeRef.new(shape: TimestampAttribute, required: true, location_name: "createdAt"))
|
|
242
|
+
InquirySummary.struct_class = Types::InquirySummary
|
|
243
|
+
|
|
129
244
|
InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
|
130
245
|
InternalServerException.add_member(:retry_after_seconds, Shapes::ShapeRef.new(shape: Integer, location: "header", location_name: "Retry-After"))
|
|
131
246
|
InternalServerException.struct_class = Types::InternalServerException
|
|
132
247
|
|
|
248
|
+
ListComplianceInquiriesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResultsAttribute, location: "querystring", location_name: "maxResults"))
|
|
249
|
+
ListComplianceInquiriesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextTokenAttribute, location: "querystring", location_name: "nextToken"))
|
|
250
|
+
ListComplianceInquiriesRequest.struct_class = Types::ListComplianceInquiriesRequest
|
|
251
|
+
|
|
252
|
+
ListComplianceInquiriesResponse.add_member(:compliance_inquiries, Shapes::ShapeRef.new(shape: InquiriesList, location_name: "complianceInquiries"))
|
|
253
|
+
ListComplianceInquiriesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextTokenAttribute, location_name: "nextToken"))
|
|
254
|
+
ListComplianceInquiriesResponse.struct_class = Types::ListComplianceInquiriesResponse
|
|
255
|
+
|
|
256
|
+
ListComplianceInquiryQueriesRequest.add_member(:compliance_inquiry_id, Shapes::ShapeRef.new(shape: InquiryId, required: true, location: "querystring", location_name: "complianceInquiryId"))
|
|
257
|
+
ListComplianceInquiryQueriesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResultsAttribute, location: "querystring", location_name: "maxResults"))
|
|
258
|
+
ListComplianceInquiryQueriesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextTokenAttribute, location: "querystring", location_name: "nextToken"))
|
|
259
|
+
ListComplianceInquiryQueriesRequest.struct_class = Types::ListComplianceInquiryQueriesRequest
|
|
260
|
+
|
|
261
|
+
ListComplianceInquiryQueriesResponse.add_member(:queries, Shapes::ShapeRef.new(shape: QueriesList, location_name: "queries"))
|
|
262
|
+
ListComplianceInquiryQueriesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextTokenAttribute, location_name: "nextToken"))
|
|
263
|
+
ListComplianceInquiryQueriesResponse.struct_class = Types::ListComplianceInquiryQueriesResponse
|
|
264
|
+
|
|
133
265
|
ListCustomerAgreementsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResultsAttribute, location: "querystring", location_name: "maxResults"))
|
|
134
266
|
ListCustomerAgreementsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextTokenAttribute, location: "querystring", location_name: "nextToken"))
|
|
135
267
|
ListCustomerAgreementsRequest.struct_class = Types::ListCustomerAgreementsRequest
|
|
@@ -155,12 +287,33 @@ module Aws::Artifact
|
|
|
155
287
|
ListReportsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextTokenAttribute, location_name: "nextToken"))
|
|
156
288
|
ListReportsResponse.struct_class = Types::ListReportsResponse
|
|
157
289
|
|
|
290
|
+
ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: LongStringAttribute, required: true, location: "uri", location_name: "resourceArn"))
|
|
291
|
+
ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
|
|
292
|
+
|
|
293
|
+
ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagsMap, location_name: "tags"))
|
|
294
|
+
ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
|
|
295
|
+
|
|
158
296
|
PutAccountSettingsRequest.add_member(:notification_subscription_status, Shapes::ShapeRef.new(shape: NotificationSubscriptionStatus, location_name: "notificationSubscriptionStatus"))
|
|
159
297
|
PutAccountSettingsRequest.struct_class = Types::PutAccountSettingsRequest
|
|
160
298
|
|
|
161
299
|
PutAccountSettingsResponse.add_member(:account_settings, Shapes::ShapeRef.new(shape: AccountSettings, location_name: "accountSettings"))
|
|
162
300
|
PutAccountSettingsResponse.struct_class = Types::PutAccountSettingsResponse
|
|
163
301
|
|
|
302
|
+
QueriesList.member = Shapes::ShapeRef.new(shape: QuerySummary)
|
|
303
|
+
|
|
304
|
+
QueryIdentifiersList.member = Shapes::ShapeRef.new(shape: Integer)
|
|
305
|
+
|
|
306
|
+
QuerySummary.add_member(:query_identifier, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "queryIdentifier"))
|
|
307
|
+
QuerySummary.add_member(:query, Shapes::ShapeRef.new(shape: LongStringAttribute, required: true, location_name: "query"))
|
|
308
|
+
QuerySummary.add_member(:response, Shapes::ShapeRef.new(shape: LongStringAttribute, location_name: "response"))
|
|
309
|
+
QuerySummary.add_member(:review_type, Shapes::ShapeRef.new(shape: ReviewType, location_name: "reviewType"))
|
|
310
|
+
QuerySummary.add_member(:citations, Shapes::ShapeRef.new(shape: CitationList, location_name: "citations"))
|
|
311
|
+
QuerySummary.add_member(:status, Shapes::ShapeRef.new(shape: QueryStatus, required: true, location_name: "status"))
|
|
312
|
+
QuerySummary.add_member(:status_message, Shapes::ShapeRef.new(shape: QueryStatusMessage, required: true, location_name: "statusMessage"))
|
|
313
|
+
QuerySummary.add_member(:created_at, Shapes::ShapeRef.new(shape: TimestampAttribute, required: true, location_name: "createdAt"))
|
|
314
|
+
QuerySummary.add_member(:updated_response_versions, Shapes::ShapeRef.new(shape: ResponseVersionList, location_name: "updatedResponseVersions"))
|
|
315
|
+
QuerySummary.struct_class = Types::QuerySummary
|
|
316
|
+
|
|
164
317
|
ReportDetail.add_member(:id, Shapes::ShapeRef.new(shape: ReportId, location_name: "id"))
|
|
165
318
|
ReportDetail.add_member(:name, Shapes::ShapeRef.new(shape: ShortStringAttribute, location_name: "name"))
|
|
166
319
|
ReportDetail.add_member(:description, Shapes::ShapeRef.new(shape: LongStringAttribute, location_name: "description"))
|
|
@@ -207,6 +360,12 @@ module Aws::Artifact
|
|
|
207
360
|
ResourceNotFoundException.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceType"))
|
|
208
361
|
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
|
209
362
|
|
|
363
|
+
ResponseVersion.add_member(:response_text, Shapes::ShapeRef.new(shape: LongStringAttribute, required: true, location_name: "responseText"))
|
|
364
|
+
ResponseVersion.add_member(:timestamp, Shapes::ShapeRef.new(shape: TimestampAttribute, required: true, location_name: "timestamp"))
|
|
365
|
+
ResponseVersion.struct_class = Types::ResponseVersion
|
|
366
|
+
|
|
367
|
+
ResponseVersionList.member = Shapes::ShapeRef.new(shape: ResponseVersion)
|
|
368
|
+
|
|
210
369
|
ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
|
211
370
|
ServiceQuotaExceededException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceId"))
|
|
212
371
|
ServiceQuotaExceededException.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceType"))
|
|
@@ -214,12 +373,29 @@ module Aws::Artifact
|
|
|
214
373
|
ServiceQuotaExceededException.add_member(:quota_code, Shapes::ShapeRef.new(shape: String, required: true, location_name: "quotaCode"))
|
|
215
374
|
ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
|
|
216
375
|
|
|
376
|
+
TagKeys.member = Shapes::ShapeRef.new(shape: TagKey)
|
|
377
|
+
|
|
378
|
+
TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: LongStringAttribute, required: true, location: "uri", location_name: "resourceArn"))
|
|
379
|
+
TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagsMap, required: true, location_name: "tags"))
|
|
380
|
+
TagResourceRequest.struct_class = Types::TagResourceRequest
|
|
381
|
+
|
|
382
|
+
TagResourceResponse.struct_class = Types::TagResourceResponse
|
|
383
|
+
|
|
384
|
+
TagsMap.key = Shapes::ShapeRef.new(shape: TagKey)
|
|
385
|
+
TagsMap.value = Shapes::ShapeRef.new(shape: TagValue)
|
|
386
|
+
|
|
217
387
|
ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
|
218
388
|
ThrottlingException.add_member(:service_code, Shapes::ShapeRef.new(shape: String, location_name: "serviceCode"))
|
|
219
389
|
ThrottlingException.add_member(:quota_code, Shapes::ShapeRef.new(shape: String, location_name: "quotaCode"))
|
|
220
390
|
ThrottlingException.add_member(:retry_after_seconds, Shapes::ShapeRef.new(shape: Integer, location: "header", location_name: "Retry-After"))
|
|
221
391
|
ThrottlingException.struct_class = Types::ThrottlingException
|
|
222
392
|
|
|
393
|
+
UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: LongStringAttribute, required: true, location: "uri", location_name: "resourceArn"))
|
|
394
|
+
UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeys, required: true, location: "querystring", location_name: "tagKeys"))
|
|
395
|
+
UntagResourceRequest.struct_class = Types::UntagResourceRequest
|
|
396
|
+
|
|
397
|
+
UntagResourceResponse.struct_class = Types::UntagResourceResponse
|
|
398
|
+
|
|
223
399
|
ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
|
224
400
|
ValidationException.add_member(:reason, Shapes::ShapeRef.new(shape: ValidationExceptionReason, required: true, location_name: "reason"))
|
|
225
401
|
ValidationException.add_member(:field_list, Shapes::ShapeRef.new(shape: ValidationExceptionFieldList, location_name: "fieldList"))
|
|
@@ -250,6 +426,32 @@ module Aws::Artifact
|
|
|
250
426
|
"uid" => "artifact-2018-05-10",
|
|
251
427
|
}
|
|
252
428
|
|
|
429
|
+
api.add_operation(:create_compliance_inquiry, Seahorse::Model::Operation.new.tap do |o|
|
|
430
|
+
o.name = "CreateComplianceInquiry"
|
|
431
|
+
o.http_method = "POST"
|
|
432
|
+
o.http_request_uri = "/v1/compliance-inquiry/create"
|
|
433
|
+
o.input = Shapes::ShapeRef.new(shape: CreateComplianceInquiryRequest)
|
|
434
|
+
o.output = Shapes::ShapeRef.new(shape: CreateComplianceInquiryResponse)
|
|
435
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
436
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
437
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
|
438
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
439
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
440
|
+
end)
|
|
441
|
+
|
|
442
|
+
api.add_operation(:export_compliance_inquiry, Seahorse::Model::Operation.new.tap do |o|
|
|
443
|
+
o.name = "ExportComplianceInquiry"
|
|
444
|
+
o.http_method = "POST"
|
|
445
|
+
o.http_request_uri = "/v1/compliance-inquiry/export"
|
|
446
|
+
o.input = Shapes::ShapeRef.new(shape: ExportComplianceInquiryRequest)
|
|
447
|
+
o.output = Shapes::ShapeRef.new(shape: ExportComplianceInquiryResponse)
|
|
448
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
449
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
450
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
451
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
452
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
453
|
+
end)
|
|
454
|
+
|
|
253
455
|
api.add_operation(:get_account_settings, Seahorse::Model::Operation.new.tap do |o|
|
|
254
456
|
o.name = "GetAccountSettings"
|
|
255
457
|
o.http_method = "GET"
|
|
@@ -265,6 +467,19 @@ module Aws::Artifact
|
|
|
265
467
|
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
|
266
468
|
end)
|
|
267
469
|
|
|
470
|
+
api.add_operation(:get_compliance_inquiry_metadata, Seahorse::Model::Operation.new.tap do |o|
|
|
471
|
+
o.name = "GetComplianceInquiryMetadata"
|
|
472
|
+
o.http_method = "GET"
|
|
473
|
+
o.http_request_uri = "/v1/compliance-inquiry/getMetadata"
|
|
474
|
+
o.input = Shapes::ShapeRef.new(shape: GetComplianceInquiryMetadataRequest)
|
|
475
|
+
o.output = Shapes::ShapeRef.new(shape: GetComplianceInquiryMetadataResponse)
|
|
476
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
477
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
478
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
479
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
480
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
481
|
+
end)
|
|
482
|
+
|
|
268
483
|
api.add_operation(:get_report, Seahorse::Model::Operation.new.tap do |o|
|
|
269
484
|
o.name = "GetReport"
|
|
270
485
|
o.http_method = "GET"
|
|
@@ -309,6 +524,44 @@ module Aws::Artifact
|
|
|
309
524
|
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
|
310
525
|
end)
|
|
311
526
|
|
|
527
|
+
api.add_operation(:list_compliance_inquiries, Seahorse::Model::Operation.new.tap do |o|
|
|
528
|
+
o.name = "ListComplianceInquiries"
|
|
529
|
+
o.http_method = "GET"
|
|
530
|
+
o.http_request_uri = "/v1/compliance-inquiry/list"
|
|
531
|
+
o.input = Shapes::ShapeRef.new(shape: ListComplianceInquiriesRequest)
|
|
532
|
+
o.output = Shapes::ShapeRef.new(shape: ListComplianceInquiriesResponse)
|
|
533
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
534
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
535
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
536
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
537
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
538
|
+
o[:pager] = Aws::Pager.new(
|
|
539
|
+
limit_key: "max_results",
|
|
540
|
+
tokens: {
|
|
541
|
+
"next_token" => "next_token"
|
|
542
|
+
}
|
|
543
|
+
)
|
|
544
|
+
end)
|
|
545
|
+
|
|
546
|
+
api.add_operation(:list_compliance_inquiry_queries, Seahorse::Model::Operation.new.tap do |o|
|
|
547
|
+
o.name = "ListComplianceInquiryQueries"
|
|
548
|
+
o.http_method = "GET"
|
|
549
|
+
o.http_request_uri = "/v1/compliance-inquiry/listQueries"
|
|
550
|
+
o.input = Shapes::ShapeRef.new(shape: ListComplianceInquiryQueriesRequest)
|
|
551
|
+
o.output = Shapes::ShapeRef.new(shape: ListComplianceInquiryQueriesResponse)
|
|
552
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
553
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
554
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
555
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
556
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
557
|
+
o[:pager] = Aws::Pager.new(
|
|
558
|
+
limit_key: "max_results",
|
|
559
|
+
tokens: {
|
|
560
|
+
"next_token" => "next_token"
|
|
561
|
+
}
|
|
562
|
+
)
|
|
563
|
+
end)
|
|
564
|
+
|
|
312
565
|
api.add_operation(:list_customer_agreements, Seahorse::Model::Operation.new.tap do |o|
|
|
313
566
|
o.name = "ListCustomerAgreements"
|
|
314
567
|
o.http_method = "GET"
|
|
@@ -367,6 +620,19 @@ module Aws::Artifact
|
|
|
367
620
|
)
|
|
368
621
|
end)
|
|
369
622
|
|
|
623
|
+
api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
|
|
624
|
+
o.name = "ListTagsForResource"
|
|
625
|
+
o.http_method = "GET"
|
|
626
|
+
o.http_request_uri = "/tags/{resourceArn}"
|
|
627
|
+
o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
|
|
628
|
+
o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
|
|
629
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
630
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
631
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
632
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
633
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
634
|
+
end)
|
|
635
|
+
|
|
370
636
|
api.add_operation(:put_account_settings, Seahorse::Model::Operation.new.tap do |o|
|
|
371
637
|
o.name = "PutAccountSettings"
|
|
372
638
|
o.http_method = "PUT"
|
|
@@ -381,6 +647,32 @@ module Aws::Artifact
|
|
|
381
647
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
382
648
|
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
|
383
649
|
end)
|
|
650
|
+
|
|
651
|
+
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
|
652
|
+
o.name = "TagResource"
|
|
653
|
+
o.http_method = "POST"
|
|
654
|
+
o.http_request_uri = "/tags/{resourceArn}"
|
|
655
|
+
o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
|
|
656
|
+
o.output = Shapes::ShapeRef.new(shape: TagResourceResponse)
|
|
657
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
658
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
659
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
660
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
661
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
662
|
+
end)
|
|
663
|
+
|
|
664
|
+
api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
|
|
665
|
+
o.name = "UntagResource"
|
|
666
|
+
o.http_method = "DELETE"
|
|
667
|
+
o.http_request_uri = "/tags/{resourceArn}"
|
|
668
|
+
o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
|
|
669
|
+
o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse)
|
|
670
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
671
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
672
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
673
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
674
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
675
|
+
end)
|
|
384
676
|
end
|
|
385
677
|
|
|
386
678
|
end
|