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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6f47cfa053ccd90ff7cbdaba2ee754d46ee56c3235b37b47c346d0a914df5080
4
- data.tar.gz: 2b0e15877c2f8cdb6597d7ebd6fead31c0e30553bd416c4325a7a9abbac32bec
3
+ metadata.gz: fb6b72298b6f3fb66fc5f54c2b42ebccf6bfd46889b5a02fa810891ba02213a9
4
+ data.tar.gz: e32d9802bef1fed2fbc1bfc6a950c4811bee0f1a402ecc0d91ae1c5dd112f958
5
5
  SHA512:
6
- metadata.gz: a62c7c34f2de0252a0ec4392a5068f31c9a5fdcefad82e8ec1815db5021b0b78de7259fe0f452b8313dff0a34eae9386b2fca9ff2c3bc80b477adcfc34ac2f1d
7
- data.tar.gz: d7c654a36245a81cd453b9ef68062872fada3c7e53980cc8ddabb3d20f49099865fa3af9dc365bb16b640bca8eb37274abc49ddbaad976025a701dd53b5c632e
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.20.0
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 [Integer] :http_read_timeout (60) The default
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 that the configuration profile contains. A
469
- # configuration can be a feature flag used for enabling or disabling new
470
- # features or a free-form configuration used for distributing
471
- # configurations to your application.
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 information about a configuration.
1111
+ # Retrieves the latest deployed configuration.
1112
+ #
1113
+ # Note the following important information.
1093
1114
  #
1094
- # AppConfig uses the value of the `ClientConfigurationVersion` parameter
1095
- # to identify the configuration version on your clients. If you don’t
1096
- # send `ClientConfigurationVersion` with each call to
1097
- # `GetConfiguration`, your clients receive the current configuration.
1098
- # You are charged each time your clients receive a configuration.
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
- # To avoid excess charges, we recommend that you include the
1101
- # `ClientConfigurationVersion` value with every call to
1102
- # `GetConfiguration`. This value must be saved on your client.
1103
- # Subsequent calls to `GetConfiguration` must pass this value by using
1104
- # the `ClientConfigurationVersion` parameter.
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 free-form
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 to return for this call. The call also
1848
- # returns a token that you can specify in a subsequent call to get the
1849
- # next set of results.
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
- # A token to start the list. Use this token to get the next set of
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.20.0'
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 an AWS service.
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 an AWS service.
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
- # Compare the configuration version numbers of the configuration
102
- # cached locally on your machine and the configuration number in the
103
- # the header. If the configuration numbers are the same, the content
104
- # can be ignored. The `Content` section only appears if the system
105
- # finds new or updated configuration data. If the system doesn't find
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 that the configuration profile contains.
164
- # A configuration can be a feature flag used for enabling or disabling
165
- # new features or a free-form configuration used for distributing
166
- # configurations to your application.
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 that the configuration profile contains.
208
- # A configuration can be a feature flag used for enabling or disabling
209
- # new features or a free-form configuration used to introduce changes
210
- # to your application.
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 that the configuration profile contains.
361
- # A configuration can be a feature flag used for enabling or disabling
362
- # new features or a free-form configuration used for distributing
363
- # configurations to your application.
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
- # free-form configuration.
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 to return for this call. The call also
1544
- # returns a token that you can specify in a subsequent call to get the
1545
- # next set of results.
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
- # A token to start the list. Use this token to get the next set of
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
- # a Lambda function that runs against the configuration. The
2148
- # configuration deployment or update can only proceed when the
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:
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-appconfig/customizations'
48
48
  # @!group service
49
49
  module Aws::AppConfig
50
50
 
51
- GEM_VERSION = '1.20.0'
51
+ GEM_VERSION = '1.24.0'
52
52
 
53
53
  end
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.20.0
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: 2021-11-18 00:00:00.000000000 Z
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.122.0
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.122.0
32
+ version: 3.126.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement