aws-sdk-appconfigdata 1.0.0 → 1.4.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 +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-appconfigdata/client.rb +58 -31
- data/lib/aws-sdk-appconfigdata/client_api.rb +5 -5
- data/lib/aws-sdk-appconfigdata/errors.rb +9 -9
- data/lib/aws-sdk-appconfigdata/types.rb +51 -58
- data/lib/aws-sdk-appconfigdata.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 469ada4757f3b17f7dd954f07da0eb6244259696b03b22eb3e5eaf8674419ce6
|
4
|
+
data.tar.gz: 3afc4114ee2d1f81b685e6987f4df8b3343f6386d9ea64c536afdc3b6c3e91a5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7dcae2485a9b50d56d33016dfa402eddf6f92ba9be7bf114d7398166d3ac82c96093c6b3eab79f4c09f1b10823836d7385d900b8312ceafb655de20cc44b4bb9
|
7
|
+
data.tar.gz: 3572d18fc4a7059a6526e8f7d9d9e8bba0971f4d7cc45e9e6fa201d32eeed9a1861771b7f65dc53478a977baf76e1400174785327f81701460fcbd7ecca29ad5
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.4.0 (2022-02-03)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.3.0 (2022-01-28)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Documentation updates for AWS AppConfig Data.
|
13
|
+
|
14
|
+
1.2.0 (2021-12-21)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
19
|
+
1.1.0 (2021-11-30)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
23
|
+
|
4
24
|
1.0.0 (2021-11-17)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.4.0
|
@@ -27,6 +27,8 @@ 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/defaults_mode.rb'
|
31
|
+
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
30
32
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
31
33
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
32
34
|
|
@@ -73,6 +75,8 @@ module Aws::AppConfigData
|
|
73
75
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
74
76
|
add_plugin(Aws::Plugins::TransferEncoding)
|
75
77
|
add_plugin(Aws::Plugins::HttpChecksum)
|
78
|
+
add_plugin(Aws::Plugins::DefaultsMode)
|
79
|
+
add_plugin(Aws::Plugins::RecursionDetection)
|
76
80
|
add_plugin(Aws::Plugins::SignatureV4)
|
77
81
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
78
82
|
|
@@ -119,7 +123,9 @@ module Aws::AppConfigData
|
|
119
123
|
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
120
124
|
# are very aggressive. Construct and pass an instance of
|
121
125
|
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
122
|
-
# enable retries and extended timeouts.
|
126
|
+
# enable retries and extended timeouts. Instance profile credential
|
127
|
+
# fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
|
128
|
+
# to true.
|
123
129
|
#
|
124
130
|
# @option options [required, String] :region
|
125
131
|
# The AWS region to connect to. The configured `:region` is
|
@@ -173,6 +179,10 @@ module Aws::AppConfigData
|
|
173
179
|
# Used only in `standard` and adaptive retry modes. Specifies whether to apply
|
174
180
|
# a clock skew correction and retry requests with skewed client clocks.
|
175
181
|
#
|
182
|
+
# @option options [String] :defaults_mode ("legacy")
|
183
|
+
# See {Aws::DefaultsModeConfiguration} for a list of the
|
184
|
+
# accepted modes and the configuration defaults that are included.
|
185
|
+
#
|
176
186
|
# @option options [Boolean] :disable_host_prefix_injection (false)
|
177
187
|
# Set to true to disable SDK automatically adding host prefix
|
178
188
|
# to default service endpoint when available.
|
@@ -295,7 +305,7 @@ module Aws::AppConfigData
|
|
295
305
|
# seconds to wait when opening a HTTP session before raising a
|
296
306
|
# `Timeout::Error`.
|
297
307
|
#
|
298
|
-
# @option options [
|
308
|
+
# @option options [Float] :http_read_timeout (60) The default
|
299
309
|
# number of seconds to wait for response data. This value can
|
300
310
|
# safely be set per-request on the session.
|
301
311
|
#
|
@@ -311,6 +321,9 @@ module Aws::AppConfigData
|
|
311
321
|
# disables this behaviour. This value can safely be set per
|
312
322
|
# request on the session.
|
313
323
|
#
|
324
|
+
# @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
|
325
|
+
# in seconds.
|
326
|
+
#
|
314
327
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
315
328
|
# HTTP debug output will be sent to the `:logger`.
|
316
329
|
#
|
@@ -337,34 +350,41 @@ module Aws::AppConfigData
|
|
337
350
|
# @!group API Operations
|
338
351
|
|
339
352
|
# Retrieves the latest deployed configuration. This API may return empty
|
340
|
-
#
|
341
|
-
#
|
342
|
-
#
|
353
|
+
# configuration data if the client already has the latest version. For
|
354
|
+
# more information about this API action and to view example CLI
|
355
|
+
# commands that show how to use it with the StartConfigurationSession
|
356
|
+
# API action, see [Receiving the configuration][1] in the *AppConfig
|
357
|
+
# User Guide*.
|
358
|
+
#
|
359
|
+
# Note the following important information.
|
360
|
+
#
|
361
|
+
# * Each configuration token is only valid for one call to
|
362
|
+
# `GetLatestConfiguration`. The `GetLatestConfiguration` response
|
363
|
+
# includes a `NextPollConfigurationToken` that should always replace
|
364
|
+
# the token used for the just-completed call in preparation for the
|
365
|
+
# next one.
|
343
366
|
#
|
344
|
-
#
|
345
|
-
#
|
346
|
-
# provided to the next call to GetLatestConfiguration when polling for
|
347
|
-
# configuration updates.
|
367
|
+
# * `GetLatestConfiguration` is a priced call. For more information, see
|
368
|
+
# [Pricing][2].
|
348
369
|
#
|
349
|
-
#
|
350
|
-
#
|
351
|
-
#
|
352
|
-
#
|
353
|
-
# the `ClientConfigurationVersion` parameter.
|
370
|
+
#
|
371
|
+
#
|
372
|
+
# [1]: http://docs.aws.amazon.com/appconfig/latest/userguide/appconfig-retrieving-the-configuration
|
373
|
+
# [2]: https://aws.amazon.com/systems-manager/pricing/
|
354
374
|
#
|
355
375
|
# @option params [required, String] :configuration_token
|
356
376
|
# Token describing the current state of the configuration session. To
|
357
377
|
# obtain a token, first call the StartConfigurationSession API. Note
|
358
|
-
# that every call to GetLatestConfiguration will return a new
|
359
|
-
# ConfigurationToken (NextPollConfigurationToken in the response)
|
360
|
-
# MUST be provided to subsequent GetLatestConfiguration API calls.
|
378
|
+
# that every call to `GetLatestConfiguration` will return a new
|
379
|
+
# `ConfigurationToken` (`NextPollConfigurationToken` in the response)
|
380
|
+
# and MUST be provided to subsequent `GetLatestConfiguration` API calls.
|
361
381
|
#
|
362
382
|
# @return [Types::GetLatestConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
363
383
|
#
|
364
|
-
# * {Types::GetLatestConfigurationResponse#configuration #configuration} => String
|
365
|
-
# * {Types::GetLatestConfigurationResponse#content_type #content_type} => String
|
366
384
|
# * {Types::GetLatestConfigurationResponse#next_poll_configuration_token #next_poll_configuration_token} => String
|
367
385
|
# * {Types::GetLatestConfigurationResponse#next_poll_interval_in_seconds #next_poll_interval_in_seconds} => Integer
|
386
|
+
# * {Types::GetLatestConfigurationResponse#content_type #content_type} => String
|
387
|
+
# * {Types::GetLatestConfigurationResponse#configuration #configuration} => String
|
368
388
|
#
|
369
389
|
# @example Request syntax with placeholder values
|
370
390
|
#
|
@@ -374,10 +394,10 @@ module Aws::AppConfigData
|
|
374
394
|
#
|
375
395
|
# @example Response structure
|
376
396
|
#
|
377
|
-
# resp.configuration #=> String
|
378
|
-
# resp.content_type #=> String
|
379
397
|
# resp.next_poll_configuration_token #=> String
|
380
398
|
# resp.next_poll_interval_in_seconds #=> Integer
|
399
|
+
# resp.content_type #=> String
|
400
|
+
# resp.configuration #=> String
|
381
401
|
#
|
382
402
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appconfigdata-2021-11-11/GetLatestConfiguration AWS API Documentation
|
383
403
|
#
|
@@ -389,22 +409,29 @@ module Aws::AppConfigData
|
|
389
409
|
end
|
390
410
|
|
391
411
|
# Starts a configuration session used to retrieve a deployed
|
392
|
-
# configuration.
|
412
|
+
# configuration. For more information about this API action and to view
|
413
|
+
# example CLI commands that show how to use it with the
|
414
|
+
# GetLatestConfiguration API action, see [Receiving the
|
415
|
+
# configuration][1] in the *AppConfig User Guide*.
|
416
|
+
#
|
417
|
+
#
|
418
|
+
#
|
419
|
+
# [1]: http://docs.aws.amazon.com/appconfig/latest/userguide/appconfig-retrieving-the-configuration
|
393
420
|
#
|
394
421
|
# @option params [required, String] :application_identifier
|
395
422
|
# The application ID or the application name.
|
396
423
|
#
|
397
|
-
# @option params [required, String] :configuration_profile_identifier
|
398
|
-
# The configuration profile ID or the configuration profile name.
|
399
|
-
#
|
400
424
|
# @option params [required, String] :environment_identifier
|
401
425
|
# The environment ID or the environment name.
|
402
426
|
#
|
427
|
+
# @option params [required, String] :configuration_profile_identifier
|
428
|
+
# The configuration profile ID or the configuration profile name.
|
429
|
+
#
|
403
430
|
# @option params [Integer] :required_minimum_poll_interval_in_seconds
|
404
|
-
#
|
405
|
-
#
|
406
|
-
#
|
407
|
-
#
|
431
|
+
# Sets a constraint on a session. If you specify a value of, for
|
432
|
+
# example, 60 seconds, then the client that established the session
|
433
|
+
# can't call GetLatestConfiguration more frequently then every 60
|
434
|
+
# seconds.
|
408
435
|
#
|
409
436
|
# @return [Types::StartConfigurationSessionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
410
437
|
#
|
@@ -414,8 +441,8 @@ module Aws::AppConfigData
|
|
414
441
|
#
|
415
442
|
# resp = client.start_configuration_session({
|
416
443
|
# application_identifier: "Identifier", # required
|
417
|
-
# configuration_profile_identifier: "Identifier", # required
|
418
444
|
# environment_identifier: "Identifier", # required
|
445
|
+
# configuration_profile_identifier: "Identifier", # required
|
419
446
|
# required_minimum_poll_interval_in_seconds: 1,
|
420
447
|
# })
|
421
448
|
#
|
@@ -445,7 +472,7 @@ module Aws::AppConfigData
|
|
445
472
|
params: params,
|
446
473
|
config: config)
|
447
474
|
context[:gem_name] = 'aws-sdk-appconfigdata'
|
448
|
-
context[:gem_version] = '1.
|
475
|
+
context[:gem_version] = '1.4.0'
|
449
476
|
Seahorse::Client::Request.new(handlers, context)
|
450
477
|
end
|
451
478
|
|
@@ -41,18 +41,18 @@ 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: SyntheticGetLatestConfigurationResponseBlob, location_name: "Configuration"))
|
56
56
|
GetLatestConfigurationResponse.struct_class = Types::GetLatestConfigurationResponse
|
57
57
|
GetLatestConfigurationResponse[:payload] = :configuration
|
58
58
|
GetLatestConfigurationResponse[:payload_member] = GetLatestConfigurationResponse.member(:configuration)
|
@@ -67,13 +67,13 @@ module Aws::AppConfigData
|
|
67
67
|
InvalidParameterMap.value = Shapes::ShapeRef.new(shape: InvalidParameterDetail)
|
68
68
|
|
69
69
|
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
70
|
ResourceNotFoundException.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "ResourceType"))
|
71
|
+
ResourceNotFoundException.add_member(:referenced_by, Shapes::ShapeRef.new(shape: StringMap, location_name: "ReferencedBy"))
|
72
72
|
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
73
73
|
|
74
74
|
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
75
|
StartConfigurationSessionRequest.add_member(:environment_identifier, Shapes::ShapeRef.new(shape: Identifier, required: true, location_name: "EnvironmentIdentifier"))
|
76
|
+
StartConfigurationSessionRequest.add_member(:configuration_profile_identifier, Shapes::ShapeRef.new(shape: Identifier, required: true, location_name: "ConfigurationProfileIdentifier"))
|
77
77
|
StartConfigurationSessionRequest.add_member(:required_minimum_poll_interval_in_seconds, Shapes::ShapeRef.new(shape: OptionalPollSeconds, location_name: "RequiredMinimumPollIntervalInSeconds"))
|
78
78
|
StartConfigurationSessionRequest.struct_class = Types::StartConfigurationSessionRequest
|
79
79
|
|
@@ -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
|
|
@@ -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,18 +39,20 @@ 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
56
|
# @note When making an API call, you may pass GetLatestConfigurationRequest
|
58
57
|
# data as a hash:
|
59
58
|
#
|
@@ -64,9 +63,10 @@ module Aws::AppConfigData
|
|
64
63
|
# @!attribute [rw] configuration_token
|
65
64
|
# Token describing the current state of the configuration session. To
|
66
65
|
# 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
|
-
# MUST be provided to subsequent GetLatestConfiguration API
|
66
|
+
# that every call to `GetLatestConfiguration` will return a new
|
67
|
+
# `ConfigurationToken` (`NextPollConfigurationToken` in the response)
|
68
|
+
# and MUST be provided to subsequent `GetLatestConfiguration` API
|
69
|
+
# calls.
|
70
70
|
# @return [String]
|
71
71
|
#
|
72
72
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appconfigdata-2021-11-11/GetLatestConfigurationRequest AWS API Documentation
|
@@ -77,38 +77,36 @@ module Aws::AppConfigData
|
|
77
77
|
include Aws::Structure
|
78
78
|
end
|
79
79
|
|
80
|
-
# Response parameters for the GetLatestConfiguration API
|
81
|
-
#
|
82
|
-
# @!attribute [rw] configuration
|
83
|
-
# The data of the configuration. Note that this may be empty if the
|
84
|
-
# client already has the latest version of configuration.
|
85
|
-
# @return [String]
|
86
|
-
#
|
87
|
-
# @!attribute [rw] content_type
|
88
|
-
# A standard MIME type describing the format of the configuration
|
89
|
-
# content.
|
90
|
-
# @return [String]
|
91
|
-
#
|
92
80
|
# @!attribute [rw] next_poll_configuration_token
|
93
81
|
# The latest token describing the current state of the configuration
|
94
82
|
# session. This MUST be provided to the next call to
|
95
|
-
# GetLatestConfiguration
|
83
|
+
# `GetLatestConfiguration.`
|
96
84
|
# @return [String]
|
97
85
|
#
|
98
86
|
# @!attribute [rw] next_poll_interval_in_seconds
|
99
87
|
# The amount of time the client should wait before polling for
|
100
|
-
# configuration updates again.
|
101
|
-
# RequiredMinimumPollIntervalInSeconds to set the desired poll
|
88
|
+
# configuration updates again. Use
|
89
|
+
# `RequiredMinimumPollIntervalInSeconds` to set the desired poll
|
102
90
|
# interval.
|
103
91
|
# @return [Integer]
|
104
92
|
#
|
93
|
+
# @!attribute [rw] content_type
|
94
|
+
# A standard MIME type describing the format of the configuration
|
95
|
+
# content.
|
96
|
+
# @return [String]
|
97
|
+
#
|
98
|
+
# @!attribute [rw] configuration
|
99
|
+
# The data of the configuration. This may be empty if the client
|
100
|
+
# already has the latest version of configuration.
|
101
|
+
# @return [String]
|
102
|
+
#
|
105
103
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appconfigdata-2021-11-11/GetLatestConfigurationResponse AWS API Documentation
|
106
104
|
#
|
107
105
|
class GetLatestConfigurationResponse < Struct.new(
|
108
|
-
:configuration,
|
109
|
-
:content_type,
|
110
106
|
:next_poll_configuration_token,
|
111
|
-
:next_poll_interval_in_seconds
|
107
|
+
:next_poll_interval_in_seconds,
|
108
|
+
:content_type,
|
109
|
+
:configuration)
|
112
110
|
SENSITIVE = [:configuration]
|
113
111
|
include Aws::Structure
|
114
112
|
end
|
@@ -126,11 +124,10 @@ module Aws::AppConfigData
|
|
126
124
|
include Aws::Structure
|
127
125
|
end
|
128
126
|
|
129
|
-
#
|
127
|
+
# Information about an invalid parameter.
|
130
128
|
#
|
131
129
|
# @!attribute [rw] problem
|
132
|
-
#
|
133
|
-
# constraints specified by the service
|
130
|
+
# The reason the parameter is invalid.
|
134
131
|
# @return [String]
|
135
132
|
#
|
136
133
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appconfigdata-2021-11-11/InvalidParameterDetail AWS API Documentation
|
@@ -146,34 +143,32 @@ module Aws::AppConfigData
|
|
146
143
|
# @!attribute [rw] message
|
147
144
|
# @return [String]
|
148
145
|
#
|
146
|
+
# @!attribute [rw] resource_type
|
147
|
+
# The type of resource that was not found.
|
148
|
+
# @return [String]
|
149
|
+
#
|
149
150
|
# @!attribute [rw] referenced_by
|
150
151
|
# A map indicating which parameters in the request reference the
|
151
152
|
# resource that was not found.
|
152
153
|
# @return [Hash<String,String>]
|
153
154
|
#
|
154
|
-
# @!attribute [rw] resource_type
|
155
|
-
# The type of resource that was not found.
|
156
|
-
# @return [String]
|
157
|
-
#
|
158
155
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appconfigdata-2021-11-11/ResourceNotFoundException AWS API Documentation
|
159
156
|
#
|
160
157
|
class ResourceNotFoundException < Struct.new(
|
161
158
|
:message,
|
162
|
-
:
|
163
|
-
:
|
159
|
+
:resource_type,
|
160
|
+
:referenced_by)
|
164
161
|
SENSITIVE = []
|
165
162
|
include Aws::Structure
|
166
163
|
end
|
167
164
|
|
168
|
-
# Request parameters for the StartConfigurationSession API.
|
169
|
-
#
|
170
165
|
# @note When making an API call, you may pass StartConfigurationSessionRequest
|
171
166
|
# data as a hash:
|
172
167
|
#
|
173
168
|
# {
|
174
169
|
# application_identifier: "Identifier", # required
|
175
|
-
# configuration_profile_identifier: "Identifier", # required
|
176
170
|
# environment_identifier: "Identifier", # required
|
171
|
+
# configuration_profile_identifier: "Identifier", # required
|
177
172
|
# required_minimum_poll_interval_in_seconds: 1,
|
178
173
|
# }
|
179
174
|
#
|
@@ -181,43 +176,41 @@ module Aws::AppConfigData
|
|
181
176
|
# The application ID or the application name.
|
182
177
|
# @return [String]
|
183
178
|
#
|
184
|
-
# @!attribute [rw] configuration_profile_identifier
|
185
|
-
# The configuration profile ID or the configuration profile name.
|
186
|
-
# @return [String]
|
187
|
-
#
|
188
179
|
# @!attribute [rw] environment_identifier
|
189
180
|
# The environment ID or the environment name.
|
190
181
|
# @return [String]
|
191
182
|
#
|
183
|
+
# @!attribute [rw] configuration_profile_identifier
|
184
|
+
# The configuration profile ID or the configuration profile name.
|
185
|
+
# @return [String]
|
186
|
+
#
|
192
187
|
# @!attribute [rw] required_minimum_poll_interval_in_seconds
|
193
|
-
#
|
194
|
-
#
|
195
|
-
#
|
196
|
-
#
|
188
|
+
# Sets a constraint on a session. If you specify a value of, for
|
189
|
+
# example, 60 seconds, then the client that established the session
|
190
|
+
# can't call GetLatestConfiguration more frequently then every 60
|
191
|
+
# seconds.
|
197
192
|
# @return [Integer]
|
198
193
|
#
|
199
194
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appconfigdata-2021-11-11/StartConfigurationSessionRequest AWS API Documentation
|
200
195
|
#
|
201
196
|
class StartConfigurationSessionRequest < Struct.new(
|
202
197
|
:application_identifier,
|
203
|
-
:configuration_profile_identifier,
|
204
198
|
:environment_identifier,
|
199
|
+
:configuration_profile_identifier,
|
205
200
|
:required_minimum_poll_interval_in_seconds)
|
206
201
|
SENSITIVE = []
|
207
202
|
include Aws::Structure
|
208
203
|
end
|
209
204
|
|
210
|
-
# Response parameters for the StartConfigurationSession API.
|
211
|
-
#
|
212
205
|
# @!attribute [rw] initial_configuration_token
|
213
206
|
# Token encapsulating state about the configuration session. Provide
|
214
|
-
# this token to the GetLatestConfiguration API to retrieve
|
207
|
+
# this token to the `GetLatestConfiguration` API to retrieve
|
215
208
|
# configuration data.
|
216
209
|
#
|
217
210
|
# This token should only be used once in your first call to
|
218
|
-
# GetLatestConfiguration
|
219
|
-
#
|
220
|
-
# subsequent call to GetLatestConfiguration
|
211
|
+
# `GetLatestConfiguration`. You MUST use the new token in the
|
212
|
+
# `GetLatestConfiguration` response (`NextPollConfigurationToken`) in
|
213
|
+
# each subsequent call to `GetLatestConfiguration`.
|
221
214
|
# @return [String]
|
222
215
|
#
|
223
216
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appconfigdata-2021-11-11/StartConfigurationSessionResponse AWS API Documentation
|
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.4.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: 2022-02-03 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.126.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.126.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|