aws-sdk-appconfig 1.22.0 → 1.25.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: abe8d91c665d14f11f4b9ab02ef33deff92a89962582ad902b8d3f01b87142c1
4
- data.tar.gz: 7c4a48c0d91c3b7a6d2703d0b7210a04c2d1924b8905eaf21de73797a915b66d
3
+ metadata.gz: 2ad629ed265347648069affed4ed43a9e44ce9aabc9c9235054fcfaf759c738c
4
+ data.tar.gz: 29303844004138ef2b3905025e7b20aa27ac2417eb2dcbbcba4f6944db07de16
5
5
  SHA512:
6
- metadata.gz: 2eea05c4e9df205e399075d68438d96a285ba0503efc7bd549cfaf792a2e0fc9868e5548e9d1234c3ddf0bc1599b462b4e1bfe7996db0116a90a7bdb63929a7d
7
- data.tar.gz: a9067eecd6331d5cdd41005e0c70f5b4325b59be9be1aee983bcf78889655dc1893822b84f3fa005e186f7fe6c712bfddccba6dcc97255a65ef5739d7fcbcea2
6
+ metadata.gz: 9016fc2e82c92aed6484b16b21d6b44ae48deefca4fac563370485ccf1de7aaa033e243a1304b7223038a188558f7be3d86472e6fbadf1cfd01ce2b9c7130fd8
7
+ data.tar.gz: 9d2fb978aa461cfaf4f84e22487f3d7ec8a5cc11932ae70dfd47292ff5213aa48c76f8ad6954d115e5fba79ced4ab463a315ad9b64fd812820cdb8edcb2bef3e
data/CHANGELOG.md CHANGED
@@ -1,6 +1,21 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.25.0 (2022-02-24)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.24.0 (2022-02-03)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
14
+ 1.23.0 (2022-01-28)
15
+ ------------------
16
+
17
+ * Feature - Documentation updates for AWS AppConfig
18
+
4
19
  1.22.0 (2021-12-21)
5
20
  ------------------
6
21
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.22.0
1
+ 1.25.0
@@ -27,7 +27,9 @@ 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/checksum_algorithm.rb'
30
31
  require 'aws-sdk-core/plugins/defaults_mode.rb'
32
+ require 'aws-sdk-core/plugins/recursion_detection.rb'
31
33
  require 'aws-sdk-core/plugins/signature_v4.rb'
32
34
  require 'aws-sdk-core/plugins/protocols/rest_json.rb'
33
35
 
@@ -74,7 +76,9 @@ module Aws::AppConfig
74
76
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
75
77
  add_plugin(Aws::Plugins::TransferEncoding)
76
78
  add_plugin(Aws::Plugins::HttpChecksum)
79
+ add_plugin(Aws::Plugins::ChecksumAlgorithm)
77
80
  add_plugin(Aws::Plugins::DefaultsMode)
81
+ add_plugin(Aws::Plugins::RecursionDetection)
78
82
  add_plugin(Aws::Plugins::SignatureV4)
79
83
  add_plugin(Aws::Plugins::Protocols::RestJson)
80
84
 
@@ -427,7 +431,7 @@ module Aws::AppConfig
427
431
  # to the configuration data.
428
432
  #
429
433
  # * A validator for the configuration data. Available validators include
430
- # either a JSON Schema or an Lambda function.
434
+ # either a JSON Schema or an Amazon Web Services Lambda function.
431
435
  #
432
436
  # For more information, see [Create a Configuration and a Configuration
433
437
  # Profile][2] in the *AppConfig User Guide*.
@@ -476,10 +480,16 @@ module Aws::AppConfig
476
480
  # and an optional value, both of which you define.
477
481
  #
478
482
  # @option params [String] :type
479
- # The type of configurations that the configuration profile contains. A
480
- # configuration can be a feature flag used for enabling or disabling new
481
- # features or a free-form configuration used for distributing
482
- # configurations to your application.
483
+ # The type of configurations contained in the profile. AppConfig
484
+ # supports `feature flags` and `freeform` configurations. We recommend
485
+ # you create feature flag configurations to enable or disable new
486
+ # features and freeform configurations to distribute configurations to
487
+ # an application. When calling this API, enter one of the following
488
+ # values for `Type`\:
489
+ #
490
+ # `AWS.AppConfig.FeatureFlags`
491
+ #
492
+ # `AWS.Freeform`
483
493
  #
484
494
  # @return [Types::ConfigurationProfile] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
485
495
  #
@@ -1100,19 +1110,41 @@ module Aws::AppConfig
1100
1110
  req.send_request(options)
1101
1111
  end
1102
1112
 
1103
- # Retrieves information about a configuration.
1113
+ # Retrieves the latest deployed configuration.
1114
+ #
1115
+ # Note the following important information.
1116
+ #
1117
+ # * This API action has been deprecated. Calls to receive configuration
1118
+ # data should use the [StartConfigurationSession][1] and
1119
+ # [GetLatestConfiguration][2] APIs instead.
1120
+ #
1121
+ # * `GetConfiguration` is a priced call. For more information, see
1122
+ # [Pricing][3].
1123
+ #
1124
+ # * AppConfig uses the value of the `ClientConfigurationVersion`
1125
+ # parameter to identify the configuration version on your clients. If
1126
+ # you don’t send `ClientConfigurationVersion` with each call to
1127
+ # `GetConfiguration`, your clients receive the current configuration.
1128
+ # You are charged each time your clients receive a configuration.
1104
1129
  #
