aws-sdk-appconfigdata 1.1.0 → 1.15.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 +4 -4
- data/CHANGELOG.md +72 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-appconfigdata/client.rb +103 -32
- data/lib/aws-sdk-appconfigdata/client_api.rb +7 -6
- data/lib/aws-sdk-appconfigdata/endpoint_parameters.rb +66 -0
- data/lib/aws-sdk-appconfigdata/endpoint_provider.rb +54 -0
- data/lib/aws-sdk-appconfigdata/endpoints.rb +44 -0
- data/lib/aws-sdk-appconfigdata/errors.rb +9 -9
- data/lib/aws-sdk-appconfigdata/plugins/endpoints.rb +72 -0
- data/lib/aws-sdk-appconfigdata/types.rb +73 -73
- data/lib/aws-sdk-appconfigdata.rb +5 -1
- metadata +8 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3e4e441b0ff6f9d26be79b01dd934c4809043a1164c73c9d856fc5a32b0960b4
|
4
|
+
data.tar.gz: 19baff9fb7c50e705fe16b9de5728a0ddc559e5e76bfbf6ac060c446fb7e9218
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 10886793d6c72c0015ac4850a647ee81d95396440abc407e76fb470d366ae18988275b6c903230d1b03299880b9156e8fd5b6462740c37823abb7ec846120ccb
|
7
|
+
data.tar.gz: 6d313bb4f77ac15eaa1e630874f00214b592cd4795857b83d1f487d6d6e62c09459bdcdbd6b5b73dcd52c850bdecd55fc43f7e4b448553cec863254a39058bf3
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,78 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.15.0 (2023-09-27)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.14.0 (2023-09-19)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
1.13.0 (2023-07-11)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
19
|
+
1.12.0 (2023-07-06)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
23
|
+
|
24
|
+
1.11.0 (2023-06-28)
|
25
|
+
------------------
|
26
|
+
|
27
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
28
|
+
|
29
|
+
1.10.0 (2023-06-15)
|
30
|
+
------------------
|
31
|
+
|
32
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
33
|
+
|
34
|
+
1.9.0 (2023-05-31)
|
35
|
+
------------------
|
36
|
+
|
37
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
38
|
+
|
39
|
+
1.8.0 (2023-02-13)
|
40
|
+
------------------
|
41
|
+
|
42
|
+
* Feature - AWS AppConfig now offers the option to set a version label on hosted configuration versions. If a labeled hosted configuration version is deployed, its version label is available in the GetLatestConfiguration response.
|
43
|
+
|
44
|
+
1.7.0 (2023-01-18)
|
45
|
+
------------------
|
46
|
+
|
47
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
48
|
+
|
49
|
+
* Issue - Replace runtime endpoint resolution approach with generated ruby code.
|
50
|
+
|
51
|
+
1.6.0 (2022-10-25)
|
52
|
+
------------------
|
53
|
+
|
54
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
55
|
+
|
56
|
+
1.5.0 (2022-02-24)
|
57
|
+
------------------
|
58
|
+
|
59
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
60
|
+
|
61
|
+
1.4.0 (2022-02-03)
|
62
|
+
------------------
|
63
|
+
|
64
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
65
|
+
|
66
|
+
1.3.0 (2022-01-28)
|
67
|
+
------------------
|
68
|
+
|
69
|
+
* Feature - Documentation updates for AWS AppConfig Data.
|
70
|
+
|
71
|
+
1.2.0 (2021-12-21)
|
72
|
+
------------------
|
73
|
+
|
74
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
75
|
+
|
4
76
|
1.1.0 (2021-11-30)
|
5
77
|
------------------
|
6
78
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.15.0
|
@@ -27,7 +27,11 @@ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
|
27
27
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
28
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
29
|
require 'aws-sdk-core/plugins/http_checksum.rb'
|
30
|
-
require 'aws-sdk-core/plugins/
|
30
|
+
require 'aws-sdk-core/plugins/checksum_algorithm.rb'
|
31
|
+
require 'aws-sdk-core/plugins/request_compression.rb'
|
32
|
+
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
33
|
+
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
34
|
+
require 'aws-sdk-core/plugins/sign.rb'
|
31
35
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
32
36
|
|
33
37
|
Aws::Plugins::GlobalConfiguration.add_identifier(:appconfigdata)
|
@@ -73,8 +77,13 @@ module Aws::AppConfigData
|
|
73
77
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
74
78
|
add_plugin(Aws::Plugins::TransferEncoding)
|
75
79
|
add_plugin(Aws::Plugins::HttpChecksum)
|
76
|
-
add_plugin(Aws::Plugins::
|
80
|
+
add_plugin(Aws::Plugins::ChecksumAlgorithm)
|
81
|
+
add_plugin(Aws::Plugins::RequestCompression)
|
82
|
+
add_plugin(Aws::Plugins::DefaultsMode)
|
83
|
+
add_plugin(Aws::Plugins::RecursionDetection)
|
84
|
+
add_plugin(Aws::Plugins::Sign)
|
77
85
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
86
|
+
add_plugin(Aws::AppConfigData::Plugins::Endpoints)
|
78
87
|
|
79
88
|
# @overload initialize(options)
|
80
89
|
# @param [Hash] options
|
@@ -175,10 +184,18 @@ module Aws::AppConfigData
|
|
175
184
|
# Used only in `standard` and adaptive retry modes. Specifies whether to apply
|
176
185
|
# a clock skew correction and retry requests with skewed client clocks.
|
177
186
|
#
|
187
|
+
# @option options [String] :defaults_mode ("legacy")
|
188
|
+
# See {Aws::DefaultsModeConfiguration} for a list of the
|
189
|
+
# accepted modes and the configuration defaults that are included.
|
190
|
+
#
|
178
191
|
# @option options [Boolean] :disable_host_prefix_injection (false)
|
179
192
|
# Set to true to disable SDK automatically adding host prefix
|
180
193
|
# to default service endpoint when available.
|
181
194
|
#
|
195
|
+
# @option options [Boolean] :disable_request_compression (false)
|
196
|
+
# When set to 'true' the request body will not be compressed
|
197
|
+
# for supported operations.
|
198
|
+
#
|
182
199
|
# @option options [String] :endpoint
|
183
200
|
# The client endpoint is normally constructed from the `:region`
|
184
201
|
# option. You should only configure an `:endpoint` when connecting
|
@@ -199,6 +216,10 @@ module Aws::AppConfigData
|
|
199
216
|
# @option options [Boolean] :endpoint_discovery (false)
|
200
217
|
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
201
218
|
#
|
219
|
+
# @option options [Boolean] :ignore_configured_endpoint_urls
|
220
|
+
# Setting to true disables use of endpoint URLs provided via environment
|
221
|
+
# variables and the shared configuration file.
|
222
|
+
#
|
202
223
|
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
203
224
|
# The log formatter.
|
204
225
|
#
|
@@ -219,6 +240,11 @@ module Aws::AppConfigData
|
|
219
240
|
# Used when loading credentials from the shared credentials file
|
220
241
|
# at HOME/.aws/credentials. When not specified, 'default' is used.
|
221
242
|
#
|
243
|
+
# @option options [Integer] :request_min_compression_size_bytes (10240)
|
244
|
+
# The minimum size in bytes that triggers compression for request
|
245
|
+
# bodies. The value must be non-negative integer value between 0
|
246
|
+
# and 10485780 bytes inclusive.
|
247
|
+
#
|
222
248
|
# @option options [Proc] :retry_backoff
|
223
249
|
# A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
|
224
250
|
# This option is only used in the `legacy` retry mode.
|
@@ -264,6 +290,11 @@ module Aws::AppConfigData
|
|
264
290
|
# in the future.
|
265
291
|
#
|
266
292
|
#
|
293
|
+
# @option options [String] :sdk_ua_app_id
|
294
|
+
# A unique and opaque application ID that is appended to the
|
295
|
+
# User-Agent header as app/<sdk_ua_app_id>. It should have a
|
296
|
+
# maximum length of 50.
|
297
|
+
#
|
267
298
|
# @option options [String] :secret_access_key
|
268
299
|
#
|
269
300
|
# @option options [String] :session_token
|
@@ -277,6 +308,19 @@ module Aws::AppConfigData
|
|
277
308
|
# ** Please note ** When response stubbing is enabled, no HTTP
|
278
309
|
# requests are made, and retries are disabled.
|
279
310
|
#
|
311
|
+
# @option options [Aws::TokenProvider] :token_provider
|
312
|
+
# A Bearer Token Provider. This can be an instance of any one of the
|
313
|
+
# following classes:
|
314
|
+
#
|
315
|
+
# * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
|
316
|
+
# tokens.
|
317
|
+
#
|
318
|
+
# * `Aws::SSOTokenProvider` - Used for loading tokens from AWS SSO using an
|
319
|
+
# access token generated from `aws login`.
|
320
|
+
#
|
321
|
+
# When `:token_provider` is not configured directly, the `Aws::TokenProviderChain`
|
322
|
+
# will be used to search for tokens configured for your profile in shared configuration files.
|
323
|
+
#
|
280
324
|
# @option options [Boolean] :use_dualstack_endpoint
|
281
325
|
# When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
|
282
326
|
# will be used if available.
|
@@ -290,6 +334,9 @@ module Aws::AppConfigData
|
|
290
334
|
# When `true`, request parameters are validated before
|
291
335
|
# sending the request.
|
292
336
|
#
|
337
|
+
# @option options [Aws::AppConfigData::EndpointProvider] :endpoint_provider
|
338
|
+
# The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::AppConfigData::EndpointParameters`
|
339
|
+
#
|
293
340
|
# @option options [URI::HTTP,String] :http_proxy A proxy to send
|
294
341
|
# requests through. Formatted like 'http://proxy.com:123'.
|
295
342
|
#
|
@@ -297,7 +344,7 @@ module Aws::AppConfigData
|
|
297
344
|
# seconds to wait when opening a HTTP session before raising a
|
298
345
|
# `Timeout::Error`.
|
299
346
|
#
|
300
|
-
# @option options [
|
347
|
+
# @option options [Float] :http_read_timeout (60) The default
|
301
348
|
# number of seconds to wait for response data. This value can
|
302
349
|
# safely be set per-request on the session.
|
303
350
|
#
|
@@ -313,6 +360,9 @@ module Aws::AppConfigData
|
|
313
360
|
# disables this behaviour. This value can safely be set per
|
314
361
|
# request on the session.
|
315
362
|
#
|
363
|
+
# @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
|
364
|
+
# in seconds.
|
365
|
+
#
|
316
366
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
317
367
|
# HTTP debug output will be sent to the `:logger`.
|
318
368
|
#
|
@@ -339,34 +389,47 @@ module Aws::AppConfigData
|
|
339
389
|
# @!group API Operations
|
340
390
|
|
341
391
|
# Retrieves the latest deployed configuration. This API may return empty
|
342
|
-
#
|
343
|
-
#
|
344
|
-
#
|
392
|
+
# configuration data if the client already has the latest version. For
|
393
|
+
# more information about this API action and to view example CLI
|
394
|
+
# commands that show how to use it with the StartConfigurationSession
|
395
|
+
# API action, see [Retrieving the configuration][1] in the *AppConfig
|
396
|
+
# User Guide*.
|
397
|
+
#
|
398
|
+
# Note the following important information.
|
399
|
+
#
|
400
|
+
# * Each configuration token is only valid for one call to
|
401
|
+
# `GetLatestConfiguration`. The `GetLatestConfiguration` response
|
402
|
+
# includes a `NextPollConfigurationToken` that should always replace
|
403
|
+
# the token used for the just-completed call in preparation for the
|
404
|
+
# next one.
|
345
405
|
#
|
346
|
-
#
|
347
|
-
#
|
348
|
-
# provided to the next call to GetLatestConfiguration when polling for
|
349
|
-
# configuration updates.
|
406
|
+
# * `GetLatestConfiguration` is a priced call. For more information, see
|
407
|
+
# [Pricing][2].
|
350
408
|
#
|
351
|
-
#
|
352
|
-
#
|
353
|
-
#
|
354
|
-
#
|
355
|
-
# the `ClientConfigurationVersion` parameter.
|
409
|
+
#
|
410
|
+
#
|
411
|
+
# [1]: http://docs.aws.amazon.com/appconfig/latest/userguide/appconfig-retrieving-the-configuration
|
412
|
+
# [2]: https://aws.amazon.com/systems-manager/pricing/
|
356
413
|
#
|
357
414
|
# @option params [required, String] :configuration_token
|
358
415
|
# Token describing the current state of the configuration session. To
|
359
416
|
# obtain a token, first call the StartConfigurationSession API. Note
|
360
|
-
# that every call to GetLatestConfiguration will return a new
|
361
|
-
# ConfigurationToken (NextPollConfigurationToken in the response)
|
362
|
-
#
|
417
|
+
# that every call to `GetLatestConfiguration` will return a new
|
418
|
+
# `ConfigurationToken` (`NextPollConfigurationToken` in the response)
|
419
|
+
# and *must* be provided to subsequent `GetLatestConfiguration` API
|
420
|
+
# calls.
|
421
|
+
#
|
422
|
+
# This token should only be used once. To support long poll use cases,
|
423
|
+
# the token is valid for up to 24 hours. If a `GetLatestConfiguration`
|
424
|
+
# call uses an expired token, the system returns `BadRequestException`.
|
363
425
|
#
|
364
426
|
# @return [Types::GetLatestConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
365
427
|
#
|
366
|
-
# * {Types::GetLatestConfigurationResponse#configuration #configuration} => String
|
367
|
-
# * {Types::GetLatestConfigurationResponse#content_type #content_type} => String
|
368
428
|
# * {Types::GetLatestConfigurationResponse#next_poll_configuration_token #next_poll_configuration_token} => String
|
369
429
|
# * {Types::GetLatestConfigurationResponse#next_poll_interval_in_seconds #next_poll_interval_in_seconds} => Integer
|
430
|
+
# * {Types::GetLatestConfigurationResponse#content_type #content_type} => String
|
431
|
+
# * {Types::GetLatestConfigurationResponse#configuration #configuration} => String
|
432
|
+
# * {Types::GetLatestConfigurationResponse#version_label #version_label} => String
|
370
433
|
#
|
371
434
|
# @example Request syntax with placeholder values
|
372
435
|
#
|
@@ -376,10 +439,11 @@ module Aws::AppConfigData
|
|
376
439
|
#
|
377
440
|
# @example Response structure
|
378
441
|
#
|
379
|
-
# resp.configuration #=> String
|
380
|
-
# resp.content_type #=> String
|
381
442
|
# resp.next_poll_configuration_token #=> String
|
382
443
|
# resp.next_poll_interval_in_seconds #=> Integer
|
444
|
+
# resp.content_type #=> String
|
445
|
+
# resp.configuration #=> String
|
446
|
+
# resp.version_label #=> String
|
383
447
|
#
|
384
448
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appconfigdata-2021-11-11/GetLatestConfiguration AWS API Documentation
|
385
449
|
#
|
@@ -391,22 +455,29 @@ module Aws::AppConfigData
|
|
391
455
|
end
|
392
456
|
|
393
457
|
# Starts a configuration session used to retrieve a deployed
|
394
|
-
# configuration.
|
458
|
+
# configuration. For more information about this API action and to view
|
459
|
+
# example CLI commands that show how to use it with the
|
460
|
+
# GetLatestConfiguration API action, see [Retrieving the
|
461
|
+
# configuration][1] in the *AppConfig User Guide*.
|
462
|
+
#
|
463
|
+
#
|
464
|
+
#
|
465
|
+
# [1]: http://docs.aws.amazon.com/appconfig/latest/userguide/appconfig-retrieving-the-configuration
|
395
466
|
#
|
396
467
|
# @option params [required, String] :application_identifier
|
397
468
|
# The application ID or the application name.
|
398
469
|
#
|
399
|
-
# @option params [required, String] :configuration_profile_identifier
|
400
|
-
# The configuration profile ID or the configuration profile name.
|
401
|
-
#
|
402
470
|
# @option params [required, String] :environment_identifier
|
403
471
|
# The environment ID or the environment name.
|
404
472
|
#
|
473
|
+
# @option params [required, String] :configuration_profile_identifier
|
474
|
+
# The configuration profile ID or the configuration profile name.
|
475
|
+
#
|
405
476
|
# @option params [Integer] :required_minimum_poll_interval_in_seconds
|
406
|
-
#
|
407
|
-
#
|
408
|
-
#
|
409
|
-
#
|
477
|
+
# Sets a constraint on a session. If you specify a value of, for
|
478
|
+
# example, 60 seconds, then the client that established the session
|
479
|
+
# can't call GetLatestConfiguration more frequently than every 60
|
480
|
+
# seconds.
|
410
481
|
#
|
411
482
|
# @return [Types::StartConfigurationSessionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
412
483
|
#
|
@@ -416,8 +487,8 @@ module Aws::AppConfigData
|
|
416
487
|
#
|
417
488
|
# resp = client.start_configuration_session({
|
418
489
|
# application_identifier: "Identifier", # required
|
419
|
-
# configuration_profile_identifier: "Identifier", # required
|
420
490
|
# environment_identifier: "Identifier", # required
|
491
|
+
# configuration_profile_identifier: "Identifier", # required
|
421
492
|
# required_minimum_poll_interval_in_seconds: 1,
|
422
493
|
# })
|
423
494
|
#
|
@@ -447,7 +518,7 @@ module Aws::AppConfigData
|
|
447
518
|
params: params,
|
448
519
|
config: config)
|
449
520
|
context[:gem_name] = 'aws-sdk-appconfigdata'
|
450
|
-
context[:gem_version] = '1.
|
521
|
+
context[:gem_version] = '1.15.0'
|
451
522
|
Seahorse::Client::Request.new(handlers, context)
|
452
523
|
end
|
453
524
|
|
@@ -27,11 +27,11 @@ module Aws::AppConfigData
|
|
27
27
|
OptionalPollSeconds = Shapes::IntegerShape.new(name: 'OptionalPollSeconds')
|
28
28
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
29
29
|
ResourceType = Shapes::StringShape.new(name: 'ResourceType')
|
30
|
+
SensitiveBlob = Shapes::BlobShape.new(name: 'SensitiveBlob')
|
30
31
|
StartConfigurationSessionRequest = Shapes::StructureShape.new(name: 'StartConfigurationSessionRequest')
|
31
32
|
StartConfigurationSessionResponse = Shapes::StructureShape.new(name: 'StartConfigurationSessionResponse')
|
32
33
|
String = Shapes::StringShape.new(name: 'String')
|
33
34
|
StringMap = Shapes::MapShape.new(name: 'StringMap')
|
34
|
-
SyntheticGetLatestConfigurationResponseBlob = Shapes::BlobShape.new(name: 'SyntheticGetLatestConfigurationResponseBlob')
|
35
35
|
ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
|
36
36
|
Token = Shapes::StringShape.new(name: 'Token')
|
37
37
|
|
@@ -41,18 +41,19 @@ module Aws::AppConfigData
|
|
41
41
|
BadRequestDetails.add_member_subclass(:unknown, Types::BadRequestDetails::Unknown)
|
42
42
|
BadRequestDetails.struct_class = Types::BadRequestDetails
|
43
43
|
|
44
|
-
BadRequestException.add_member(:details, Shapes::ShapeRef.new(shape: BadRequestDetails, location_name: "Details"))
|
45
44
|
BadRequestException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
46
45
|
BadRequestException.add_member(:reason, Shapes::ShapeRef.new(shape: BadRequestReason, location_name: "Reason"))
|
46
|
+
BadRequestException.add_member(:details, Shapes::ShapeRef.new(shape: BadRequestDetails, location_name: "Details"))
|
47
47
|
BadRequestException.struct_class = Types::BadRequestException
|
48
48
|
|
49
49
|
GetLatestConfigurationRequest.add_member(:configuration_token, Shapes::ShapeRef.new(shape: Token, required: true, location: "querystring", location_name: "configuration_token"))
|
50
50
|
GetLatestConfigurationRequest.struct_class = Types::GetLatestConfigurationRequest
|
51
51
|
|
52
|
-
GetLatestConfigurationResponse.add_member(:configuration, Shapes::ShapeRef.new(shape: SyntheticGetLatestConfigurationResponseBlob, location_name: "Configuration"))
|
53
|
-
GetLatestConfigurationResponse.add_member(:content_type, Shapes::ShapeRef.new(shape: String, location: "header", location_name: "Content-Type"))
|
54
52
|
GetLatestConfigurationResponse.add_member(:next_poll_configuration_token, Shapes::ShapeRef.new(shape: Token, location: "header", location_name: "Next-Poll-Configuration-Token"))
|
55
53
|
GetLatestConfigurationResponse.add_member(:next_poll_interval_in_seconds, Shapes::ShapeRef.new(shape: Integer, location: "header", location_name: "Next-Poll-Interval-In-Seconds"))
|
54
|
+
GetLatestConfigurationResponse.add_member(:content_type, Shapes::ShapeRef.new(shape: String, location: "header", location_name: "Content-Type"))
|
55
|
+
GetLatestConfigurationResponse.add_member(:configuration, Shapes::ShapeRef.new(shape: SensitiveBlob, location_name: "Configuration"))
|
56
|
+
GetLatestConfigurationResponse.add_member(:version_label, Shapes::ShapeRef.new(shape: String, location: "header", location_name: "Version-Label"))
|
56
57
|
GetLatestConfigurationResponse.struct_class = Types::GetLatestConfigurationResponse
|
57
58
|
GetLatestConfigurationResponse[:payload] = :configuration
|
58
59
|
GetLatestConfigurationResponse[:payload_member] = GetLatestConfigurationResponse.member(:configuration)
|
@@ -67,13 +68,13 @@ module Aws::AppConfigData
|
|
67
68
|
InvalidParameterMap.value = Shapes::ShapeRef.new(shape: InvalidParameterDetail)
|
68
69
|
|
69
70
|
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
70
|
-
ResourceNotFoundException.add_member(:referenced_by, Shapes::ShapeRef.new(shape: StringMap, location_name: "ReferencedBy"))
|
71
71
|
ResourceNotFoundException.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "ResourceType"))
|
72
|
+
ResourceNotFoundException.add_member(:referenced_by, Shapes::ShapeRef.new(shape: StringMap, location_name: "ReferencedBy"))
|
72
73
|
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
73
74
|
|
74
75
|
StartConfigurationSessionRequest.add_member(:application_identifier, Shapes::ShapeRef.new(shape: Identifier, required: true, location_name: "ApplicationIdentifier"))
|
75
|
-
StartConfigurationSessionRequest.add_member(:configuration_profile_identifier, Shapes::ShapeRef.new(shape: Identifier, required: true, location_name: "ConfigurationProfileIdentifier"))
|
76
76
|
StartConfigurationSessionRequest.add_member(:environment_identifier, Shapes::ShapeRef.new(shape: Identifier, required: true, location_name: "EnvironmentIdentifier"))
|
77
|
+
StartConfigurationSessionRequest.add_member(:configuration_profile_identifier, Shapes::ShapeRef.new(shape: Identifier, required: true, location_name: "ConfigurationProfileIdentifier"))
|
77
78
|
StartConfigurationSessionRequest.add_member(:required_minimum_poll_interval_in_seconds, Shapes::ShapeRef.new(shape: OptionalPollSeconds, location_name: "RequiredMinimumPollIntervalInSeconds"))
|
78
79
|
StartConfigurationSessionRequest.struct_class = Types::StartConfigurationSessionRequest
|
79
80
|
|
@@ -0,0 +1,66 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
4
|
+
#
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
|
+
#
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
9
|
+
|
10
|
+
module Aws::AppConfigData
|
11
|
+
# Endpoint parameters used to influence endpoints per request.
|
12
|
+
#
|
13
|
+
# @!attribute region
|
14
|
+
# The AWS region used to dispatch the request.
|
15
|
+
#
|
16
|
+
# @return [String]
|
17
|
+
#
|
18
|
+
# @!attribute use_dual_stack
|
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
|
+
#
|
21
|
+
# @return [Boolean]
|
22
|
+
#
|
23
|
+
# @!attribute use_fips
|
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
|
+
#
|
26
|
+
# @return [Boolean]
|
27
|
+
#
|
28
|
+
# @!attribute endpoint
|
29
|
+
# Override the endpoint used to send this request
|
30
|
+
#
|
31
|
+
# @return [String]
|
32
|
+
#
|
33
|
+
EndpointParameters = Struct.new(
|
34
|
+
:region,
|
35
|
+
:use_dual_stack,
|
36
|
+
:use_fips,
|
37
|
+
:endpoint,
|
38
|
+
) do
|
39
|
+
include Aws::Structure
|
40
|
+
|
41
|
+
# @api private
|
42
|
+
class << self
|
43
|
+
PARAM_MAP = {
|
44
|
+
'Region' => :region,
|
45
|
+
'UseDualStack' => :use_dual_stack,
|
46
|
+
'UseFIPS' => :use_fips,
|
47
|
+
'Endpoint' => :endpoint,
|
48
|
+
}.freeze
|
49
|
+
end
|
50
|
+
|
51
|
+
def initialize(options = {})
|
52
|
+
self[:region] = options[:region]
|
53
|
+
self[:use_dual_stack] = options[:use_dual_stack]
|
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
|
+
self[:use_fips] = options[:use_fips]
|
59
|
+
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
|
+
self[:endpoint] = options[:endpoint]
|
64
|
+
end
|
65
|
+
end
|
66
|
+
end
|
@@ -0,0 +1,54 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
4
|
+
#
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
|
+
#
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
9
|
+
|
10
|
+
module Aws::AppConfigData
|
11
|
+
class EndpointProvider
|
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)
|
19
|
+
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
20
|
+
end
|
21
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
22
|
+
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
23
|
+
end
|
24
|
+
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
25
|
+
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)
|
29
|
+
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://appconfigdata-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
31
|
+
end
|
32
|
+
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
33
|
+
end
|
34
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
35
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
36
|
+
return Aws::Endpoints::Endpoint.new(url: "https://appconfigdata-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
37
|
+
end
|
38
|
+
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
39
|
+
end
|
40
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
41
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
42
|
+
return Aws::Endpoints::Endpoint.new(url: "https://appconfigdata.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
43
|
+
end
|
44
|
+
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
45
|
+
end
|
46
|
+
return Aws::Endpoints::Endpoint.new(url: "https://appconfigdata.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
47
|
+
end
|
48
|
+
end
|
49
|
+
raise ArgumentError, "Invalid Configuration: Missing Region"
|
50
|
+
raise ArgumentError, 'No endpoint could be resolved'
|
51
|
+
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
@@ -0,0 +1,44 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
4
|
+
#
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
|
+
#
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
9
|
+
|
10
|
+
|
11
|
+
module Aws::AppConfigData
|
12
|
+
# @api private
|
13
|
+
module Endpoints
|
14
|
+
|
15
|
+
class GetLatestConfiguration
|
16
|
+
def self.build(context)
|
17
|
+
unless context.config.regional_endpoint
|
18
|
+
endpoint = context.config.endpoint.to_s
|
19
|
+
end
|
20
|
+
Aws::AppConfigData::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 StartConfigurationSession
|
30
|
+
def self.build(context)
|
31
|
+
unless context.config.regional_endpoint
|
32
|
+
endpoint = context.config.endpoint.to_s
|
33
|
+
end
|
34
|
+
Aws::AppConfigData::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
|
+
end
|
44
|
+
end
|
@@ -47,11 +47,6 @@ module Aws::AppConfigData
|
|
47
47
|
super(context, message, data)
|
48
48
|
end
|
49
49
|
|
50
|
-
# @return [String]
|
51
|
-
def details
|
52
|
-
@data[:details]
|
53
|
-
end
|
54
|
-
|
55
50
|
# @return [String]
|
56
51
|
def message
|
57
52
|
@message || @data[:message]
|
@@ -61,6 +56,11 @@ module Aws::AppConfigData
|
|
61
56
|
def reason
|
62
57
|
@data[:reason]
|
63
58
|
end
|
59
|
+
|
60
|
+
# @return [String]
|
61
|
+
def details
|
62
|
+
@data[:details]
|
63
|
+
end
|
64
64
|
end
|
65
65
|
|
66
66
|
class InternalServerException < ServiceError
|
@@ -93,13 +93,13 @@ module Aws::AppConfigData
|
|
93
93
|
end
|
94
94
|
|
95
95
|
# @return [String]
|
96
|
-
def
|
97
|
-
@data[:
|
96
|
+
def resource_type
|
97
|
+
@data[:resource_type]
|
98
98
|
end
|
99
99
|
|
100
100
|
# @return [String]
|
101
|
-
def
|
102
|
-
@data[:
|
101
|
+
def referenced_by
|
102
|
+
@data[:referenced_by]
|
103
103
|
end
|
104
104
|
end
|
105
105
|
|
@@ -0,0 +1,72 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
4
|
+
#
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
|
+
#
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
9
|
+
|
10
|
+
|
11
|
+
module Aws::AppConfigData
|
12
|
+
module Plugins
|
13
|
+
class Endpoints < Seahorse::Client::Plugin
|
14
|
+
option(
|
15
|
+
:endpoint_provider,
|
16
|
+
doc_type: 'Aws::AppConfigData::EndpointProvider',
|
17
|
+
docstring: 'The endpoint provider used to resolve endpoints. Any '\
|
18
|
+
'object that responds to `#resolve_endpoint(parameters)` '\
|
19
|
+
'where `parameters` is a Struct similar to '\
|
20
|
+
'`Aws::AppConfigData::EndpointParameters`'
|
21
|
+
) do |cfg|
|
22
|
+
Aws::AppConfigData::EndpointProvider.new
|
23
|
+
end
|
24
|
+
|
25
|
+
# @api private
|
26
|
+
class Handler < Seahorse::Client::Handler
|
27
|
+
def call(context)
|
28
|
+
# If endpoint was discovered, do not resolve or apply the endpoint.
|
29
|
+
unless context[:discovered_endpoint]
|
30
|
+
params = parameters_for_operation(context)
|
31
|
+
endpoint = context.config.endpoint_provider.resolve_endpoint(params)
|
32
|
+
|
33
|
+
context.http_request.endpoint = endpoint.url
|
34
|
+
apply_endpoint_headers(context, endpoint.headers)
|
35
|
+
end
|
36
|
+
|
37
|
+
context[:endpoint_params] = params
|
38
|
+
context[:auth_scheme] =
|
39
|
+
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
|
40
|
+
|
41
|
+
@handler.call(context)
|
42
|
+
end
|
43
|
+
|
44
|
+
private
|
45
|
+
|
46
|
+
def apply_endpoint_headers(context, headers)
|
47
|
+
headers.each do |key, values|
|
48
|
+
value = values
|
49
|
+
.compact
|
50
|
+
.map { |s| Seahorse::Util.escape_header_list_string(s.to_s) }
|
51
|
+
.join(',')
|
52
|
+
|
53
|
+
context.http_request.headers[key] = value
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
57
|
+
def parameters_for_operation(context)
|
58
|
+
case context.operation_name
|
59
|
+
when :get_latest_configuration
|
60
|
+
Aws::AppConfigData::Endpoints::GetLatestConfiguration.build(context)
|
61
|
+
when :start_configuration_session
|
62
|
+
Aws::AppConfigData::Endpoints::StartConfigurationSession.build(context)
|
63
|
+
end
|
64
|
+
end
|
65
|
+
end
|
66
|
+
|
67
|
+
def add_handlers(handlers, _config)
|
68
|
+
handlers.add(Handler, step: :build, priority: 75)
|
69
|
+
end
|
70
|
+
end
|
71
|
+
end
|
72
|
+
end
|
@@ -10,10 +10,11 @@
|
|
10
10
|
module Aws::AppConfigData
|
11
11
|
module Types
|
12
12
|
|
13
|
-
#
|
13
|
+
# Detailed information about the input that failed to satisfy the
|
14
|
+
# constraints specified by a call.
|
14
15
|
#
|
15
16
|
# @!attribute [rw] invalid_parameters
|
16
|
-
#
|
17
|
+
# One or more specified parameters are not valid for the call.
|
17
18
|
# @return [Hash<String,Types::InvalidParameterDetail>]
|
18
19
|
#
|
19
20
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appconfigdata-2021-11-11/BadRequestDetails AWS API Documentation
|
@@ -31,10 +32,6 @@ module Aws::AppConfigData
|
|
31
32
|
|
32
33
|
# The input fails to satisfy the constraints specified by the service.
|
33
34
|
#
|
34
|
-
# @!attribute [rw] details
|
35
|
-
# Details describing why the request was invalid
|
36
|
-
# @return [Types::BadRequestDetails]
|
37
|
-
#
|
38
35
|
# @!attribute [rw] message
|
39
36
|
# @return [String]
|
40
37
|
#
|
@@ -42,31 +39,32 @@ module Aws::AppConfigData
|
|
42
39
|
# Code indicating the reason the request was invalid.
|
43
40
|
# @return [String]
|
44
41
|
#
|
42
|
+
# @!attribute [rw] details
|
43
|
+
# Details describing why the request was invalid.
|
44
|
+
# @return [Types::BadRequestDetails]
|
45
|
+
#
|
45
46
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appconfigdata-2021-11-11/BadRequestException AWS API Documentation
|
46
47
|
#
|
47
48
|
class BadRequestException < Struct.new(
|
48
|
-
:details,
|
49
49
|
:message,
|
50
|
-
:reason
|
50
|
+
:reason,
|
51
|
+
:details)
|
51
52
|
SENSITIVE = []
|
52
53
|
include Aws::Structure
|
53
54
|
end
|
54
55
|
|
55
|
-
# Request parameters for the GetLatestConfiguration API
|
56
|
-
#
|
57
|
-
# @note When making an API call, you may pass GetLatestConfigurationRequest
|
58
|
-
# data as a hash:
|
59
|
-
#
|
60
|
-
# {
|
61
|
-
# configuration_token: "Token", # required
|
62
|
-
# }
|
63
|
-
#
|
64
56
|
# @!attribute [rw] configuration_token
|
65
57
|
# Token describing the current state of the configuration session. To
|
66
58
|
# obtain a token, first call the StartConfigurationSession API. Note
|
67
|
-
# that every call to GetLatestConfiguration will return a new
|
68
|
-
# ConfigurationToken (NextPollConfigurationToken in the response)
|
69
|
-
#
|
59
|
+
# that every call to `GetLatestConfiguration` will return a new
|
60
|
+
# `ConfigurationToken` (`NextPollConfigurationToken` in the response)
|
61
|
+
# and *must* be provided to subsequent `GetLatestConfiguration` API
|
62
|
+
# calls.
|
63
|
+
#
|
64
|
+
# This token should only be used once. To support long poll use cases,
|
65
|
+
# the token is valid for up to 24 hours. If a `GetLatestConfiguration`
|
66
|
+
# call uses an expired token, the system returns
|
67
|
+
# `BadRequestException`.
|
70
68
|
# @return [String]
|
71
69
|
#
|
72
70
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appconfigdata-2021-11-11/GetLatestConfigurationRequest AWS API Documentation
|
@@ -77,38 +75,50 @@ module Aws::AppConfigData
|
|
77
75
|
include Aws::Structure
|
78
76
|
end
|
79
77
|
|
80
|
-
#
|
78
|
+
# @!attribute [rw] next_poll_configuration_token
|
79
|
+
# The latest token describing the current state of the configuration
|
80
|
+
# session. This *must* be provided to the next call to
|
81
|
+
# `GetLatestConfiguration.`
|
81
82
|
#
|
82
|
-
#
|
83
|
-
#
|
84
|
-
#
|
83
|
+
# This token should only be used once. To support long poll use cases,
|
84
|
+
# the token is valid for up to 24 hours. If a `GetLatestConfiguration`
|
85
|
+
# call uses an expired token, the system returns
|
86
|
+
# `BadRequestException`.
|
85
87
|
# @return [String]
|
86
88
|
#
|
89
|
+
# @!attribute [rw] next_poll_interval_in_seconds
|
90
|
+
# The amount of time the client should wait before polling for
|
91
|
+
# configuration updates again. Use
|
92
|
+
# `RequiredMinimumPollIntervalInSeconds` to set the desired poll
|
93
|
+
# interval.
|
94
|
+
# @return [Integer]
|
95
|
+
#
|
87
96
|
# @!attribute [rw] content_type
|
88
97
|
# A standard MIME type describing the format of the configuration
|
89
98
|
# content.
|
90
99
|
# @return [String]
|
91
100
|
#
|
92
|
-
# @!attribute [rw]
|
93
|
-
# The
|
94
|
-
#
|
95
|
-
# GetLatestConfiguration.
|
101
|
+
# @!attribute [rw] configuration
|
102
|
+
# The data of the configuration. This may be empty if the client
|
103
|
+
# already has the latest version of configuration.
|
96
104
|
# @return [String]
|
97
105
|
#
|
98
|
-
# @!attribute [rw]
|
99
|
-
# The
|
100
|
-
# configuration
|
101
|
-
#
|
102
|
-
#
|
103
|
-
#
|
106
|
+
# @!attribute [rw] version_label
|
107
|
+
# The user-defined label for the AppConfig hosted configuration
|
108
|
+
# version. This attribute doesn't apply if the configuration is not
|
109
|
+
# from an AppConfig hosted configuration version. If the client
|
110
|
+
# already has the latest version of the configuration data, this value
|
111
|
+
# is empty.
|
112
|
+
# @return [String]
|
104
113
|
#
|
105
114
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appconfigdata-2021-11-11/GetLatestConfigurationResponse AWS API Documentation
|
106
115
|
#
|
107
116
|
class GetLatestConfigurationResponse < Struct.new(
|
108
|
-
:configuration,
|
109
|
-
:content_type,
|
110
117
|
:next_poll_configuration_token,
|
111
|
-
:next_poll_interval_in_seconds
|
118
|
+
:next_poll_interval_in_seconds,
|
119
|
+
:content_type,
|
120
|
+
:configuration,
|
121
|
+
:version_label)
|
112
122
|
SENSITIVE = [:configuration]
|
113
123
|
include Aws::Structure
|
114
124
|
end
|
@@ -126,11 +136,10 @@ module Aws::AppConfigData
|
|
126
136
|
include Aws::Structure
|
127
137
|
end
|
128
138
|
|
129
|
-
#
|
139
|
+
# Information about an invalid parameter.
|
130
140
|
#
|
131
141
|
# @!attribute [rw] problem
|
132
|
-
#
|
133
|
-
# constraints specified by the service
|
142
|
+
# The reason the parameter is invalid.
|
134
143
|
# @return [String]
|
135
144
|
#
|
136
145
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appconfigdata-2021-11-11/InvalidParameterDetail AWS API Documentation
|
@@ -146,78 +155,69 @@ module Aws::AppConfigData
|
|
146
155
|
# @!attribute [rw] message
|
147
156
|
# @return [String]
|
148
157
|
#
|
158
|
+
# @!attribute [rw] resource_type
|
159
|
+
# The type of resource that was not found.
|
160
|
+
# @return [String]
|
161
|
+
#
|
149
162
|
# @!attribute [rw] referenced_by
|
150
163
|
# A map indicating which parameters in the request reference the
|
151
164
|
# resource that was not found.
|
152
165
|
# @return [Hash<String,String>]
|
153
166
|
#
|
154
|
-
# @!attribute [rw] resource_type
|
155
|
-
# The type of resource that was not found.
|
156
|
-
# @return [String]
|
157
|
-
#
|
158
167
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appconfigdata-2021-11-11/ResourceNotFoundException AWS API Documentation
|
159
168
|
#
|
160
169
|
class ResourceNotFoundException < Struct.new(
|
161
170
|
:message,
|
162
|
-
:
|
163
|
-
:
|
171
|
+
:resource_type,
|
172
|
+
:referenced_by)
|
164
173
|
SENSITIVE = []
|
165
174
|
include Aws::Structure
|
166
175
|
end
|
167
176
|
|
168
|
-
# Request parameters for the StartConfigurationSession API.
|
169
|
-
#
|
170
|
-
# @note When making an API call, you may pass StartConfigurationSessionRequest
|
171
|
-
# data as a hash:
|
172
|
-
#
|
173
|
-
# {
|
174
|
-
# application_identifier: "Identifier", # required
|
175
|
-
# configuration_profile_identifier: "Identifier", # required
|
176
|
-
# environment_identifier: "Identifier", # required
|
177
|
-
# required_minimum_poll_interval_in_seconds: 1,
|
178
|
-
# }
|
179
|
-
#
|
180
177
|
# @!attribute [rw] application_identifier
|
181
178
|
# The application ID or the application name.
|
182
179
|
# @return [String]
|
183
180
|
#
|
184
|
-
# @!attribute [rw] configuration_profile_identifier
|
185
|
-
# The configuration profile ID or the configuration profile name.
|
186
|
-
# @return [String]
|
187
|
-
#
|
188
181
|
# @!attribute [rw] environment_identifier
|
189
182
|
# The environment ID or the environment name.
|
190
183
|
# @return [String]
|
191
184
|
#
|
185
|
+
# @!attribute [rw] configuration_profile_identifier
|
186
|
+
# The configuration profile ID or the configuration profile name.
|
187
|
+
# @return [String]
|
188
|
+
#
|
192
189
|
# @!attribute [rw] required_minimum_poll_interval_in_seconds
|
193
|
-
#
|
194
|
-
#
|
195
|
-
#
|
196
|
-
#
|
190
|
+
# Sets a constraint on a session. If you specify a value of, for
|
191
|
+
# example, 60 seconds, then the client that established the session
|
192
|
+
# can't call GetLatestConfiguration more frequently than every 60
|
193
|
+
# seconds.
|
197
194
|
# @return [Integer]
|
198
195
|
#
|
199
196
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appconfigdata-2021-11-11/StartConfigurationSessionRequest AWS API Documentation
|
200
197
|
#
|
201
198
|
class StartConfigurationSessionRequest < Struct.new(
|
202
199
|
:application_identifier,
|
203
|
-
:configuration_profile_identifier,
|
204
200
|
:environment_identifier,
|
201
|
+
:configuration_profile_identifier,
|
205
202
|
:required_minimum_poll_interval_in_seconds)
|
206
203
|
SENSITIVE = []
|
207
204
|
include Aws::Structure
|
208
205
|
end
|
209
206
|
|
210
|
-
# Response parameters for the StartConfigurationSession API.
|
211
|
-
#
|
212
207
|
# @!attribute [rw] initial_configuration_token
|
213
208
|
# Token encapsulating state about the configuration session. Provide
|
214
|
-
# this token to the GetLatestConfiguration API to retrieve
|
209
|
+
# this token to the `GetLatestConfiguration` API to retrieve
|
215
210
|
# configuration data.
|
216
211
|
#
|
217
212
|
# This token should only be used once in your first call to
|
218
|
-
# GetLatestConfiguration
|
219
|
-
#
|
220
|
-
# subsequent call to GetLatestConfiguration
|
213
|
+
# `GetLatestConfiguration`. You *must* use the new token in the
|
214
|
+
# `GetLatestConfiguration` response (`NextPollConfigurationToken`) in
|
215
|
+
# each subsequent call to `GetLatestConfiguration`.
|
216
|
+
#
|
217
|
+
# The `InitialConfigurationToken` and `NextPollConfigurationToken`
|
218
|
+
# should only be used once. To support long poll use cases, the tokens
|
219
|
+
# are valid for up to 24 hours. If a `GetLatestConfiguration` call
|
220
|
+
# uses an expired token, the system returns `BadRequestException`.
|
221
221
|
# @return [String]
|
222
222
|
#
|
223
223
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appconfigdata-2021-11-11/StartConfigurationSessionResponse AWS API Documentation
|
@@ -13,9 +13,13 @@ require 'aws-sigv4'
|
|
13
13
|
|
14
14
|
require_relative 'aws-sdk-appconfigdata/types'
|
15
15
|
require_relative 'aws-sdk-appconfigdata/client_api'
|
16
|
+
require_relative 'aws-sdk-appconfigdata/plugins/endpoints.rb'
|
16
17
|
require_relative 'aws-sdk-appconfigdata/client'
|
17
18
|
require_relative 'aws-sdk-appconfigdata/errors'
|
18
19
|
require_relative 'aws-sdk-appconfigdata/resource'
|
20
|
+
require_relative 'aws-sdk-appconfigdata/endpoint_parameters'
|
21
|
+
require_relative 'aws-sdk-appconfigdata/endpoint_provider'
|
22
|
+
require_relative 'aws-sdk-appconfigdata/endpoints'
|
19
23
|
require_relative 'aws-sdk-appconfigdata/customizations'
|
20
24
|
|
21
25
|
# This module provides support for AWS AppConfig Data. This module is available in the
|
@@ -48,6 +52,6 @@ require_relative 'aws-sdk-appconfigdata/customizations'
|
|
48
52
|
# @!group service
|
49
53
|
module Aws::AppConfigData
|
50
54
|
|
51
|
-
GEM_VERSION = '1.
|
55
|
+
GEM_VERSION = '1.15.0'
|
52
56
|
|
53
57
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-appconfigdata
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.15.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-09-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.184.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.184.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -59,7 +59,11 @@ files:
|
|
59
59
|
- lib/aws-sdk-appconfigdata/client.rb
|
60
60
|
- lib/aws-sdk-appconfigdata/client_api.rb
|
61
61
|
- lib/aws-sdk-appconfigdata/customizations.rb
|
62
|
+
- lib/aws-sdk-appconfigdata/endpoint_parameters.rb
|
63
|
+
- lib/aws-sdk-appconfigdata/endpoint_provider.rb
|
64
|
+
- lib/aws-sdk-appconfigdata/endpoints.rb
|
62
65
|
- lib/aws-sdk-appconfigdata/errors.rb
|
66
|
+
- lib/aws-sdk-appconfigdata/plugins/endpoints.rb
|
63
67
|
- lib/aws-sdk-appconfigdata/resource.rb
|
64
68
|
- lib/aws-sdk-appconfigdata/types.rb
|
65
69
|
homepage: https://github.com/aws/aws-sdk-ruby
|