aws-sdk-appconfig 1.22.0 → 1.23.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-appconfig/client.rb +55 -24
- 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 +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1dee19817e5dab21731850195fe08881cc91691e6ffe5000f91ad9a8de21fe65
|
4
|
+
data.tar.gz: e650e8b7c0c44d076bca1379dd1ba98219b037100b0d089224f00888fcec3796
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 265bc5eb24bb551f5598cda7fc9f953610fc5682418b242ddd0513d9c3f929ed43ddb941fc4b3c1e6fc89502bb16296c43b3298aef5a65eadcd7fea69131a835
|
7
|
+
data.tar.gz: 65df196a2cccd56a90e325081b899e6e9a426f96bd9e7070d4c4f597071b71d78f09418c5419879692bbae315971903358ae8ee67ec1571847eabe51f2684475
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.23.0
|
@@ -427,7 +427,7 @@ module Aws::AppConfig
|
|
427
427
|
# to the configuration data.
|
428
428
|
#
|
429
429
|
# * A validator for the configuration data. Available validators include
|
430
|
-
# either a JSON Schema or an Lambda function.
|
430
|
+
# either a JSON Schema or an Amazon Web Services Lambda function.
|
431
431
|
#
|
432
432
|
# For more information, see [Create a Configuration and a Configuration
|
433
433
|
# Profile][2] in the *AppConfig User Guide*.
|
@@ -476,10 +476,16 @@ module Aws::AppConfig
|
|
476
476
|
# and an optional value, both of which you define.
|
477
477
|
#
|
478
478
|
# @option params [String] :type
|
479
|
-
# The type of configurations
|
480
|
-
#
|
481
|
-
#
|
482
|
-
# configurations to
|
479
|
+
# The type of configurations contained in the profile. AppConfig
|
480
|
+
# supports `feature flags` and `freeform` configurations. We recommend
|
481
|
+
# you create feature flag configurations to enable or disable new
|
482
|
+
# features and freeform configurations to distribute configurations to
|
483
|
+
# an application. When calling this API, enter one of the following
|
484
|
+
# values for `Type`\:
|
485
|
+
#
|
486
|
+
# `AWS.AppConfig.FeatureFlags`
|
487
|
+
#
|
488
|
+
# `AWS.Freeform`
|
483
489
|
#
|
484
490
|
# @return [Types::ConfigurationProfile] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
485
491
|
#
|
@@ -1100,19 +1106,41 @@ module Aws::AppConfig
|
|
1100
1106
|
req.send_request(options)
|
1101
1107
|
end
|
1102
1108
|
|
1103
|
-
# Retrieves
|
1109
|
+
# Retrieves the latest deployed configuration.
|
1110
|
+
#
|
1111
|
+
# Note the following important information.
|
1112
|
+
#
|
1113
|
+
# * This API action has been deprecated. Calls to receive configuration
|
1114
|
+
# data should use the [StartConfigurationSession][1] and
|
1115
|
+
# [GetLatestConfiguration][2] APIs instead.
|
1116
|
+
#
|
1117
|
+
# * `GetConfiguration` is a priced call. For more information, see
|
1118
|
+
# [Pricing][3].
|
1119
|
+
#
|
1120
|
+
# * AppConfig uses the value of the `ClientConfigurationVersion`
|
1121
|
+
# parameter to identify the configuration version on your clients. If
|
1122
|
+
# you don’t send `ClientConfigurationVersion` with each call to
|
1123
|
+
# `GetConfiguration`, your clients receive the current configuration.
|
1124
|
+
# You are charged each time your clients receive a configuration.
|
1104
1125
|
#
|
1105
|
-
#
|
1106
|
-
#
|
1107
|
-
#
|
1108
|
-
# `GetConfiguration`,
|
1109
|
-
#
|
1126
|
+
# To avoid excess charges, we recommend you use the
|
1127
|
+
# [StartConfigurationSession][4] and [GetLatestConfiguration][5] APIs,
|
1128
|
+
# which track the client configuration version on your behalf. If you
|
1129
|
+
# choose to continue using `GetConfiguration`, we recommend that you
|
1130
|
+
# include the `ClientConfigurationVersion` value with every call to
|
1131
|
+
# `GetConfiguration`. The value to use for
|
1132
|
+
# `ClientConfigurationVersion` comes from the `ConfigurationVersion`
|
1133
|
+
# attribute returned by `GetConfiguration` when there is new or
|
1134
|
+
# updated data, and should be saved for subsequent calls to
|
1135
|
+
# `GetConfiguration`.
|
1110
1136
|
#
|
1111
|
-
#
|
1112
|
-
#
|
1113
|
-
#
|
1114
|
-
#
|
1115
|
-
#
|
1137
|
+
#
|
1138
|
+
#
|
1139
|
+
# [1]: https://docs.aws.amazon.com/appconfig/2019-10-09/APIReference/API_appconfigdata_StartConfigurationSession.html
|
1140
|
+
# [2]: https://docs.aws.amazon.com/appconfig/2019-10-09/APIReference/API_appconfigdata_GetLatestConfiguration.html
|
1141
|
+
# [3]: https://aws.amazon.com/systems-manager/pricing/
|
1142
|
+
# [4]: https://docs.aws.amazon.com/appconfig/2019-10-09/APIReference/StartConfigurationSession.html
|
1143
|
+
# [5]: https://docs.aws.amazon.com/appconfig/2019-10-09/APIReference/GetLatestConfiguration.html
|
1116
1144
|
#
|
1117
1145
|
# @option params [required, String] :application
|
1118
1146
|
# The application to get. Specify either the application name or the
|
@@ -1714,7 +1742,7 @@ module Aws::AppConfig
|
|
1714
1742
|
#
|
1715
1743
|
# @option params [String] :type
|
1716
1744
|
# A filter based on the type of configurations that the configuration
|
1717
|
-
# profile contains. A configuration can be a feature flag or a
|
1745
|
+
# profile contains. A configuration can be a feature flag or a freeform
|
1718
1746
|
# configuration.
|
1719
1747
|
#
|
1720
1748
|
# @return [Types::ConfigurationProfiles] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -1846,7 +1874,8 @@ module Aws::AppConfig
|
|
1846
1874
|
req.send_request(options)
|
1847
1875
|
end
|
1848
1876
|
|
1849
|
-
# Lists the deployments for an environment
|
1877
|
+
# Lists the deployments for an environment in descending deployment
|
1878
|
+
# number order.
|
1850
1879
|
#
|
1851
1880
|
# @option params [required, String] :application_id
|
1852
1881
|
# The application ID.
|
@@ -1855,13 +1884,15 @@ module Aws::AppConfig
|
|
1855
1884
|
# The environment ID.
|
1856
1885
|
#
|
1857
1886
|
# @option params [Integer] :max_results
|
1858
|
-
# The maximum number of items
|
1859
|
-
#
|
1860
|
-
#
|
1887
|
+
# The maximum number of items that may be returned for this call. If
|
1888
|
+
# there are items that have not yet been returned, the response will
|
1889
|
+
# include a non-null `NextToken` that you can provide in a subsequent
|
1890
|
+
# call to get the next set of results.
|
1861
1891
|
#
|
1862
1892
|
# @option params [String] :next_token
|
1863
|
-
#
|
1864
|
-
# results.
|
1893
|
+
# The token returned by a prior call to this operation indicating the
|
1894
|
+
# next set of results to be returned. If not specified, the operation
|
1895
|
+
# will return the first set of results.
|
1865
1896
|
#
|
1866
1897
|
# @return [Types::Deployments] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1867
1898
|
#
|
@@ -2843,7 +2874,7 @@ module Aws::AppConfig
|
|
2843
2874
|
params: params,
|
2844
2875
|
config: config)
|
2845
2876
|
context[:gem_name] = 'aws-sdk-appconfig'
|
2846
|
-
context[:gem_version] = '1.
|
2877
|
+
context[:gem_version] = '1.23.0'
|
2847
2878
|
Seahorse::Client::Request.new(handlers, context)
|
2848
2879
|
end
|
2849
2880
|
|
@@ -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.23.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-01-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|