aws-sdk-appregistry 1.39.0 → 1.66.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3e2fd2412a61ec78c77d2379bce4fd123c7ea4dd96c4a53fa8e2126c9f6ccbb8
4
- data.tar.gz: eea74f1bb5ef2bae6ee08550a924491578d5f3387de5b6ced38726b63cfc5b04
3
+ metadata.gz: 505c4e35c2c4ecd92d7ae7963640996f2684b388f07618302225e9e045a31d14
4
+ data.tar.gz: 5ed0e9b296842b435d079b160959549d834a2054ad3c46517d1026738b3cb559
5
5
  SHA512:
6
- metadata.gz: 4cc4758ad092ef4596c97d79dcbcb1493ce69d97f717a23379f9e1f9ef451710276f8cafd3e9d21b42963e258bc6b94a05a718f3a996e139ba9d11305a189555
7
- data.tar.gz: 143f8deb28855e9bb48c3d1078900efe9c79960afcc5077a7a38e1596f7e0712c3a0c808e6e76625509f80c37e99ead0aa7cf65a210059e229f280f475e8f060
6
+ metadata.gz: b8b393baf7269d4a8bc2e6224780ed85003faac777443563756fdb7072ffc0e0636b032720c6889769d0a5a5865b2ea8cebaa17c6117af579db5407523c7ea77
7
+ data.tar.gz: 36c4a68bf2d2bfe3a150d8c4f6b3cfbb6f698de074036da8cb569f599dc770fe07b59b5ab0859f5731fe971f8af3830d8d2005d79d0ec6b5fec855cf98edf581
data/CHANGELOG.md CHANGED
@@ -1,6 +1,141 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.66.0 (2026-07-09)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.65.0 (2026-05-21)
10
+ ------------------
11
+
12
+ * Feature - Adding new BDD representation of endpoint ruleset
13
+
14
+ 1.64.0 (2026-05-13)
15
+ ------------------
16
+
17
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
18
+
19
+ 1.63.0 (2026-03-18)
20
+ ------------------
21
+
22
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
23
+
24
+ 1.62.0 (2026-01-16)
25
+ ------------------
26
+
27
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
28
+
29
+ 1.61.0 (2026-01-08)
30
+ ------------------
31
+
32
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
33
+
34
+ 1.60.0 (2026-01-05)
35
+ ------------------
36
+
37
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
38
+
39
+ 1.59.0 (2025-11-21)
40
+ ------------------
41
+
42
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
43
+
44
+ 1.58.0 (2025-10-28)
45
+ ------------------
46
+
47
+ * Feature - Update endpoint ruleset parameters casing
48
+
49
+ 1.57.0 (2025-10-21)
50
+ ------------------
51
+
52
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
53
+
54
+ 1.56.0 (2025-08-26)
55
+ ------------------
56
+
57
+ * Feature - Remove incorrect endpoint tests
58
+
59
+ 1.55.0 (2025-08-04)
60
+ ------------------
61
+
62
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
63
+
64
+ 1.54.0 (2025-07-31)
65
+ ------------------
66
+
67
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
68
+
69
+ 1.53.0 (2025-07-21)
70
+ ------------------
71
+
72
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
73
+
74
+ 1.52.0 (2025-06-02)
75
+ ------------------
76
+
77
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
78
+
79
+ 1.51.0 (2025-05-12)
80
+ ------------------
81
+
82
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
83
+
84
+ 1.50.0 (2025-05-01)
85
+ ------------------
86
+
87
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
88
+
89
+ 1.49.0 (2025-02-18)
90
+ ------------------
91
+
92
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
93
+
94
+ 1.48.0 (2025-02-06)
95
+ ------------------
96
+
97
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
98
+
99
+ 1.47.0 (2025-01-15)
100
+ ------------------
101
+
102
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
103
+
104
+ 1.46.0 (2024-10-18)
105
+ ------------------
106
+
107
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
108
+
109
+ 1.45.0 (2024-09-24)
110
+ ------------------
111
+
112
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
113
+
114
+ 1.44.0 (2024-09-23)
115
+ ------------------
116
+
117
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
118
+
119
+ 1.43.0 (2024-09-20)
120
+ ------------------
121
+
122
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
123
+
124
+ 1.42.0 (2024-09-11)
125
+ ------------------
126
+
127
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
128
+
129
+ 1.41.0 (2024-09-10)
130
+ ------------------
131
+
132
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
133
+
134
+ 1.40.0 (2024-09-03)
135
+ ------------------
136
+
137
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
138
+
4
139
  1.39.0 (2024-07-02)
5
140
  ------------------
6
141
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.39.0
1
+ 1.66.0
@@ -7,35 +7,34 @@
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
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/invocation_id.rb'
26
- require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
27
- require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
28
- require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
29
- require 'aws-sdk-core/plugins/transfer_encoding.rb'
30
- require 'aws-sdk-core/plugins/http_checksum.rb'
31
- require 'aws-sdk-core/plugins/checksum_algorithm.rb'
32
- require 'aws-sdk-core/plugins/request_compression.rb'
33
- require 'aws-sdk-core/plugins/defaults_mode.rb'
34
- require 'aws-sdk-core/plugins/recursion_detection.rb'
35
- require 'aws-sdk-core/plugins/sign.rb'
36
- require 'aws-sdk-core/plugins/protocols/rest_json.rb'
37
-
38
- Aws::Plugins::GlobalConfiguration.add_identifier(:appregistry)
10
+ require 'seahorse/client/plugins/content_length'
11
+ require 'aws-sdk-core/plugins/credentials_configuration'
12
+ require 'aws-sdk-core/plugins/logging'
13
+ require 'aws-sdk-core/plugins/param_converter'
14
+ require 'aws-sdk-core/plugins/param_validator'
15
+ require 'aws-sdk-core/plugins/user_agent'
16
+ require 'aws-sdk-core/plugins/helpful_socket_errors'
17
+ require 'aws-sdk-core/plugins/retry_errors'
18
+ require 'aws-sdk-core/plugins/global_configuration'
19
+ require 'aws-sdk-core/plugins/regional_endpoint'
20
+ require 'aws-sdk-core/plugins/endpoint_discovery'
21
+ require 'aws-sdk-core/plugins/endpoint_pattern'
22
+ require 'aws-sdk-core/plugins/response_paging'
23
+ require 'aws-sdk-core/plugins/stub_responses'
24
+ require 'aws-sdk-core/plugins/idempotency_token'
25
+ require 'aws-sdk-core/plugins/invocation_id'
26
+ require 'aws-sdk-core/plugins/jsonvalue_converter'
27
+ require 'aws-sdk-core/plugins/client_metrics_plugin'
28
+ require 'aws-sdk-core/plugins/client_metrics_send_plugin'
29
+ require 'aws-sdk-core/plugins/transfer_encoding'
30
+ require 'aws-sdk-core/plugins/http_checksum'
31
+ require 'aws-sdk-core/plugins/checksum_algorithm'
32
+ require 'aws-sdk-core/plugins/request_compression'
33
+ require 'aws-sdk-core/plugins/defaults_mode'
34
+ require 'aws-sdk-core/plugins/recursion_detection'
35
+ require 'aws-sdk-core/plugins/telemetry'
36
+ require 'aws-sdk-core/plugins/sign'
37
+ require 'aws-sdk-core/plugins/protocols/rest_json'
39
38
 