1105
- # AppConfig uses the value of the `ClientConfigurationVersion` parameter
1106
- # to identify the configuration version on your clients. If you don’t
1107
- # send `ClientConfigurationVersion` with each call to
1108
- # `GetConfiguration`, your clients receive the current configuration.
1109
- # You are charged each time your clients receive a configuration.
1130
+ # To avoid excess charges, we recommend you use the
1131
+ # [StartConfigurationSession][4] and [GetLatestConfiguration][5] APIs,
1132
+ # which track the client configuration version on your behalf. If you
1133
+ # choose to continue using `GetConfiguration`, we recommend that you
1134
+ # include the `ClientConfigurationVersion` value with every call to
1135
+ # `GetConfiguration`. The value to use for
1136
+ # `ClientConfigurationVersion` comes from the `ConfigurationVersion`
1137
+ # attribute returned by `GetConfiguration` when there is new or
1138
+ # updated data, and should be saved for subsequent calls to
1139
+ # `GetConfiguration`.
1110
1140
  #
1111
- # To avoid excess charges, we recommend that you include the
1112
- # `ClientConfigurationVersion` value with every call to
1113
- # `GetConfiguration`. This value must be saved on your client.
1114
- # Subsequent calls to `GetConfiguration` must pass this value by using
1115
- # the `ClientConfigurationVersion` parameter.
1141
+ #
1142
+ #
1143
+ # [1]: https://docs.aws.amazon.com/appconfig/2019-10-09/APIReference/API_appconfigdata_StartConfigurationSession.html
1144
+ # [2]: https://docs.aws.amazon.com/appconfig/2019-10-09/APIReference/API_appconfigdata_GetLatestConfiguration.html
1145
+ # [3]: https://aws.amazon.com/systems-manager/pricing/
1146
+ # [4]: https://docs.aws.amazon.com/appconfig/2019-10-09/APIReference/StartConfigurationSession.html
1147
+ # [5]: https://docs.aws.amazon.com/appconfig/2019-10-09/APIReference/GetLatestConfiguration.html
1116
1148
  #
1117
1149
  # @option params [required, String] :application
1118
1150
  # The application to get. Specify either the application name or the
@@ -1714,7 +1746,7 @@ module Aws::AppConfig
1714
1746
  #
1715
1747
  # @option params [String] :type
1716
1748
  # A filter based on the type of configurations that the configuration
1717
- # profile contains. A configuration can be a feature flag or a free-form
1749
+ # profile contains. A configuration can be a feature flag or a freeform
1718
1750
  # configuration.
1719
1751
  #
1720
1752
  # @return [Types::ConfigurationProfiles] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
@@ -1846,7 +1878,8 @@ module Aws::AppConfig
1846
1878
  req.send_request(options)
1847
1879
  end
1848
1880
 
1849
- # Lists the deployments for an environment.
1881
+ # Lists the deployments for an environment in descending deployment
1882
+ # number order.
1850
1883
  #
1851
1884
  # @option params [required, String] :application_id
1852
1885
  # The application ID.
@@ -1855,13 +1888,15 @@ module Aws::AppConfig
1855
1888
  # The environment ID.
1856
1889
  #
1857
1890
  # @option params [Integer] :max_results
1858
- # The maximum number of items to return for this call. The call also
1859
- # returns a token that you can specify in a subsequent call to get the
1860
- # next set of results.
1891
+ # The maximum number of items that may be returned for this call. If
1892
+ # there are items that have not yet been returned, the response will
1893
+ # include a non-null `NextToken` that you can provide in a subsequent
1894
+ # call to get the next set of results.
1861
1895
  #
1862
1896
  # @option params [String] :next_token
1863
- # A token to start the list. Use this token to get the next set of
1864
- # results.
1897
+ # The token returned by a prior call to this operation indicating the
1898
+ # next set of results to be returned. If not specified, the operation
1899
+ # will return the first set of results.
1865
1900
  #
1866
1901
  # @return [Types::Deployments] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1867
1902
  #
@@ -2843,7 +2878,7 @@ module Aws::AppConfig
2843
2878
  params: params,
2844
2879
  config: config)
2845
2880
  context[:gem_name] = 'aws-sdk-appconfig'
2846
- context[:gem_version] = '1.22.0'
2881
+ context[:gem_version] = '1.25.0'
2847
2882
  Seahorse::Client::Request.new(handlers, context)
2848
2883
  end
2849
2884
 
@@ -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.22.0'
51
+ GEM_VERSION = '1.25.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.22.0
4
+ version: 1.25.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-12-21 00:00:00.000000000 Z
11
+ date: 2022-02-24 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.125.0
22
+ version: 3.127.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.125.0
32
+ version: 3.127.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement