aws-sdk-appconfig 1.20.0 → 1.24.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-appconfig/client.rb +70 -26
- data/lib/aws-sdk-appconfig/client_api.rb +1 -0
- data/lib/aws-sdk-appconfig/types.rb +48 -30
- data/lib/aws-sdk-appconfig.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: fb6b72298b6f3fb66fc5f54c2b42ebccf6bfd46889b5a02fa810891ba02213a9
|
4
|
+
data.tar.gz: e32d9802bef1fed2fbc1bfc6a950c4811bee0f1a402ecc0d91ae1c5dd112f958
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e93816e36f851546b84de59c5cb5945ad099a23a245a3a8abae713a83b2af9662b17a606ae2ce578afbb446ef443bc7516dc51b8e2bebc905bff60720b119ca8
|
7
|
+
data.tar.gz: c57542339c0daf1b2a472e3643fd03b05d5c74fa46a440ec4aadc35368ddb789e33db35e5f32594167fa37412d44bec8643fdf2b64c9fa2f5718470adc946756
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.24.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.23.0 (2022-01-28)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Documentation updates for AWS AppConfig
|
13
|
+
|
14
|
+
1.22.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.21.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.20.0 (2021-11-18)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.24.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::AppConfig
|
|
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::AppConfig
|
|
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::AppConfig
|
|
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::AppConfig
|
|
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::AppConfig
|
|
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
|
#
|
@@ -416,7 +429,7 @@ module Aws::AppConfig
|
|
416
429
|
# to the configuration data.
|
417
430
|
#
|
418
431
|
# * A validator for the configuration data. Available validators include
|
419
|
-
# either a JSON Schema or an Lambda function.
|
432
|
+
# either a JSON Schema or an Amazon Web Services Lambda function.
|
420
433
|
#
|
421
434
|
# For more information, see [Create a Configuration and a Configuration
|
422
435
|
# Profile][2] in the *AppConfig User Guide*.
|
@@ -465,10 +478,16 @@ module Aws::AppConfig
|
|
465
478
|
# and an optional value, both of which you define.
|
466
479
|
#
|
467
480
|
# @option params [String] :type
|
468
|
-
# The type of configurations
|
469
|
-
#
|
470
|
-
#
|
471
|
-
# configurations to
|
481
|
+
# The type of configurations contained in the profile. AppConfig
|
482
|
+
# supports `feature flags` and `freeform` configurations. We recommend
|
483
|
+
# you create feature flag configurations to enable or disable new
|
484
|
+
# features and freeform configurations to distribute configurations to
|
485
|
+
# an application. When calling this API, enter one of the following
|
486
|
+
# values for `Type`\:
|
487
|
+
#
|
488
|
+
# `AWS.AppConfig.FeatureFlags`
|
489
|
+
#
|
490
|
+
# `AWS.Freeform`
|
472
491
|
#
|
473
492
|
# @return [Types::ConfigurationProfile] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
474
493
|
#
|
@@ -1089,19 +1108,41 @@ module Aws::AppConfig
|
|
1089
1108
|
req.send_request(options)
|
1090
1109
|
end
|
1091
1110
|
|
1092
|
-
# Retrieves
|
1111
|
+
# Retrieves the latest deployed configuration.
|
1112
|
+
#
|
1113
|
+
# Note the following important information.
|
1093
1114
|
#
|
1094
|
-
#
|
1095
|
-
#
|
1096
|
-
#
|
1097
|
-
#
|
1098
|
-
#
|
1115
|
+
# * This API action has been deprecated. Calls to receive configuration
|
1116
|
+
# data should use the [StartConfigurationSession][1] and
|
1117
|
+
# [GetLatestConfiguration][2] APIs instead.
|
1118
|
+
#
|
1119
|
+
# * `GetConfiguration` is a priced call. For more information, see
|
1120
|
+
# [Pricing][3].
|
1121
|
+
#
|
1122
|
+
# * AppConfig uses the value of the `ClientConfigurationVersion`
|
1123
|
+
# parameter to identify the configuration version on your clients. If
|
1124
|
+
# you don’t send `ClientConfigurationVersion` with each call to
|
1125
|
+
# `GetConfiguration`, your clients receive the current configuration.
|
1126
|
+
# You are charged each time your clients receive a configuration.
|
1099
1127
|
#
|
1100
|
-
#
|
1101
|
-
#
|
1102
|
-
#
|
1103
|
-
#
|
1104
|
-
# the `ClientConfigurationVersion`
|
1128
|
+
# To avoid excess charges, we recommend you use the
|
1129
|
+
# [StartConfigurationSession][4] and [GetLatestConfiguration][5] APIs,
|
1130
|
+
# which track the client configuration version on your behalf. If you
|
1131
|
+
# choose to continue using `GetConfiguration`, we recommend that you
|
1132
|
+
# include the `ClientConfigurationVersion` value with every call to
|
1133
|
+
# `GetConfiguration`. The value to use for
|
1134
|
+
# `ClientConfigurationVersion` comes from the `ConfigurationVersion`
|
1135
|
+
# attribute returned by `GetConfiguration` when there is new or
|
1136
|
+
# updated data, and should be saved for subsequent calls to
|
1137
|
+
# `GetConfiguration`.
|
1138
|
+
#
|
1139
|
+
#
|
1140
|
+
#
|
1141
|
+
# [1]: https://docs.aws.amazon.com/appconfig/2019-10-09/APIReference/API_appconfigdata_StartConfigurationSession.html
|
1142
|
+
# [2]: https://docs.aws.amazon.com/appconfig/2019-10-09/APIReference/API_appconfigdata_GetLatestConfiguration.html
|
1143
|
+
# [3]: https://aws.amazon.com/systems-manager/pricing/
|
1144
|
+
# [4]: https://docs.aws.amazon.com/appconfig/2019-10-09/APIReference/StartConfigurationSession.html
|
1145
|
+
# [5]: https://docs.aws.amazon.com/appconfig/2019-10-09/APIReference/GetLatestConfiguration.html
|
1105
1146
|
#
|
1106
1147
|
# @option params [required, String] :application
|
1107
1148
|
# The application to get. Specify either the application name or the
|
@@ -1703,7 +1744,7 @@ module Aws::AppConfig
|
|
1703
1744
|
#
|
1704
1745
|
# @option params [String] :type
|
1705
1746
|
# A filter based on the type of configurations that the configuration
|
1706
|
-
# profile contains. A configuration can be a feature flag or a
|
1747
|
+
# profile contains. A configuration can be a feature flag or a freeform
|
1707
1748
|
# configuration.
|
1708
1749
|
#
|
1709
1750
|
# @return [Types::ConfigurationProfiles] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -1835,7 +1876,8 @@ module Aws::AppConfig
|
|
1835
1876
|
req.send_request(options)
|
1836
1877
|
end
|
1837
1878
|
|
1838
|
-
# Lists the deployments for an environment
|
1879
|
+
# Lists the deployments for an environment in descending deployment
|
1880
|
+
# number order.
|
1839
1881
|
#
|
1840
1882
|
# @option params [required, String] :application_id
|
1841
1883
|
# The application ID.
|
@@ -1844,13 +1886,15 @@ module Aws::AppConfig
|
|
1844
1886
|
# The environment ID.
|
1845
1887
|
#
|
1846
1888
|
# @option params [Integer] :max_results
|
1847
|
-
# The maximum number of items
|
1848
|
-
#
|
1849
|
-
#
|
1889
|
+
# The maximum number of items that may be returned for this call. If
|
1890
|
+
# there are items that have not yet been returned, the response will
|
1891
|
+
# include a non-null `NextToken` that you can provide in a subsequent
|
1892
|
+
# call to get the next set of results.
|
1850
1893
|
#
|
1851
1894
|
# @option params [String] :next_token
|
1852
|
-
#
|
1853
|
-
# results.
|
1895
|
+
# The token returned by a prior call to this operation indicating the
|
1896
|
+
# next set of results to be returned. If not specified, the operation
|
1897
|
+
# will return the first set of results.
|
1854
1898
|
#
|
1855
1899
|
# @return [Types::Deployments] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1856
1900
|
#
|
@@ -2832,7 +2876,7 @@ module Aws::AppConfig
|
|
2832
2876
|
params: params,
|
2833
2877
|
config: config)
|
2834
2878
|
context[:gem_name] = 'aws-sdk-appconfig'
|
2835
|
-
context[:gem_version] = '1.
|
2879
|
+
context[:gem_version] = '1.24.0'
|
2836
2880
|
Seahorse::Client::Request.new(handlers, context)
|
2837
2881
|
end
|
2838
2882
|
|
@@ -652,6 +652,7 @@ module Aws::AppConfig
|
|
652
652
|
o.name = "GetConfiguration"
|
653
653
|
o.http_method = "GET"
|
654
654
|
o.http_request_uri = "/applications/{Application}/environments/{Environment}/configurations/{Configuration}"
|
655
|
+
o.deprecated = true
|
655
656
|
o.input = Shapes::ShapeRef.new(shape: GetConfigurationRequest)
|
656
657
|
o.output = Shapes::ShapeRef.new(shape: Configuration)
|
657
658
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
@@ -51,7 +51,7 @@ module Aws::AppConfig
|
|
51
51
|
end
|
52
52
|
|
53
53
|
# Detailed information about the input that failed to satisfy the
|
54
|
-
# constraints specified by
|
54
|
+
# constraints specified by a call.
|
55
55
|
#
|
56
56
|
# @!attribute [rw] invalid_configuration
|
57
57
|
# Detailed information about the bad request exception error when
|
@@ -82,7 +82,7 @@ module Aws::AppConfig
|
|
82
82
|
#
|
83
83
|
# @!attribute [rw] details
|
84
84
|
# Detailed information about the input that failed to satisfy the
|
85
|
-
# constraints specified by
|
85
|
+
# constraints specified by a call.
|
86
86
|
# @return [Types::BadRequestDetails]
|
87
87
|
#
|
88
88
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/BadRequestException AWS API Documentation
|
@@ -98,13 +98,11 @@ module Aws::AppConfig
|
|
98
98
|
# @!attribute [rw] content
|
99
99
|
# The content of the configuration or the configuration data.
|
100
100
|
#
|
101
|
-
#
|
102
|
-
#
|
103
|
-
#
|
104
|
-
#
|
105
|
-
#
|
106
|
-
# new or updated configuration data, then the `Content` section is not
|
107
|
-
# returned.
|
101
|
+
# The `Content` attribute only contains data if the system finds new
|
102
|
+
# or updated configuration data. If there is no new or updated data
|
103
|
+
# and `ClientConfigurationVersion` matches the version of the current
|
104
|
+
# configuration, AppConfig returns a `204 No Content` HTTP response
|
105
|
+
# code and the `Content` value will be empty.
|
108
106
|
# @return [String]
|
109
107
|
#
|
110
108
|
# @!attribute [rw] configuration_version
|
@@ -160,10 +158,16 @@ module Aws::AppConfig
|
|
160
158
|
# @return [Array<Types::Validator>]
|
161
159
|
#
|
162
160
|
# @!attribute [rw] type
|
163
|
-
# The type of configurations
|
164
|
-
#
|
165
|
-
#
|
166
|
-
# configurations to
|
161
|
+
# The type of configurations contained in the profile. AppConfig
|
162
|
+
# supports `feature flags` and `freeform` configurations. We recommend
|
163
|
+
# you create feature flag configurations to enable or disable new
|
164
|
+
# features and freeform configurations to distribute configurations to
|
165
|
+
# an application. When calling this API, enter one of the following
|
166
|
+
# values for `Type`\:
|
167
|
+
#
|
168
|
+
# `AWS.AppConfig.FeatureFlags`
|
169
|
+
#
|
170
|
+
# `AWS.Freeform`
|
167
171
|
# @return [String]
|
168
172
|
#
|
169
173
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ConfigurationProfile AWS API Documentation
|
@@ -204,10 +208,16 @@ module Aws::AppConfig
|
|
204
208
|
# @return [Array<String>]
|
205
209
|
#
|
206
210
|
# @!attribute [rw] type
|
207
|
-
# The type of configurations
|
208
|
-
#
|
209
|
-
#
|
210
|
-
# to
|
211
|
+
# The type of configurations contained in the profile. AppConfig
|
212
|
+
# supports `feature flags` and `freeform` configurations. We recommend
|
213
|
+
# you create feature flag configurations to enable or disable new
|
214
|
+
# features and freeform configurations to distribute configurations to
|
215
|
+
# an application. When calling this API, enter one of the following
|
216
|
+
# values for `Type`\:
|
217
|
+
#
|
218
|
+
# `AWS.AppConfig.FeatureFlags`
|
219
|
+
#
|
220
|
+
# `AWS.Freeform`
|
211
221
|
# @return [String]
|
212
222
|
#
|
213
223
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ConfigurationProfileSummary AWS API Documentation
|
@@ -357,10 +367,16 @@ module Aws::AppConfig
|
|
357
367
|
# @return [Hash<String,String>]
|
358
368
|
#
|
359
369
|
# @!attribute [rw] type
|
360
|
-
# The type of configurations
|
361
|
-
#
|
362
|
-
#
|
363
|
-
# configurations to
|
370
|
+
# The type of configurations contained in the profile. AppConfig
|
371
|
+
# supports `feature flags` and `freeform` configurations. We recommend
|
372
|
+
# you create feature flag configurations to enable or disable new
|
373
|
+
# features and freeform configurations to distribute configurations to
|
374
|
+
# an application. When calling this API, enter one of the following
|
375
|
+
# values for `Type`\:
|
376
|
+
#
|
377
|
+
# `AWS.AppConfig.FeatureFlags`
|
378
|
+
#
|
379
|
+
# `AWS.Freeform`
|
364
380
|
# @return [String]
|
365
381
|
#
|
366
382
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateConfigurationProfileRequest AWS API Documentation
|
@@ -1479,7 +1495,7 @@ module Aws::AppConfig
|
|
1479
1495
|
# @!attribute [rw] type
|
1480
1496
|
# A filter based on the type of configurations that the configuration
|
1481
1497
|
# profile contains. A configuration can be a feature flag or a
|
1482
|
-
#
|
1498
|
+
# freeform configuration.
|
1483
1499
|
# @return [String]
|
1484
1500
|
#
|
1485
1501
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListConfigurationProfilesRequest AWS API Documentation
|
@@ -1540,14 +1556,16 @@ module Aws::AppConfig
|
|
1540
1556
|
# @return [String]
|
1541
1557
|
#
|
1542
1558
|
# @!attribute [rw] max_results
|
1543
|
-
# The maximum number of items
|
1544
|
-
#
|
1545
|
-
#
|
1559
|
+
# The maximum number of items that may be returned for this call. If
|
1560
|
+
# there are items that have not yet been returned, the response will
|
1561
|
+
# include a non-null `NextToken` that you can provide in a subsequent
|
1562
|
+
# call to get the next set of results.
|
1546
1563
|
# @return [Integer]
|
1547
1564
|
#
|
1548
1565
|
# @!attribute [rw] next_token
|
1549
|
-
#
|
1550
|
-
# results.
|
1566
|
+
# The token returned by a prior call to this operation indicating the
|
1567
|
+
# next set of results to be returned. If not specified, the operation
|
1568
|
+
# will return the first set of results.
|
1551
1569
|
# @return [String]
|
1552
1570
|
#
|
1553
1571
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListDeploymentsRequest AWS API Documentation
|
@@ -2144,9 +2162,9 @@ module Aws::AppConfig
|
|
2144
2162
|
# A validator provides a syntactic or semantic check to ensure the
|
2145
2163
|
# configuration that you want to deploy functions as intended. To
|
2146
2164
|
# validate your application configuration data, you provide a schema or
|
2147
|
-
#
|
2148
|
-
# configuration deployment or update can only proceed
|
2149
|
-
# configuration data is valid.
|
2165
|
+
# an Amazon Web Services Lambda function that runs against the
|
2166
|
+
# configuration. The configuration deployment or update can only proceed
|
2167
|
+
# when the configuration data is valid.
|
2150
2168
|
#
|
2151
2169
|
# @note When making an API call, you may pass Validator
|
2152
2170
|
# data as a hash:
|
data/lib/aws-sdk-appconfig.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-appconfig
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.24.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
|