40
39
  module Aws::AppRegistry
41
40
  # An API client for AppRegistry. To construct a client, you need to configure a `:region` and `:credentials`.
@@ -83,6 +82,7 @@ module Aws::AppRegistry
83
82
  add_plugin(Aws::Plugins::RequestCompression)
84
83
  add_plugin(Aws::Plugins::DefaultsMode)
85
84
  add_plugin(Aws::Plugins::RecursionDetection)
85
+ add_plugin(Aws::Plugins::Telemetry)
86
86
  add_plugin(Aws::Plugins::Sign)
87
87
  add_plugin(Aws::Plugins::Protocols::RestJson)
88
88
  add_plugin(Aws::AppRegistry::Plugins::Endpoints)
@@ -95,8 +95,8 @@ module Aws::AppRegistry
95
95
  # class name or an instance of a plugin class.
96
96
  #
97
97
  # @option options [required, Aws::CredentialProvider] :credentials
98
- # Your AWS credentials. This can be an instance of any one of the
99
- # following classes:
98
+ # Your AWS credentials used for authentication. This can be any class that includes and implements
99
+ # `Aws::CredentialProvider`, or instance of any one of the following classes:
100
100
  #
101
101
  # * `Aws::Credentials` - Used for configuring static, non-refreshing
102
102
  # credentials.
@@ -124,20 +124,24 @@ module Aws::AppRegistry
124
124
  # * `Aws::CognitoIdentityCredentials` - Used for loading credentials
125
125
  # from the Cognito Identity service.
126
126
  #
127
- # When `:credentials` are not configured directly, the following
128
- # locations will be searched for credentials:
127
+ # When `:credentials` are not configured directly, the following locations will be searched for credentials:
129
128
  #
130
129
  # * `Aws.config[:credentials]`
131
- # * The `:access_key_id`, `:secret_access_key`, and `:session_token` options.
132
- # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
130
+ #
131
+ # * The `:access_key_id`, `:secret_access_key`, `:session_token`, and
132
+ # `:account_id` options.
133
+ #
134
+ # * `ENV['AWS_ACCESS_KEY_ID']`, `ENV['AWS_SECRET_ACCESS_KEY']`,
135
+ # `ENV['AWS_SESSION_TOKEN']`, and `ENV['AWS_ACCOUNT_ID']`.
136
+ #
133
137
  # * `~/.aws/credentials`
138
+ #
134
139
  # * `~/.aws/config`
135
- # * EC2/ECS IMDS instance profile - When used by default, the timeouts
136
- # are very aggressive. Construct and pass an instance of
137
- # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
138
- # enable retries and extended timeouts. Instance profile credential
139
- # fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
140
- # to true.
140
+ #
141
+ # * EC2/ECS IMDS instance profile - When used by default, the timeouts are very aggressive.
142
+ # Construct and pass an instance of `Aws::InstanceProfileCredentials` or `Aws::ECSCredentials` to
143
+ # enable retries and extended timeouts. Instance profile credential fetching can be disabled by
144
+ # setting `ENV['AWS_EC2_METADATA_DISABLED']` to `true`.
141
145
  #
142
146
  # @option options [required, String] :region
143
147
  # The AWS region to connect to. The configured `:region` is
@@ -153,6 +157,8 @@ module Aws::AppRegistry
153
157
  #
154
158
  # @option options [String] :access_key_id
155
159
  #
160
+ # @option options [String] :account_id
161
+ #
156
162
  # @option options [Boolean] :active_endpoint_cache (false)
157
163
  # When set to `true`, a thread polling for endpoints will be running in
158
164
  # the background every 60 secs (default). Defaults to `false`.
@@ -163,6 +169,11 @@ module Aws::AppRegistry
163
169
  # When false, the request will raise a `RetryCapacityNotAvailableError` and will
164
170
  # not retry instead of sleeping.
165
171
  #
172
+ # @option options [Array<String>] :auth_scheme_preference
173
+ # A list of preferred authentication schemes to use when making a request. Supported values are:
174
+ # `sigv4`, `sigv4a`, `httpBearerAuth`, and `noAuth`. When set using `ENV['AWS_AUTH_SCHEME_PREFERENCE']` or in
175
+ # shared config as `auth_scheme_preference`, the value should be a comma-separated list.
176
+ #
166
177
  # @option options [Boolean] :client_side_monitoring (false)
167
178
  # When `true`, client-side metrics will be collected for all API requests from
168
179
  # this client.
@@ -188,7 +199,7 @@ module Aws::AppRegistry
188
199
  # the required types.
189
200
  #
190
201
  # @option options [Boolean] :correct_clock_skew (true)
191
- # Used only in `standard` and adaptive retry modes. Specifies whether to apply
202
+ # Used only in `standard` and `adaptive` retry modes. Specifies whether to apply
192
203
  # a clock skew correction and retry requests with skewed client clocks.
193
204
  #
194
205
  # @option options [String] :defaults_mode ("legacy")
@@ -196,8 +207,7 @@ module Aws::AppRegistry
196
207
  # accepted modes and the configuration defaults that are included.
197
208
  #
198
209
  # @option options [Boolean] :disable_host_prefix_injection (false)
199
- # Set to true to disable SDK automatically adding host prefix
200
- # to default service endpoint when available.
210
+ # When `true`, the SDK will not prepend the modeled host prefix to the endpoint.
201
211
  #
202
212
  # @option options [Boolean] :disable_request_compression (false)
203
213
  # When set to 'true' the request body will not be compressed
@@ -250,14 +260,37 @@ module Aws::AppRegistry
250
260
  # 4 times. Used in `standard` and `adaptive` retry modes.
251
261
  #
252
262
  # @option options [String] :profile ("default")
253
- # Used when loading credentials from the shared credentials file
254
- # at HOME/.aws/credentials. When not specified, 'default' is used.
263
+ # Used when loading credentials from the shared credentials file at `HOME/.aws/credentials`.
264
+ # When not specified, 'default' is used.
265
+ #
266
+ # @option options [String] :request_checksum_calculation ("when_supported")
267
+ # Determines when a checksum will be calculated for request payloads. Values are:
268
+ #
269
+ # * `when_supported` - (default) When set, a checksum will be
270
+ # calculated for all request payloads of operations modeled with the
271
+ # `httpChecksum` trait where `requestChecksumRequired` is `true` and/or a
272
+ # `requestAlgorithmMember` is modeled.
273
+ # * `when_required` - When set, a checksum will only be calculated for
274
+ # request payloads of operations modeled with the `httpChecksum` trait where
275
+ # `requestChecksumRequired` is `true` or where a `requestAlgorithmMember`
276
+ # is modeled and supplied.
255
277
  #
256
278
  # @option options [Integer] :request_min_compression_size_bytes (10240)
257
279
  # The minimum size in bytes that triggers compression for request
258
280
  # bodies. The value must be non-negative integer value between 0
259
281
  # and 10485780 bytes inclusive.
260
282
  #
283
+ # @option options [String] :response_checksum_validation ("when_supported")
284
+ # Determines when checksum validation will be performed on response payloads. Values are:
285
+ #
286
+ # * `when_supported` - (default) When set, checksum validation is performed on all
287
+ # response payloads of operations modeled with the `httpChecksum` trait where
288
+ # `responseAlgorithms` is modeled, except when no modeled checksum algorithms
289
+ # are supported.
290
+ # * `when_required` - When set, checksum validation is not performed on
291
+ # response payloads of operations unless the checksum algorithm is supported and
292
+ # the `requestValidationModeMember` member is set to `ENABLED`.
293
+ #
261
294
  # @option options [Proc] :retry_backoff
262
295
  # A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
263
296
  # This option is only used in the `legacy` retry mode.
@@ -290,17 +323,15 @@ module Aws::AppRegistry
290
323
  # @option options [String] :retry_mode ("legacy")
291
324
  # Specifies which retry algorithm to use. Values are:
292
325
  #
293
- # * `legacy` - The pre-existing retry behavior. This is default value if
294
- # no retry mode is provided.
326
+ # * `legacy` - The pre-existing retry behavior. This is the default
327
+ # value if no retry mode is provided.
295
328
  #
296
329
  # * `standard` - A standardized set of retry rules across the AWS SDKs.
297
330
  # This includes support for retry quotas, which limit the number of
298
331
  # unsuccessful retries a client can make.
299
332
  #
300
- # * `adaptive` - An experimental retry mode that includes all the
301
- # functionality of `standard` mode along with automatic client side
302
- # throttling. This is a provisional mode that may change behavior
303
- # in the future.
333
+ # * `adaptive` - A retry mode that includes all the functionality of
334
+ # `standard` mode along with automatic client side throttling.
304
335
  #
305
336
  # @option options [String] :sdk_ua_app_id
306
337
  # A unique and opaque application ID that is appended to the
@@ -330,9 +361,19 @@ module Aws::AppRegistry
330
361
  # ** Please note ** When response stubbing is enabled, no HTTP
331
362
  # requests are made, and retries are disabled.
332
363
  #
364
+ # @option options [Aws::Telemetry::TelemetryProviderBase] :telemetry_provider (Aws::Telemetry::NoOpTelemetryProvider)
365
+ # Allows you to provide a telemetry provider, which is used to
366
+ # emit telemetry data. By default, uses `NoOpTelemetryProvider` which
367
+ # will not record or emit any telemetry data. The SDK supports the
368
+ # following telemetry providers:
369
+ #
370
+ # * OpenTelemetry (OTel) - To use the OTel provider, install and require the
371
+ # `opentelemetry-sdk` gem and then, pass in an instance of a
372
+ # `Aws::Telemetry::OTelProvider` for telemetry provider.
373
+ #
333
374
  # @option options [Aws::TokenProvider] :token_provider
334
- # A Bearer Token Provider. This can be an instance of any one of the
335
- # following classes:
375
+ # Your Bearer token used for authentication. This can be any class that includes and implements
376
+ # `Aws::TokenProvider`, or instance of any one of the following classes:
336
377
  #
337
378
  # * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
338
379
  # tokens.
@@ -357,7 +398,9 @@ module Aws::AppRegistry
357
398
  # sending the request.
358
399
  #
359
400
  # @option options [Aws::AppRegistry::EndpointProvider] :endpoint_provider
360
- # The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::AppRegistry::EndpointParameters`
401
+ # The endpoint provider used to resolve endpoints. Any object that responds to
402
+ # `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to
403
+ # `Aws::AppRegistry::EndpointParameters`.
361
404
  #
362
405
  # @option options [Float] :http_continue_timeout (1)
363
406
  # The number of seconds to wait for a 100-continue response before sending the
@@ -413,6 +456,12 @@ module Aws::AppRegistry
413
456
  # @option options [String] :ssl_ca_store
414
457
  # Sets the X509::Store to verify peer certificate.
415
458
  #
459
+ # @option options [OpenSSL::X509::Certificate] :ssl_cert
460
+ # Sets a client certificate when creating http connections.
461
+ #
462
+ # @option options [OpenSSL::PKey] :ssl_key
463
+ # Sets a client key when creating http connections.
464
+ #
416
465
  # @option options [Float] :ssl_timeout
417
466
  # Sets the SSL timeout in seconds
418
467
  #
@@ -1552,14 +1601,19 @@ module Aws::AppRegistry
1552
1601
  # @api private
1553
1602
  def build_request(operation_name, params = {})
1554
1603
  handlers = @handlers.for(operation_name)
1604
+ tracer = config.telemetry_provider.tracer_provider.tracer(
1605
+ Aws::Telemetry.module_to_tracer_name('Aws::AppRegistry')
1606
+ )
1555
1607
  context = Seahorse::Client::RequestContext.new(
1556
1608
  operation_name: operation_name,
1557
1609
  operation: config.api.operation(operation_name),
1558
1610
  client: self,
1559
1611
  params: params,
1560
- config: config)
1612
+ config: config,
1613
+ tracer: tracer
1614
+ )
1561
1615
  context[:gem_name] = 'aws-sdk-appregistry'
1562
- context[:gem_version] = '1.39.0'
1616
+ context[:gem_version] = '1.66.0'
1563
1617
  Seahorse::Client::Request.new(handlers, context)
1564
1618
  end
1565
1619
 
@@ -7,6 +7,7 @@
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
10
+
10
11
  module Aws::AppRegistry
11
12
  # @api private
12
13
  module ClientApi
@@ -208,7 +209,7 @@ module Aws::AppRegistry
208
209
  CreateApplicationRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
209
210
  CreateApplicationRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
210
211
  CreateApplicationRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
211
- CreateApplicationRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, required: true, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
212
+ CreateApplicationRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, required: true, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
212
213
  CreateApplicationRequest.struct_class = Types::CreateApplicationRequest
213
214
 
214
215
  CreateApplicationResponse.add_member(:application, Shapes::ShapeRef.new(shape: Application, location_name: "application"))
@@ -218,7 +219,7 @@ module Aws::AppRegistry
218
219
  CreateAttributeGroupRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
219
220
  CreateAttributeGroupRequest.add_member(:attributes, Shapes::ShapeRef.new(shape: Attributes, required: true, location_name: "attributes"))
220
221
  CreateAttributeGroupRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
221
- CreateAttributeGroupRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, required: true, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
222
+ CreateAttributeGroupRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, required: true, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
222
223
  CreateAttributeGroupRequest.struct_class = Types::CreateAttributeGroupRequest
223
224
 
