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,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 9ff40f368c8fc9227079eade2ff575e059eec37e6b6f6505396fdbf598815c70
4
+ data.tar.gz: b100d943a239e39874ea77b951a434e525c1b604af68dc8af7d209debb4df20c
5
+ SHA512:
6
+ metadata.gz: 1bdc353e73b310503cbced0fd2fb24a16ea4d920b65b1c624c88531fc66862c6c2a530815564180dbf748af9dbe9bca4f8a57029614516ab2df540400e216203
7
+ data.tar.gz: e475bf776352c062c5aa855a2d8fa21a5fd22abd2059733fbcdab2363a1897847e67eeb75f3d58c441d0dfe6be993feba029b5f3a3a709b0f430faeb34ec5ab5
@@ -0,0 +1,53 @@
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
+
11
+ require 'aws-sdk-core'
12
+ require 'aws-sigv4'
13
+
14
+ require_relative 'aws-sdk-appregistry/types'
15
+ require_relative 'aws-sdk-appregistry/client_api'
16
+ require_relative 'aws-sdk-appregistry/client'
17
+ require_relative 'aws-sdk-appregistry/errors'
18
+ require_relative 'aws-sdk-appregistry/resource'
19
+ require_relative 'aws-sdk-appregistry/customizations'
20
+
21
+ # This module provides support for AWS Service Catalog App Registry. This module is available in the
22
+ # `aws-sdk-appregistry` gem.
23
+ #
24
+ # # Client
25
+ #
26
+ # The {Client} class provides one method for each API operation. Operation
27
+ # methods each accept a hash of request parameters and return a response
28
+ # structure.
29
+ #
30
+ # app_registry = Aws::AppRegistry::Client.new
31
+ # resp = app_registry.associate_attribute_group(params)
32
+ #
33
+ # See {Client} for more information.
34
+ #
35
+ # # Errors
36
+ #
37
+ # Errors returned from AWS Service Catalog App Registry are defined in the
38
+ # {Errors} module and all extend {Errors::ServiceError}.
39
+ #
40
+ # begin
41
+ # # do stuff
42
+ # rescue Aws::AppRegistry::Errors::ServiceError
43
+ # # rescues all AWS Service Catalog App Registry API errors
44
+ # end
45
+ #
46
+ # See {Errors} for more information.
47
+ #
48
+ # @!group service
49
+ module Aws::AppRegistry
50
+
51
+ GEM_VERSION = '1.0.0'
52
+
53
+ end
@@ -0,0 +1,1079 @@
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
+ require 'seahorse/client/plugins/content_length.rb'
11
+ require 'aws-sdk-core/plugins/credentials_configuration.rb'
12
+ require 'aws-sdk-core/plugins/logging.rb'
13
+ require 'aws-sdk-core/plugins/param_converter.rb'
14
+ require 'aws-sdk-core/plugins/param_validator.rb'
15
+ require 'aws-sdk-core/plugins/user_agent.rb'
16
+ require 'aws-sdk-core/plugins/helpful_socket_errors.rb'
17
+ require 'aws-sdk-core/plugins/retry_errors.rb'
18
+ require 'aws-sdk-core/plugins/global_configuration.rb'
19
+ require 'aws-sdk-core/plugins/regional_endpoint.rb'
20
+ require 'aws-sdk-core/plugins/endpoint_discovery.rb'
21
+ require 'aws-sdk-core/plugins/endpoint_pattern.rb'
22
+ require 'aws-sdk-core/plugins/response_paging.rb'
23
+ require 'aws-sdk-core/plugins/stub_responses.rb'
24
+ require 'aws-sdk-core/plugins/idempotency_token.rb'
25
+ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
26
+ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
27
+ require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
28
+ require 'aws-sdk-core/plugins/transfer_encoding.rb'
29
+ require 'aws-sdk-core/plugins/http_checksum.rb'
30
+ require 'aws-sdk-core/plugins/signature_v4.rb'
31
+ require 'aws-sdk-core/plugins/protocols/rest_json.rb'
32
+
33
+ Aws::Plugins::GlobalConfiguration.add_identifier(:appregistry)
34
+
35
+ module Aws::AppRegistry
36
+ # An API client for AppRegistry. To construct a client, you need to configure a `:region` and `:credentials`.
37
+ #
38
+ # client = Aws::AppRegistry::Client.new(
39
+ # region: region_name,
40
+ # credentials: credentials,
41
+ # # ...
42
+ # )
43
+ #
44
+ # For details on configuring region and credentials see
45
+ # the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
46
+ #
47
+ # See {#initialize} for a full list of supported configuration options.
48
+ class Client < Seahorse::Client::Base
49
+
50
+ include Aws::ClientStubs
51
+
52
+ @identifier = :appregistry
53
+
54
+ set_api(ClientApi::API)
55
+
56
+ add_plugin(Seahorse::Client::Plugins::ContentLength)
57
+ add_plugin(Aws::Plugins::CredentialsConfiguration)
58
+ add_plugin(Aws::Plugins::Logging)
59
+ add_plugin(Aws::Plugins::ParamConverter)
60
+ add_plugin(Aws::Plugins::ParamValidator)
61
+ add_plugin(Aws::Plugins::UserAgent)
62
+ add_plugin(Aws::Plugins::HelpfulSocketErrors)
63
+ add_plugin(Aws::Plugins::RetryErrors)
64
+ add_plugin(Aws::Plugins::GlobalConfiguration)
65
+ add_plugin(Aws::Plugins::RegionalEndpoint)
66
+ add_plugin(Aws::Plugins::EndpointDiscovery)
67
+ add_plugin(Aws::Plugins::EndpointPattern)
68
+ add_plugin(Aws::Plugins::ResponsePaging)
69
+ add_plugin(Aws::Plugins::StubResponses)
70
+ add_plugin(Aws::Plugins::IdempotencyToken)
71
+ add_plugin(Aws::Plugins::JsonvalueConverter)
72
+ add_plugin(Aws::Plugins::ClientMetricsPlugin)
73
+ add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
74
+ add_plugin(Aws::Plugins::TransferEncoding)
75
+ add_plugin(Aws::Plugins::HttpChecksum)
76
+ add_plugin(Aws::Plugins::SignatureV4)
77
+ add_plugin(Aws::Plugins::Protocols::RestJson)
78
+
79
+ # @overload initialize(options)
80
+ # @param [Hash] options
81
+ # @option options [required, Aws::CredentialProvider] :credentials
82
+ # Your AWS credentials. This can be an instance of any one of the
83
+ # following classes:
84
+ #
85
+ # * `Aws::Credentials` - Used for configuring static, non-refreshing
86
+ # credentials.
87
+ #
88
+ # * `Aws::SharedCredentials` - Used for loading static credentials from a
89
+ # shared file, such as `~/.aws/config`.
90
+ #
91
+ # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
92
+ #
93
+ # * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
94
+ # assume a role after providing credentials via the web.
95
+ #
96
+ # * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
97
+ # access token generated from `aws login`.
98
+ #
99
+ # * `Aws::ProcessCredentials` - Used for loading credentials from a
100
+ # process that outputs to stdout.
101
+ #
102
+ # * `Aws::InstanceProfileCredentials` - Used for loading credentials
103
+ # from an EC2 IMDS on an EC2 instance.
104
+ #
105
+ # * `Aws::ECSCredentials` - Used for loading credentials from
106
+ # instances running in ECS.
107
+ #
108
+ # * `Aws::CognitoIdentityCredentials` - Used for loading credentials
109
+ # from the Cognito Identity service.
110
+ #
111
+ # When `:credentials` are not configured directly, the following
112
+ # locations will be searched for credentials:
113
+ #
114
+ # * `Aws.config[:credentials]`
115
+ # * The `:access_key_id`, `:secret_access_key`, and `:session_token` options.
116
+ # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
117
+ # * `~/.aws/credentials`
118
+ # * `~/.aws/config`
119
+ # * EC2/ECS IMDS instance profile - When used by default, the timeouts
120
+ # are very aggressive. Construct and pass an instance of
121
+ # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
122
+ # enable retries and extended timeouts.
123
+ #
124
+ # @option options [required, String] :region
125
+ # The AWS region to connect to. The configured `:region` is
126
+ # used to determine the service `:endpoint`. When not passed,
127
+ # a default `:region` is searched for in the following locations:
128
+ #
129
+ # * `Aws.config[:region]`
130
+ # * `ENV['AWS_REGION']`
131
+ # * `ENV['AMAZON_REGION']`
132
+ # * `ENV['AWS_DEFAULT_REGION']`
133
+ # * `~/.aws/credentials`
134
+ # * `~/.aws/config`
135
+ #
136
+ # @option options [String] :access_key_id
137
+ #
138
+ # @option options [Boolean] :active_endpoint_cache (false)
139
+ # When set to `true`, a thread polling for endpoints will be running in
140
+ # the background every 60 secs (default). Defaults to `false`.
141
+ #
142
+ # @option options [Boolean] :adaptive_retry_wait_to_fill (true)
143
+ # Used only in `adaptive` retry mode. When true, the request will sleep
144
+ # until there is sufficent client side capacity to retry the request.
145
+ # When false, the request will raise a `RetryCapacityNotAvailableError` and will
146
+ # not retry instead of sleeping.
147
+ #
148
+ # @option options [Boolean] :client_side_monitoring (false)
149
+ # When `true`, client-side metrics will be collected for all API requests from
150
+ # this client.
151
+ #
152
+ # @option options [String] :client_side_monitoring_client_id ("")
153
+ # Allows you to provide an identifier for this client which will be attached to
154
+ # all generated client side metrics. Defaults to an empty string.
155
+ #
156
+ # @option options [String] :client_side_monitoring_host ("127.0.0.1")
157
+ # Allows you to specify the DNS hostname or IPv4 or IPv6 address that the client
158
+ # side monitoring agent is running on, where client metrics will be published via UDP.
159
+ #
160
+ # @option options [Integer] :client_side_monitoring_port (31000)
161
+ # Required for publishing client metrics. The port that the client side monitoring
162
+ # agent is running on, where client metrics will be published via UDP.
163
+ #
164
+ # @option options [Aws::ClientSideMonitoring::Publisher] :client_side_monitoring_publisher (Aws::ClientSideMonitoring::Publisher)
165
+ # Allows you to provide a custom client-side monitoring publisher class. By default,
166
+ # will use the Client Side Monitoring Agent Publisher.
167
+ #
168
+ # @option options [Boolean] :convert_params (true)
169
+ # When `true`, an attempt is made to coerce request parameters into
170
+ # the required types.
171
+ #
172
+ # @option options [Boolean] :correct_clock_skew (true)
173
+ # Used only in `standard` and adaptive retry modes. Specifies whether to apply
174
+ # a clock skew correction and retry requests with skewed client clocks.
175
+ #
176
+ # @option options [Boolean] :disable_host_prefix_injection (false)
177
+ # Set to true to disable SDK automatically adding host prefix
178
+ # to default service endpoint when available.
179
+ #
180
+ # @option options [String] :endpoint
181
+ # The client endpoint is normally constructed from the `:region`
182
+ # option. You should only configure an `:endpoint` when connecting
183
+ # to test or custom endpoints. This should be a valid HTTP(S) URI.
184
+ #
185
+ # @option options [Integer] :endpoint_cache_max_entries (1000)
186
+ # Used for the maximum size limit of the LRU cache storing endpoints data
187
+ # for endpoint discovery enabled operations. Defaults to 1000.
188
+ #
189
+ # @option options [Integer] :endpoint_cache_max_threads (10)
190
+ # Used for the maximum threads in use for polling endpoints to be cached, defaults to 10.
191
+ #
192
+ # @option options [Integer] :endpoint_cache_poll_interval (60)
193
+ # When :endpoint_discovery and :active_endpoint_cache is enabled,
194
+ # Use this option to config the time interval in seconds for making
195
+ # requests fetching endpoints information. Defaults to 60 sec.
196
+ #
197
+ # @option options [Boolean] :endpoint_discovery (false)
198
+ # When set to `true`, endpoint discovery will be enabled for operations when available.
199
+ #
200
+ # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
201
+ # The log formatter.
202
+ #
203
+ # @option options [Symbol] :log_level (:info)
204
+ # The log level to send messages to the `:logger` at.
205
+ #
206
+ # @option options [Logger] :logger
207
+ # The Logger instance to send log messages to. If this option
208
+ # is not set, logging will be disabled.
209
+ #
210
+ # @option options [Integer] :max_attempts (3)
211
+ # An integer representing the maximum number attempts that will be made for
212
+ # a single request, including the initial attempt. For example,
213
+ # setting this value to 5 will result in a request being retried up to
214
+ # 4 times. Used in `standard` and `adaptive` retry modes.
215
+ #
216
+ # @option options [String] :profile ("default")
217
+ # Used when loading credentials from the shared credentials file
218
+ # at HOME/.aws/credentials. When not specified, 'default' is used.
219
+ #
220
+ # @option options [Proc] :retry_backoff
221
+ # A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
222
+ # This option is only used in the `legacy` retry mode.
223
+ #
224
+ # @option options [Float] :retry_base_delay (0.3)
225
+ # The base delay in seconds used by the default backoff function. This option
226
+ # is only used in the `legacy` retry mode.
227
+ #
228
+ # @option options [Symbol] :retry_jitter (:none)
229
+ # A delay randomiser function used by the default backoff function.
230
+ # Some predefined functions can be referenced by name - :none, :equal, :full,
231
+ # otherwise a Proc that takes and returns a number. This option is only used
232
+ # in the `legacy` retry mode.
233
+ #
234
+ # @see https://www.awsarchitectureblog.com/2015/03/backoff.html
235
+ #
236
+ # @option options [Integer] :retry_limit (3)
237
+ # The maximum number of times to retry failed requests. Only
238
+ # ~ 500 level server errors and certain ~ 400 level client errors
239
+ # are retried. Generally, these are throttling errors, data
240
+ # checksum errors, networking errors, timeout errors, auth errors,
241
+ # endpoint discovery, and errors from expired credentials.
242
+ # This option is only used in the `legacy` retry mode.
243
+ #
244
+ # @option options [Integer] :retry_max_delay (0)
245
+ # The maximum number of seconds to delay between retries (0 for no limit)
246
+ # used by the default backoff function. This option is only used in the
247
+ # `legacy` retry mode.
248
+ #
249
+ # @option options [String] :retry_mode ("legacy")
250
+ # Specifies which retry algorithm to use. Values are:
251
+ #
252
+ # * `legacy` - The pre-existing retry behavior. This is default value if
253
+ # no retry mode is provided.
254
+ #
255
+ # * `standard` - A standardized set of retry rules across the AWS SDKs.
256
+ # This includes support for retry quotas, which limit the number of
257
+ # unsuccessful retries a client can make.
258
+ #
259
+ # * `adaptive` - An experimental retry mode that includes all the
260
+ # functionality of `standard` mode along with automatic client side
261
+ # throttling. This is a provisional mode that may change behavior
262
+ # in the future.
263
+ #
264
+ #
265
+ # @option options [String] :secret_access_key
266
+ #
267
+ # @option options [String] :session_token
268
+ #
269
+ # @option options [Boolean] :stub_responses (false)
270
+ # Causes the client to return stubbed responses. By default
271
+ # fake responses are generated and returned. You can specify
272
+ # the response data to return or errors to raise by calling
273
+ # {ClientStubs#stub_responses}. See {ClientStubs} for more information.
274
+ #
275
+ # ** Please note ** When response stubbing is enabled, no HTTP
276
+ # requests are made, and retries are disabled.
277
+ #
278
+ # @option options [Boolean] :validate_params (true)
279
+ # When `true`, request parameters are validated before
280
+ # sending the request.
281
+ #
282
+ # @option options [URI::HTTP,String] :http_proxy A proxy to send
283
+ # requests through. Formatted like 'http://proxy.com:123'.
284
+ #
285
+ # @option options [Float] :http_open_timeout (15) The number of
286
+ # seconds to wait when opening a HTTP session before raising a
287
+ # `Timeout::Error`.
288
+ #
289
+ # @option options [Integer] :http_read_timeout (60) The default
290
+ # number of seconds to wait for response data. This value can
291
+ # safely be set per-request on the session.
292
+ #
293
+ # @option options [Float] :http_idle_timeout (5) The number of
294
+ # seconds a connection is allowed to sit idle before it is
295
+ # considered stale. Stale connections are closed and removed
296
+ # from the pool before making a request.
297
+ #
298
+ # @option options [Float] :http_continue_timeout (1) The number of
299
+ # seconds to wait for a 100-continue response before sending the
300
+ # request body. This option has no effect unless the request has
301
+ # "Expect" header set to "100-continue". Defaults to `nil` which
302
+ # disables this behaviour. This value can safely be set per
303
+ # request on the session.
304
+ #
305
+ # @option options [Boolean] :http_wire_trace (false) When `true`,
306
+ # HTTP debug output will be sent to the `:logger`.
307
+ #
308
+ # @option options [Boolean] :ssl_verify_peer (true) When `true`,
309
+ # SSL peer certificates are verified when establishing a
310
+ # connection.
311
+ #
312
+ # @option options [String] :ssl_ca_bundle Full path to the SSL
313
+ # certificate authority bundle file that should be used when
314
+ # verifying peer certificates. If you do not pass
315
+ # `:ssl_ca_bundle` or `:ssl_ca_directory` the the system default
316
+ # will be used if available.
317
+ #
318
+ # @option options [String] :ssl_ca_directory Full path of the
319
+ # directory that contains the unbundled SSL certificate
320
+ # authority files for verifying peer certificates. If you do
321
+ # not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the
322
+ # system default will be used if available.
323
+ #
324
+ def initialize(*args)
325
+ super
326
+ end
327
+
328
+ # @!group API Operations
329
+
330
+ # Associates an attribute group with an application to augment the
331
+ # application's metadata with the group's attributes. This way
332
+ # applications can be described with user-defined details which are
333
+ # machine-readable (e.g. for third-party integrations).
334
+ #
335
+ # @option params [required, String] :application
336
+ # The name or ID of the application.
337
+ #
338
+ # @option params [required, String] :attribute_group
339
+ # The name or ID of the attribute group that holds the attributes to
340
+ # describe the application.
341
+ #
342
+ # @return [Types::AssociateAttributeGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
343
+ #
344
+ # * {Types::AssociateAttributeGroupResponse#application_arn #application_arn} => String
345
+ # * {Types::AssociateAttributeGroupResponse#attribute_group_arn #attribute_group_arn} => String
346
+ #
347
+ # @example Request syntax with placeholder values
348
+ #
349
+ # resp = client.associate_attribute_group({
350
+ # application: "ApplicationSpecifier", # required
351
+ # attribute_group: "AttributeGroupSpecifier", # required
352
+ # })
353
+ #
354
+ # @example Response structure
355
+ #
356
+ # resp.application_arn #=> String
357
+ # resp.attribute_group_arn #=> String
358
+ #
359
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry/AssociateAttributeGroup AWS API Documentation
360
+ #
361
+ # @overload associate_attribute_group(params = {})
362
+ # @param [Hash] params ({})
363
+ def associate_attribute_group(params = {}, options = {})
364
+ req = build_request(:associate_attribute_group, params)
365
+ req.send_request(options)
366
+ end
367
+
368
+ # Associates a resource with an application. Both the resource and the
369
+ # application can be specified either by ID or name.
370
+ #
371
+ # @option params [required, String] :application
372
+ # The name or ID of the application.
373
+ #
374
+ # @option params [required, String] :resource_type
375
+ #
376
+ # @option params [required, String] :resource
377
+ # The name or ID of the resource of which the application will be
378
+ # associated.
379
+ #
380
+ # @return [Types::AssociateResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
381
+ #
382
+ # * {Types::AssociateResourceResponse#application_arn #application_arn} => String
383
+ # * {Types::AssociateResourceResponse#resource_arn #resource_arn} => String
384
+ #
385
+ # @example Request syntax with placeholder values
386
+ #
387
+ # resp = client.associate_resource({
388
+ # application: "ApplicationSpecifier", # required
389
+ # resource_type: "CFN_STACK", # required, accepts CFN_STACK
390
+ # resource: "ResourceSpecifier", # required
391
+ # })
392
+ #
393
+ # @example Response structure
394
+ #
395
+ # resp.application_arn #=> String
396
+ # resp.resource_arn #=> String
397
+ #
398
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry/AssociateResource AWS API Documentation
399
+ #
400
+ # @overload associate_resource(params = {})
401
+ # @param [Hash] params ({})
402
+ def associate_resource(params = {}, options = {})
403
+ req = build_request(:associate_resource, params)
404
+ req.send_request(options)
405
+ end
406
+
407
+ # Creates a new application that is the top-level node in a hierarchy of
408
+ # related cloud resource abstractions.
409
+ #
410
+ # @option params [required, String] :name
411
+ # The name of the application. The name must be unique in the region in
412
+ # which you are creating the application.
413
+ #
414
+ # @option params [String] :description
415
+ # The description of the application.
416
+ #
417
+ # @option params [Hash<String,String>] :tags
418
+ # Key-value pairs you can use to associate with the application.
419
+ #
420
+ # @option params [required, String] :client_token
421
+ # A unique identifier that you provide to ensure idempotency. If
422
+ # multiple requests differ only by the clientToken, the same response is
423
+ # returned for each repeated request.
424
+ #
425
+ # **A suitable default value is auto-generated.** You should normally
426
+ # not need to pass this option.**
427
+ #
428
+ # @return [Types::CreateApplicationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
429
+ #
430
+ # * {Types::CreateApplicationResponse#application #application} => Types::Application
431
+ #
432
+ # @example Request syntax with placeholder values
433
+ #
434
+ # resp = client.create_application({
435
+ # name: "Name", # required
436
+ # description: "Description",
437
+ # tags: {
438
+ # "TagKey" => "TagValue",
439
+ # },
440
+ # client_token: "ClientToken", # required
441
+ # })
442
+ #
443
+ # @example Response structure
444
+ #
445
+ # resp.application.id #=> String
446
+ # resp.application.arn #=> String
447
+ # resp.application.name #=> String
448
+ # resp.application.description #=> String
449
+ # resp.application.creation_time #=> Time
450
+ # resp.application.last_update_time #=> Time
451
+ # resp.application.tags #=> Hash
452
+ # resp.application.tags["TagKey"] #=> String
453
+ #
454
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry/CreateApplication AWS API Documentation
455
+ #
456
+ # @overload create_application(params = {})
457
+ # @param [Hash] params ({})
458
+ def create_application(params = {}, options = {})
459
+ req = build_request(:create_application, params)
460
+ req.send_request(options)
461
+ end
462
+
463
+ # Creates a new attribute group as a container for user-defined
464
+ # attributes. This approach enables users to have full control over
465
+ # their cloud application's metadata in a rich machine-readable format
466
+ # to facilitate integration with automated workflows and third-party
467
+ # tools.
468
+ #
469
+ # @option params [required, String] :name
470
+ # The name of the attribute group.
471
+ #
472
+ # @option params [String] :description
473
+ # The description of the attribute group that the user provides.
474
+ #
475
+ # @option params [required, String] :attributes
476
+ # A JSON string in the form of nested key-value pairs that represent the
477
+ # attributes in the group and describes an application and its
478
+ # components.
479
+ #
480
+ # @option params [Hash<String,String>] :tags
481
+ # Key-value pairs you can use to associate with the attribute group.
482
+ #
483
+ # @option params [required, String] :client_token
484
+ # A unique identifier that you provide to ensure idempotency. If
485
+ # multiple requests differ only by the clientToken, the same response is
486
+ # returned for each repeated request.
487
+ #
488
+ # **A suitable default value is auto-generated.** You should normally
489
+ # not need to pass this option.**
490
+ #
491
+ # @return [Types::CreateAttributeGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
492
+ #
493
+ # * {Types::CreateAttributeGroupResponse#attribute_group #attribute_group} => Types::AttributeGroup
494
+ #
495
+ # @example Request syntax with placeholder values
496
+ #
497
+ # resp = client.create_attribute_group({
498
+ # name: "Name", # required
499
+ # description: "Description",
500
+ # attributes: "Attributes", # required
501
+ # tags: {
502
+ # "TagKey" => "TagValue",
503
+ # },
504
+ # client_token: "ClientToken", # required
505
+ # })
506
+ #
507
+ # @example Response structure
508
+ #
509
+ # resp.attribute_group.id #=> String
510
+ # resp.attribute_group.arn #=> String
511
+ # resp.attribute_group.name #=> String
512
+ # resp.attribute_group.description #=> String
513
+ # resp.attribute_group.creation_time #=> Time
514
+ # resp.attribute_group.last_update_time #=> Time
515
+ # resp.attribute_group.tags #=> Hash
516
+ # resp.attribute_group.tags["TagKey"] #=> String
517
+ #
518
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry/CreateAttributeGroup AWS API Documentation
519
+ #
520
+ # @overload create_attribute_group(params = {})
521
+ # @param [Hash] params ({})
522
+ def create_attribute_group(params = {}, options = {})
523
+ req = build_request(:create_attribute_group, params)
524
+ req.send_request(options)
525
+ end
526
+
527
+ # Delete an application, specified either by its application ID or name.
528
+ #
529
+ # @option params [required, String] :application
530
+ # The name or ID of the application.
531
+ #
532
+ # @return [Types::DeleteApplicationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
533
+ #
534
+ # * {Types::DeleteApplicationResponse#application #application} => Types::ApplicationSummary
535
+ #
536
+ # @example Request syntax with placeholder values
537
+ #
538
+ # resp = client.delete_application({
539
+ # application: "ApplicationSpecifier", # required
540
+ # })
541
+ #
542
+ # @example Response structure
543
+ #
544
+ # resp.application.id #=> String
545
+ # resp.application.arn #=> String
546
+ # resp.application.name #=> String
547
+ # resp.application.description #=> String
548
+ # resp.application.creation_time #=> Time
549
+ # resp.application.last_update_time #=> Time
550
+ #
551
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry/DeleteApplication AWS API Documentation
552
+ #
553
+ # @overload delete_application(params = {})
554
+ # @param [Hash] params ({})
555
+ def delete_application(params = {}, options = {})
556
+ req = build_request(:delete_application, params)
557
+ req.send_request(options)
558
+ end
559
+
560
+ # Deletes an attribute group, specified either by its attribute group ID
561
+ # or name.
562
+ #
563
+ # @option params [required, String] :attribute_group
564
+ # The name or ID of the attribute group that holds the attributes to
565
+ # describe the application.
566
+ #
567
+ # @return [Types::DeleteAttributeGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
568
+ #
569
+ # * {Types::DeleteAttributeGroupResponse#attribute_group #attribute_group} => Types::AttributeGroupSummary
570
+ #
571
+ # @example Request syntax with placeholder values
572
+ #
573
+ # resp = client.delete_attribute_group({
574
+ # attribute_group: "AttributeGroupSpecifier", # required
575
+ # })
576
+ #
577
+ # @example Response structure
578
+ #
579
+ # resp.attribute_group.id #=> String
580
+ # resp.attribute_group.arn #=> String
581
+ # resp.attribute_group.name #=> String
582
+ # resp.attribute_group.description #=> String
583
+ # resp.attribute_group.creation_time #=> Time
584
+ # resp.attribute_group.last_update_time #=> Time
585
+ #
586
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry/DeleteAttributeGroup AWS API Documentation
587
+ #
588
+ # @overload delete_attribute_group(params = {})
589
+ # @param [Hash] params ({})
590
+ def delete_attribute_group(params = {}, options = {})
591
+ req = build_request(:delete_attribute_group, params)
592
+ req.send_request(options)
593
+ end
594
+
595
+ # Disassociates an attribute group from an application to remove the
596
+ # extra attributes contained in the attribute group from the
597
+ # application's metadata. This operation reverts
598
+ # AssociateAttributeGroup.
599
+ #
600
+ # @option params [required, String] :application
601
+ # The name or ID of the application.
602
+ #
603
+ # @option params [required, String] :attribute_group
604
+ # The name or ID of the attribute group that holds the attributes to
605
+ # describe the application.
606
+ #
607
+ # @return [Types::DisassociateAttributeGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
608
+ #
609
+ # * {Types::DisassociateAttributeGroupResponse#application_arn #application_arn} => String
610
+ # * {Types::DisassociateAttributeGroupResponse#attribute_group_arn #attribute_group_arn} => String
611
+ #
612
+ # @example Request syntax with placeholder values
613
+ #
614
+ # resp = client.disassociate_attribute_group({
615
+ # application: "ApplicationSpecifier", # required
616
+ # attribute_group: "AttributeGroupSpecifier", # required
617
+ # })
618
+ #
619
+ # @example Response structure
620
+ #
621
+ # resp.application_arn #=> String
622
+ # resp.attribute_group_arn #=> String
623
+ #
624
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry/DisassociateAttributeGroup AWS API Documentation
625
+ #
626
+ # @overload disassociate_attribute_group(params = {})
627
+ # @param [Hash] params ({})
628
+ def disassociate_attribute_group(params = {}, options = {})
629
+ req = build_request(:disassociate_attribute_group, params)
630
+ req.send_request(options)
631
+ end
632
+
633
+ # Disassociates a resource from application. Both the resource and the
634
+ # application can be specified either by ID or name.
635
+ #
636
+ # @option params [required, String] :application
637
+ # The name or ID of the application.
638
+ #
639
+ # @option params [required, String] :resource_type
640
+ # The type of the resource that's being disassociated.
641
+ #
642
+ # @option params [required, String] :resource
643
+ # The name or ID of the resource of which the application will be
644
+ # associated.
645
+ #
646
+ # @return [Types::DisassociateResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
647
+ #
648
+ # * {Types::DisassociateResourceResponse#application_arn #application_arn} => String
649
+ # * {Types::DisassociateResourceResponse#resource_arn #resource_arn} => String
650
+ #
651
+ # @example Request syntax with placeholder values
652
+ #
653
+ # resp = client.disassociate_resource({
654
+ # application: "ApplicationSpecifier", # required
655
+ # resource_type: "CFN_STACK", # required, accepts CFN_STACK
656
+ # resource: "ResourceSpecifier", # required
657
+ # })
658
+ #
659
+ # @example Response structure
660
+ #
661
+ # resp.application_arn #=> String
662
+ # resp.resource_arn #=> String
663
+ #
664
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry/DisassociateResource AWS API Documentation
665
+ #
666
+ # @overload disassociate_resource(params = {})
667
+ # @param [Hash] params ({})
668
+ def disassociate_resource(params = {}, options = {})
669
+ req = build_request(:disassociate_resource, params)
670
+ req.send_request(options)
671
+ end
672
+
673
+ # Retrieves metadata information about one of your applications. The
674
+ # application can be specified either by its unique ID or by its name
675
+ # (which is unique within one account in one region at a given point in
676
+ # time). Specify by ID in automated workflows if you want to make sure
677
+ # that the exact same application is returned or a
678
+ # ResourceNotFoundException is thrown, avoiding the ABA addressing
679
+ # problem.
680
+ #
681
+ # @option params [required, String] :application
682
+ # The name or ID of the application.
683
+ #
684
+ # @return [Types::GetApplicationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
685
+ #
686
+ # * {Types::GetApplicationResponse#id #id} => String
687
+ # * {Types::GetApplicationResponse#arn #arn} => String
688
+ # * {Types::GetApplicationResponse#name #name} => String
689
+ # * {Types::GetApplicationResponse#description #description} => String
690
+ # * {Types::GetApplicationResponse#creation_time #creation_time} => Time
691
+ # * {Types::GetApplicationResponse#last_update_time #last_update_time} => Time
692
+ # * {Types::GetApplicationResponse#associated_resource_count #associated_resource_count} => Integer
693
+ # * {Types::GetApplicationResponse#tags #tags} => Hash&lt;String,String&gt;
694
+ #
695
+ # @example Request syntax with placeholder values
696
+ #
697
+ # resp = client.get_application({
698
+ # application: "ApplicationSpecifier", # required
699
+ # })
700
+ #
701
+ # @example Response structure
702
+ #
703
+ # resp.id #=> String
704
+ # resp.arn #=> String
705
+ # resp.name #=> String
706
+ # resp.description #=> String
707
+ # resp.creation_time #=> Time
708
+ # resp.last_update_time #=> Time
709
+ # resp.associated_resource_count #=> Integer
710
+ # resp.tags #=> Hash
711
+ # resp.tags["TagKey"] #=> String
712
+ #
713
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry/GetApplication AWS API Documentation
714
+ #
715
+ # @overload get_application(params = {})
716
+ # @param [Hash] params ({})
717
+ def get_application(params = {}, options = {})
718
+ req = build_request(:get_application, params)
719
+ req.send_request(options)
720
+ end
721
+
722
+ # Retrieves an attribute group, either by its name or its ID.
723
+ #
724
+ # @option params [required, String] :attribute_group
725
+ # The name or ID of the attribute group that holds the attributes to
726
+ # describe the application.
727
+ #
728
+ # @return [Types::GetAttributeGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
729
+ #
730
+ # * {Types::GetAttributeGroupResponse#id #id} => String
731
+ # * {Types::GetAttributeGroupResponse#arn #arn} => String
732
+ # * {Types::GetAttributeGroupResponse#name #name} => String
733
+ # * {Types::GetAttributeGroupResponse#description #description} => String
734
+ # * {Types::GetAttributeGroupResponse#attributes #attributes} => String
735
+ # * {Types::GetAttributeGroupResponse#creation_time #creation_time} => Time
736
+ # * {Types::GetAttributeGroupResponse#last_update_time #last_update_time} => Time
737
+ # * {Types::GetAttributeGroupResponse#tags #tags} => Hash&lt;String,String&gt;
738
+ #
739
+ # @example Request syntax with placeholder values
740
+ #
741
+ # resp = client.get_attribute_group({
742
+ # attribute_group: "AttributeGroupSpecifier", # required
743
+ # })
744
+ #
745
+ # @example Response structure
746
+ #
747
+ # resp.id #=> String
748
+ # resp.arn #=> String
749
+ # resp.name #=> String
750
+ # resp.description #=> String
751
+ # resp.attributes #=> String
752
+ # resp.creation_time #=> Time
753
+ # resp.last_update_time #=> Time
754
+ # resp.tags #=> Hash
755
+ # resp.tags["TagKey"] #=> String
756
+ #
757
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry/GetAttributeGroup AWS API Documentation
758
+ #
759
+ # @overload get_attribute_group(params = {})
760
+ # @param [Hash] params ({})
761
+ def get_attribute_group(params = {}, options = {})
762
+ req = build_request(:get_attribute_group, params)
763
+ req.send_request(options)
764
+ end
765
+
766
+ # Retrieves a list of all of your applications. Results are paginated.
767
+ #
768
+ # @option params [String] :next_token
769
+ # The token to use to get the next page of results after a previous API
770
+ # call.
771
+ #
772
+ # @option params [Integer] :max_results
773
+ # The upper bound of the number of results to return (cannot exceed 25).
774
+ # If this parameter is omitted, it defaults to 25. This value is
775
+ # optional.
776
+ #
777
+ # @return [Types::ListApplicationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
778
+ #
779
+ # * {Types::ListApplicationsResponse#applications #applications} => Array&lt;Types::ApplicationSummary&gt;
780
+ # * {Types::ListApplicationsResponse#next_token #next_token} => String
781
+ #
782
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
783
+ #
784
+ # @example Request syntax with placeholder values
785
+ #
786
+ # resp = client.list_applications({
787
+ # next_token: "NextToken",
788
+ # max_results: 1,
789
+ # })
790
+ #
791
+ # @example Response structure
792
+ #
793
+ # resp.applications #=> Array
794
+ # resp.applications[0].id #=> String
795
+ # resp.applications[0].arn #=> String
796
+ # resp.applications[0].name #=> String
797
+ # resp.applications[0].description #=> String
798
+ # resp.applications[0].creation_time #=> Time
799
+ # resp.applications[0].last_update_time #=> Time
800
+ # resp.next_token #=> String
801
+ #
802
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry/ListApplications AWS API Documentation
803
+ #
804
+ # @overload list_applications(params = {})
805
+ # @param [Hash] params ({})
806
+ def list_applications(params = {}, options = {})
807
+ req = build_request(:list_applications, params)
808
+ req.send_request(options)
809
+ end
810
+
811
+ # Lists all attribute groups that are associated with specified
812
+ # application. Results are paginated.
813
+ #
814
+ # @option params [required, String] :application
815
+ # The name or ID of the application.
816
+ #
817
+ # @option params [String] :next_token
818
+ # The token to use to get the next page of results after a previous API
819
+ # call.
820
+ #
821
+ # @option params [Integer] :max_results
822
+ # The upper bound of the number of results to return (cannot exceed 25).
823
+ # If this parameter is omitted, it defaults to 25. This value is
824
+ # optional.
825
+ #
826
+ # @return [Types::ListAssociatedAttributeGroupsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
827
+ #
828
+ # * {Types::ListAssociatedAttributeGroupsResponse#attribute_groups #attribute_groups} => Array&lt;String&gt;
829
+ # * {Types::ListAssociatedAttributeGroupsResponse#next_token #next_token} => String
830
+ #
831
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
832
+ #
833
+ # @example Request syntax with placeholder values
834
+ #
835
+ # resp = client.list_associated_attribute_groups({
836
+ # application: "ApplicationSpecifier", # required
837
+ # next_token: "NextToken",
838
+ # max_results: 1,
839
+ # })
840
+ #
841
+ # @example Response structure
842
+ #
843
+ # resp.attribute_groups #=> Array
844
+ # resp.attribute_groups[0] #=> String
845
+ # resp.next_token #=> String
846
+ #
847
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry/ListAssociatedAttributeGroups AWS API Documentation
848
+ #
849
+ # @overload list_associated_attribute_groups(params = {})
850
+ # @param [Hash] params ({})
851
+ def list_associated_attribute_groups(params = {}, options = {})
852
+ req = build_request(:list_associated_attribute_groups, params)
853
+ req.send_request(options)
854
+ end
855
+
856
+ # Lists all resources that are associated with specified application.
857
+ # Results are paginated.
858
+ #
859
+ # @option params [required, String] :application
860
+ # The name or ID of the application.
861
+ #
862
+ # @option params [String] :next_token
863
+ # The token to use to get the next page of results after a previous API
864
+ # call.
865
+ #
866
+ # @option params [Integer] :max_results
867
+ # The upper bound of the number of results to return (cannot exceed 25).
868
+ # If this parameter is omitted, it defaults to 25. This value is
869
+ # optional.
870
+ #
871
+ # @return [Types::ListAssociatedResourcesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
872
+ #
873
+ # * {Types::ListAssociatedResourcesResponse#resources #resources} => Array&lt;Types::ResourceInfo&gt;
874
+ # * {Types::ListAssociatedResourcesResponse#next_token #next_token} => String
875
+ #
876
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
877
+ #
878
+ # @example Request syntax with placeholder values
879
+ #
880
+ # resp = client.list_associated_resources({
881
+ # application: "ApplicationSpecifier", # required
882
+ # next_token: "NextToken",
883
+ # max_results: 1,
884
+ # })
885
+ #
886
+ # @example Response structure
887
+ #
888
+ # resp.resources #=> Array
889
+ # resp.resources[0].name #=> String
890
+ # resp.resources[0].arn #=> String
891
+ # resp.next_token #=> String
892
+ #
893
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry/ListAssociatedResources AWS API Documentation
894
+ #
895
+ # @overload list_associated_resources(params = {})
896
+ # @param [Hash] params ({})
897
+ def list_associated_resources(params = {}, options = {})
898
+ req = build_request(:list_associated_resources, params)
899
+ req.send_request(options)
900
+ end
901
+
902
+ # Lists all attribute groups which you have access to. Results are
903
+ # paginated.
904
+ #
905
+ # @option params [String] :next_token
906
+ # The token to use to get the next page of results after a previous API
907
+ # call.
908
+ #
909
+ # @option params [Integer] :max_results
910
+ # The upper bound of the number of results to return (cannot exceed 25).
911
+ # If this parameter is omitted, it defaults to 25. This value is
912
+ # optional.
913
+ #
914
+ # @return [Types::ListAttributeGroupsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
915
+ #
916
+ # * {Types::ListAttributeGroupsResponse#attribute_groups #attribute_groups} => Array&lt;Types::AttributeGroupSummary&gt;
917
+ # * {Types::ListAttributeGroupsResponse#next_token #next_token} => String
918
+ #
919
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
920
+ #
921
+ # @example Request syntax with placeholder values
922
+ #
923
+ # resp = client.list_attribute_groups({
924
+ # next_token: "NextToken",
925
+ # max_results: 1,
926
+ # })
927
+ #
928
+ # @example Response structure
929
+ #
930
+ # resp.attribute_groups #=> Array
931
+ # resp.attribute_groups[0].id #=> String
932
+ # resp.attribute_groups[0].arn #=> String
933
+ # resp.attribute_groups[0].name #=> String
934
+ # resp.attribute_groups[0].description #=> String
935
+ # resp.attribute_groups[0].creation_time #=> Time
936
+ # resp.attribute_groups[0].last_update_time #=> Time
937
+ # resp.next_token #=> String
938
+ #
939
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry/ListAttributeGroups AWS API Documentation
940
+ #
941
+ # @overload list_attribute_groups(params = {})
942
+ # @param [Hash] params ({})
943
+ def list_attribute_groups(params = {}, options = {})
944
+ req = build_request(:list_attribute_groups, params)
945
+ req.send_request(options)
946
+ end
947
+
948
+ # Updates an existing application with new attributes.
949
+ #
950
+ # @option params [required, String] :application
951
+ # The name or ID of the application. The name must be unique in the
952
+ # region in which you are updating the attribute group.
953
+ #
954
+ # @option params [String] :name
955
+ # The anme of the application. The name must be unique in the region in
956
+ # which you are creating the application.
957
+ #
958
+ # @option params [String] :description
959
+ # The description of the application.
960
+ #
961
+ # @return [Types::UpdateApplicationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
962
+ #
963
+ # * {Types::UpdateApplicationResponse#application #application} => Types::Application
964
+ #
965
+ # @example Request syntax with placeholder values
966
+ #
967
+ # resp = client.update_application({
968
+ # application: "ApplicationSpecifier", # required
969
+ # name: "Name",
970
+ # description: "Description",
971
+ # })
972
+ #
973
+ # @example Response structure
974
+ #
975
+ # resp.application.id #=> String
976
+ # resp.application.arn #=> String
977
+ # resp.application.name #=> String
978
+ # resp.application.description #=> String
979
+ # resp.application.creation_time #=> Time
980
+ # resp.application.last_update_time #=> Time
981
+ # resp.application.tags #=> Hash
982
+ # resp.application.tags["TagKey"] #=> String
983
+ #
984
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry/UpdateApplication AWS API Documentation
985
+ #
986
+ # @overload update_application(params = {})
987
+ # @param [Hash] params ({})
988
+ def update_application(params = {}, options = {})
989
+ req = build_request(:update_application, params)
990
+ req.send_request(options)
991
+ end
992
+
993
+ # Updates an existing attribute group with new details.
994
+ #
995
+ # @option params [required, String] :attribute_group
996
+ # The name or ID of the attribute group that holds the attributes to
997
+ # describe the application.
998
+ #
999
+ # @option params [String] :name
1000
+ # The new name of the attribute group. The name must be unique in the
1001
+ # region in which you are updating the attribute group.
1002
+ #
1003
+ # @option params [String] :description
1004
+ # The description of the attribute group that the user provides.
1005
+ #
1006
+ # @option params [String] :attributes
1007
+ # A JSON string in the form of nested key-value pairs that represent the
1008
+ # attributes in the group and describes an application and its
1009
+ # components.
1010
+ #
1011
+ # @return [Types::UpdateAttributeGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1012
+ #
1013
+ # * {Types::UpdateAttributeGroupResponse#attribute_group #attribute_group} => Types::AttributeGroup
1014
+ #
1015
+ # @example Request syntax with placeholder values
1016
+ #
1017
+ # resp = client.update_attribute_group({
1018
+ # attribute_group: "AttributeGroupSpecifier", # required
1019
+ # name: "Name",
1020
+ # description: "Description",
1021
+ # attributes: "Attributes",
1022
+ # })
1023
+ #
1024
+ # @example Response structure
1025
+ #
1026
+ # resp.attribute_group.id #=> String
1027
+ # resp.attribute_group.arn #=> String
1028
+ # resp.attribute_group.name #=> String
1029
+ # resp.attribute_group.description #=> String
1030
+ # resp.attribute_group.creation_time #=> Time
1031
+ # resp.attribute_group.last_update_time #=> Time
1032
+ # resp.attribute_group.tags #=> Hash
1033
+ # resp.attribute_group.tags["TagKey"] #=> String
1034
+ #
1035
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry/UpdateAttributeGroup AWS API Documentation
1036
+ #
1037
+ # @overload update_attribute_group(params = {})
1038
+ # @param [Hash] params ({})
1039
+ def update_attribute_group(params = {}, options = {})
1040
+ req = build_request(:update_attribute_group, params)
1041
+ req.send_request(options)
1042
+ end
1043
+
1044
+ # @!endgroup
1045
+
1046
+ # @param params ({})
1047
+ # @api private
1048
+ def build_request(operation_name, params = {})
1049
+ handlers = @handlers.for(operation_name)
1050
+ context = Seahorse::Client::RequestContext.new(
1051
+ operation_name: operation_name,
1052
+ operation: config.api.operation(operation_name),
1053
+ client: self,
1054
+ params: params,
1055
+ config: config)
1056
+ context[:gem_name] = 'aws-sdk-appregistry'
1057
+ context[:gem_version] = '1.0.0'
1058
+ Seahorse::Client::Request.new(handlers, context)
1059
+ end
1060
+
1061
+ # @api private
1062
+ # @deprecated
1063
+ def waiter_names
1064
+ []
1065
+ end
1066
+
1067
+ class << self
1068
+
1069
+ # @api private
1070
+ attr_reader :identifier
1071
+
1072
+ # @api private
1073
+ def errors_module
1074
+ Errors
1075
+ end
1076
+
1077
+ end
1078
+ end
1079
+ end