aws-sdk-appregistry 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.
@@ -0,0 +1,118 @@
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/master/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ module Aws::AppRegistry
11
+
12
+ # When AppRegistry returns an error response, the Ruby SDK constructs and raises an error.
13
+ # These errors all extend Aws::AppRegistry::Errors::ServiceError < {Aws::Errors::ServiceError}
14
+ #
15
+ # You can rescue all AppRegistry errors using ServiceError:
16
+ #
17
+ # begin
18
+ # # do stuff
19
+ # rescue Aws::AppRegistry::Errors::ServiceError
20
+ # # rescues all AppRegistry API errors
21
+ # end
22
+ #
23
+ #
24
+ # ## Request Context
25
+ # ServiceError objects have a {Aws::Errors::ServiceError#context #context} method that returns
26
+ # information about the request that generated the error.
27
+ # See {Seahorse::Client::RequestContext} for more information.
28
+ #
29
+ # ## Error Classes
30
+ # * {ConflictException}
31
+ # * {InternalServerException}
32
+ # * {ResourceNotFoundException}
33
+ # * {ServiceQuotaExceededException}
34
+ # * {ValidationException}
35
+ #
36
+ # Additionally, error classes are dynamically generated for service errors based on the error code
37
+ # if they are not defined above.
38
+ module Errors
39
+
40
+ extend Aws::Errors::DynamicErrors
41
+
42
+ class ConflictException < ServiceError
43
+
44
+ # @param [Seahorse::Client::RequestContext] context
45
+ # @param [String] message
46
+ # @param [Aws::AppRegistry::Types::ConflictException] data
47
+ def initialize(context, message, data = Aws::EmptyStructure.new)
48
+ super(context, message, data)
49
+ end
50
+
51
+ # @return [String]
52
+ def message
53
+ @message || @data[:message]
54
+ end
55
+ end
56
+
57
+ class InternalServerException < ServiceError
58
+
59
+ # @param [Seahorse::Client::RequestContext] context
60
+ # @param [String] message
61
+ # @param [Aws::AppRegistry::Types::InternalServerException] data
62
+ def initialize(context, message, data = Aws::EmptyStructure.new)
63
+ super(context, message, data)
64
+ end
65
+
66
+ # @return [String]
67
+ def message
68
+ @message || @data[:message]
69
+ end
70
+ end
71
+
72
+ class ResourceNotFoundException < ServiceError
73
+
74
+ # @param [Seahorse::Client::RequestContext] context
75
+ # @param [String] message
76
+ # @param [Aws::AppRegistry::Types::ResourceNotFoundException] data
77
+ def initialize(context, message, data = Aws::EmptyStructure.new)
78
+ super(context, message, data)
79
+ end
80
+
81
+ # @return [String]
82
+ def message
83
+ @message || @data[:message]
84
+ end
85
+ end
86
+
87
+ class ServiceQuotaExceededException < ServiceError
88
+
89
+ # @param [Seahorse::Client::RequestContext] context
90
+ # @param [String] message
91
+ # @param [Aws::AppRegistry::Types::ServiceQuotaExceededException] data
92
+ def initialize(context, message, data = Aws::EmptyStructure.new)
93
+ super(context, message, data)
94
+ end
95
+
96
+ # @return [String]
97
+ def message
98
+ @message || @data[:message]
99
+ end
100
+ end
101
+
102
+ class ValidationException < ServiceError
103
+
104
+ # @param [Seahorse::Client::RequestContext] context
105
+ # @param [String] message
106
+ # @param [Aws::AppRegistry::Types::ValidationException] data
107
+ def initialize(context, message, data = Aws::EmptyStructure.new)
108
+ super(context, message, data)
109
+ end
110
+
111
+ # @return [String]
112
+ def message
113
+ @message || @data[:message]
114
+ end
115
+ end
116
+
117
+ end
118
+ end
@@ -0,0 +1,26 @@
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/master/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ module Aws::AppRegistry
11
+
12
+ class Resource
13
+
14
+ # @param options ({})
15
+ # @option options [Client] :client
16
+ def initialize(options = {})
17
+ @client = options[:client] || Client.new(options)
18
+ end
19
+
20
+ # @return [Client]
21
+ def client
22
+ @client
23
+ end
24
+
25
+ end
26
+ end
@@ -0,0 +1,1101 @@
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/master/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ module Aws::AppRegistry
11
+ module Types
12
+
13
+ # Represents a Service Catalog AppRegistry application that is the
14
+ # top-level node in a hierarchy of related cloud resource abstractions.
15
+ #
16
+ # @!attribute [rw] id
17
+ # The identifier of the application.
18
+ # @return [String]
19
+ #
20
+ # @!attribute [rw] arn
21
+ # The Amazon resource name (ARN) that specifies the application across
22
+ # services.
23
+ # @return [String]
24
+ #
25
+ # @!attribute [rw] name
26
+ # The name of the application. The name must be unique in the region
27
+ # in which you are creating the application.
28
+ # @return [String]
29
+ #
30
+ # @!attribute [rw] description
31
+ # The description of the application.
32
+ # @return [String]
33
+ #
34
+ # @!attribute [rw] creation_time
35
+ # The ISO-8601 formatted timestamp of the moment when the application
36
+ # was created.
37
+ # @return [Time]
38
+ #
39
+ # @!attribute [rw] last_update_time
40
+ # The ISO-8601 formatted timestamp of the moment when the application
41
+ # was last updated.
42
+ # @return [Time]
43
+ #
44
+ # @!attribute [rw] tags
45
+ # Key-value pairs you can use to associate with the application.
46
+ # @return [Hash<String,String>]
47
+ #
48
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry/Application AWS API Documentation
49
+ #
50
+ class Application < Struct.new(
51
+ :id,
52
+ :arn,
53
+ :name,
54
+ :description,
55
+ :creation_time,
56
+ :last_update_time,
57
+ :tags)
58
+ SENSITIVE = []
59
+ include Aws::Structure
60
+ end
61
+
62
+ # Summary of a Service Catalog AppRegistry application.
63
+ #
64
+ # @!attribute [rw] id
65
+ # The identifier of the application.
66
+ # @return [String]
67
+ #
68
+ # @!attribute [rw] arn
69
+ # The Amazon resource name (ARN) that specifies the application across
70
+ # services.
71
+ # @return [String]
72
+ #
73
+ # @!attribute [rw] name
74
+ # The name of the application. The name must be unique in the region
75
+ # in which you are creating the application.
76
+ # @return [String]
77
+ #
78
+ # @!attribute [rw] description
79
+ # The description of the application.
80
+ # @return [String]
81
+ #
82
+ # @!attribute [rw] creation_time
83
+ # The ISO-8601 formatted timestamp of the moment when the application
84
+ # was created.
85
+ # @return [Time]
86
+ #
87
+ # @!attribute [rw] last_update_time
88
+ # The ISO-8601 formatted timestamp of the moment when the application
89
+ # was last updated.
90
+ # @return [Time]
91
+ #
92
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry/ApplicationSummary AWS API Documentation
93
+ #
94
+ class ApplicationSummary < Struct.new(
95
+ :id,
96
+ :arn,
97
+ :name,
98
+ :description,
99
+ :creation_time,
100
+ :last_update_time)
101
+ SENSITIVE = []
102
+ include Aws::Structure
103
+ end
104
+
105
+ # @note When making an API call, you may pass AssociateAttributeGroupRequest
106
+ # data as a hash:
107
+ #
108
+ # {
109
+ # application: "ApplicationSpecifier", # required
110
+ # attribute_group: "AttributeGroupSpecifier", # required
111
+ # }
112
+ #
113
+ # @!attribute [rw] application
114
+ # The name or ID of the application.
115
+ # @return [String]
116
+ #
117
+ # @!attribute [rw] attribute_group
118
+ # The name or ID of the attribute group that holds the attributes to
119
+ # describe the application.
120
+ # @return [String]
121
+ #
122
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry/AssociateAttributeGroupRequest AWS API Documentation
123
+ #
124
+ class AssociateAttributeGroupRequest < Struct.new(
125
+ :application,
126
+ :attribute_group)
127
+ SENSITIVE = []
128
+ include Aws::Structure
129
+ end
130
+
131
+ # @!attribute [rw] application_arn
132
+ # The Amazon resource name (ARN) of the application that was augmented
133
+ # with attributes.
134
+ # @return [String]
135
+ #
136
+ # @!attribute [rw] attribute_group_arn
137
+ # The Amazon resource name (ARN) of the attribute group that contains
138
+ # the application's new attributes.
139
+ # @return [String]
140
+ #
141
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry/AssociateAttributeGroupResponse AWS API Documentation
142
+ #
143
+ class AssociateAttributeGroupResponse < Struct.new(
144
+ :application_arn,
145
+ :attribute_group_arn)
146
+ SENSITIVE = []
147
+ include Aws::Structure
148
+ end
149
+
150
+ # @note When making an API call, you may pass AssociateResourceRequest
151
+ # data as a hash:
152
+ #
153
+ # {
154
+ # application: "ApplicationSpecifier", # required
155
+ # resource_type: "CFN_STACK", # required, accepts CFN_STACK
156
+ # resource: "ResourceSpecifier", # required
157
+ # }
158
+ #
159
+ # @!attribute [rw] application
160
+ # The name or ID of the application.
161
+ # @return [String]
162
+ #
163
+ # @!attribute [rw] resource_type
164
+ # @return [String]
165
+ #
166
+ # @!attribute [rw] resource
167
+ # The name or ID of the resource of which the application will be
168
+ # associated.
169
+ # @return [String]
170
+ #
171
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry/AssociateResourceRequest AWS API Documentation
172
+ #
173
+ class AssociateResourceRequest < Struct.new(
174
+ :application,
175
+ :resource_type,
176
+ :resource)
177
+ SENSITIVE = []
178
+ include Aws::Structure
179
+ end
180
+
181
+ # @!attribute [rw] application_arn
182
+ # The Amazon resource name (ARN) of the application that was augmented
183
+ # with attributes.
184
+ # @return [String]
185
+ #
186
+ # @!attribute [rw] resource_arn
187
+ # The Amazon resource name (ARN) that specifies the resource.
188
+ # @return [String]
189
+ #
190
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry/AssociateResourceResponse AWS API Documentation
191
+ #
192
+ class AssociateResourceResponse < Struct.new(
193
+ :application_arn,
194
+ :resource_arn)
195
+ SENSITIVE = []
196
+ include Aws::Structure
197
+ end
198
+
199
+ # Represents a Service Catalog AppRegistry attribute group that is rich
200
+ # metadata which describes an application and its components.
201
+ #
202
+ # @!attribute [rw] id
203
+ # The globally unique attribute group identifier of the attribute
204
+ # group.
205
+ # @return [String]
206
+ #
207
+ # @!attribute [rw] arn
208
+ # The Amazon resource name (ARN) that specifies the application across
209
+ # services.
210
+ # @return [String]
211
+ #
212
+ # @!attribute [rw] name
213
+ # The name of the attribute group.
214
+ # @return [String]
215
+ #
216
+ # @!attribute [rw] description
217
+ # The description of the attribute group that the user provides.
218
+ # @return [String]
219
+ #
220
+ # @!attribute [rw] creation_time
221
+ # The ISO-8601 formatted timestamp of the moment the attribute group
222
+ # was created.
223
+ # @return [Time]
224
+ #
225
+ # @!attribute [rw] last_update_time
226
+ # The ISO-8601 formatted timestamp of the moment the attribute group
227
+ # was last updated. This time is the same as the creationTime for a
228
+ # newly created attribute group.
229
+ # @return [Time]
230
+ #
231
+ # @!attribute [rw] tags
232
+ # Key-value pairs you can use to associate with the attribute group.
233
+ # @return [Hash<String,String>]
234
+ #
235
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry/AttributeGroup AWS API Documentation
236
+ #
237
+ class AttributeGroup < Struct.new(
238
+ :id,
239
+ :arn,
240
+ :name,
241
+ :description,
242
+ :creation_time,
243
+ :last_update_time,
244
+ :tags)
245
+ SENSITIVE = []
246
+ include Aws::Structure
247
+ end
248
+
249
+ # Summary of a Service Catalog AppRegistry attribute group.
250
+ #
251
+ # @!attribute [rw] id
252
+ # The globally unique attribute group identifier of the attribute
253
+ # group.
254
+ # @return [String]
255
+ #
256
+ # @!attribute [rw] arn
257
+ # The Amazon resource name (ARN) that specifies the application across
258
+ # services.
259
+ # @return [String]
260
+ #
261
+ # @!attribute [rw] name
262
+ # The name of the attribute group.
263
+ # @return [String]
264
+ #
265
+ # @!attribute [rw] description
266
+ # The description of the attribute group that the user provides.
267
+ # @return [String]
268
+ #
269
+ # @!attribute [rw] creation_time
270
+ # The ISO-8601 formatted timestamp of the moment the attribute group
271
+ # was created.
272
+ # @return [Time]
273
+ #
274
+ # @!attribute [rw] last_update_time
275
+ # The ISO-8601 formatted timestamp of the moment the attribute group
276
+ # was last updated. This time is the same as the creationTime for a
277
+ # newly created attribute group.
278
+ # @return [Time]
279
+ #
280
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry/AttributeGroupSummary AWS API Documentation
281
+ #
282
+ class AttributeGroupSummary < Struct.new(
283
+ :id,
284
+ :arn,
285
+ :name,
286
+ :description,
287
+ :creation_time,
288
+ :last_update_time)
289
+ SENSITIVE = []
290
+ include Aws::Structure
291
+ end
292
+
293
+ # There was a conflict when processing the request (for example, a
294
+ # resource with the given name already exists within the account).
295
+ #
296
+ # @!attribute [rw] message
297
+ # @return [String]
298
+ #
299
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry/ConflictException AWS API Documentation
300
+ #
301
+ class ConflictException < Struct.new(
302
+ :message)
303
+ SENSITIVE = []
304
+ include Aws::Structure
305
+ end
306
+
307
+ # @note When making an API call, you may pass CreateApplicationRequest
308
+ # data as a hash:
309
+ #
310
+ # {
311
+ # name: "Name", # required
312
+ # description: "Description",
313
+ # tags: {
314
+ # "TagKey" => "TagValue",
315
+ # },
316
+ # client_token: "ClientToken", # required
317
+ # }
318
+ #
319
+ # @!attribute [rw] name
320
+ # The name of the application. The name must be unique in the region
321
+ # in which you are creating the application.
322
+ # @return [String]
323
+ #
324
+ # @!attribute [rw] description
325
+ # The description of the application.
326
+ # @return [String]
327
+ #
328
+ # @!attribute [rw] tags
329
+ # Key-value pairs you can use to associate with the application.
330
+ # @return [Hash<String,String>]
331
+ #
332
+ # @!attribute [rw] client_token
333
+ # A unique identifier that you provide to ensure idempotency. If
334
+ # multiple requests differ only by the clientToken, the same response
335
+ # is returned for each repeated request.
336
+ #
337
+ # **A suitable default value is auto-generated.** You should normally
338
+ # not need to pass this option.
339
+ # @return [String]
340
+ #
341
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry/CreateApplicationRequest AWS API Documentation
342
+ #
343
+ class CreateApplicationRequest < Struct.new(
344
+ :name,
345
+ :description,
346
+ :tags,
347
+ :client_token)
348
+ SENSITIVE = []
349
+ include Aws::Structure
350
+ end
351
+
352
+ # @!attribute [rw] application
353
+ # The name or ID of the application.
354
+ # @return [Types::Application]
355
+ #
356
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry/CreateApplicationResponse AWS API Documentation
357
+ #
358
+ class CreateApplicationResponse < Struct.new(
359
+ :application)
360
+ SENSITIVE = []
361
+ include Aws::Structure
362
+ end
363
+
364
+ # @note When making an API call, you may pass CreateAttributeGroupRequest
365
+ # data as a hash:
366
+ #
367
+ # {
368
+ # name: "Name", # required
369
+ # description: "Description",
370
+ # attributes: "Attributes", # required
371
+ # tags: {
372
+ # "TagKey" => "TagValue",
373
+ # },
374
+ # client_token: "ClientToken", # required
375
+ # }
376
+ #
377
+ # @!attribute [rw] name
378
+ # The name of the attribute group.
379
+ # @return [String]
380
+ #
381
+ # @!attribute [rw] description
382
+ # The description of the attribute group that the user provides.
383
+ # @return [String]
384
+ #
385
+ # @!attribute [rw] attributes
386
+ # A JSON string in the form of nested key-value pairs that represent
387
+ # the attributes in the group and describes an application and its
388
+ # components.
389
+ # @return [String]
390
+ #
391
+ # @!attribute [rw] tags
392
+ # Key-value pairs you can use to associate with the attribute group.
393
+ # @return [Hash<String,String>]
394
+ #
395
+ # @!attribute [rw] client_token
396
+ # A unique identifier that you provide to ensure idempotency. If
397
+ # multiple requests differ only by the clientToken, the same response
398
+ # is returned for each repeated request.
399
+ #
400
+ # **A suitable default value is auto-generated.** You should normally
401
+ # not need to pass this option.
402
+ # @return [String]
403
+ #
404
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry/CreateAttributeGroupRequest AWS API Documentation
405
+ #
406
+ class CreateAttributeGroupRequest < Struct.new(
407
+ :name,
408
+ :description,
409
+ :attributes,
410
+ :tags,
411
+ :client_token)
412
+ SENSITIVE = []
413
+ include Aws::Structure
414
+ end
415
+
416
+ # @!attribute [rw] attribute_group
417
+ # The name or ID of the attribute group that holds the attributes to
418
+ # describe the application.
419
+ # @return [Types::AttributeGroup]
420
+ #
421
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry/CreateAttributeGroupResponse AWS API Documentation
422
+ #
423
+ class CreateAttributeGroupResponse < Struct.new(
424
+ :attribute_group)
425
+ SENSITIVE = []
426
+ include Aws::Structure
427
+ end
428
+
429
+ # @note When making an API call, you may pass DeleteApplicationRequest
430
+ # data as a hash:
431
+ #
432
+ # {
433
+ # application: "ApplicationSpecifier", # required
434
+ # }
435
+ #
436
+ # @!attribute [rw] application
437
+ # The name or ID of the application.
438
+ # @return [String]
439
+ #
440
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry/DeleteApplicationRequest AWS API Documentation
441
+ #
442
+ class DeleteApplicationRequest < Struct.new(
443
+ :application)
444
+ SENSITIVE = []
445
+ include Aws::Structure
446
+ end
447
+
448
+ # @!attribute [rw] application
449
+ # The name or ID of the application.
450
+ # @return [Types::ApplicationSummary]
451
+ #
452
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry/DeleteApplicationResponse AWS API Documentation
453
+ #
454
+ class DeleteApplicationResponse < Struct.new(
455
+ :application)
456
+ SENSITIVE = []
457
+ include Aws::Structure
458
+ end
459
+
460
+ # @note When making an API call, you may pass DeleteAttributeGroupRequest
461
+ # data as a hash:
462
+ #
463
+ # {
464
+ # attribute_group: "AttributeGroupSpecifier", # required
465
+ # }
466
+ #
467
+ # @!attribute [rw] attribute_group
468
+ # The name or ID of the attribute group that holds the attributes to
469
+ # describe the application.
470
+ # @return [String]
471
+ #
472
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry/DeleteAttributeGroupRequest AWS API Documentation
473
+ #
474
+ class DeleteAttributeGroupRequest < Struct.new(
475
+ :attribute_group)
476
+ SENSITIVE = []
477
+ include Aws::Structure
478
+ end
479
+
480
+ # @!attribute [rw] attribute_group
481
+ # The name or ID of the attribute group that holds the attributes to
482
+ # describe the application.
483
+ # @return [Types::AttributeGroupSummary]
484
+ #
485
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry/DeleteAttributeGroupResponse AWS API Documentation
486
+ #
487
+ class DeleteAttributeGroupResponse < Struct.new(
488
+ :attribute_group)
489
+ SENSITIVE = []
490
+ include Aws::Structure
491
+ end
492
+
493
+ # @note When making an API call, you may pass DisassociateAttributeGroupRequest
494
+ # data as a hash:
495
+ #
496
+ # {
497
+ # application: "ApplicationSpecifier", # required
498
+ # attribute_group: "AttributeGroupSpecifier", # required
499
+ # }
500
+ #
501
+ # @!attribute [rw] application
502
+ # The name or ID of the application.
503
+ # @return [String]
504
+ #
505
+ # @!attribute [rw] attribute_group
506
+ # The name or ID of the attribute group that holds the attributes to
507
+ # describe the application.
508
+ # @return [String]
509
+ #
510
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry/DisassociateAttributeGroupRequest AWS API Documentation
511
+ #
512
+ class DisassociateAttributeGroupRequest < Struct.new(
513
+ :application,
514
+ :attribute_group)
515
+ SENSITIVE = []
516
+ include Aws::Structure
517
+ end
518
+
519
+ # @!attribute [rw] application_arn
520
+ # The Amazon resource name (ARN) of the application that was augmented
521
+ # with attributes.
522
+ # @return [String]
523
+ #
524
+ # @!attribute [rw] attribute_group_arn
525
+ # The Amazon resource name (ARN) of the attribute group that contains
526
+ # the application's new attributes.
527
+ # @return [String]
528
+ #
529
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry/DisassociateAttributeGroupResponse AWS API Documentation
530
+ #
531
+ class DisassociateAttributeGroupResponse < Struct.new(
532
+ :application_arn,
533
+ :attribute_group_arn)
534
+ SENSITIVE = []
535
+ include Aws::Structure
536
+ end
537
+
538
+ # @note When making an API call, you may pass DisassociateResourceRequest
539
+ # data as a hash:
540
+ #
541
+ # {
542
+ # application: "ApplicationSpecifier", # required
543
+ # resource_type: "CFN_STACK", # required, accepts CFN_STACK
544
+ # resource: "ResourceSpecifier", # required
545
+ # }
546
+ #
547
+ # @!attribute [rw] application
548
+ # The name or ID of the application.
549
+ # @return [String]
550
+ #
551
+ # @!attribute [rw] resource_type
552
+ # The type of the resource that's being disassociated.
553
+ # @return [String]
554
+ #
555
+ # @!attribute [rw] resource
556
+ # The name or ID of the resource of which the application will be
557
+ # associated.
558
+ # @return [String]
559
+ #
560
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry/DisassociateResourceRequest AWS API Documentation
561
+ #
562
+ class DisassociateResourceRequest < Struct.new(
563
+ :application,
564
+ :resource_type,
565
+ :resource)
566
+ SENSITIVE = []
567
+ include Aws::Structure
568
+ end
569
+
570
+ # @!attribute [rw] application_arn
571
+ # The Amazon resource name (ARN) of the application that was augmented
572
+ # with attributes.
573
+ # @return [String]
574
+ #
575
+ # @!attribute [rw] resource_arn
576
+ # The Amazon resource name (ARN) that specifies the resource.
577
+ # @return [String]
578
+ #
579
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry/DisassociateResourceResponse AWS API Documentation
580
+ #
581
+ class DisassociateResourceResponse < Struct.new(
582
+ :application_arn,
583
+ :resource_arn)
584
+ SENSITIVE = []
585
+ include Aws::Structure
586
+ end
587
+
588
+ # @note When making an API call, you may pass GetApplicationRequest
589
+ # data as a hash:
590
+ #
591
+ # {
592
+ # application: "ApplicationSpecifier", # required
593
+ # }
594
+ #
595
+ # @!attribute [rw] application
596
+ # The name or ID of the application.
597
+ # @return [String]
598
+ #
599
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry/GetApplicationRequest AWS API Documentation
600
+ #
601
+ class GetApplicationRequest < Struct.new(
602
+ :application)
603
+ SENSITIVE = []
604
+ include Aws::Structure
605
+ end
606
+
607
+ # @!attribute [rw] id
608
+ # The identifier of the application.
609
+ # @return [String]
610
+ #
611
+ # @!attribute [rw] arn
612
+ # The Amazon resource name (ARN) that specifies the application across
613
+ # services.
614
+ # @return [String]
615
+ #
616
+ # @!attribute [rw] name
617
+ # The name of the application. The name must be unique in the region
618
+ # in which you are creating the application.
619
+ # @return [String]
620
+ #
621
+ # @!attribute [rw] description
622
+ # The description of the application.
623
+ # @return [String]
624
+ #
625
+ # @!attribute [rw] creation_time
626
+ # The ISO-8601 formatted timestamp of the moment when the application
627
+ # was created.
628
+ # @return [Time]
629
+ #
630
+ # @!attribute [rw] last_update_time
631
+ # The ISO-8601 formatted timestamp of the moment when the application
632
+ # was last updated.
633
+ # @return [Time]
634
+ #
635
+ # @!attribute [rw] associated_resource_count
636
+ # The number of top-level resources that were registered as part of
637
+ # this application.
638
+ # @return [Integer]
639
+ #
640
+ # @!attribute [rw] tags
641
+ # Key-value pairs you can use to associate with the application.
642
+ # @return [Hash<String,String>]
643
+ #
644
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry/GetApplicationResponse AWS API Documentation
645
+ #
646
+ class GetApplicationResponse < Struct.new(
647
+ :id,
648
+ :arn,
649
+ :name,
650
+ :description,
651
+ :creation_time,
652
+ :last_update_time,
653
+ :associated_resource_count,
654
+ :tags)
655
+ SENSITIVE = []
656
+ include Aws::Structure
657
+ end
658
+
659
+ # @note When making an API call, you may pass GetAttributeGroupRequest
660
+ # data as a hash:
661
+ #
662
+ # {
663
+ # attribute_group: "AttributeGroupSpecifier", # required
664
+ # }
665
+ #
666
+ # @!attribute [rw] attribute_group
667
+ # The name or ID of the attribute group that holds the attributes to
668
+ # describe the application.
669
+ # @return [String]
670
+ #
671
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry/GetAttributeGroupRequest AWS API Documentation
672
+ #
673
+ class GetAttributeGroupRequest < Struct.new(
674
+ :attribute_group)
675
+ SENSITIVE = []
676
+ include Aws::Structure
677
+ end
678
+
679
+ # @!attribute [rw] id
680
+ # The identifier of the application.
681
+ # @return [String]
682
+ #
683
+ # @!attribute [rw] arn
684
+ # The Amazon resource name (ARN) that specifies the application across
685
+ # services.
686
+ # @return [String]
687
+ #
688
+ # @!attribute [rw] name
689
+ # The name of the attribute group.
690
+ # @return [String]
691
+ #
692
+ # @!attribute [rw] description
693
+ # The description of the attribute group that the user provides.
694
+ # @return [String]
695
+ #
696
+ # @!attribute [rw] attributes
697
+ # A JSON string in the form of nested key-value pairs that represent
698
+ # the attributes in the group and describes an application and its
699
+ # components.
700
+ # @return [String]
701
+ #
702
+ # @!attribute [rw] creation_time
703
+ # The ISO-8601 formatted timestamp of the moment the attribute group
704
+ # was created.
705
+ # @return [Time]
706
+ #
707
+ # @!attribute [rw] last_update_time
708
+ # The ISO-8601 formatted timestamp of the moment the attribute group
709
+ # was last updated. This time is the same as the creationTime for a
710
+ # newly created attribute group.
711
+ # @return [Time]
712
+ #
713
+ # @!attribute [rw] tags
714
+ # Key-value pairs you can use to associate with the attribute group.
715
+ # @return [Hash<String,String>]
716
+ #
717
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry/GetAttributeGroupResponse AWS API Documentation
718
+ #
719
+ class GetAttributeGroupResponse < Struct.new(
720
+ :id,
721
+ :arn,
722
+ :name,
723
+ :description,
724
+ :attributes,
725
+ :creation_time,
726
+ :last_update_time,
727
+ :tags)
728
+ SENSITIVE = []
729
+ include Aws::Structure
730
+ end
731
+
732
+ # The service is experiencing internal problems.
733
+ #
734
+ # @!attribute [rw] message
735
+ # @return [String]
736
+ #
737
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry/InternalServerException AWS API Documentation
738
+ #
739
+ class InternalServerException < Struct.new(
740
+ :message)
741
+ SENSITIVE = []
742
+ include Aws::Structure
743
+ end
744
+
745
+ # @note When making an API call, you may pass ListApplicationsRequest
746
+ # data as a hash:
747
+ #
748
+ # {
749
+ # next_token: "NextToken",
750
+ # max_results: 1,
751
+ # }
752
+ #
753
+ # @!attribute [rw] next_token
754
+ # The token to use to get the next page of results after a previous
755
+ # API call.
756
+ # @return [String]
757
+ #
758
+ # @!attribute [rw] max_results
759
+ # The upper bound of the number of results to return (cannot exceed
760
+ # 25). If this parameter is omitted, it defaults to 25. This value is
761
+ # optional.
762
+ # @return [Integer]
763
+ #
764
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry/ListApplicationsRequest AWS API Documentation
765
+ #
766
+ class ListApplicationsRequest < Struct.new(
767
+ :next_token,
768
+ :max_results)
769
+ SENSITIVE = []
770
+ include Aws::Structure
771
+ end
772
+
773
+ # @!attribute [rw] applications
774
+ # The name or ID of the application.
775
+ # @return [Array<Types::ApplicationSummary>]
776
+ #
777
+ # @!attribute [rw] next_token
778
+ # The token to use to get the next page of results after a previous
779
+ # API call.
780
+ # @return [String]
781
+ #
782
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry/ListApplicationsResponse AWS API Documentation
783
+ #
784
+ class ListApplicationsResponse < Struct.new(
785
+ :applications,
786
+ :next_token)
787
+ SENSITIVE = []
788
+ include Aws::Structure
789
+ end
790
+
791
+ # @note When making an API call, you may pass ListAssociatedAttributeGroupsRequest
792
+ # data as a hash:
793
+ #
794
+ # {
795
+ # application: "ApplicationSpecifier", # required
796
+ # next_token: "NextToken",
797
+ # max_results: 1,
798
+ # }
799
+ #
800
+ # @!attribute [rw] application
801
+ # The name or ID of the application.
802
+ # @return [String]
803
+ #
804
+ # @!attribute [rw] next_token
805
+ # The token to use to get the next page of results after a previous
806
+ # API call.
807
+ # @return [String]
808
+ #
809
+ # @!attribute [rw] max_results
810
+ # The upper bound of the number of results to return (cannot exceed
811
+ # 25). If this parameter is omitted, it defaults to 25. This value is
812
+ # optional.
813
+ # @return [Integer]
814
+ #
815
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry/ListAssociatedAttributeGroupsRequest AWS API Documentation
816
+ #
817
+ class ListAssociatedAttributeGroupsRequest < Struct.new(
818
+ :application,
819
+ :next_token,
820
+ :max_results)
821
+ SENSITIVE = []
822
+ include Aws::Structure
823
+ end
824
+
825
+ # @!attribute [rw] attribute_groups
826
+ # A list of attribute group IDs.
827
+ # @return [Array<String>]
828
+ #
829
+ # @!attribute [rw] next_token
830
+ # The token to use to get the next page of results after a previous
831
+ # API call.
832
+ # @return [String]
833
+ #
834
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry/ListAssociatedAttributeGroupsResponse AWS API Documentation
835
+ #
836
+ class ListAssociatedAttributeGroupsResponse < Struct.new(
837
+ :attribute_groups,
838
+ :next_token)
839
+ SENSITIVE = []
840
+ include Aws::Structure
841
+ end
842
+
843
+ # @note When making an API call, you may pass ListAssociatedResourcesRequest
844
+ # data as a hash:
845
+ #
846
+ # {
847
+ # application: "ApplicationSpecifier", # required
848
+ # next_token: "NextToken",
849
+ # max_results: 1,
850
+ # }
851
+ #
852
+ # @!attribute [rw] application
853
+ # The name or ID of the application.
854
+ # @return [String]
855
+ #
856
+ # @!attribute [rw] next_token
857
+ # The token to use to get the next page of results after a previous
858
+ # API call.
859
+ # @return [String]
860
+ #
861
+ # @!attribute [rw] max_results
862
+ # The upper bound of the number of results to return (cannot exceed
863
+ # 25). If this parameter is omitted, it defaults to 25. This value is
864
+ # optional.
865
+ # @return [Integer]
866
+ #
867
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry/ListAssociatedResourcesRequest AWS API Documentation
868
+ #
869
+ class ListAssociatedResourcesRequest < Struct.new(
870
+ :application,
871
+ :next_token,
872
+ :max_results)
873
+ SENSITIVE = []
874
+ include Aws::Structure
875
+ end
876
+
877
+ # @!attribute [rw] resources
878
+ # The name or ID of the resource of which the application will be
879
+ # associated.
880
+ # @return [Array<Types::ResourceInfo>]
881
+ #
882
+ # @!attribute [rw] next_token
883
+ # The token to use to get the next page of results after a previous
884
+ # API call.
885
+ # @return [String]
886
+ #
887
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry/ListAssociatedResourcesResponse AWS API Documentation
888
+ #
889
+ class ListAssociatedResourcesResponse < Struct.new(
890
+ :resources,
891
+ :next_token)
892
+ SENSITIVE = []
893
+ include Aws::Structure
894
+ end
895
+
896
+ # @note When making an API call, you may pass ListAttributeGroupsRequest
897
+ # data as a hash:
898
+ #
899
+ # {
900
+ # next_token: "NextToken",
901
+ # max_results: 1,
902
+ # }
903
+ #
904
+ # @!attribute [rw] next_token
905
+ # The token to use to get the next page of results after a previous
906
+ # API call.
907
+ # @return [String]
908
+ #
909
+ # @!attribute [rw] max_results
910
+ # The upper bound of the number of results to return (cannot exceed
911
+ # 25). If this parameter is omitted, it defaults to 25. This value is
912
+ # optional.
913
+ # @return [Integer]
914
+ #
915
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry/ListAttributeGroupsRequest AWS API Documentation
916
+ #
917
+ class ListAttributeGroupsRequest < Struct.new(
918
+ :next_token,
919
+ :max_results)
920
+ SENSITIVE = []
921
+ include Aws::Structure
922
+ end
923
+
924
+ # @!attribute [rw] attribute_groups
925
+ # A list of attribute group IDs.
926
+ # @return [Array<Types::AttributeGroupSummary>]
927
+ #
928
+ # @!attribute [rw] next_token
929
+ # The token to use to get the next page of results after a previous
930
+ # API call.
931
+ # @return [String]
932
+ #
933
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry/ListAttributeGroupsResponse AWS API Documentation
934
+ #
935
+ class ListAttributeGroupsResponse < Struct.new(
936
+ :attribute_groups,
937
+ :next_token)
938
+ SENSITIVE = []
939
+ include Aws::Structure
940
+ end
941
+
942
+ # Information about the resource.
943
+ #
944
+ # @!attribute [rw] name
945
+ # The name of the resource.
946
+ # @return [String]
947
+ #
948
+ # @!attribute [rw] arn
949
+ # The Amazon resource name (ARN) that specifies the application across
950
+ # services.
951
+ # @return [String]
952
+ #
953
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry/ResourceInfo AWS API Documentation
954
+ #
955
+ class ResourceInfo < Struct.new(
956
+ :name,
957
+ :arn)
958
+ SENSITIVE = []
959
+ include Aws::Structure
960
+ end
961
+
962
+ # The specified resource does not exist.
963
+ #
964
+ # @!attribute [rw] message
965
+ # @return [String]
966
+ #
967
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry/ResourceNotFoundException AWS API Documentation
968
+ #
969
+ class ResourceNotFoundException < Struct.new(
970
+ :message)
971
+ SENSITIVE = []
972
+ include Aws::Structure
973
+ end
974
+
975
+ # The maximum number of resources per account has been reached.
976
+ #
977
+ # @!attribute [rw] message
978
+ # @return [String]
979
+ #
980
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry/ServiceQuotaExceededException AWS API Documentation
981
+ #
982
+ class ServiceQuotaExceededException < Struct.new(
983
+ :message)
984
+ SENSITIVE = []
985
+ include Aws::Structure
986
+ end
987
+
988
+ # @note When making an API call, you may pass UpdateApplicationRequest
989
+ # data as a hash:
990
+ #
991
+ # {
992
+ # application: "ApplicationSpecifier", # required
993
+ # name: "Name",
994
+ # description: "Description",
995
+ # }
996
+ #
997
+ # @!attribute [rw] application
998
+ # The name or ID of the application. The name must be unique in the
999
+ # region in which you are updating the attribute group.
1000
+ # @return [String]
1001
+ #
1002
+ # @!attribute [rw] name
1003
+ # The anme of the application. The name must be unique in the region
1004
+ # in which you are creating the application.
1005
+ # @return [String]
1006
+ #
1007
+ # @!attribute [rw] description
1008
+ # The description of the application.
1009
+ # @return [String]
1010
+ #
1011
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry/UpdateApplicationRequest AWS API Documentation
1012
+ #
1013
+ class UpdateApplicationRequest < Struct.new(
1014
+ :application,
1015
+ :name,
1016
+ :description)
1017
+ SENSITIVE = []
1018
+ include Aws::Structure
1019
+ end
1020
+
1021
+ # @!attribute [rw] application
1022
+ # The name or ID of the application.
1023
+ # @return [Types::Application]
1024
+ #
1025
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry/UpdateApplicationResponse AWS API Documentation
1026
+ #
1027
+ class UpdateApplicationResponse < Struct.new(
1028
+ :application)
1029
+ SENSITIVE = []
1030
+ include Aws::Structure
1031
+ end
1032
+
1033
+ # @note When making an API call, you may pass UpdateAttributeGroupRequest
1034
+ # data as a hash:
1035
+ #
1036
+ # {
1037
+ # attribute_group: "AttributeGroupSpecifier", # required
1038
+ # name: "Name",
1039
+ # description: "Description",
1040
+ # attributes: "Attributes",
1041
+ # }
1042
+ #
1043
+ # @!attribute [rw] attribute_group
1044
+ # The name or ID of the attribute group that holds the attributes to
1045
+ # describe the application.
1046
+ # @return [String]
1047
+ #
1048
+ # @!attribute [rw] name
1049
+ # The new name of the attribute group. The name must be unique in the
1050
+ # region in which you are updating the attribute group.
1051
+ # @return [String]
1052
+ #
1053
+ # @!attribute [rw] description
1054
+ # The description of the attribute group that the user provides.
1055
+ # @return [String]
1056
+ #
1057
+ # @!attribute [rw] attributes
1058
+ # A JSON string in the form of nested key-value pairs that represent
1059
+ # the attributes in the group and describes an application and its
1060
+ # components.
1061
+ # @return [String]
1062
+ #
1063
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry/UpdateAttributeGroupRequest AWS API Documentation
1064
+ #
1065
+ class UpdateAttributeGroupRequest < Struct.new(
1066
+ :attribute_group,
1067
+ :name,
1068
+ :description,
1069
+ :attributes)
1070
+ SENSITIVE = []
1071
+ include Aws::Structure
1072
+ end
1073
+
1074
+ # @!attribute [rw] attribute_group
1075
+ # The name or ID of the attribute group that holds the attributes to
1076
+ # describe the application.
1077
+ # @return [Types::AttributeGroup]
1078
+ #
1079
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry/UpdateAttributeGroupResponse AWS API Documentation
1080
+ #
1081
+ class UpdateAttributeGroupResponse < Struct.new(
1082
+ :attribute_group)
1083
+ SENSITIVE = []
1084
+ include Aws::Structure
1085
+ end
1086
+
1087
+ # The request has invalid or missing parameters.
1088
+ #
1089
+ # @!attribute [rw] message
1090
+ # @return [String]
1091
+ #
1092
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry/ValidationException AWS API Documentation
1093
+ #
1094
+ class ValidationException < Struct.new(
1095
+ :message)
1096
+ SENSITIVE = []
1097
+ include Aws::Structure
1098
+ end
1099
+
1100
+ end
1101
+ end