aws-sdk-controlcatalog 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/CHANGELOG.md +8 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-controlcatalog/client.rb +592 -0
- data/lib/aws-sdk-controlcatalog/client_api.rb +216 -0
- data/lib/aws-sdk-controlcatalog/customizations.rb +0 -0
- data/lib/aws-sdk-controlcatalog/endpoint_parameters.rb +66 -0
- data/lib/aws-sdk-controlcatalog/endpoint_provider.rb +54 -0
- data/lib/aws-sdk-controlcatalog/endpoints.rb +58 -0
- data/lib/aws-sdk-controlcatalog/errors.rb +114 -0
- data/lib/aws-sdk-controlcatalog/plugins/endpoints.rb +76 -0
- data/lib/aws-sdk-controlcatalog/resource.rb +26 -0
- data/lib/aws-sdk-controlcatalog/types.rb +408 -0
- data/lib/aws-sdk-controlcatalog.rb +57 -0
- data/sig/client.rbs +127 -0
- data/sig/errors.rbs +28 -0
- data/sig/resource.rbs +79 -0
- data/sig/types.rbs +131 -0
- data/sig/waiters.rbs +13 -0
- metadata +99 -0
@@ -0,0 +1,408 @@
|
|
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::ControlCatalog
|
11
|
+
module Types
|
12
|
+
|
13
|
+
# You do 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/controlcatalog-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
|
+
# A summary of the domain that a common control or an objective belongs
|
27
|
+
# to.
|
28
|
+
#
|
29
|
+
# @!attribute [rw] arn
|
30
|
+
# The Amazon Resource Name (ARN) of the related domain.
|
31
|
+
# @return [String]
|
32
|
+
#
|
33
|
+
# @!attribute [rw] name
|
34
|
+
# The name of the related domain.
|
35
|
+
# @return [String]
|
36
|
+
#
|
37
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/controlcatalog-2018-05-10/AssociatedDomainSummary AWS API Documentation
|
38
|
+
#
|
39
|
+
class AssociatedDomainSummary < Struct.new(
|
40
|
+
:arn,
|
41
|
+
:name)
|
42
|
+
SENSITIVE = []
|
43
|
+
include Aws::Structure
|
44
|
+
end
|
45
|
+
|
46
|
+
# A summary of the objective that a common control supports.
|
47
|
+
#
|
48
|
+
# @!attribute [rw] arn
|
49
|
+
# The Amazon Resource Name (ARN) of the related objective.
|
50
|
+
# @return [String]
|
51
|
+
#
|
52
|
+
# @!attribute [rw] name
|
53
|
+
# The name of the related objective.
|
54
|
+
# @return [String]
|
55
|
+
#
|
56
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/controlcatalog-2018-05-10/AssociatedObjectiveSummary AWS API Documentation
|
57
|
+
#
|
58
|
+
class AssociatedObjectiveSummary < Struct.new(
|
59
|
+
:arn,
|
60
|
+
:name)
|
61
|
+
SENSITIVE = []
|
62
|
+
include Aws::Structure
|
63
|
+
end
|
64
|
+
|
65
|
+
# An optional filter that narrows the results to a specific objective.
|
66
|
+
#
|
67
|
+
# @!attribute [rw] objectives
|
68
|
+
# The objective that's used as filter criteria.
|
69
|
+
#
|
70
|
+
# You can use this parameter to specify one objective ARN at a time.
|
71
|
+
# Passing multiple ARNs in the `CommonControlFilter` isn’t currently
|
72
|
+
# supported.
|
73
|
+
# @return [Array<Types::ObjectiveResourceFilter>]
|
74
|
+
#
|
75
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/controlcatalog-2018-05-10/CommonControlFilter AWS API Documentation
|
76
|
+
#
|
77
|
+
class CommonControlFilter < Struct.new(
|
78
|
+
:objectives)
|
79
|
+
SENSITIVE = []
|
80
|
+
include Aws::Structure
|
81
|
+
end
|
82
|
+
|
83
|
+
# A summary of metadata for a common control.
|
84
|
+
#
|
85
|
+
# @!attribute [rw] arn
|
86
|
+
# The Amazon Resource Name (ARN) that identifies the common control.
|
87
|
+
# @return [String]
|
88
|
+
#
|
89
|
+
# @!attribute [rw] create_time
|
90
|
+
# The time when the common control was created.
|
91
|
+
# @return [Time]
|
92
|
+
#
|
93
|
+
# @!attribute [rw] description
|
94
|
+
# The description of the common control.
|
95
|
+
# @return [String]
|
96
|
+
#
|
97
|
+
# @!attribute [rw] domain
|
98
|
+
# The domain that the common control belongs to.
|
99
|
+
# @return [Types::AssociatedDomainSummary]
|
100
|
+
#
|
101
|
+
# @!attribute [rw] last_update_time
|
102
|
+
# The time when the common control was most recently updated.
|
103
|
+
# @return [Time]
|
104
|
+
#
|
105
|
+
# @!attribute [rw] name
|
106
|
+
# The name of the common control.
|
107
|
+
# @return [String]
|
108
|
+
#
|
109
|
+
# @!attribute [rw] objective
|
110
|
+
# The objective that the common control belongs to.
|
111
|
+
# @return [Types::AssociatedObjectiveSummary]
|
112
|
+
#
|
113
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/controlcatalog-2018-05-10/CommonControlSummary AWS API Documentation
|
114
|
+
#
|
115
|
+
class CommonControlSummary < Struct.new(
|
116
|
+
:arn,
|
117
|
+
:create_time,
|
118
|
+
:description,
|
119
|
+
:domain,
|
120
|
+
:last_update_time,
|
121
|
+
:name,
|
122
|
+
:objective)
|
123
|
+
SENSITIVE = []
|
124
|
+
include Aws::Structure
|
125
|
+
end
|
126
|
+
|
127
|
+
# The domain resource that's being used as a filter.
|
128
|
+
#
|
129
|
+
# @!attribute [rw] arn
|
130
|
+
# The Amazon Resource Name (ARN) of the domain.
|
131
|
+
# @return [String]
|
132
|
+
#
|
133
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/controlcatalog-2018-05-10/DomainResourceFilter AWS API Documentation
|
134
|
+
#
|
135
|
+
class DomainResourceFilter < Struct.new(
|
136
|
+
:arn)
|
137
|
+
SENSITIVE = []
|
138
|
+
include Aws::Structure
|
139
|
+
end
|
140
|
+
|
141
|
+
# A summary of metadata for a domain.
|
142
|
+
#
|
143
|
+
# @!attribute [rw] arn
|
144
|
+
# The Amazon Resource Name (ARN) that identifies the domain.
|
145
|
+
# @return [String]
|
146
|
+
#
|
147
|
+
# @!attribute [rw] create_time
|
148
|
+
# The time when the domain was created.
|
149
|
+
# @return [Time]
|
150
|
+
#
|
151
|
+
# @!attribute [rw] description
|
152
|
+
# The description of the domain.
|
153
|
+
# @return [String]
|
154
|
+
#
|
155
|
+
# @!attribute [rw] last_update_time
|
156
|
+
# The time when the domain was most recently updated.
|
157
|
+
# @return [Time]
|
158
|
+
#
|
159
|
+
# @!attribute [rw] name
|
160
|
+
# The name of the domain.
|
161
|
+
# @return [String]
|
162
|
+
#
|
163
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/controlcatalog-2018-05-10/DomainSummary AWS API Documentation
|
164
|
+
#
|
165
|
+
class DomainSummary < Struct.new(
|
166
|
+
:arn,
|
167
|
+
:create_time,
|
168
|
+
:description,
|
169
|
+
:last_update_time,
|
170
|
+
:name)
|
171
|
+
SENSITIVE = []
|
172
|
+
include Aws::Structure
|
173
|
+
end
|
174
|
+
|
175
|
+
# An internal service error occurred during the processing of your
|
176
|
+
# request. Try again later.
|
177
|
+
#
|
178
|
+
# @!attribute [rw] message
|
179
|
+
# @return [String]
|
180
|
+
#
|
181
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/controlcatalog-2018-05-10/InternalServerException AWS API Documentation
|
182
|
+
#
|
183
|
+
class InternalServerException < Struct.new(
|
184
|
+
:message)
|
185
|
+
SENSITIVE = []
|
186
|
+
include Aws::Structure
|
187
|
+
end
|
188
|
+
|
189
|
+
# @!attribute [rw] common_control_filter
|
190
|
+
# An optional filter that narrows the results to a specific objective.
|
191
|
+
#
|
192
|
+
# This filter allows you to specify one objective ARN at a time.
|
193
|
+
# Passing multiple ARNs in the `CommonControlFilter` isn’t currently
|
194
|
+
# supported.
|
195
|
+
# @return [Types::CommonControlFilter]
|
196
|
+
#
|
197
|
+
# @!attribute [rw] max_results
|
198
|
+
# The maximum number of results on a page or for an API request call.
|
199
|
+
# @return [Integer]
|
200
|
+
#
|
201
|
+
# @!attribute [rw] next_token
|
202
|
+
# The pagination token that's used to fetch the next set of results.
|
203
|
+
# @return [String]
|
204
|
+
#
|
205
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/controlcatalog-2018-05-10/ListCommonControlsRequest AWS API Documentation
|
206
|
+
#
|
207
|
+
class ListCommonControlsRequest < Struct.new(
|
208
|
+
:common_control_filter,
|
209
|
+
:max_results,
|
210
|
+
:next_token)
|
211
|
+
SENSITIVE = []
|
212
|
+
include Aws::Structure
|
213
|
+
end
|
214
|
+
|
215
|
+
# @!attribute [rw] common_controls
|
216
|
+
# The list of common controls that the `ListCommonControls` API
|
217
|
+
# returns.
|
218
|
+
# @return [Array<Types::CommonControlSummary>]
|
219
|
+
#
|
220
|
+
# @!attribute [rw] next_token
|
221
|
+
# The pagination token that's used to fetch the next set of results.
|
222
|
+
# @return [String]
|
223
|
+
#
|
224
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/controlcatalog-2018-05-10/ListCommonControlsResponse AWS API Documentation
|
225
|
+
#
|
226
|
+
class ListCommonControlsResponse < Struct.new(
|
227
|
+
:common_controls,
|
228
|
+
:next_token)
|
229
|
+
SENSITIVE = []
|
230
|
+
include Aws::Structure
|
231
|
+
end
|
232
|
+
|
233
|
+
# @!attribute [rw] max_results
|
234
|
+
# The maximum number of results on a page or for an API request call.
|
235
|
+
# @return [Integer]
|
236
|
+
#
|
237
|
+
# @!attribute [rw] next_token
|
238
|
+
# The pagination token that's used to fetch the next set of results.
|
239
|
+
# @return [String]
|
240
|
+
#
|
241
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/controlcatalog-2018-05-10/ListDomainsRequest AWS API Documentation
|
242
|
+
#
|
243
|
+
class ListDomainsRequest < Struct.new(
|
244
|
+
:max_results,
|
245
|
+
:next_token)
|
246
|
+
SENSITIVE = []
|
247
|
+
include Aws::Structure
|
248
|
+
end
|
249
|
+
|
250
|
+
# @!attribute [rw] domains
|
251
|
+
# The list of domains that the `ListDomains` API returns.
|
252
|
+
# @return [Array<Types::DomainSummary>]
|
253
|
+
#
|
254
|
+
# @!attribute [rw] next_token
|
255
|
+
# The pagination token that's used to fetch the next set of results.
|
256
|
+
# @return [String]
|
257
|
+
#
|
258
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/controlcatalog-2018-05-10/ListDomainsResponse AWS API Documentation
|
259
|
+
#
|
260
|
+
class ListDomainsResponse < Struct.new(
|
261
|
+
:domains,
|
262
|
+
:next_token)
|
263
|
+
SENSITIVE = []
|
264
|
+
include Aws::Structure
|
265
|
+
end
|
266
|
+
|
267
|
+
# @!attribute [rw] max_results
|
268
|
+
# The maximum number of results on a page or for an API request call.
|
269
|
+
# @return [Integer]
|
270
|
+
#
|
271
|
+
# @!attribute [rw] next_token
|
272
|
+
# The pagination token that's used to fetch the next set of results.
|
273
|
+
# @return [String]
|
274
|
+
#
|
275
|
+
# @!attribute [rw] objective_filter
|
276
|
+
# An optional filter that narrows the results to a specific domain.
|
277
|
+
#
|
278
|
+
# This filter allows you to specify one domain ARN at a time. Passing
|
279
|
+
# multiple ARNs in the `ObjectiveFilter` isn’t currently supported.
|
280
|
+
# @return [Types::ObjectiveFilter]
|
281
|
+
#
|
282
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/controlcatalog-2018-05-10/ListObjectivesRequest AWS API Documentation
|
283
|
+
#
|
284
|
+
class ListObjectivesRequest < Struct.new(
|
285
|
+
:max_results,
|
286
|
+
:next_token,
|
287
|
+
:objective_filter)
|
288
|
+
SENSITIVE = []
|
289
|
+
include Aws::Structure
|
290
|
+
end
|
291
|
+
|
292
|
+
# @!attribute [rw] next_token
|
293
|
+
# The pagination token that's used to fetch the next set of results.
|
294
|
+
# @return [String]
|
295
|
+
#
|
296
|
+
# @!attribute [rw] objectives
|
297
|
+
# The list of objectives that the `ListObjectives` API returns.
|
298
|
+
# @return [Array<Types::ObjectiveSummary>]
|
299
|
+
#
|
300
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/controlcatalog-2018-05-10/ListObjectivesResponse AWS API Documentation
|
301
|
+
#
|
302
|
+
class ListObjectivesResponse < Struct.new(
|
303
|
+
:next_token,
|
304
|
+
:objectives)
|
305
|
+
SENSITIVE = []
|
306
|
+
include Aws::Structure
|
307
|
+
end
|
308
|
+
|
309
|
+
# An optional filter that narrows the list of objectives to a specific
|
310
|
+
# domain.
|
311
|
+
#
|
312
|
+
# @!attribute [rw] domains
|
313
|
+
# The domain that's used as filter criteria.
|
314
|
+
#
|
315
|
+
# You can use this parameter to specify one domain ARN at a time.
|
316
|
+
# Passing multiple ARNs in the `ObjectiveFilter` isn’t currently
|
317
|
+
# supported.
|
318
|
+
# @return [Array<Types::DomainResourceFilter>]
|
319
|
+
#
|
320
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/controlcatalog-2018-05-10/ObjectiveFilter AWS API Documentation
|
321
|
+
#
|
322
|
+
class ObjectiveFilter < Struct.new(
|
323
|
+
:domains)
|
324
|
+
SENSITIVE = []
|
325
|
+
include Aws::Structure
|
326
|
+
end
|
327
|
+
|
328
|
+
# The objective resource that's being used as a filter.
|
329
|
+
#
|
330
|
+
# @!attribute [rw] arn
|
331
|
+
# The Amazon Resource Name (ARN) of the objective.
|
332
|
+
# @return [String]
|
333
|
+
#
|
334
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/controlcatalog-2018-05-10/ObjectiveResourceFilter AWS API Documentation
|
335
|
+
#
|
336
|
+
class ObjectiveResourceFilter < Struct.new(
|
337
|
+
:arn)
|
338
|
+
SENSITIVE = []
|
339
|
+
include Aws::Structure
|
340
|
+
end
|
341
|
+
|
342
|
+
# A summary of metadata for an objective.
|
343
|
+
#
|
344
|
+
# @!attribute [rw] arn
|
345
|
+
# The Amazon Resource Name (ARN) that identifies the objective.
|
346
|
+
# @return [String]
|
347
|
+
#
|
348
|
+
# @!attribute [rw] create_time
|
349
|
+
# The time when the objective was created.
|
350
|
+
# @return [Time]
|
351
|
+
#
|
352
|
+
# @!attribute [rw] description
|
353
|
+
# The description of the objective.
|
354
|
+
# @return [String]
|
355
|
+
#
|
356
|
+
# @!attribute [rw] domain
|
357
|
+
# The domain that the objective belongs to.
|
358
|
+
# @return [Types::AssociatedDomainSummary]
|
359
|
+
#
|
360
|
+
# @!attribute [rw] last_update_time
|
361
|
+
# The time when the objective was most recently updated.
|
362
|
+
# @return [Time]
|
363
|
+
#
|
364
|
+
# @!attribute [rw] name
|
365
|
+
# The name of the objective.
|
366
|
+
# @return [String]
|
367
|
+
#
|
368
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/controlcatalog-2018-05-10/ObjectiveSummary AWS API Documentation
|
369
|
+
#
|
370
|
+
class ObjectiveSummary < Struct.new(
|
371
|
+
:arn,
|
372
|
+
:create_time,
|
373
|
+
:description,
|
374
|
+
:domain,
|
375
|
+
:last_update_time,
|
376
|
+
:name)
|
377
|
+
SENSITIVE = []
|
378
|
+
include Aws::Structure
|
379
|
+
end
|
380
|
+
|
381
|
+
# The request was denied due to request throttling.
|
382
|
+
#
|
383
|
+
# @!attribute [rw] message
|
384
|
+
# @return [String]
|
385
|
+
#
|
386
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/controlcatalog-2018-05-10/ThrottlingException AWS API Documentation
|
387
|
+
#
|
388
|
+
class ThrottlingException < Struct.new(
|
389
|
+
:message)
|
390
|
+
SENSITIVE = []
|
391
|
+
include Aws::Structure
|
392
|
+
end
|
393
|
+
|
394
|
+
# The request has invalid or missing parameters.
|
395
|
+
#
|
396
|
+
# @!attribute [rw] message
|
397
|
+
# @return [String]
|
398
|
+
#
|
399
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/controlcatalog-2018-05-10/ValidationException AWS API Documentation
|
400
|
+
#
|
401
|
+
class ValidationException < Struct.new(
|
402
|
+
:message)
|
403
|
+
SENSITIVE = []
|
404
|
+
include Aws::Structure
|
405
|
+
end
|
406
|
+
|
407
|
+
end
|
408
|
+
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-controlcatalog/types'
|
15
|
+
require_relative 'aws-sdk-controlcatalog/client_api'
|
16
|
+
require_relative 'aws-sdk-controlcatalog/plugins/endpoints.rb'
|
17
|
+
require_relative 'aws-sdk-controlcatalog/client'
|
18
|
+
require_relative 'aws-sdk-controlcatalog/errors'
|
19
|
+
require_relative 'aws-sdk-controlcatalog/resource'
|
20
|
+
require_relative 'aws-sdk-controlcatalog/endpoint_parameters'
|
21
|
+
require_relative 'aws-sdk-controlcatalog/endpoint_provider'
|
22
|
+
require_relative 'aws-sdk-controlcatalog/endpoints'
|
23
|
+
require_relative 'aws-sdk-controlcatalog/customizations'
|
24
|
+
|
25
|
+
# This module provides support for AWS Control Catalog. This module is available in the
|
26
|
+
# `aws-sdk-controlcatalog` 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
|
+
# control_catalog = Aws::ControlCatalog::Client.new
|
35
|
+
# resp = control_catalog.list_common_controls(params)
|
36
|
+
#
|
37
|
+
# See {Client} for more information.
|
38
|
+
#
|
39
|
+
# # Errors
|
40
|
+
#
|
41
|
+
# Errors returned from AWS Control Catalog are defined in the
|
42
|
+
# {Errors} module and all extend {Errors::ServiceError}.
|
43
|
+
#
|
44
|
+
# begin
|
45
|
+
# # do stuff
|
46
|
+
# rescue Aws::ControlCatalog::Errors::ServiceError
|
47
|
+
# # rescues all AWS Control Catalog API errors
|
48
|
+
# end
|
49
|
+
#
|
50
|
+
# See {Errors} for more information.
|
51
|
+
#
|
52
|
+
# @!group service
|
53
|
+
module Aws::ControlCatalog
|
54
|
+
|
55
|
+
GEM_VERSION = '1.0.0'
|
56
|
+
|
57
|
+
end
|
data/sig/client.rbs
ADDED
@@ -0,0 +1,127 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws
|
9
|
+
module ControlCatalog
|
10
|
+
class Client < ::Seahorse::Client::Base
|
11
|
+
include ::Aws::ClientStubs
|
12
|
+
|
13
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ControlCatalog/Client.html#initialize-instance_method
|
14
|
+
def self.new: (
|
15
|
+
?credentials: untyped,
|
16
|
+
?region: String,
|
17
|
+
?access_key_id: String,
|
18
|
+
?active_endpoint_cache: bool,
|
19
|
+
?adaptive_retry_wait_to_fill: bool,
|
20
|
+
?client_side_monitoring: bool,
|
21
|
+
?client_side_monitoring_client_id: String,
|
22
|
+
?client_side_monitoring_host: String,
|
23
|
+
?client_side_monitoring_port: Integer,
|
24
|
+
?client_side_monitoring_publisher: untyped,
|
25
|
+
?convert_params: bool,
|
26
|
+
?correct_clock_skew: bool,
|
27
|
+
?defaults_mode: String,
|
28
|
+
?disable_host_prefix_injection: bool,
|
29
|
+
?disable_request_compression: bool,
|
30
|
+
?endpoint: String,
|
31
|
+
?endpoint_cache_max_entries: Integer,
|
32
|
+
?endpoint_cache_max_threads: Integer,
|
33
|
+
?endpoint_cache_poll_interval: Integer,
|
34
|
+
?endpoint_discovery: bool,
|
35
|
+
?ignore_configured_endpoint_urls: bool,
|
36
|
+
?log_formatter: untyped,
|
37
|
+
?log_level: Symbol,
|
38
|
+
?logger: untyped,
|
39
|
+
?max_attempts: Integer,
|
40
|
+
?profile: String,
|
41
|
+
?request_min_compression_size_bytes: Integer,
|
42
|
+
?retry_backoff: Proc,
|
43
|
+
?retry_base_delay: Float,
|
44
|
+
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
45
|
+
?retry_limit: Integer,
|
46
|
+
?retry_max_delay: Integer,
|
47
|
+
?retry_mode: ("legacy" | "standard" | "adaptive"),
|
48
|
+
?sdk_ua_app_id: String,
|
49
|
+
?secret_access_key: String,
|
50
|
+
?session_token: String,
|
51
|
+
?stub_responses: untyped,
|
52
|
+
?token_provider: untyped,
|
53
|
+
?use_dualstack_endpoint: bool,
|
54
|
+
?use_fips_endpoint: bool,
|
55
|
+
?validate_params: bool,
|
56
|
+
?endpoint_provider: untyped,
|
57
|
+
?http_proxy: String,
|
58
|
+
?http_open_timeout: (Float | Integer),
|
59
|
+
?http_read_timeout: (Float | Integer),
|
60
|
+
?http_idle_timeout: (Float | Integer),
|
61
|
+
?http_continue_timeout: (Float | Integer),
|
62
|
+
?ssl_timeout: (Float | Integer | nil),
|
63
|
+
?http_wire_trace: bool,
|
64
|
+
?ssl_verify_peer: bool,
|
65
|
+
?ssl_ca_bundle: String,
|
66
|
+
?ssl_ca_directory: String,
|
67
|
+
?ssl_ca_store: String,
|
68
|
+
?on_chunk_received: Proc,
|
69
|
+
?on_chunk_sent: Proc,
|
70
|
+
?raise_response_errors: bool
|
71
|
+
) -> instance
|
72
|
+
| (?Hash[Symbol, untyped]) -> instance
|
73
|
+
|
74
|
+
|
75
|
+
interface _ListCommonControlsResponseSuccess
|
76
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListCommonControlsResponse]
|
77
|
+
def common_controls: () -> ::Array[Types::CommonControlSummary]
|
78
|
+
def next_token: () -> ::String
|
79
|
+
end
|
80
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ControlCatalog/Client.html#list_common_controls-instance_method
|
81
|
+
def list_common_controls: (
|
82
|
+
?common_control_filter: {
|
83
|
+
objectives: Array[
|
84
|
+
{
|
85
|
+
arn: ::String?
|
86
|
+
},
|
87
|
+
]?
|
88
|
+
},
|
89
|
+
?max_results: ::Integer,
|
90
|
+
?next_token: ::String
|
91
|
+
) -> _ListCommonControlsResponseSuccess
|
92
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListCommonControlsResponseSuccess
|
93
|
+
|
94
|
+
interface _ListDomainsResponseSuccess
|
95
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListDomainsResponse]
|
96
|
+
def domains: () -> ::Array[Types::DomainSummary]
|
97
|
+
def next_token: () -> ::String
|
98
|
+
end
|
99
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ControlCatalog/Client.html#list_domains-instance_method
|
100
|
+
def list_domains: (
|
101
|
+
?max_results: ::Integer,
|
102
|
+
?next_token: ::String
|
103
|
+
) -> _ListDomainsResponseSuccess
|
104
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDomainsResponseSuccess
|
105
|
+
|
106
|
+
interface _ListObjectivesResponseSuccess
|
107
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListObjectivesResponse]
|
108
|
+
def next_token: () -> ::String
|
109
|
+
def objectives: () -> ::Array[Types::ObjectiveSummary]
|
110
|
+
end
|
111
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ControlCatalog/Client.html#list_objectives-instance_method
|
112
|
+
def list_objectives: (
|
113
|
+
?max_results: ::Integer,
|
114
|
+
?next_token: ::String,
|
115
|
+
?objective_filter: {
|
116
|
+
domains: Array[
|
117
|
+
{
|
118
|
+
arn: ::String?
|
119
|
+
},
|
120
|
+
]?
|
121
|
+
}
|
122
|
+
) -> _ListObjectivesResponseSuccess
|
123
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListObjectivesResponseSuccess
|
124
|
+
end
|
125
|
+
end
|
126
|
+
end
|
127
|
+
|
data/sig/errors.rbs
ADDED
@@ -0,0 +1,28 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws
|
9
|
+
module ControlCatalog
|
10
|
+
module Errors
|
11
|
+
class ServiceError < ::Aws::Errors::ServiceError
|
12
|
+
end
|
13
|
+
|
14
|
+
class AccessDeniedException < ::Aws::Errors::ServiceError
|
15
|
+
def message: () -> ::String
|
16
|
+
end
|
17
|
+
class InternalServerException < ::Aws::Errors::ServiceError
|
18
|
+
def message: () -> ::String
|
19
|
+
end
|
20
|
+
class ThrottlingException < ::Aws::Errors::ServiceError
|
21
|
+
def message: () -> ::String
|
22
|
+
end
|
23
|
+
class ValidationException < ::Aws::Errors::ServiceError
|
24
|
+
def message: () -> ::String
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
data/sig/resource.rbs
ADDED
@@ -0,0 +1,79 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws
|
9
|
+
module ControlCatalog
|
10
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ControlCatalog/Resource.html
|
11
|
+
class Resource
|
12
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ControlCatalog/Resource.html#initialize-instance_method
|
13
|
+
def initialize: (
|
14
|
+
?client: Client,
|
15
|
+
?credentials: untyped,
|
16
|
+
?region: String,
|
17
|
+
?access_key_id: String,
|
18
|
+
?active_endpoint_cache: bool,
|
19
|
+
?adaptive_retry_wait_to_fill: bool,
|
20
|
+
?client_side_monitoring: bool,
|
21
|
+
?client_side_monitoring_client_id: String,
|
22
|
+
?client_side_monitoring_host: String,
|
23
|
+
?client_side_monitoring_port: Integer,
|
24
|
+
?client_side_monitoring_publisher: untyped,
|
25
|
+
?convert_params: bool,
|
26
|
+
?correct_clock_skew: bool,
|
27
|
+
?defaults_mode: String,
|
28
|
+
?disable_host_prefix_injection: bool,
|
29
|
+
?disable_request_compression: bool,
|
30
|
+
?endpoint: String,
|
31
|
+
?endpoint_cache_max_entries: Integer,
|
32
|
+
?endpoint_cache_max_threads: Integer,
|
33
|
+
?endpoint_cache_poll_interval: Integer,
|
34
|
+
?endpoint_discovery: bool,
|
35
|
+
?ignore_configured_endpoint_urls: bool,
|
36
|
+
?log_formatter: untyped,
|
37
|
+
?log_level: Symbol,
|
38
|
+
?logger: untyped,
|
39
|
+
?max_attempts: Integer,
|
40
|
+
?profile: String,
|
41
|
+
?request_min_compression_size_bytes: Integer,
|
42
|
+
?retry_backoff: Proc,
|
43
|
+
?retry_base_delay: Float,
|
44
|
+
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
45
|
+
?retry_limit: Integer,
|
46
|
+
?retry_max_delay: Integer,
|
47
|
+
?retry_mode: ("legacy" | "standard" | "adaptive"),
|
48
|
+
?sdk_ua_app_id: String,
|
49
|
+
?secret_access_key: String,
|
50
|
+
?session_token: String,
|
51
|
+
?stub_responses: untyped,
|
52
|
+
?token_provider: untyped,
|
53
|
+
?use_dualstack_endpoint: bool,
|
54
|
+
?use_fips_endpoint: bool,
|
55
|
+
?validate_params: bool,
|
56
|
+
?endpoint_provider: untyped,
|
57
|
+
?http_proxy: String,
|
58
|
+
?http_open_timeout: (Float | Integer),
|
59
|
+
?http_read_timeout: (Float | Integer),
|
60
|
+
?http_idle_timeout: (Float | Integer),
|
61
|
+
?http_continue_timeout: (Float | Integer),
|
62
|
+
?ssl_timeout: (Float | Integer | nil),
|
63
|
+
?http_wire_trace: bool,
|
64
|
+
?ssl_verify_peer: bool,
|
65
|
+
?ssl_ca_bundle: String,
|
66
|
+
?ssl_ca_directory: String,
|
67
|
+
?ssl_ca_store: String,
|
68
|
+
?on_chunk_received: Proc,
|
69
|
+
?on_chunk_sent: Proc,
|
70
|
+
?raise_response_errors: bool
|
71
|
+
) -> void
|
72
|
+
| (?Hash[Symbol, untyped]) -> void
|
73
|
+
|
74
|
+
def client: () -> Client
|
75
|
+
|
76
|
+
|
77
|
+
end
|
78
|
+
end
|
79
|
+
end
|