224
225
  CreateAttributeGroupResponse.add_member(:attribute_group, Shapes::ShapeRef.new(shape: AttributeGroup, location_name: "attributeGroup"))
@@ -275,7 +276,7 @@ module Aws::AppRegistry
275
276
  GetAssociatedResourceRequest.add_member(:resource, Shapes::ShapeRef.new(shape: ResourceSpecifier, required: true, location: "uri", location_name: "resource"))
276
277
  GetAssociatedResourceRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
277
278
  GetAssociatedResourceRequest.add_member(:resource_tag_status, Shapes::ShapeRef.new(shape: GetAssociatedResourceFilter, location: "querystring", location_name: "resourceTagStatus"))
278
- GetAssociatedResourceRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults", metadata: {"box"=>true}))
279
+ GetAssociatedResourceRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults", metadata: {"box" => true}))
279
280
  GetAssociatedResourceRequest.struct_class = Types::GetAssociatedResourceRequest
280
281
 
281
282
  GetAssociatedResourceResponse.add_member(:resource, Shapes::ShapeRef.new(shape: Resource, location_name: "resource"))
@@ -308,7 +309,7 @@ module Aws::AppRegistry
308
309
  InternalServerException.struct_class = Types::InternalServerException
309
310
 
310
311
  ListApplicationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
311
- ListApplicationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults", metadata: {"box"=>true}))
312
+ ListApplicationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults", metadata: {"box" => true}))
312
313
  ListApplicationsRequest.struct_class = Types::ListApplicationsRequest
313
314
 
314
315
  ListApplicationsResponse.add_member(:applications, Shapes::ShapeRef.new(shape: ApplicationSummaries, location_name: "applications"))
@@ -317,7 +318,7 @@ module Aws::AppRegistry
317
318
 
318
319
  ListAssociatedAttributeGroupsRequest.add_member(:application, Shapes::ShapeRef.new(shape: ApplicationSpecifier, required: true, location: "uri", location_name: "application"))
319
320
  ListAssociatedAttributeGroupsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
320
- ListAssociatedAttributeGroupsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults", metadata: {"box"=>true}))
321
+ ListAssociatedAttributeGroupsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults", metadata: {"box" => true}))
321
322
  ListAssociatedAttributeGroupsRequest.struct_class = Types::ListAssociatedAttributeGroupsRequest
322
323
 
323
324
  ListAssociatedAttributeGroupsResponse.add_member(:attribute_groups, Shapes::ShapeRef.new(shape: AttributeGroupIds, location_name: "attributeGroups"))
@@ -326,7 +327,7 @@ module Aws::AppRegistry
326
327
 
327
328
  ListAssociatedResourcesRequest.add_member(:application, Shapes::ShapeRef.new(shape: ApplicationSpecifier, required: true, location: "uri", location_name: "application"))
328
329
  ListAssociatedResourcesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
329
- ListAssociatedResourcesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults", metadata: {"box"=>true}))
330
+ ListAssociatedResourcesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults", metadata: {"box" => true}))
330
331
  ListAssociatedResourcesRequest.struct_class = Types::ListAssociatedResourcesRequest
331
332
 
332
333
  ListAssociatedResourcesResponse.add_member(:resources, Shapes::ShapeRef.new(shape: Resources, location_name: "resources"))
@@ -335,7 +336,7 @@ module Aws::AppRegistry
335
336
 
336
337
  ListAttributeGroupsForApplicationRequest.add_member(:application, Shapes::ShapeRef.new(shape: ApplicationSpecifier, required: true, location: "uri", location_name: "application"))
337
338
  ListAttributeGroupsForApplicationRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
338
- ListAttributeGroupsForApplicationRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults", metadata: {"box"=>true}))
339
+ ListAttributeGroupsForApplicationRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults", metadata: {"box" => true}))
339
340
  ListAttributeGroupsForApplicationRequest.struct_class = Types::ListAttributeGroupsForApplicationRequest
340
341
 
341
342
  ListAttributeGroupsForApplicationResponse.add_member(:attribute_groups_details, Shapes::ShapeRef.new(shape: AttributeGroupDetailsList, location_name: "attributeGroupsDetails"))
@@ -343,7 +344,7 @@ module Aws::AppRegistry
343
344
  ListAttributeGroupsForApplicationResponse.struct_class = Types::ListAttributeGroupsForApplicationResponse
344
345
 
345
346
  ListAttributeGroupsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
346
- ListAttributeGroupsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults", metadata: {"box"=>true}))
347
+ ListAttributeGroupsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults", metadata: {"box" => true}))
347
348
  ListAttributeGroupsRequest.struct_class = Types::ListAttributeGroupsRequest
348
349
 
349
350
  ListAttributeGroupsResponse.add_member(:attribute_groups, Shapes::ShapeRef.new(shape: AttributeGroupSummaries, location_name: "attributeGroups"))
@@ -435,7 +436,7 @@ module Aws::AppRegistry
435
436
  UntagResourceResponse.struct_class = Types::UntagResourceResponse
436
437
 
437
438
  UpdateApplicationRequest.add_member(:application, Shapes::ShapeRef.new(shape: ApplicationSpecifier, required: true, location: "uri", location_name: "application"))
438
- UpdateApplicationRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, deprecated: true, location_name: "name", metadata: {"deprecatedMessage"=>"Name update for application is deprecated."}))
439
+ UpdateApplicationRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, deprecated: true, location_name: "name", metadata: {"deprecatedMessage" => "Name update for application is deprecated."}))
439
440
  UpdateApplicationRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
440
441
  UpdateApplicationRequest.struct_class = Types::UpdateApplicationRequest
441
442
 
@@ -443,7 +444,7 @@ module Aws::AppRegistry
443
444
  UpdateApplicationResponse.struct_class = Types::UpdateApplicationResponse
444
445
 
445
446
  UpdateAttributeGroupRequest.add_member(:attribute_group, Shapes::ShapeRef.new(shape: AttributeGroupSpecifier, required: true, location: "uri", location_name: "attributeGroup"))
446
- UpdateAttributeGroupRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, deprecated: true, location_name: "name", metadata: {"deprecatedMessage"=>"Name update for attribute group is deprecated."}))
447
+ UpdateAttributeGroupRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, deprecated: true, location_name: "name", metadata: {"deprecatedMessage" => "Name update for attribute group is deprecated."}))
447
448
  UpdateAttributeGroupRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
448
449
  UpdateAttributeGroupRequest.add_member(:attributes, Shapes::ShapeRef.new(shape: Attributes, location_name: "attributes"))
449
450
  UpdateAttributeGroupRequest.struct_class = Types::UpdateAttributeGroupRequest
@@ -13,22 +13,22 @@ module Aws::AppRegistry
13
13
  # @!attribute region
14
14
  # The AWS region used to dispatch the request.
15
15
  #
16
- # @return [String]
16
+ # @return [string]
17
17
  #
18
18
  # @!attribute use_dual_stack
19
19
  # When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.
20
20
  #
21
- # @return [Boolean]
21
+ # @return [boolean]
22
22
  #
23
23
  # @!attribute use_fips
24
24
  # When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.
25
25
  #
26
- # @return [Boolean]
26
+ # @return [boolean]
27
27
  #
28
28
  # @!attribute endpoint
29
29
  # Override the endpoint used to send this request
30
30
  #
31
- # @return [String]
31
+ # @return [string]
32
32
  #
33
33
  EndpointParameters = Struct.new(
34
34
  :region,
@@ -52,15 +52,18 @@ module Aws::AppRegistry
52
52
  self[:region] = options[:region]
53
53
  self[:use_dual_stack] = options[:use_dual_stack]
54
54
  self[:use_dual_stack] = false if self[:use_dual_stack].nil?
55
- if self[:use_dual_stack].nil?
56
- raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack"
57
- end
58
55
  self[:use_fips] = options[:use_fips]
59
56
  self[:use_fips] = false if self[:use_fips].nil?
60
- if self[:use_fips].nil?
61
- raise ArgumentError, "Missing required EndpointParameter: :use_fips"
62
- end
63
57
  self[:endpoint] = options[:endpoint]
64
58
  end
59
+
60
+ def self.create(config, options={})
61
+ new({
62
+ region: config.region,
63
+ use_dual_stack: config.use_dualstack_endpoint,
64
+ use_fips: config.use_fips_endpoint,
65
+ endpoint: (config.endpoint.to_s unless config.regional_endpoint),
66
+ }.merge(options))
67
+ end
65
68
  end
66
69
  end
@@ -10,43 +10,39 @@
10
10
  module Aws::AppRegistry
11
11
  class EndpointProvider
12
12
  def resolve_endpoint(parameters)
13
- region = parameters.region
14
- use_dual_stack = parameters.use_dual_stack
15
- use_fips = parameters.use_fips
16
- endpoint = parameters.endpoint
17
- if Aws::Endpoints::Matchers.set?(endpoint)
18
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
13
+ if Aws::Endpoints::Matchers.set?(parameters.endpoint)
14
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)
19
15
  raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
20
16
  end
21
- if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
17
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
22
18
  raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
23
19
  end
24
- return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
20
+ return Aws::Endpoints::Endpoint.new(url: parameters.endpoint, headers: {}, properties: {})
25
21
  end
26
- if Aws::Endpoints::Matchers.set?(region)
27
- if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
28
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
22
+ if Aws::Endpoints::Matchers.set?(parameters.region)
23
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(parameters.region))
24
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
29
25
  if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
