aws-sdk-artifact 1.0.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 +7 -0
- data/CHANGELOG.md +8 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-artifact/client.rb +644 -0
- data/lib/aws-sdk-artifact/client_api.rb +300 -0
- data/lib/aws-sdk-artifact/customizations.rb +0 -0
- data/lib/aws-sdk-artifact/endpoint_parameters.rb +66 -0
- data/lib/aws-sdk-artifact/endpoint_provider.rb +54 -0
- data/lib/aws-sdk-artifact/endpoints.rb +100 -0
- data/lib/aws-sdk-artifact/errors.rb +232 -0
- data/lib/aws-sdk-artifact/plugins/endpoints.rb +82 -0
- data/lib/aws-sdk-artifact/resource.rb +26 -0
- data/lib/aws-sdk-artifact/types.rb +569 -0
- data/lib/aws-sdk-artifact.rb +57 -0
- data/sig/client.rbs +143 -0
- data/sig/errors.rbs +51 -0
- data/sig/resource.rbs +79 -0
- data/sig/types.rbs +178 -0
- data/sig/waiters.rbs +13 -0
- metadata +99 -0
@@ -0,0 +1,569 @@
|
|
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
|
+
module Aws::Artifact
|
11
|
+
module Types
|
12
|
+
|
13
|
+
# User does not have sufficient access to perform this action.
|
14
|
+
#
|
15
|
+
# @!attribute [rw] message
|
16
|
+
# @return [String]
|
17
|
+
#
|
18
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/artifact-2018-05-10/AccessDeniedException AWS API Documentation
|
19
|
+
#
|
20
|
+
class AccessDeniedException < Struct.new(
|
21
|
+
:message)
|
22
|
+
SENSITIVE = []
|
23
|
+
include Aws::Structure
|
24
|
+
end
|
25
|
+
|
26
|
+
# Account settings for the customer.
|
27
|
+
#
|
28
|
+
# @!attribute [rw] notification_subscription_status
|
29
|
+
# Notification subscription status of the customer.
|
30
|
+
# @return [String]
|
31
|
+
#
|
32
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/artifact-2018-05-10/AccountSettings AWS API Documentation
|
33
|
+
#
|
34
|
+
class AccountSettings < Struct.new(
|
35
|
+
:notification_subscription_status)
|
36
|
+
SENSITIVE = []
|
37
|
+
include Aws::Structure
|
38
|
+
end
|
39
|
+
|
40
|
+
# Request to create/modify content would result in a conflict.
|
41
|
+
#
|
42
|
+
# @!attribute [rw] message
|
43
|
+
# @return [String]
|
44
|
+
#
|
45
|
+
# @!attribute [rw] resource_id
|
46
|
+
# Identifier of the affected resource.
|
47
|
+
# @return [String]
|
48
|
+
#
|
49
|
+
# @!attribute [rw] resource_type
|
50
|
+
# Type of the affected resource.
|
51
|
+
# @return [String]
|
52
|
+
#
|
53
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/artifact-2018-05-10/ConflictException AWS API Documentation
|
54
|
+
#
|
55
|
+
class ConflictException < Struct.new(
|
56
|
+
:message,
|
57
|
+
:resource_id,
|
58
|
+
:resource_type)
|
59
|
+
SENSITIVE = []
|
60
|
+
include Aws::Structure
|
61
|
+
end
|
62
|
+
|
63
|
+
# @api private
|
64
|
+
#
|
65
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/artifact-2018-05-10/GetAccountSettingsRequest AWS API Documentation
|
66
|
+
#
|
67
|
+
class GetAccountSettingsRequest < Aws::EmptyStructure; end
|
68
|
+
|
69
|
+
# @!attribute [rw] account_settings
|
70
|
+
# Account settings for the customer.
|
71
|
+
# @return [Types::AccountSettings]
|
72
|
+
#
|
73
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/artifact-2018-05-10/GetAccountSettingsResponse AWS API Documentation
|
74
|
+
#
|
75
|
+
class GetAccountSettingsResponse < Struct.new(
|
76
|
+
:account_settings)
|
77
|
+
SENSITIVE = []
|
78
|
+
include Aws::Structure
|
79
|
+
end
|
80
|
+
|
81
|
+
# @!attribute [rw] report_id
|
82
|
+
# Unique resource ID for the report resource.
|
83
|
+
# @return [String]
|
84
|
+
#
|
85
|
+
# @!attribute [rw] report_version
|
86
|
+
# Version for the report resource.
|
87
|
+
# @return [Integer]
|
88
|
+
#
|
89
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/artifact-2018-05-10/GetReportMetadataRequest AWS API Documentation
|
90
|
+
#
|
91
|
+
class GetReportMetadataRequest < Struct.new(
|
92
|
+
:report_id,
|
93
|
+
:report_version)
|
94
|
+
SENSITIVE = []
|
95
|
+
include Aws::Structure
|
96
|
+
end
|
97
|
+
|
98
|
+
# @!attribute [rw] report_details
|
99
|
+
# Report resource detail.
|
100
|
+
# @return [Types::ReportDetail]
|
101
|
+
#
|
102
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/artifact-2018-05-10/GetReportMetadataResponse AWS API Documentation
|
103
|
+
#
|
104
|
+
class GetReportMetadataResponse < Struct.new(
|
105
|
+
:report_details)
|
106
|
+
SENSITIVE = []
|
107
|
+
include Aws::Structure
|
108
|
+
end
|
109
|
+
|
110
|
+
# @!attribute [rw] report_id
|
111
|
+
# Unique resource ID for the report resource.
|
112
|
+
# @return [String]
|
113
|
+
#
|
114
|
+
# @!attribute [rw] report_version
|
115
|
+
# Version for the report resource.
|
116
|
+
# @return [Integer]
|
117
|
+
#
|
118
|
+
# @!attribute [rw] term_token
|
119
|
+
# Unique download token provided by GetTermForReport API.
|
120
|
+
# @return [String]
|
121
|
+
#
|
122
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/artifact-2018-05-10/GetReportRequest AWS API Documentation
|
123
|
+
#
|
124
|
+
class GetReportRequest < Struct.new(
|
125
|
+
:report_id,
|
126
|
+
:report_version,
|
127
|
+
:term_token)
|
128
|
+
SENSITIVE = []
|
129
|
+
include Aws::Structure
|
130
|
+
end
|
131
|
+
|
132
|
+
# @!attribute [rw] document_presigned_url
|
133
|
+
# Presigned S3 url to access the report content.
|
134
|
+
# @return [String]
|
135
|
+
#
|
136
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/artifact-2018-05-10/GetReportResponse AWS API Documentation
|
137
|
+
#
|
138
|
+
class GetReportResponse < Struct.new(
|
139
|
+
:document_presigned_url)
|
140
|
+
SENSITIVE = []
|
141
|
+
include Aws::Structure
|
142
|
+
end
|
143
|
+
|
144
|
+
# @!attribute [rw] report_id
|
145
|
+
# Unique resource ID for the report resource.
|
146
|
+
# @return [String]
|
147
|
+
#
|
148
|
+
# @!attribute [rw] report_version
|
149
|
+
# Version for the report resource.
|
150
|
+
# @return [Integer]
|
151
|
+
#
|
152
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/artifact-2018-05-10/GetTermForReportRequest AWS API Documentation
|
153
|
+
#
|
154
|
+
class GetTermForReportRequest < Struct.new(
|
155
|
+
:report_id,
|
156
|
+
:report_version)
|
157
|
+
SENSITIVE = []
|
158
|
+
include Aws::Structure
|
159
|
+
end
|
160
|
+
|
161
|
+
# @!attribute [rw] document_presigned_url
|
162
|
+
# Presigned S3 url to access the term content.
|
163
|
+
# @return [String]
|
164
|
+
#
|
165
|
+
# @!attribute [rw] term_token
|
166
|
+
# Unique token representing this request event.
|
167
|
+
# @return [String]
|
168
|
+
#
|
169
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/artifact-2018-05-10/GetTermForReportResponse AWS API Documentation
|
170
|
+
#
|
171
|
+
class GetTermForReportResponse < Struct.new(
|
172
|
+
:document_presigned_url,
|
173
|
+
:term_token)
|
174
|
+
SENSITIVE = []
|
175
|
+
include Aws::Structure
|
176
|
+
end
|
177
|
+
|
178
|
+
# An unknown server exception has occurred.
|
179
|
+
#
|
180
|
+
# @!attribute [rw] message
|
181
|
+
# @return [String]
|
182
|
+
#
|
183
|
+
# @!attribute [rw] retry_after_seconds
|
184
|
+
# Number of seconds in which the caller can retry the request.
|
185
|
+
# @return [Integer]
|
186
|
+
#
|
187
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/artifact-2018-05-10/InternalServerException AWS API Documentation
|
188
|
+
#
|
189
|
+
class InternalServerException < Struct.new(
|
190
|
+
:message,
|
191
|
+
:retry_after_seconds)
|
192
|
+
SENSITIVE = []
|
193
|
+
include Aws::Structure
|
194
|
+
end
|
195
|
+
|
196
|
+
# @!attribute [rw] max_results
|
197
|
+
# Maximum number of resources to return in the paginated response.
|
198
|
+
# @return [Integer]
|
199
|
+
#
|
200
|
+
# @!attribute [rw] next_token
|
201
|
+
# Pagination token to request the next page of resources.
|
202
|
+
# @return [String]
|
203
|
+
#
|
204
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/artifact-2018-05-10/ListReportsRequest AWS API Documentation
|
205
|
+
#
|
206
|
+
class ListReportsRequest < Struct.new(
|
207
|
+
:max_results,
|
208
|
+
:next_token)
|
209
|
+
SENSITIVE = []
|
210
|
+
include Aws::Structure
|
211
|
+
end
|
212
|
+
|
213
|
+
# @!attribute [rw] next_token
|
214
|
+
# Pagination token to request the next page of resources.
|
215
|
+
# @return [String]
|
216
|
+
#
|
217
|
+
# @!attribute [rw] reports
|
218
|
+
# List of report resources.
|
219
|
+
# @return [Array<Types::ReportSummary>]
|
220
|
+
#
|
221
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/artifact-2018-05-10/ListReportsResponse AWS API Documentation
|
222
|
+
#
|
223
|
+
class ListReportsResponse < Struct.new(
|
224
|
+
:next_token,
|
225
|
+
:reports)
|
226
|
+
SENSITIVE = []
|
227
|
+
include Aws::Structure
|
228
|
+
end
|
229
|
+
|
230
|
+
# @!attribute [rw] notification_subscription_status
|
231
|
+
# Desired notification subscription status.
|
232
|
+
# @return [String]
|
233
|
+
#
|
234
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/artifact-2018-05-10/PutAccountSettingsRequest AWS API Documentation
|
235
|
+
#
|
236
|
+
class PutAccountSettingsRequest < Struct.new(
|
237
|
+
:notification_subscription_status)
|
238
|
+
SENSITIVE = []
|
239
|
+
include Aws::Structure
|
240
|
+
end
|
241
|
+
|
242
|
+
# @!attribute [rw] account_settings
|
243
|
+
# Account settings for the customer.
|
244
|
+
# @return [Types::AccountSettings]
|
245
|
+
#
|
246
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/artifact-2018-05-10/PutAccountSettingsResponse AWS API Documentation
|
247
|
+
#
|
248
|
+
class PutAccountSettingsResponse < Struct.new(
|
249
|
+
:account_settings)
|
250
|
+
SENSITIVE = []
|
251
|
+
include Aws::Structure
|
252
|
+
end
|
253
|
+
|
254
|
+
# Full detail for report resource metadata.
|
255
|
+
#
|
256
|
+
# @!attribute [rw] acceptance_type
|
257
|
+
# Acceptance type for report.
|
258
|
+
# @return [String]
|
259
|
+
#
|
260
|
+
# @!attribute [rw] arn
|
261
|
+
# ARN for the report resource.
|
262
|
+
# @return [String]
|
263
|
+
#
|
264
|
+
# @!attribute [rw] category
|
265
|
+
# Category for the report resource.
|
266
|
+
# @return [String]
|
267
|
+
#
|
268
|
+
# @!attribute [rw] company_name
|
269
|
+
# Associated company name for the report resource.
|
270
|
+
# @return [String]
|
271
|
+
#
|
272
|
+
# @!attribute [rw] created_at
|
273
|
+
# Timestamp indicating when the report resource was created.
|
274
|
+
# @return [Time]
|
275
|
+
#
|
276
|
+
# @!attribute [rw] deleted_at
|
277
|
+
# Timestamp indicating when the report resource was deleted.
|
278
|
+
# @return [Time]
|
279
|
+
#
|
280
|
+
# @!attribute [rw] description
|
281
|
+
# Description for the report resource.
|
282
|
+
# @return [String]
|
283
|
+
#
|
284
|
+
# @!attribute [rw] id
|
285
|
+
# Unique resource ID for the report resource.
|
286
|
+
# @return [String]
|
287
|
+
#
|
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.
|
294
|
+
# @return [String]
|
295
|
+
#
|
296
|
+
# @!attribute [rw] period_end
|
297
|
+
# Timestamp indicating the report resource effective end.
|
298
|
+
# @return [Time]
|
299
|
+
#
|
300
|
+
# @!attribute [rw] period_start
|
301
|
+
# Timestamp indicating the report resource effective start.
|
302
|
+
# @return [Time]
|
303
|
+
#
|
304
|
+
# @!attribute [rw] product_name
|
305
|
+
# Associated product name for the report resource.
|
306
|
+
# @return [String]
|
307
|
+
#
|
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.
|
314
|
+
# @return [String]
|
315
|
+
#
|
316
|
+
# @!attribute [rw] state
|
317
|
+
# Current state of the report resource
|
318
|
+
# @return [String]
|
319
|
+
#
|
320
|
+
# @!attribute [rw] status_message
|
321
|
+
# The message associated with the current upload state.
|
322
|
+
# @return [String]
|
323
|
+
#
|
324
|
+
# @!attribute [rw] term_arn
|
325
|
+
# Unique resource ARN for term resource.
|
326
|
+
# @return [String]
|
327
|
+
#
|
328
|
+
# @!attribute [rw] upload_state
|
329
|
+
# The current state of the document upload.
|
330
|
+
# @return [String]
|
331
|
+
#
|
332
|
+
# @!attribute [rw] version
|
333
|
+
# Version for the report resource.
|
334
|
+
# @return [Integer]
|
335
|
+
#
|
336
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/artifact-2018-05-10/ReportDetail AWS API Documentation
|
337
|
+
#
|
338
|
+
class ReportDetail < Struct.new(
|
339
|
+
:acceptance_type,
|
340
|
+
:arn,
|
341
|
+
:category,
|
342
|
+
:company_name,
|
343
|
+
:created_at,
|
344
|
+
:deleted_at,
|
345
|
+
:description,
|
346
|
+
:id,
|
347
|
+
:last_modified_at,
|
348
|
+
:name,
|
349
|
+
:period_end,
|
350
|
+
:period_start,
|
351
|
+
:product_name,
|
352
|
+
:sequence_number,
|
353
|
+
:series,
|
354
|
+
:state,
|
355
|
+
:status_message,
|
356
|
+
:term_arn,
|
357
|
+
:upload_state,
|
358
|
+
:version)
|
359
|
+
SENSITIVE = []
|
360
|
+
include Aws::Structure
|
361
|
+
end
|
362
|
+
|
363
|
+
# Summary for report resource.
|
364
|
+
#
|
365
|
+
# @!attribute [rw] arn
|
366
|
+
# ARN for the report resource.
|
367
|
+
# @return [String]
|
368
|
+
#
|
369
|
+
# @!attribute [rw] category
|
370
|
+
# Category for the report resource.
|
371
|
+
# @return [String]
|
372
|
+
#
|
373
|
+
# @!attribute [rw] company_name
|
374
|
+
# Associated company name for the report resource.
|
375
|
+
# @return [String]
|
376
|
+
#
|
377
|
+
# @!attribute [rw] description
|
378
|
+
# Description for the report resource.
|
379
|
+
# @return [String]
|
380
|
+
#
|
381
|
+
# @!attribute [rw] id
|
382
|
+
# Unique resource ID for the report resource.
|
383
|
+
# @return [String]
|
384
|
+
#
|
385
|
+
# @!attribute [rw] name
|
386
|
+
# Name for the report resource.
|
387
|
+
# @return [String]
|
388
|
+
#
|
389
|
+
# @!attribute [rw] period_end
|
390
|
+
# Timestamp indicating the report resource effective end.
|
391
|
+
# @return [Time]
|
392
|
+
#
|
393
|
+
# @!attribute [rw] period_start
|
394
|
+
# Timestamp indicating the report resource effective start.
|
395
|
+
# @return [Time]
|
396
|
+
#
|
397
|
+
# @!attribute [rw] product_name
|
398
|
+
# Associated product name for the report resource.
|
399
|
+
# @return [String]
|
400
|
+
#
|
401
|
+
# @!attribute [rw] series
|
402
|
+
# Series for the report resource.
|
403
|
+
# @return [String]
|
404
|
+
#
|
405
|
+
# @!attribute [rw] state
|
406
|
+
# Current state of the report resource.
|
407
|
+
# @return [String]
|
408
|
+
#
|
409
|
+
# @!attribute [rw] status_message
|
410
|
+
# The message associated with the current upload state.
|
411
|
+
# @return [String]
|
412
|
+
#
|
413
|
+
# @!attribute [rw] upload_state
|
414
|
+
# The current state of the document upload.
|
415
|
+
# @return [String]
|
416
|
+
#
|
417
|
+
# @!attribute [rw] version
|
418
|
+
# Version for the report resource.
|
419
|
+
# @return [Integer]
|
420
|
+
#
|
421
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/artifact-2018-05-10/ReportSummary AWS API Documentation
|
422
|
+
#
|
423
|
+
class ReportSummary < Struct.new(
|
424
|
+
:arn,
|
425
|
+
:category,
|
426
|
+
:company_name,
|
427
|
+
:description,
|
428
|
+
:id,
|
429
|
+
:name,
|
430
|
+
:period_end,
|
431
|
+
:period_start,
|
432
|
+
:product_name,
|
433
|
+
:series,
|
434
|
+
:state,
|
435
|
+
:status_message,
|
436
|
+
:upload_state,
|
437
|
+
:version)
|
438
|
+
SENSITIVE = []
|
439
|
+
include Aws::Structure
|
440
|
+
end
|
441
|
+
|
442
|
+
# Request references a resource which does not exist.
|
443
|
+
#
|
444
|
+
# @!attribute [rw] message
|
445
|
+
# @return [String]
|
446
|
+
#
|
447
|
+
# @!attribute [rw] resource_id
|
448
|
+
# Identifier of the affected resource.
|
449
|
+
# @return [String]
|
450
|
+
#
|
451
|
+
# @!attribute [rw] resource_type
|
452
|
+
# Type of the affected resource.
|
453
|
+
# @return [String]
|
454
|
+
#
|
455
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/artifact-2018-05-10/ResourceNotFoundException AWS API Documentation
|
456
|
+
#
|
457
|
+
class ResourceNotFoundException < Struct.new(
|
458
|
+
:message,
|
459
|
+
:resource_id,
|
460
|
+
:resource_type)
|
461
|
+
SENSITIVE = []
|
462
|
+
include Aws::Structure
|
463
|
+
end
|
464
|
+
|
465
|
+
# Request would cause a service quota to be exceeded.
|
466
|
+
#
|
467
|
+
# @!attribute [rw] message
|
468
|
+
# @return [String]
|
469
|
+
#
|
470
|
+
# @!attribute [rw] quota_code
|
471
|
+
# Code for the affected quota.
|
472
|
+
# @return [String]
|
473
|
+
#
|
474
|
+
# @!attribute [rw] resource_id
|
475
|
+
# Identifier of the affected resource.
|
476
|
+
# @return [String]
|
477
|
+
#
|
478
|
+
# @!attribute [rw] resource_type
|
479
|
+
# Type of the affected resource.
|
480
|
+
# @return [String]
|
481
|
+
#
|
482
|
+
# @!attribute [rw] service_code
|
483
|
+
# Code for the affected service.
|
484
|
+
# @return [String]
|
485
|
+
#
|
486
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/artifact-2018-05-10/ServiceQuotaExceededException AWS API Documentation
|
487
|
+
#
|
488
|
+
class ServiceQuotaExceededException < Struct.new(
|
489
|
+
:message,
|
490
|
+
:quota_code,
|
491
|
+
:resource_id,
|
492
|
+
:resource_type,
|
493
|
+
:service_code)
|
494
|
+
SENSITIVE = []
|
495
|
+
include Aws::Structure
|
496
|
+
end
|
497
|
+
|
498
|
+
# Request was denied due to request throttling.
|
499
|
+
#
|
500
|
+
# @!attribute [rw] message
|
501
|
+
# @return [String]
|
502
|
+
#
|
503
|
+
# @!attribute [rw] quota_code
|
504
|
+
# Code for the affected quota.
|
505
|
+
# @return [String]
|
506
|
+
#
|
507
|
+
# @!attribute [rw] retry_after_seconds
|
508
|
+
# Number of seconds in which the caller can retry the request.
|
509
|
+
# @return [Integer]
|
510
|
+
#
|
511
|
+
# @!attribute [rw] service_code
|
512
|
+
# Code for the affected service.
|
513
|
+
# @return [String]
|
514
|
+
#
|
515
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/artifact-2018-05-10/ThrottlingException AWS API Documentation
|
516
|
+
#
|
517
|
+
class ThrottlingException < Struct.new(
|
518
|
+
:message,
|
519
|
+
:quota_code,
|
520
|
+
:retry_after_seconds,
|
521
|
+
:service_code)
|
522
|
+
SENSITIVE = []
|
523
|
+
include Aws::Structure
|
524
|
+
end
|
525
|
+
|
526
|
+
# Request fails to satisfy the constraints specified by an AWS service.
|
527
|
+
#
|
528
|
+
# @!attribute [rw] field_list
|
529
|
+
# The field that caused the error, if applicable.
|
530
|
+
# @return [Array<Types::ValidationExceptionField>]
|
531
|
+
#
|
532
|
+
# @!attribute [rw] message
|
533
|
+
# @return [String]
|
534
|
+
#
|
535
|
+
# @!attribute [rw] reason
|
536
|
+
# Reason the request failed validation.
|
537
|
+
# @return [String]
|
538
|
+
#
|
539
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/artifact-2018-05-10/ValidationException AWS API Documentation
|
540
|
+
#
|
541
|
+
class ValidationException < Struct.new(
|
542
|
+
:field_list,
|
543
|
+
:message,
|
544
|
+
:reason)
|
545
|
+
SENSITIVE = []
|
546
|
+
include Aws::Structure
|
547
|
+
end
|
548
|
+
|
549
|
+
# Validation exception message and name.
|
550
|
+
#
|
551
|
+
# @!attribute [rw] message
|
552
|
+
# Message describing why the field failed validation.
|
553
|
+
# @return [String]
|
554
|
+
#
|
555
|
+
# @!attribute [rw] name
|
556
|
+
# Name of validation exception.
|
557
|
+
# @return [String]
|
558
|
+
#
|
559
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/artifact-2018-05-10/ValidationExceptionField AWS API Documentation
|
560
|
+
#
|
561
|
+
class ValidationExceptionField < Struct.new(
|
562
|
+
:message,
|
563
|
+
:name)
|
564
|
+
SENSITIVE = []
|
565
|
+
include Aws::Structure
|
566
|
+
end
|
567
|
+
|
568
|
+
end
|
569
|
+
end
|
@@ -0,0 +1,57 @@
|
|
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
|
+
|
11
|
+
require 'aws-sdk-core'
|
12
|
+
require 'aws-sigv4'
|
13
|
+
|
14
|
+
require_relative 'aws-sdk-artifact/types'
|
15
|
+
require_relative 'aws-sdk-artifact/client_api'
|
16
|
+
require_relative 'aws-sdk-artifact/plugins/endpoints.rb'
|
17
|
+
require_relative 'aws-sdk-artifact/client'
|
18
|
+
require_relative 'aws-sdk-artifact/errors'
|
19
|
+
require_relative 'aws-sdk-artifact/resource'
|
20
|
+
require_relative 'aws-sdk-artifact/endpoint_parameters'
|
21
|
+
require_relative 'aws-sdk-artifact/endpoint_provider'
|
22
|
+
require_relative 'aws-sdk-artifact/endpoints'
|
23
|
+
require_relative 'aws-sdk-artifact/customizations'
|
24
|
+
|
25
|
+
# This module provides support for AWS Artifact. This module is available in the
|
26
|
+
# `aws-sdk-artifact` gem.
|
27
|
+
#
|
28
|
+
# # Client
|
29
|
+
#
|
30
|
+
# The {Client} class provides one method for each API operation. Operation
|
31
|
+
# methods each accept a hash of request parameters and return a response
|
32
|
+
# structure.
|
33
|
+
#
|
34
|
+
# artifact = Aws::Artifact::Client.new
|
35
|
+
# resp = artifact.get_account_settings(params)
|
36
|
+
#
|
37
|
+
# See {Client} for more information.
|
38
|
+
#
|
39
|
+
# # Errors
|
40
|
+
#
|
41
|
+
# Errors returned from AWS Artifact are defined in the
|
42
|
+
# {Errors} module and all extend {Errors::ServiceError}.
|
43
|
+
#
|
44
|
+
# begin
|
45
|
+
# # do stuff
|
46
|
+
# rescue Aws::Artifact::Errors::ServiceError
|
47
|
+
# # rescues all AWS Artifact API errors
|
48
|
+
# end
|
49
|
+
#
|
50
|
+
# See {Errors} for more information.
|
51
|
+
#
|
52
|
+
# @!group service
|
53
|
+
module Aws::Artifact
|
54
|
+
|
55
|
+
GEM_VERSION = '1.0.0'
|
56
|
+
|
57
|
+
end
|