30
- return Aws::Endpoints::Endpoint.new(url: "https://servicecatalog-appregistry-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
26
+ return Aws::Endpoints::Endpoint.new(url: "https://servicecatalog-appregistry-fips.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
31
27
  end
32
28
  raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
29
  end
34
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
30
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)
35
31
  if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
36
32
  if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-us-gov")
37
- return Aws::Endpoints::Endpoint.new(url: "https://servicecatalog-appregistry.#{region}.amazonaws.com", headers: {}, properties: {})
33
+ return Aws::Endpoints::Endpoint.new(url: "https://servicecatalog-appregistry.#{parameters.region}.amazonaws.com", headers: {}, properties: {})
38
34
  end
39
- return Aws::Endpoints::Endpoint.new(url: "https://servicecatalog-appregistry-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
35
+ return Aws::Endpoints::Endpoint.new(url: "https://servicecatalog-appregistry-fips.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
40
36
  end
41
37
  raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
42
38
  end
43
- if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
39
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
44
40
  if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
45
- return Aws::Endpoints::Endpoint.new(url: "https://servicecatalog-appregistry.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
41
+ return Aws::Endpoints::Endpoint.new(url: "https://servicecatalog-appregistry.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
46
42
  end
47
43
  raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
48
44
  end
49
- return Aws::Endpoints::Endpoint.new(url: "https://servicecatalog-appregistry.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
45
+ return Aws::Endpoints::Endpoint.new(url: "https://servicecatalog-appregistry.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
50
46
  end
51
47
  end
52
48
  raise ArgumentError, "Invalid Configuration: Missing Region"
@@ -12,341 +12,9 @@ module Aws::AppRegistry
12
12
  # @api private
13
13
  module Endpoints
14
14
 
15
- class AssociateAttributeGroup
16
- def self.build(context)
17
- unless context.config.regional_endpoint
18
- endpoint = context.config.endpoint.to_s
19
- end
20
- Aws::AppRegistry::EndpointParameters.new(
21
- region: context.config.region,
22
- use_dual_stack: context.config.use_dualstack_endpoint,
23
- use_fips: context.config.use_fips_endpoint,
24
- endpoint: endpoint,
25
- )
26
- end
27
- end
28
-
29
- class AssociateResource
30
- def self.build(context)
31
- unless context.config.regional_endpoint
32
- endpoint = context.config.endpoint.to_s
33
- end
34
- Aws::AppRegistry::EndpointParameters.new(
35
- region: context.config.region,
36
- use_dual_stack: context.config.use_dualstack_endpoint,
37
- use_fips: context.config.use_fips_endpoint,
38
- endpoint: endpoint,
39
- )
40
- end
41
- end
42
-
43
- class CreateApplication
44
- def self.build(context)
45
- unless context.config.regional_endpoint
46
- endpoint = context.config.endpoint.to_s
47
- end
48
- Aws::AppRegistry::EndpointParameters.new(
49
- region: context.config.region,
50
- use_dual_stack: context.config.use_dualstack_endpoint,
51
- use_fips: context.config.use_fips_endpoint,
52
- endpoint: endpoint,
53
- )
54
- end
55
- end
56
-
57
- class CreateAttributeGroup
58
- def self.build(context)
59
- unless context.config.regional_endpoint
60
- endpoint = context.config.endpoint.to_s
61
- end
62
- Aws::AppRegistry::EndpointParameters.new(
63
- region: context.config.region,
64
- use_dual_stack: context.config.use_dualstack_endpoint,
65
- use_fips: context.config.use_fips_endpoint,
66
- endpoint: endpoint,
67
- )
68
- end
69
- end
70
-
71
- class DeleteApplication
72
- def self.build(context)
73
- unless context.config.regional_endpoint
74
- endpoint = context.config.endpoint.to_s
75
- end
76
- Aws::AppRegistry::EndpointParameters.new(
77
- region: context.config.region,
78
- use_dual_stack: context.config.use_dualstack_endpoint,
79
- use_fips: context.config.use_fips_endpoint,
80
- endpoint: endpoint,
81
- )
82
- end
83
- end
84
-
85
- class DeleteAttributeGroup
86
- def self.build(context)
87
- unless context.config.regional_endpoint
88
- endpoint = context.config.endpoint.to_s
89
- end
90
- Aws::AppRegistry::EndpointParameters.new(
91
- region: context.config.region,
92
- use_dual_stack: context.config.use_dualstack_endpoint,
93
- use_fips: context.config.use_fips_endpoint,
94
- endpoint: endpoint,
95
- )
96
- end
97
- end
98
-
99
- class DisassociateAttributeGroup
100
- def self.build(context)
101
- unless context.config.regional_endpoint
102
- endpoint = context.config.endpoint.to_s
103
- end
104
- Aws::AppRegistry::EndpointParameters.new(
105
- region: context.config.region,
106
- use_dual_stack: context.config.use_dualstack_endpoint,
107
- use_fips: context.config.use_fips_endpoint,
108
- endpoint: endpoint,
109
- )
110
- end
111
- end
112
-
113
- class DisassociateResource
114
- def self.build(context)
115
- unless context.config.regional_endpoint
116
- endpoint = context.config.endpoint.to_s
117
- end
118
- Aws::AppRegistry::EndpointParameters.new(
119
- region: context.config.region,
120
- use_dual_stack: context.config.use_dualstack_endpoint,
121
- use_fips: context.config.use_fips_endpoint,
122
- endpoint: endpoint,
123
- )
124
- end
125
- end
126
-
127
- class GetApplication
128
- def self.build(context)
129
- unless context.config.regional_endpoint
130
- endpoint = context.config.endpoint.to_s
131
- end
132
- Aws::AppRegistry::EndpointParameters.new(
133
- region: context.config.region,
134
- use_dual_stack: context.config.use_dualstack_endpoint,
135
- use_fips: context.config.use_fips_endpoint,
136
- endpoint: endpoint,
137
- )
138
- end
139
- end
140
-
141
- class GetAssociatedResource
142
- def self.build(context)
143
- unless context.config.regional_endpoint
144
- endpoint = context.config.endpoint.to_s
145
- end
146
- Aws::AppRegistry::EndpointParameters.new(
147
- region: context.config.region,
148
- use_dual_stack: context.config.use_dualstack_endpoint,
149
- use_fips: context.config.use_fips_endpoint,
150
- endpoint: endpoint,
151
- )
152
- end
153
- end
154
-
155
- class GetAttributeGroup
156
- def self.build(context)
157
- unless context.config.regional_endpoint
158
- endpoint = context.config.endpoint.to_s
159
- end
160
- Aws::AppRegistry::EndpointParameters.new(
161
- region: context.config.region,
162
- use_dual_stack: context.config.use_dualstack_endpoint,
163
- use_fips: context.config.use_fips_endpoint,
164
- endpoint: endpoint,
165
- )
166
- end
167
- end
168
-
169
- class GetConfiguration
170
- def self.build(context)
171
- unless context.config.regional_endpoint
172
- endpoint = context.config.endpoint.to_s
173
- end
174
- Aws::AppRegistry::EndpointParameters.new(
175
- region: context.config.region,
176
- use_dual_stack: context.config.use_dualstack_endpoint,
177
- use_fips: context.config.use_fips_endpoint,
178
- endpoint: endpoint,
179
- )
180
- end
181
- end
182
15
 
183
- class ListApplications
184
- def self.build(context)
185
- unless context.config.regional_endpoint
186
- endpoint = context.config.endpoint.to_s
187
- end
188
- Aws::AppRegistry::EndpointParameters.new(
189
- region: context.config.region,
190
- use_dual_stack: context.config.use_dualstack_endpoint,
191
- use_fips: context.config.use_fips_endpoint,
192
- endpoint: endpoint,
193
- )
194
- end
16
+ def self.parameters_for_operation(context)
17
+ Aws::AppRegistry::EndpointParameters.create(context.config)
195
18
  end
196
-
197
- class ListAssociatedAttributeGroups
198
- def self.build(context)
199
- unless context.config.regional_endpoint
200
- endpoint = context.config.endpoint.to_s
201
- end
202
- Aws::AppRegistry::EndpointParameters.new(
203
- region: context.config.region,
204
- use_dual_stack: context.config.use_dualstack_endpoint,
205
- use_fips: context.config.use_fips_endpoint,
206
- endpoint: endpoint,
207
- )
208
- end
209
- end
210
-
211
- class ListAssociatedResources
212
- def self.build(context)
213
- unless context.config.regional_endpoint
214
- endpoint = context.config.endpoint.to_s
215
- end
216
- Aws::AppRegistry::EndpointParameters.new(
217
- region: context.config.region,
218
- use_dual_stack: context.config.use_dualstack_endpoint,
219
- use_fips: context.config.use_fips_endpoint,
220
- endpoint: endpoint,
221
- )
222
- end
223
- end
224
-
225
- class ListAttributeGroups
226
- def self.build(context)
227
- unless context.config.regional_endpoint
228
- endpoint = context.config.endpoint.to_s
229
- end
230
- Aws::AppRegistry::EndpointParameters.new(
231
- region: context.config.region,
232
- use_dual_stack: context.config.use_dualstack_endpoint,
233
- use_fips: context.config.use_fips_endpoint,
234
- endpoint: endpoint,
235
- )
236
- end
237
- end
238
-
239
- class ListAttributeGroupsForApplication
240
- def self.build(context)
241
- unless context.config.regional_endpoint
242
- endpoint = context.config.endpoint.to_s
243
- end
244
- Aws::AppRegistry::EndpointParameters.new(
245
- region: context.config.region,
246
- use_dual_stack: context.config.use_dualstack_endpoint,
247
- use_fips: context.config.use_fips_endpoint,
248
- endpoint: endpoint,
249
- )
250
- end
251
- end
252
-
253
- class ListTagsForResource
254
- def self.build(context)
255
- unless context.config.regional_endpoint
256
- endpoint = context.config.endpoint.to_s
257
- end
258
- Aws::AppRegistry::EndpointParameters.new(
259
- region: context.config.region,
260
- use_dual_stack: context.config.use_dualstack_endpoint,
261
- use_fips: context.config.use_fips_endpoint,
262
- endpoint: endpoint,
263
- )
264
- end
265
- end
266
-
267
- class PutConfiguration
268
- def self.build(context)
269
- unless context.config.regional_endpoint
270
- endpoint = context.config.endpoint.to_s
271
- end
272
- Aws::AppRegistry::EndpointParameters.new(
273
- region: context.config.region,
274
- use_dual_stack: context.config.use_dualstack_endpoint,
275
- use_fips: context.config.use_fips_endpoint,
276
- endpoint: endpoint,
277
- )
278
- end
279
- end
280
-
281
- class SyncResource
282
- def self.build(context)
283
- unless context.config.regional_endpoint
284
- endpoint = context.config.endpoint.to_s
285
- end
286
- Aws::AppRegistry::EndpointParameters.new(
287
- region: context.config.region,
288
- use_dual_stack: context.config.use_dualstack_endpoint,
289
- use_fips: context.config.use_fips_endpoint,
290
- endpoint: endpoint,
291
- )
292
- end
293
- end
294
-
295
- class TagResource
296
- def self.build(context)
297
- unless context.config.regional_endpoint
298
- endpoint = context.config.endpoint.to_s
299
- end
300
- Aws::AppRegistry::EndpointParameters.new(
301
- region: context.config.region,
302
- use_dual_stack: context.config.use_dualstack_endpoint,
303
- use_fips: context.config.use_fips_endpoint,
304
- endpoint: endpoint,
305
- )
306
- end
307
- end
308
-
309
- class UntagResource
310
- def self.build(context)
311
- unless context.config.regional_endpoint
312
- endpoint = context.config.endpoint.to_s
313
- end
314
- Aws::AppRegistry::EndpointParameters.new(
315
- region: context.config.region,
316
- use_dual_stack: context.config.use_dualstack_endpoint,
317
- use_fips: context.config.use_fips_endpoint,
318
- endpoint: endpoint,
319
- )
320
- end
321
- end
322
-
323
- class UpdateApplication
324
- def self.build(context)
325
- unless context.config.regional_endpoint
326
- endpoint = context.config.endpoint.to_s
327
- end
328
- Aws::AppRegistry::EndpointParameters.new(
329
- region: context.config.region,
330
- use_dual_stack: context.config.use_dualstack_endpoint,
331
- use_fips: context.config.use_fips_endpoint,
332
- endpoint: endpoint,
333
- )
334
- end
335
- end
336
-
337
- class UpdateAttributeGroup
338
- def self.build(context)
339
- unless context.config.regional_endpoint
340
- endpoint = context.config.endpoint.to_s
341
- end
342
- Aws::AppRegistry::EndpointParameters.new(
343
- region: context.config.region,
344
- use_dual_stack: context.config.use_dualstack_endpoint,
345
- use_fips: context.config.use_fips_endpoint,
346
- endpoint: endpoint,
347
- )
348
- end
349
- end
350
-
351
19
  end
352
20
  end
@@ -15,11 +15,11 @@ module Aws::AppRegistry
15
15
  :endpoint_provider,
16
16
  doc_type: 'Aws::AppRegistry::EndpointProvider',
17
17
  rbs_type: 'untyped',
18
- docstring: 'The endpoint provider used to resolve endpoints. Any '\
19
- 'object that responds to `#resolve_endpoint(parameters)` '\
20
- 'where `parameters` is a Struct similar to '\
21
- '`Aws::AppRegistry::EndpointParameters`'
22
- ) do |cfg|
18
+ docstring: <<~DOCS) do |_cfg|
19
+ The endpoint provider used to resolve endpoints. Any object that responds to
20
+ `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to
21
+ `Aws::AppRegistry::EndpointParameters`.
22
+ DOCS
23
23
  Aws::AppRegistry::EndpointProvider.new
24
24
  end
25
25
 
@@ -27,7 +27,7 @@ module Aws::AppRegistry
27
27
  class Handler < Seahorse::Client::Handler
28
28
  def call(context)
29
29
  unless context[:discovered_endpoint]
30
- params = parameters_for_operation(context)
30
+ params = Aws::AppRegistry::Endpoints.parameters_for_operation(context)
31
31
  endpoint = context.config.endpoint_provider.resolve_endpoint(params)
32
32
 
33
33
  context.http_request.endpoint = endpoint.url
@@ -40,11 +40,23 @@ module Aws::AppRegistry
40
40
  context[:auth_scheme] =
41
41
  Aws::Endpoints.resolve_auth_scheme(context, endpoint)
42
42
 
43
- @handler.call(context)
43
+ with_metrics(context) { @handler.call(context) }
44
44
  end
45
45
 
46
46
  private
47
47
 
48
+ def with_metrics(context, &block)
49
+ metrics = []
50
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
51
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
52
+ metrics << 'SIGV4A_SIGNING'
53
+ end
54
+ if context.config.credentials&.credentials&.account_id
55
+ metrics << 'RESOLVED_ACCOUNT_ID'
56
+ end
57
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
58
+ end
59
+
48
60
  def apply_endpoint_headers(context, headers)
49
61
  headers.each do |key, values|
50
62
  value = values
@@ -55,59 +67,6 @@ module Aws::AppRegistry
55
67
  context.http_request.headers[key] = value
56
68
  end
57
69
  end
58
-
59
- def parameters_for_operation(context)
60
- case context.operation_name
61
- when :associate_attribute_group
62
- Aws::AppRegistry::Endpoints::AssociateAttributeGroup.build(context)
63
- when :associate_resource
64
- Aws::AppRegistry::Endpoints::AssociateResource.build(context)
65
- when :create_application
66
- Aws::AppRegistry::Endpoints::CreateApplication.build(context)
67
- when :create_attribute_group
68
- Aws::AppRegistry::Endpoints::CreateAttributeGroup.build(context)
69
- when :delete_application
70
- Aws::AppRegistry::Endpoints::DeleteApplication.build(context)
71
- when :delete_attribute_group
72
- Aws::AppRegistry::Endpoints::DeleteAttributeGroup.build(context)
73
- when :disassociate_attribute_group
74
- Aws::AppRegistry::Endpoints::DisassociateAttributeGroup.build(context)
75
- when :disassociate_resource
76
- Aws::AppRegistry::Endpoints::DisassociateResource.build(context)
77
- when :get_application
78
- Aws::AppRegistry::Endpoints::GetApplication.build(context)
79
- when :get_associated_resource
80
- Aws::AppRegistry::Endpoints::GetAssociatedResource.build(context)
81
- when :get_attribute_group
82
- Aws::AppRegistry::Endpoints::GetAttributeGroup.build(context)
83
- when :get_configuration
84
- Aws::AppRegistry::Endpoints::GetConfiguration.build(context)
85
- when :list_applications
86
- Aws::AppRegistry::Endpoints::ListApplications.build(context)
87
- when :list_associated_attribute_groups
88
- Aws::AppRegistry::Endpoints::ListAssociatedAttributeGroups.build(context)
89
- when :list_associated_resources
90
- Aws::AppRegistry::Endpoints::ListAssociatedResources.build(context)
91
- when :list_attribute_groups
92
- Aws::AppRegistry::Endpoints::ListAttributeGroups.build(context)
93
- when :list_attribute_groups_for_application
94
- Aws::AppRegistry::Endpoints::ListAttributeGroupsForApplication.build(context)
95
- when :list_tags_for_resource
96
- Aws::AppRegistry::Endpoints::ListTagsForResource.build(context)
97
- when :put_configuration
98
- Aws::AppRegistry::Endpoints::PutConfiguration.build(context)
99
- when :sync_resource
100
- Aws::AppRegistry::Endpoints::SyncResource.build(context)
101
- when :tag_resource
102
- Aws::AppRegistry::Endpoints::TagResource.build(context)
103
- when :untag_resource
104
- Aws::AppRegistry::Endpoints::UntagResource.build(context)
105
- when :update_application
106
- Aws::AppRegistry::Endpoints::UpdateApplication.build(context)
107
- when :update_attribute_group
108
- Aws::AppRegistry::Endpoints::UpdateAttributeGroup.build(context)
109
- end
110
- end
111
70
  end
112
71
 
113
72
  def add_handlers(handlers, _config)
@@ -1509,3 +1509,4 @@ module Aws::AppRegistry
1509
1509
 
1510
1510
  end
1511
1511
  end
1512
+
@@ -11,16 +11,7 @@
11
11
  require 'aws-sdk-core'
12
12
  require 'aws-sigv4'
13
13
 
14
- require_relative 'aws-sdk-appregistry/types'
15
- require_relative 'aws-sdk-appregistry/client_api'
16
- require_relative 'aws-sdk-appregistry/plugins/endpoints.rb'
17
- require_relative 'aws-sdk-appregistry/client'
18
- require_relative 'aws-sdk-appregistry/errors'
19
- require_relative 'aws-sdk-appregistry/resource'
20
- require_relative 'aws-sdk-appregistry/endpoint_parameters'
21
- require_relative 'aws-sdk-appregistry/endpoint_provider'
22
- require_relative 'aws-sdk-appregistry/endpoints'
23
- require_relative 'aws-sdk-appregistry/customizations'
14
+ Aws::Plugins::GlobalConfiguration.add_identifier(:appregistry)
24
15
 
25
16
  # This module provides support for AWS Service Catalog App Registry. This module is available in the
26
17
  # `aws-sdk-appregistry` gem.
@@ -51,7 +42,20 @@ require_relative 'aws-sdk-appregistry/customizations'
51
42
  #
52
43
  # @!group service
53
44
  module Aws::AppRegistry
45
+ autoload :Types, 'aws-sdk-appregistry/types'
46
+ autoload :ClientApi, 'aws-sdk-appregistry/client_api'
47
+ module Plugins
48
+ autoload :Endpoints, 'aws-sdk-appregistry/plugins/endpoints.rb'
49
+ end
50
+ autoload :Client, 'aws-sdk-appregistry/client'
51
+ autoload :Errors, 'aws-sdk-appregistry/errors'
52
+ autoload :Resource, 'aws-sdk-appregistry/resource'
53
+ autoload :EndpointParameters, 'aws-sdk-appregistry/endpoint_parameters'
54
+ autoload :EndpointProvider, 'aws-sdk-appregistry/endpoint_provider'
55
+ autoload :Endpoints, 'aws-sdk-appregistry/endpoints'
54
56
 
55
- GEM_VERSION = '1.39.0'
57
+ GEM_VERSION = '1.66.0'
56
58
 
57
59
  end
60
+
61
+ require_relative 'aws-sdk-appregistry/customizations'
data/sig/client.rbs CHANGED
@@ -15,8 +15,10 @@ module Aws
15
15
  ?credentials: untyped,
16
16
  ?region: String,
17
17
  ?access_key_id: String,
18
+ ?account_id: String,
18
19
  ?active_endpoint_cache: bool,
19
20
  ?adaptive_retry_wait_to_fill: bool,
21
+ ?auth_scheme_preference: Array[String],
20
22
  ?client_side_monitoring: bool,
21
23
  ?client_side_monitoring_client_id: String,
22
24
  ?client_side_monitoring_host: String,
@@ -38,7 +40,9 @@ module Aws
38
40
  ?logger: untyped,
39
41
  ?max_attempts: Integer,
40
42
  ?profile: String,
43
+ ?request_checksum_calculation: String,
41
44
  ?request_min_compression_size_bytes: Integer,
45
+ ?response_checksum_validation: String,
42
46
  ?retry_backoff: Proc,
43
47
  ?retry_base_delay: Float,
44
48
  ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
@@ -50,6 +54,7 @@ module Aws
50
54
  ?session_token: String,
51
55
  ?sigv4a_signing_region_set: Array[String],
52
56
  ?stub_responses: untyped,
57
+ ?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
53
58
  ?token_provider: untyped,
54
59
  ?use_dualstack_endpoint: bool,
55
60
  ?use_fips_endpoint: bool,
data/sig/resource.rbs CHANGED
@@ -15,8 +15,10 @@ module Aws
15
15
  ?credentials: untyped,
16
16
  ?region: String,
17
17
  ?access_key_id: String,
18
+ ?account_id: String,
18
19
  ?active_endpoint_cache: bool,
19
20
  ?adaptive_retry_wait_to_fill: bool,
21
+ ?auth_scheme_preference: Array[String],
20
22
  ?client_side_monitoring: bool,
21
23
  ?client_side_monitoring_client_id: String,
22
24
  ?client_side_monitoring_host: String,
@@ -38,7 +40,9 @@ module Aws
38
40
  ?logger: untyped,
39
41
  ?max_attempts: Integer,
40
42
  ?profile: String,
43
+ ?request_checksum_calculation: String,
41
44
  ?request_min_compression_size_bytes: Integer,
45
+ ?response_checksum_validation: String,
42
46
  ?retry_backoff: Proc,
43
47
  ?retry_base_delay: Float,
44
48
  ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
@@ -50,6 +54,7 @@ module Aws
50
54
  ?session_token: String,
51
55
  ?sigv4a_signing_region_set: Array[String],
52
56
  ?stub_responses: untyped,
57
+ ?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
53
58
  ?token_provider: untyped,
54
59
  ?use_dualstack_endpoint: bool,
55
60
  ?use_fips_endpoint: bool,
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-appregistry
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.39.0
4
+ version: 1.66.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-07-02 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: aws-sdk-core
@@ -19,7 +18,7 @@ dependencies:
19
18
  version: '3'
20
19
  - - ">="
21
20
  - !ruby/object:Gem::Version
22
- version: 3.201.0
21
+ version: 3.254.0
23
22
  type: :runtime
24
23
  prerelease: false
25
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +28,7 @@ dependencies:
29
28
  version: '3'
30
29
  - - ">="
31
30
  - !ruby/object:Gem::Version
32
- version: 3.201.0
31
+ version: 3.254.0
33
32
  - !ruby/object:Gem::Dependency
34
33
  name: aws-sigv4
35
34
  requirement: !ruby/object:Gem::Requirement
@@ -77,7 +76,6 @@ licenses:
77
76
  metadata:
78
77
  source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-appregistry
79
78
  changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-appregistry/CHANGELOG.md
80
- post_install_message:
81
79
  rdoc_options: []
82
80
  require_paths:
83
81
  - lib
@@ -85,15 +83,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
85
83
  requirements:
86
84
  - - ">="
87
85
  - !ruby/object:Gem::Version
88
- version: '2.5'
86
+ version: '2.7'
89
87
  required_rubygems_version: !ruby/object:Gem::Requirement
90
88
  requirements:
91
89
  - - ">="
92
90
  - !ruby/object:Gem::Version
93
91
  version: '0'
94
92
  requirements: []
95
- rubygems_version: 3.4.10
96
- signing_key:
93
+ rubygems_version: 3.6.7
97
94
  specification_version: 4
98
95
  summary: AWS SDK for Ruby - AppRegistry
99
96
  test_files: []