aws-sdk-appconfig 1.1.0 → 1.7.1
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 +5 -5
- data/lib/aws-sdk-appconfig.rb +7 -4
- data/lib/aws-sdk-appconfig/client.rb +161 -33
- data/lib/aws-sdk-appconfig/client_api.rb +18 -5
- data/lib/aws-sdk-appconfig/errors.rb +26 -4
- data/lib/aws-sdk-appconfig/resource.rb +1 -0
- data/lib/aws-sdk-appconfig/types.rb +83 -15
- metadata +5 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 3cab30030cf053171922ac755e787f2deedcc332c3bcc1a3034e69097165a12f
|
|
4
|
+
data.tar.gz: 1517397d645d33feb06a0dd600e399329ef766f1759039d07ebfe1110d6038a9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a44b5ad1a72fe66df93168875e78e170446111864d9fd7d29403942d8d87f7b14bb42ffd7fc1e11b6968910c207c85ea08f2f1c3c7cdff0cf3b6640e03ae06fd
|
|
7
|
+
data.tar.gz: 3527dd14ad58a646ea84b573a7e14cee73c58daca2888708ad761c5064131699fe02b7194062dc180fdbeed3571bb3d20229d0c54d07351322279d5b75d4db6b
|
data/lib/aws-sdk-appconfig.rb
CHANGED
|
@@ -24,17 +24,20 @@ require_relative 'aws-sdk-appconfig/customizations'
|
|
|
24
24
|
# methods each accept a hash of request parameters and return a response
|
|
25
25
|
# structure.
|
|
26
26
|
#
|
|
27
|
+
# app_config = Aws::AppConfig::Client.new
|
|
28
|
+
# resp = app_config.create_application(params)
|
|
29
|
+
#
|
|
27
30
|
# See {Client} for more information.
|
|
28
31
|
#
|
|
29
32
|
# # Errors
|
|
30
33
|
#
|
|
31
|
-
# Errors returned from Amazon AppConfig
|
|
32
|
-
# extend {Errors::ServiceError}.
|
|
34
|
+
# Errors returned from Amazon AppConfig are defined in the
|
|
35
|
+
# {Errors} module and all extend {Errors::ServiceError}.
|
|
33
36
|
#
|
|
34
37
|
# begin
|
|
35
38
|
# # do stuff
|
|
36
39
|
# rescue Aws::AppConfig::Errors::ServiceError
|
|
37
|
-
# # rescues all
|
|
40
|
+
# # rescues all Amazon AppConfig API errors
|
|
38
41
|
# end
|
|
39
42
|
#
|
|
40
43
|
# See {Errors} for more information.
|
|
@@ -42,6 +45,6 @@ require_relative 'aws-sdk-appconfig/customizations'
|
|
|
42
45
|
# @service
|
|
43
46
|
module Aws::AppConfig
|
|
44
47
|
|
|
45
|
-
GEM_VERSION = '1.1
|
|
48
|
+
GEM_VERSION = '1.7.1'
|
|
46
49
|
|
|
47
50
|
end
|
|
@@ -24,12 +24,25 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
|
|
24
24
|
require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
|
25
25
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
|
26
26
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
|
27
|
+
require 'aws-sdk-core/plugins/http_checksum.rb'
|
|
27
28
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
|
28
29
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
|
29
30
|
|
|
30
31
|
Aws::Plugins::GlobalConfiguration.add_identifier(:appconfig)
|
|
31
32
|
|
|
32
33
|
module Aws::AppConfig
|
|
34
|
+
# An API client for AppConfig. To construct a client, you need to configure a `:region` and `:credentials`.
|
|
35
|
+
#
|
|
36
|
+
# client = Aws::AppConfig::Client.new(
|
|
37
|
+
# region: region_name,
|
|
38
|
+
# credentials: credentials,
|
|
39
|
+
# # ...
|
|
40
|
+
# )
|
|
41
|
+
#
|
|
42
|
+
# For details on configuring region and credentials see
|
|
43
|
+
# the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
|
|
44
|
+
#
|
|
45
|
+
# See {#initialize} for a full list of supported configuration options.
|
|
33
46
|
class Client < Seahorse::Client::Base
|
|
34
47
|
|
|
35
48
|
include Aws::ClientStubs
|
|
@@ -57,6 +70,7 @@ module Aws::AppConfig
|
|
|
57
70
|
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
|
58
71
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
|
59
72
|
add_plugin(Aws::Plugins::TransferEncoding)
|
|
73
|
+
add_plugin(Aws::Plugins::HttpChecksum)
|
|
60
74
|
add_plugin(Aws::Plugins::SignatureV4)
|
|
61
75
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
|
62
76
|
|
|
@@ -93,7 +107,7 @@ module Aws::AppConfig
|
|
|
93
107
|
# @option options [required, String] :region
|
|
94
108
|
# The AWS region to connect to. The configured `:region` is
|
|
95
109
|
# used to determine the service `:endpoint`. When not passed,
|
|
96
|
-
# a default `:region` is
|
|
110
|
+
# a default `:region` is searched for in the following locations:
|
|
97
111
|
#
|
|
98
112
|
# * `Aws.config[:region]`
|
|
99
113
|
# * `ENV['AWS_REGION']`
|
|
@@ -108,6 +122,12 @@ module Aws::AppConfig
|
|
|
108
122
|
# When set to `true`, a thread polling for endpoints will be running in
|
|
109
123
|
# the background every 60 secs (default). Defaults to `false`.
|
|
110
124
|
#
|
|
125
|
+
# @option options [Boolean] :adaptive_retry_wait_to_fill (true)
|
|
126
|
+
# Used only in `adaptive` retry mode. When true, the request will sleep
|
|
127
|
+
# until there is sufficent client side capacity to retry the request.
|
|
128
|
+
# When false, the request will raise a `RetryCapacityNotAvailableError` and will
|
|
129
|
+
# not retry instead of sleeping.
|
|
130
|
+
#
|
|
111
131
|
# @option options [Boolean] :client_side_monitoring (false)
|
|
112
132
|
# When `true`, client-side metrics will be collected for all API requests from
|
|
113
133
|
# this client.
|
|
@@ -132,6 +152,10 @@ module Aws::AppConfig
|
|
|
132
152
|
# When `true`, an attempt is made to coerce request parameters into
|
|
133
153
|
# the required types.
|
|
134
154
|
#
|
|
155
|
+
# @option options [Boolean] :correct_clock_skew (true)
|
|
156
|
+
# Used only in `standard` and adaptive retry modes. Specifies whether to apply
|
|
157
|
+
# a clock skew correction and retry requests with skewed client clocks.
|
|
158
|
+
#
|
|
135
159
|
# @option options [Boolean] :disable_host_prefix_injection (false)
|
|
136
160
|
# Set to true to disable SDK automatically adding host prefix
|
|
137
161
|
# to default service endpoint when available.
|
|
@@ -139,7 +163,7 @@ module Aws::AppConfig
|
|
|
139
163
|
# @option options [String] :endpoint
|
|
140
164
|
# The client endpoint is normally constructed from the `:region`
|
|
141
165
|
# option. You should only configure an `:endpoint` when connecting
|
|
142
|
-
# to test endpoints. This should be
|
|
166
|
+
# to test or custom endpoints. This should be a valid HTTP(S) URI.
|
|
143
167
|
#
|
|
144
168
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
|
145
169
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
|
@@ -154,7 +178,7 @@ module Aws::AppConfig
|
|
|
154
178
|
# requests fetching endpoints information. Defaults to 60 sec.
|
|
155
179
|
#
|
|
156
180
|
# @option options [Boolean] :endpoint_discovery (false)
|
|
157
|
-
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
|
181
|
+
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
|
158
182
|
#
|
|
159
183
|
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
|
160
184
|
# The log formatter.
|
|
@@ -166,15 +190,29 @@ module Aws::AppConfig
|
|
|
166
190
|
# The Logger instance to send log messages to. If this option
|
|
167
191
|
# is not set, logging will be disabled.
|
|
168
192
|
#
|
|
193
|
+
# @option options [Integer] :max_attempts (3)
|
|
194
|
+
# An integer representing the maximum number attempts that will be made for
|
|
195
|
+
# a single request, including the initial attempt. For example,
|
|
196
|
+
# setting this value to 5 will result in a request being retried up to
|
|
197
|
+
# 4 times. Used in `standard` and `adaptive` retry modes.
|
|
198
|
+
#
|
|
169
199
|
# @option options [String] :profile ("default")
|
|
170
200
|
# Used when loading credentials from the shared credentials file
|
|
171
201
|
# at HOME/.aws/credentials. When not specified, 'default' is used.
|
|
172
202
|
#
|
|
203
|
+
# @option options [Proc] :retry_backoff
|
|
204
|
+
# A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
|
|
205
|
+
# This option is only used in the `legacy` retry mode.
|
|
206
|
+
#
|
|
173
207
|
# @option options [Float] :retry_base_delay (0.3)
|
|
174
|
-
# The base delay in seconds used by the default backoff function.
|
|
208
|
+
# The base delay in seconds used by the default backoff function. This option
|
|
209
|
+
# is only used in the `legacy` retry mode.
|
|
175
210
|
#
|
|
176
211
|
# @option options [Symbol] :retry_jitter (:none)
|
|
177
|
-
# A delay randomiser function used by the default backoff function.
|
|
212
|
+
# A delay randomiser function used by the default backoff function.
|
|
213
|
+
# Some predefined functions can be referenced by name - :none, :equal, :full,
|
|
214
|
+
# otherwise a Proc that takes and returns a number. This option is only used
|
|
215
|
+
# in the `legacy` retry mode.
|
|
178
216
|
#
|
|
179
217
|
# @see https://www.awsarchitectureblog.com/2015/03/backoff.html
|
|
180
218
|
#
|
|
@@ -182,11 +220,30 @@ module Aws::AppConfig
|
|
|
182
220
|
# The maximum number of times to retry failed requests. Only
|
|
183
221
|
# ~ 500 level server errors and certain ~ 400 level client errors
|
|
184
222
|
# are retried. Generally, these are throttling errors, data
|
|
185
|
-
# checksum errors, networking errors, timeout errors
|
|
186
|
-
# errors from expired credentials.
|
|
223
|
+
# checksum errors, networking errors, timeout errors, auth errors,
|
|
224
|
+
# endpoint discovery, and errors from expired credentials.
|
|
225
|
+
# This option is only used in the `legacy` retry mode.
|
|
187
226
|
#
|
|
188
227
|
# @option options [Integer] :retry_max_delay (0)
|
|
189
|
-
# The maximum number of seconds to delay between retries (0 for no limit)
|
|
228
|
+
# The maximum number of seconds to delay between retries (0 for no limit)
|
|
229
|
+
# used by the default backoff function. This option is only used in the
|
|
230
|
+
# `legacy` retry mode.
|
|
231
|
+
#
|
|
232
|
+
# @option options [String] :retry_mode ("legacy")
|
|
233
|
+
# Specifies which retry algorithm to use. Values are:
|
|
234
|
+
#
|
|
235
|
+
# * `legacy` - The pre-existing retry behavior. This is default value if
|
|
236
|
+
# no retry mode is provided.
|
|
237
|
+
#
|
|
238
|
+
# * `standard` - A standardized set of retry rules across the AWS SDKs.
|
|
239
|
+
# This includes support for retry quotas, which limit the number of
|
|
240
|
+
# unsuccessful retries a client can make.
|
|
241
|
+
#
|
|
242
|
+
# * `adaptive` - An experimental retry mode that includes all the
|
|
243
|
+
# functionality of `standard` mode along with automatic client side
|
|
244
|
+
# throttling. This is a provisional mode that may change behavior
|
|
245
|
+
# in the future.
|
|
246
|
+
#
|
|
190
247
|
#
|
|
191
248
|
# @option options [String] :secret_access_key
|
|
192
249
|
#
|
|
@@ -209,16 +266,15 @@ module Aws::AppConfig
|
|
|
209
266
|
# requests through. Formatted like 'http://proxy.com:123'.
|
|
210
267
|
#
|
|
211
268
|
# @option options [Float] :http_open_timeout (15) The number of
|
|
212
|
-
# seconds to wait when opening a HTTP session before
|
|
269
|
+
# seconds to wait when opening a HTTP session before raising a
|
|
213
270
|
# `Timeout::Error`.
|
|
214
271
|
#
|
|
215
272
|
# @option options [Integer] :http_read_timeout (60) The default
|
|
216
273
|
# number of seconds to wait for response data. This value can
|
|
217
|
-
# safely be set
|
|
218
|
-
# per-request on the session yeidled by {#session_for}.
|
|
274
|
+
# safely be set per-request on the session.
|
|
219
275
|
#
|
|
220
276
|
# @option options [Float] :http_idle_timeout (5) The number of
|
|
221
|
-
# seconds a connection is allowed to sit
|
|
277
|
+
# seconds a connection is allowed to sit idle before it is
|
|
222
278
|
# considered stale. Stale connections are closed and removed
|
|
223
279
|
# from the pool before making a request.
|
|
224
280
|
#
|
|
@@ -227,7 +283,7 @@ module Aws::AppConfig
|
|
|
227
283
|
# request body. This option has no effect unless the request has
|
|
228
284
|
# "Expect" header set to "100-continue". Defaults to `nil` which
|
|
229
285
|
# disables this behaviour. This value can safely be set per
|
|
230
|
-
# request on the session
|
|
286
|
+
# request on the session.
|
|
231
287
|
#
|
|
232
288
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
|
233
289
|
# HTTP debug output will be sent to the `:logger`.
|
|
@@ -303,9 +359,9 @@ module Aws::AppConfig
|
|
|
303
359
|
end
|
|
304
360
|
|
|
305
361
|
# Information that enables AppConfig to access the configuration source.
|
|
306
|
-
# Valid configuration sources include Systems Manager (SSM) documents
|
|
307
|
-
#
|
|
308
|
-
# the following information.
|
|
362
|
+
# Valid configuration sources include Systems Manager (SSM) documents,
|
|
363
|
+
# SSM Parameter Store parameters, and Amazon S3 objects. A configuration
|
|
364
|
+
# profile includes the following information.
|
|
309
365
|
#
|
|
310
366
|
# * The Uri location of the configuration data.
|
|
311
367
|
#
|
|
@@ -315,6 +371,13 @@ module Aws::AppConfig
|
|
|
315
371
|
# * A validator for the configuration data. Available validators include
|
|
316
372
|
# either a JSON Schema or an AWS Lambda function.
|
|
317
373
|
#
|
|
374
|
+
# For more information, see [Create a Configuration and a Configuration
|
|
375
|
+
# Profile][1] in the *AWS AppConfig User Guide*.
|
|
376
|
+
#
|
|
377
|
+
#
|
|
378
|
+
#
|
|
379
|
+
# [1]: http://docs.aws.amazon.com/systems-manager/latest/userguide/appconfig-creating-configuration-and-profile.html
|
|
380
|
+
#
|
|
318
381
|
# @option params [required, String] :application_id
|
|
319
382
|
# The application ID.
|
|
320
383
|
#
|
|
@@ -325,12 +388,15 @@ module Aws::AppConfig
|
|
|
325
388
|
# A description of the configuration profile.
|
|
326
389
|
#
|
|
327
390
|
# @option params [required, String] :location_uri
|
|
328
|
-
# A URI to locate the configuration. You can specify
|
|
329
|
-
#
|
|
330
|
-
# document, specify either the document name in the
|
|
331
|
-
# `ssm-document://<
|
|
332
|
-
# For a parameter, specify either the parameter name in the
|
|
333
|
-
# `ssm-parameter://<
|
|
391
|
+
# A URI to locate the configuration. You can specify a Systems Manager
|
|
392
|
+
# (SSM) document, an SSM Parameter Store parameter, or an Amazon S3
|
|
393
|
+
# object. For an SSM document, specify either the document name in the
|
|
394
|
+
# format `ssm-document://<Document_name>` or the Amazon Resource Name
|
|
395
|
+
# (ARN). For a parameter, specify either the parameter name in the
|
|
396
|
+
# format `ssm-parameter://<Parameter_name>` or the ARN. For an Amazon S3
|
|
397
|
+
# object, specify the URI in the following format:
|
|
398
|
+
# `s3://<bucket>/<objectKey> `. Here is an example:
|
|
399
|
+
# s3://my-bucket/my-app/us-east-1/my-config.json
|
|
334
400
|
#
|
|
335
401
|
# @option params [required, String] :retrieval_role_arn
|
|
336
402
|
# The ARN of an IAM role with permission to access the configuration at
|
|
@@ -361,7 +427,7 @@ module Aws::AppConfig
|
|
|
361
427
|
# name: "Name", # required
|
|
362
428
|
# description: "Description",
|
|
363
429
|
# location_uri: "Uri", # required
|
|
364
|
-
# retrieval_role_arn: "
|
|
430
|
+
# retrieval_role_arn: "RoleArn", # required
|
|
365
431
|
# validators: [
|
|
366
432
|
# {
|
|
367
433
|
# type: "JSON_SCHEMA", # required, accepts JSON_SCHEMA, LAMBDA
|
|
@@ -545,7 +611,7 @@ module Aws::AppConfig
|
|
|
545
611
|
# monitors: [
|
|
546
612
|
# {
|
|
547
613
|
# alarm_arn: "Arn",
|
|
548
|
-
# alarm_role_arn: "
|
|
614
|
+
# alarm_role_arn: "RoleArn",
|
|
549
615
|
# },
|
|
550
616
|
# ],
|
|
551
617
|
# tags: {
|
|
@@ -706,16 +772,31 @@ module Aws::AppConfig
|
|
|
706
772
|
req.send_request(options)
|
|
707
773
|
end
|
|
708
774
|
|
|
709
|
-
#
|
|
775
|
+
# Receive information about a configuration.
|
|
776
|
+
#
|
|
777
|
+
# AWS AppConfig uses the value of the `ClientConfigurationVersion`
|
|
778
|
+
# parameter to identify the configuration version on your clients. If
|
|
779
|
+
# you don’t send `ClientConfigurationVersion` with each call to
|
|
780
|
+
# `GetConfiguration`, your clients receive the current configuration.
|
|
781
|
+
# You are charged each time your clients receive a configuration.
|
|
782
|
+
#
|
|
783
|
+
# To avoid excess charges, we recommend that you include the
|
|
784
|
+
# `ClientConfigurationVersion` value with every call to
|
|
785
|
+
# `GetConfiguration`. This value must be saved on your client.
|
|
786
|
+
# Subsequent calls to `GetConfiguration` must pass this value by using
|
|
787
|
+
# the `ClientConfigurationVersion` parameter.
|
|
710
788
|
#
|
|
711
789
|
# @option params [required, String] :application
|
|
712
|
-
# The application to get.
|
|
790
|
+
# The application to get. Specify either the application name or the
|
|
791
|
+
# application ID.
|
|
713
792
|
#
|
|
714
793
|
# @option params [required, String] :environment
|
|
715
|
-
# The environment to get.
|
|
794
|
+
# The environment to get. Specify either the environment name or the
|
|
795
|
+
# environment ID.
|
|
716
796
|
#
|
|
717
797
|
# @option params [required, String] :configuration
|
|
718
|
-
# The configuration to get.
|
|
798
|
+
# The configuration to get. Specify either the configuration name or the
|
|
799
|
+
# configuration ID.
|
|
719
800
|
#
|
|
720
801
|
# @option params [required, String] :client_id
|
|
721
802
|
# A unique ID to identify the client for the configuration. This ID
|
|
@@ -723,8 +804,27 @@ module Aws::AppConfig
|
|
|
723
804
|
# in the deployment strategy.
|
|
724
805
|
#
|
|
725
806
|
# @option params [String] :client_configuration_version
|
|
726
|
-
# The configuration version returned in the most recent
|
|
727
|
-
# response.
|
|
807
|
+
# The configuration version returned in the most recent
|
|
808
|
+
# `GetConfiguration` response.
|
|
809
|
+
#
|
|
810
|
+
# AWS AppConfig uses the value of the `ClientConfigurationVersion`
|
|
811
|
+
# parameter to identify the configuration version on your clients. If
|
|
812
|
+
# you don’t send `ClientConfigurationVersion` with each call to
|
|
813
|
+
# `GetConfiguration`, your clients receive the current configuration.
|
|
814
|
+
# You are charged each time your clients receive a configuration.
|
|
815
|
+
#
|
|
816
|
+
# To avoid excess charges, we recommend that you include the
|
|
817
|
+
# `ClientConfigurationVersion` value with every call to
|
|
818
|
+
# `GetConfiguration`. This value must be saved on your client.
|
|
819
|
+
# Subsequent calls to `GetConfiguration` must pass this value by using
|
|
820
|
+
# the `ClientConfigurationVersion` parameter.
|
|
821
|
+
#
|
|
822
|
+
# For more information about working with configurations, see
|
|
823
|
+
# [Retrieving the Configuration][1] in the *AWS AppConfig User Guide*.
|
|
824
|
+
#
|
|
825
|
+
#
|
|
826
|
+
#
|
|
827
|
+
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/appconfig-retrieving-the-configuration.html
|
|
728
828
|
#
|
|
729
829
|
# @return [Types::Configuration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
730
830
|
#
|
|
@@ -833,6 +933,7 @@ module Aws::AppConfig
|
|
|
833
933
|
# * {Types::Deployment#growth_factor #growth_factor} => Float
|
|
834
934
|
# * {Types::Deployment#final_bake_time_in_minutes #final_bake_time_in_minutes} => Integer
|
|
835
935
|
# * {Types::Deployment#state #state} => String
|
|
936
|
+
# * {Types::Deployment#event_log #event_log} => Array<Types::DeploymentEvent>
|
|
836
937
|
# * {Types::Deployment#percentage_complete #percentage_complete} => Float
|
|
837
938
|
# * {Types::Deployment#started_at #started_at} => Time
|
|
838
939
|
# * {Types::Deployment#completed_at #completed_at} => Time
|
|
@@ -861,6 +962,11 @@ module Aws::AppConfig
|
|
|
861
962
|
# resp.growth_factor #=> Float
|
|
862
963
|
# resp.final_bake_time_in_minutes #=> Integer
|
|
863
964
|
# resp.state #=> String, one of "BAKING", "VALIDATING", "DEPLOYING", "COMPLETE", "ROLLING_BACK", "ROLLED_BACK"
|
|
965
|
+
# resp.event_log #=> Array
|
|
966
|
+
# resp.event_log[0].event_type #=> String, one of "PERCENTAGE_UPDATED", "ROLLBACK_STARTED", "ROLLBACK_COMPLETED", "BAKE_TIME_STARTED", "DEPLOYMENT_STARTED", "DEPLOYMENT_COMPLETED"
|
|
967
|
+
# resp.event_log[0].triggered_by #=> String, one of "USER", "APPCONFIG", "CLOUDWATCH_ALARM", "INTERNAL_ERROR"
|
|
968
|
+
# resp.event_log[0].description #=> String
|
|
969
|
+
# resp.event_log[0].occurred_at #=> Time
|
|
864
970
|
# resp.percentage_complete #=> Float
|
|
865
971
|
# resp.started_at #=> Time
|
|
866
972
|
# resp.completed_at #=> Time
|
|
@@ -987,6 +1093,8 @@ module Aws::AppConfig
|
|
|
987
1093
|
# * {Types::Applications#items #items} => Array<Types::Application>
|
|
988
1094
|
# * {Types::Applications#next_token #next_token} => String
|
|
989
1095
|
#
|
|
1096
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
1097
|
+
#
|
|
990
1098
|
# @example Request syntax with placeholder values
|
|
991
1099
|
#
|
|
992
1100
|
# resp = client.list_applications({
|
|
@@ -1030,6 +1138,8 @@ module Aws::AppConfig
|
|
|
1030
1138
|
# * {Types::ConfigurationProfiles#items #items} => Array<Types::ConfigurationProfileSummary>
|
|
1031
1139
|
# * {Types::ConfigurationProfiles#next_token #next_token} => String
|
|
1032
1140
|
#
|
|
1141
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
1142
|
+
#
|
|
1033
1143
|
# @example Request syntax with placeholder values
|
|
1034
1144
|
#
|
|
1035
1145
|
# resp = client.list_configuration_profiles({
|
|
@@ -1074,6 +1184,8 @@ module Aws::AppConfig
|
|
|
1074
1184
|
# * {Types::DeploymentStrategies#items #items} => Array<Types::DeploymentStrategy>
|
|
1075
1185
|
# * {Types::DeploymentStrategies#next_token #next_token} => String
|
|
1076
1186
|
#
|
|
1187
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
1188
|
+
#
|
|
1077
1189
|
# @example Request syntax with placeholder values
|
|
1078
1190
|
#
|
|
1079
1191
|
# resp = client.list_deployment_strategies({
|
|
@@ -1125,6 +1237,8 @@ module Aws::AppConfig
|
|
|
1125
1237
|
# * {Types::Deployments#items #items} => Array<Types::DeploymentSummary>
|
|
1126
1238
|
# * {Types::Deployments#next_token #next_token} => String
|
|
1127
1239
|
#
|
|
1240
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
1241
|
+
#
|
|
1128
1242
|
# @example Request syntax with placeholder values
|
|
1129
1243
|
#
|
|
1130
1244
|
# resp = client.list_deployments({
|
|
@@ -1178,6 +1292,8 @@ module Aws::AppConfig
|
|
|
1178
1292
|
# * {Types::Environments#items #items} => Array<Types::Environment>
|
|
1179
1293
|
# * {Types::Environments#next_token #next_token} => String
|
|
1180
1294
|
#
|
|
1295
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
1296
|
+
#
|
|
1181
1297
|
# @example Request syntax with placeholder values
|
|
1182
1298
|
#
|
|
1183
1299
|
# resp = client.list_environments({
|
|
@@ -1278,6 +1394,7 @@ module Aws::AppConfig
|
|
|
1278
1394
|
# * {Types::Deployment#growth_factor #growth_factor} => Float
|
|
1279
1395
|
# * {Types::Deployment#final_bake_time_in_minutes #final_bake_time_in_minutes} => Integer
|
|
1280
1396
|
# * {Types::Deployment#state #state} => String
|
|
1397
|
+
# * {Types::Deployment#event_log #event_log} => Array<Types::DeploymentEvent>
|
|
1281
1398
|
# * {Types::Deployment#percentage_complete #percentage_complete} => Float
|
|
1282
1399
|
# * {Types::Deployment#started_at #started_at} => Time
|
|
1283
1400
|
# * {Types::Deployment#completed_at #completed_at} => Time
|
|
@@ -1312,6 +1429,11 @@ module Aws::AppConfig
|
|
|
1312
1429
|
# resp.growth_factor #=> Float
|
|
1313
1430
|
# resp.final_bake_time_in_minutes #=> Integer
|
|
1314
1431
|
# resp.state #=> String, one of "BAKING", "VALIDATING", "DEPLOYING", "COMPLETE", "ROLLING_BACK", "ROLLED_BACK"
|
|
1432
|
+
# resp.event_log #=> Array
|
|
1433
|
+
# resp.event_log[0].event_type #=> String, one of "PERCENTAGE_UPDATED", "ROLLBACK_STARTED", "ROLLBACK_COMPLETED", "BAKE_TIME_STARTED", "DEPLOYMENT_STARTED", "DEPLOYMENT_COMPLETED"
|
|
1434
|
+
# resp.event_log[0].triggered_by #=> String, one of "USER", "APPCONFIG", "CLOUDWATCH_ALARM", "INTERNAL_ERROR"
|
|
1435
|
+
# resp.event_log[0].description #=> String
|
|
1436
|
+
# resp.event_log[0].occurred_at #=> Time
|
|
1315
1437
|
# resp.percentage_complete #=> Float
|
|
1316
1438
|
# resp.started_at #=> Time
|
|
1317
1439
|
# resp.completed_at #=> Time
|
|
@@ -1354,6 +1476,7 @@ module Aws::AppConfig
|
|
|
1354
1476
|
# * {Types::Deployment#growth_factor #growth_factor} => Float
|
|
1355
1477
|
# * {Types::Deployment#final_bake_time_in_minutes #final_bake_time_in_minutes} => Integer
|
|
1356
1478
|
# * {Types::Deployment#state #state} => String
|
|
1479
|
+
# * {Types::Deployment#event_log #event_log} => Array<Types::DeploymentEvent>
|
|
1357
1480
|
# * {Types::Deployment#percentage_complete #percentage_complete} => Float
|
|
1358
1481
|
# * {Types::Deployment#started_at #started_at} => Time
|
|
1359
1482
|
# * {Types::Deployment#completed_at #completed_at} => Time
|
|
@@ -1382,6 +1505,11 @@ module Aws::AppConfig
|
|
|
1382
1505
|
# resp.growth_factor #=> Float
|
|
1383
1506
|
# resp.final_bake_time_in_minutes #=> Integer
|
|
1384
1507
|
# resp.state #=> String, one of "BAKING", "VALIDATING", "DEPLOYING", "COMPLETE", "ROLLING_BACK", "ROLLED_BACK"
|
|
1508
|
+
# resp.event_log #=> Array
|
|
1509
|
+
# resp.event_log[0].event_type #=> String, one of "PERCENTAGE_UPDATED", "ROLLBACK_STARTED", "ROLLBACK_COMPLETED", "BAKE_TIME_STARTED", "DEPLOYMENT_STARTED", "DEPLOYMENT_COMPLETED"
|
|
1510
|
+
# resp.event_log[0].triggered_by #=> String, one of "USER", "APPCONFIG", "CLOUDWATCH_ALARM", "INTERNAL_ERROR"
|
|
1511
|
+
# resp.event_log[0].description #=> String
|
|
1512
|
+
# resp.event_log[0].occurred_at #=> Time
|
|
1385
1513
|
# resp.percentage_complete #=> Float
|
|
1386
1514
|
# resp.started_at #=> Time
|
|
1387
1515
|
# resp.completed_at #=> Time
|
|
@@ -1532,7 +1660,7 @@ module Aws::AppConfig
|
|
|
1532
1660
|
# configuration_profile_id: "Id", # required
|
|
1533
1661
|
# name: "Name",
|
|
1534
1662
|
# description: "Description",
|
|
1535
|
-
# retrieval_role_arn: "
|
|
1663
|
+
# retrieval_role_arn: "RoleArn",
|
|
1536
1664
|
# validators: [
|
|
1537
1665
|
# {
|
|
1538
1666
|
# type: "JSON_SCHEMA", # required, accepts JSON_SCHEMA, LAMBDA
|
|
@@ -1689,7 +1817,7 @@ module Aws::AppConfig
|
|
|
1689
1817
|
# monitors: [
|
|
1690
1818
|
# {
|
|
1691
1819
|
# alarm_arn: "Arn",
|
|
1692
|
-
# alarm_role_arn: "
|
|
1820
|
+
# alarm_role_arn: "RoleArn",
|
|
1693
1821
|
# },
|
|
1694
1822
|
# ],
|
|
1695
1823
|
# })
|
|
@@ -1758,7 +1886,7 @@ module Aws::AppConfig
|
|
|
1758
1886
|
params: params,
|
|
1759
1887
|
config: config)
|
|
1760
1888
|
context[:gem_name] = 'aws-sdk-appconfig'
|
|
1761
|
-
context[:gem_version] = '1.1
|
|
1889
|
+
context[:gem_version] = '1.7.1'
|
|
1762
1890
|
Seahorse::Client::Request.new(handlers, context)
|
|
1763
1891
|
end
|
|
1764
1892
|
|
|
@@ -32,6 +32,9 @@ module Aws::AppConfig
|
|
|
32
32
|
DeleteDeploymentStrategyRequest = Shapes::StructureShape.new(name: 'DeleteDeploymentStrategyRequest')
|
|
33
33
|
DeleteEnvironmentRequest = Shapes::StructureShape.new(name: 'DeleteEnvironmentRequest')
|
|
34
34
|
Deployment = Shapes::StructureShape.new(name: 'Deployment')
|
|
35
|
+
DeploymentEvent = Shapes::StructureShape.new(name: 'DeploymentEvent')
|
|
36
|
+
DeploymentEventType = Shapes::StringShape.new(name: 'DeploymentEventType')
|
|
37
|
+
DeploymentEvents = Shapes::ListShape.new(name: 'DeploymentEvents')
|
|
35
38
|
DeploymentList = Shapes::ListShape.new(name: 'DeploymentList')
|
|
36
39
|
DeploymentState = Shapes::StringShape.new(name: 'DeploymentState')
|
|
37
40
|
DeploymentStrategies = Shapes::StructureShape.new(name: 'DeploymentStrategies')
|
|
@@ -73,6 +76,7 @@ module Aws::AppConfig
|
|
|
73
76
|
ReplicateTo = Shapes::StringShape.new(name: 'ReplicateTo')
|
|
74
77
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
|
75
78
|
ResourceTags = Shapes::StructureShape.new(name: 'ResourceTags')
|
|
79
|
+
RoleArn = Shapes::StringShape.new(name: 'RoleArn')
|
|
76
80
|
StartDeploymentRequest = Shapes::StructureShape.new(name: 'StartDeploymentRequest')
|
|
77
81
|
StopDeploymentRequest = Shapes::StructureShape.new(name: 'StopDeploymentRequest')
|
|
78
82
|
String = Shapes::StringShape.new(name: 'String')
|
|
@@ -83,6 +87,7 @@ module Aws::AppConfig
|
|
|
83
87
|
TagMap = Shapes::MapShape.new(name: 'TagMap')
|
|
84
88
|
TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
|
|
85
89
|
TagValue = Shapes::StringShape.new(name: 'TagValue')
|
|
90
|
+
TriggeredBy = Shapes::StringShape.new(name: 'TriggeredBy')
|
|
86
91
|
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
|
87
92
|
UpdateApplicationRequest = Shapes::StructureShape.new(name: 'UpdateApplicationRequest')
|
|
88
93
|
UpdateConfigurationProfileRequest = Shapes::StructureShape.new(name: 'UpdateConfigurationProfileRequest')
|
|
@@ -122,7 +127,7 @@ module Aws::AppConfig
|
|
|
122
127
|
ConfigurationProfile.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "Name"))
|
|
123
128
|
ConfigurationProfile.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
|
|
124
129
|
ConfigurationProfile.add_member(:location_uri, Shapes::ShapeRef.new(shape: Uri, location_name: "LocationUri"))
|
|
125
|
-
ConfigurationProfile.add_member(:retrieval_role_arn, Shapes::ShapeRef.new(shape:
|
|
130
|
+
ConfigurationProfile.add_member(:retrieval_role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "RetrievalRoleArn"))
|
|
126
131
|
ConfigurationProfile.add_member(:validators, Shapes::ShapeRef.new(shape: ValidatorList, location_name: "Validators"))
|
|
127
132
|
ConfigurationProfile.struct_class = Types::ConfigurationProfile
|
|
128
133
|
|
|
@@ -151,7 +156,7 @@ module Aws::AppConfig
|
|
|
151
156
|
CreateConfigurationProfileRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "Name"))
|
|
152
157
|
CreateConfigurationProfileRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
|
|
153
158
|
CreateConfigurationProfileRequest.add_member(:location_uri, Shapes::ShapeRef.new(shape: Uri, required: true, location_name: "LocationUri"))
|
|
154
|
-
CreateConfigurationProfileRequest.add_member(:retrieval_role_arn, Shapes::ShapeRef.new(shape:
|
|
159
|
+
CreateConfigurationProfileRequest.add_member(:retrieval_role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "RetrievalRoleArn"))
|
|
155
160
|
CreateConfigurationProfileRequest.add_member(:validators, Shapes::ShapeRef.new(shape: ValidatorList, location_name: "Validators"))
|
|
156
161
|
CreateConfigurationProfileRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
|
|
157
162
|
CreateConfigurationProfileRequest.struct_class = Types::CreateConfigurationProfileRequest
|
|
@@ -201,11 +206,20 @@ module Aws::AppConfig
|
|
|
201
206
|
Deployment.add_member(:growth_factor, Shapes::ShapeRef.new(shape: Percentage, location_name: "GrowthFactor"))
|
|
202
207
|
Deployment.add_member(:final_bake_time_in_minutes, Shapes::ShapeRef.new(shape: MinutesBetween0And24Hours, location_name: "FinalBakeTimeInMinutes"))
|
|
203
208
|
Deployment.add_member(:state, Shapes::ShapeRef.new(shape: DeploymentState, location_name: "State"))
|
|
209
|
+
Deployment.add_member(:event_log, Shapes::ShapeRef.new(shape: DeploymentEvents, location_name: "EventLog"))
|
|
204
210
|
Deployment.add_member(:percentage_complete, Shapes::ShapeRef.new(shape: Percentage, location_name: "PercentageComplete"))
|
|
205
211
|
Deployment.add_member(:started_at, Shapes::ShapeRef.new(shape: Iso8601DateTime, location_name: "StartedAt"))
|
|
206
212
|
Deployment.add_member(:completed_at, Shapes::ShapeRef.new(shape: Iso8601DateTime, location_name: "CompletedAt"))
|
|
207
213
|
Deployment.struct_class = Types::Deployment
|
|
208
214
|
|
|
215
|
+
DeploymentEvent.add_member(:event_type, Shapes::ShapeRef.new(shape: DeploymentEventType, location_name: "EventType"))
|
|
216
|
+
DeploymentEvent.add_member(:triggered_by, Shapes::ShapeRef.new(shape: TriggeredBy, location_name: "TriggeredBy"))
|
|
217
|
+
DeploymentEvent.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
|
|
218
|
+
DeploymentEvent.add_member(:occurred_at, Shapes::ShapeRef.new(shape: Iso8601DateTime, location_name: "OccurredAt"))
|
|
219
|
+
DeploymentEvent.struct_class = Types::DeploymentEvent
|
|
220
|
+
|
|
221
|
+
DeploymentEvents.member = Shapes::ShapeRef.new(shape: DeploymentEvent)
|
|
222
|
+
|
|
209
223
|
DeploymentList.member = Shapes::ShapeRef.new(shape: DeploymentSummary)
|
|
210
224
|
|
|
211
225
|
DeploymentStrategies.add_member(:items, Shapes::ShapeRef.new(shape: DeploymentStrategyList, location_name: "Items"))
|
|
@@ -312,7 +326,7 @@ module Aws::AppConfig
|
|
|
312
326
|
ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
|
|
313
327
|
|
|
314
328
|
Monitor.add_member(:alarm_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "AlarmArn"))
|
|
315
|
-
Monitor.add_member(:alarm_role_arn, Shapes::ShapeRef.new(shape:
|
|
329
|
+
Monitor.add_member(:alarm_role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "AlarmRoleArn"))
|
|
316
330
|
Monitor.struct_class = Types::Monitor
|
|
317
331
|
|
|
318
332
|
MonitorList.member = Shapes::ShapeRef.new(shape: Monitor)
|
|
@@ -360,7 +374,7 @@ module Aws::AppConfig
|
|
|
360
374
|
UpdateConfigurationProfileRequest.add_member(:configuration_profile_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "ConfigurationProfileId"))
|
|
361
375
|
UpdateConfigurationProfileRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "Name"))
|
|
362
376
|
UpdateConfigurationProfileRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
|
|
363
|
-
UpdateConfigurationProfileRequest.add_member(:retrieval_role_arn, Shapes::ShapeRef.new(shape:
|
|
377
|
+
UpdateConfigurationProfileRequest.add_member(:retrieval_role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "RetrievalRoleArn"))
|
|
364
378
|
UpdateConfigurationProfileRequest.add_member(:validators, Shapes::ShapeRef.new(shape: ValidatorList, location_name: "Validators"))
|
|
365
379
|
UpdateConfigurationProfileRequest.struct_class = Types::UpdateConfigurationProfileRequest
|
|
366
380
|
|
|
@@ -518,7 +532,6 @@ module Aws::AppConfig
|
|
|
518
532
|
o.output = Shapes::ShapeRef.new(shape: Configuration)
|
|
519
533
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
520
534
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
521
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
522
535
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
|
523
536
|
end)
|
|
524
537
|
|
|
@@ -6,6 +6,32 @@
|
|
|
6
6
|
# WARNING ABOUT GENERATED CODE
|
|
7
7
|
|
|
8
8
|
module Aws::AppConfig
|
|
9
|
+
|
|
10
|
+
# When AppConfig returns an error response, the Ruby SDK constructs and raises an error.
|
|
11
|
+
# These errors all extend Aws::AppConfig::Errors::ServiceError < {Aws::Errors::ServiceError}
|
|
12
|
+
#
|
|
13
|
+
# You can rescue all AppConfig errors using ServiceError:
|
|
14
|
+
#
|
|
15
|
+
# begin
|
|
16
|
+
# # do stuff
|
|
17
|
+
# rescue Aws::AppConfig::Errors::ServiceError
|
|
18
|
+
# # rescues all AppConfig API errors
|
|
19
|
+
# end
|
|
20
|
+
#
|
|
21
|
+
#
|
|
22
|
+
# ## Request Context
|
|
23
|
+
# ServiceError objects have a {Aws::Errors::ServiceError#context #context} method that returns
|
|
24
|
+
# information about the request that generated the error.
|
|
25
|
+
# See {Seahorse::Client::RequestContext} for more information.
|
|
26
|
+
#
|
|
27
|
+
# ## Error Classes
|
|
28
|
+
# * {BadRequestException}
|
|
29
|
+
# * {ConflictException}
|
|
30
|
+
# * {InternalServerException}
|
|
31
|
+
# * {ResourceNotFoundException}
|
|
32
|
+
#
|
|
33
|
+
# Additionally, error classes are dynamically generated for service errors based on the error code
|
|
34
|
+
# if they are not defined above.
|
|
9
35
|
module Errors
|
|
10
36
|
|
|
11
37
|
extend Aws::Errors::DynamicErrors
|
|
@@ -23,7 +49,6 @@ module Aws::AppConfig
|
|
|
23
49
|
def message
|
|
24
50
|
@message || @data[:message]
|
|
25
51
|
end
|
|
26
|
-
|
|
27
52
|
end
|
|
28
53
|
|
|
29
54
|
class ConflictException < ServiceError
|
|
@@ -39,7 +64,6 @@ module Aws::AppConfig
|
|
|
39
64
|
def message
|
|
40
65
|
@message || @data[:message]
|
|
41
66
|
end
|
|
42
|
-
|
|
43
67
|
end
|
|
44
68
|
|
|
45
69
|
class InternalServerException < ServiceError
|
|
@@ -55,7 +79,6 @@ module Aws::AppConfig
|
|
|
55
79
|
def message
|
|
56
80
|
@message || @data[:message]
|
|
57
81
|
end
|
|
58
|
-
|
|
59
82
|
end
|
|
60
83
|
|
|
61
84
|
class ResourceNotFoundException < ServiceError
|
|
@@ -76,7 +99,6 @@ module Aws::AppConfig
|
|
|
76
99
|
def resource_name
|
|
77
100
|
@data[:resource_name]
|
|
78
101
|
end
|
|
79
|
-
|
|
80
102
|
end
|
|
81
103
|
|
|
82
104
|
end
|
|
@@ -232,7 +232,7 @@ module Aws::AppConfig
|
|
|
232
232
|
# name: "Name", # required
|
|
233
233
|
# description: "Description",
|
|
234
234
|
# location_uri: "Uri", # required
|
|
235
|
-
# retrieval_role_arn: "
|
|
235
|
+
# retrieval_role_arn: "RoleArn", # required
|
|
236
236
|
# validators: [
|
|
237
237
|
# {
|
|
238
238
|
# type: "JSON_SCHEMA", # required, accepts JSON_SCHEMA, LAMBDA
|
|
@@ -257,12 +257,15 @@ module Aws::AppConfig
|
|
|
257
257
|
# @return [String]
|
|
258
258
|
#
|
|
259
259
|
# @!attribute [rw] location_uri
|
|
260
|
-
# A URI to locate the configuration. You can specify
|
|
261
|
-
#
|
|
262
|
-
# SSM document, specify either the document name in the
|
|
263
|
-
# `ssm-document://<
|
|
264
|
-
# For a parameter, specify either the parameter name in the
|
|
265
|
-
# `ssm-parameter://<
|
|
260
|
+
# A URI to locate the configuration. You can specify a Systems Manager
|
|
261
|
+
# (SSM) document, an SSM Parameter Store parameter, or an Amazon S3
|
|
262
|
+
# object. For an SSM document, specify either the document name in the
|
|
263
|
+
# format `ssm-document://<Document_name>` or the Amazon Resource Name
|
|
264
|
+
# (ARN). For a parameter, specify either the parameter name in the
|
|
265
|
+
# format `ssm-parameter://<Parameter_name>` or the ARN. For an Amazon
|
|
266
|
+
# S3 object, specify the URI in the following format:
|
|
267
|
+
# `s3://<bucket>/<objectKey> `. Here is an example:
|
|
268
|
+
# s3://my-bucket/my-app/us-east-1/my-config.json
|
|
266
269
|
# @return [String]
|
|
267
270
|
#
|
|
268
271
|
# @!attribute [rw] retrieval_role_arn
|
|
@@ -396,7 +399,7 @@ module Aws::AppConfig
|
|
|
396
399
|
# monitors: [
|
|
397
400
|
# {
|
|
398
401
|
# alarm_arn: "Arn",
|
|
399
|
-
# alarm_role_arn: "
|
|
402
|
+
# alarm_role_arn: "RoleArn",
|
|
400
403
|
# },
|
|
401
404
|
# ],
|
|
402
405
|
# tags: {
|
|
@@ -581,6 +584,11 @@ module Aws::AppConfig
|
|
|
581
584
|
# The state of the deployment.
|
|
582
585
|
# @return [String]
|
|
583
586
|
#
|
|
587
|
+
# @!attribute [rw] event_log
|
|
588
|
+
# A list containing all events related to a deployment. The most
|
|
589
|
+
# recent events are displayed first.
|
|
590
|
+
# @return [Array<Types::DeploymentEvent>]
|
|
591
|
+
#
|
|
584
592
|
# @!attribute [rw] percentage_complete
|
|
585
593
|
# The percentage of targets for which the deployment is available.
|
|
586
594
|
# @return [Float]
|
|
@@ -610,12 +618,50 @@ module Aws::AppConfig
|
|
|
610
618
|
:growth_factor,
|
|
611
619
|
:final_bake_time_in_minutes,
|
|
612
620
|
:state,
|
|
621
|
+
:event_log,
|
|
613
622
|
:percentage_complete,
|
|
614
623
|
:started_at,
|
|
615
624
|
:completed_at)
|
|
616
625
|
include Aws::Structure
|
|
617
626
|
end
|
|
618
627
|
|
|
628
|
+
# An object that describes a deployment event.
|
|
629
|
+
#
|
|
630
|
+
# @!attribute [rw] event_type
|
|
631
|
+
# The type of deployment event. Deployment event types include the
|
|
632
|
+
# start, stop, or completion of a deployment; a percentage update; the
|
|
633
|
+
# start or stop of a bake period; the start or completion of a
|
|
634
|
+
# rollback.
|
|
635
|
+
# @return [String]
|
|
636
|
+
#
|
|
637
|
+
# @!attribute [rw] triggered_by
|
|
638
|
+
# The entity that triggered the deployment event. Events can be
|
|
639
|
+
# triggered by a user, AWS AppConfig, an Amazon CloudWatch alarm, or
|
|
640
|
+
# an internal error.
|
|
641
|
+
# @return [String]
|
|
642
|
+
#
|
|
643
|
+
# @!attribute [rw] description
|
|
644
|
+
# A description of the deployment event. Descriptions include, but are
|
|
645
|
+
# not limited to, the user account or the CloudWatch alarm ARN that
|
|
646
|
+
# initiated a rollback, the percentage of hosts that received the
|
|
647
|
+
# deployment, or in the case of an internal error, a recommendation to
|
|
648
|
+
# attempt a new deployment.
|
|
649
|
+
# @return [String]
|
|
650
|
+
#
|
|
651
|
+
# @!attribute [rw] occurred_at
|
|
652
|
+
# The date and time the event occurred.
|
|
653
|
+
# @return [Time]
|
|
654
|
+
#
|
|
655
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeploymentEvent AWS API Documentation
|
|
656
|
+
#
|
|
657
|
+
class DeploymentEvent < Struct.new(
|
|
658
|
+
:event_type,
|
|
659
|
+
:triggered_by,
|
|
660
|
+
:description,
|
|
661
|
+
:occurred_at)
|
|
662
|
+
include Aws::Structure
|
|
663
|
+
end
|
|
664
|
+
|
|
619
665
|
# @!attribute [rw] items
|
|
620
666
|
# The elements from this collection.
|
|
621
667
|
# @return [Array<Types::DeploymentStrategy>]
|
|
@@ -875,15 +921,18 @@ module Aws::AppConfig
|
|
|
875
921
|
# }
|
|
876
922
|
#
|
|
877
923
|
# @!attribute [rw] application
|
|
878
|
-
# The application to get.
|
|
924
|
+
# The application to get. Specify either the application name or the
|
|
925
|
+
# application ID.
|
|
879
926
|
# @return [String]
|
|
880
927
|
#
|
|
881
928
|
# @!attribute [rw] environment
|
|
882
|
-
# The environment to get.
|
|
929
|
+
# The environment to get. Specify either the environment name or the
|
|
930
|
+
# environment ID.
|
|
883
931
|
# @return [String]
|
|
884
932
|
#
|
|
885
933
|
# @!attribute [rw] configuration
|
|
886
|
-
# The configuration to get.
|
|
934
|
+
# The configuration to get. Specify either the configuration name or
|
|
935
|
+
# the configuration ID.
|
|
887
936
|
# @return [String]
|
|
888
937
|
#
|
|
889
938
|
# @!attribute [rw] client_id
|
|
@@ -894,7 +943,26 @@ module Aws::AppConfig
|
|
|
894
943
|
#
|
|
895
944
|
# @!attribute [rw] client_configuration_version
|
|
896
945
|
# The configuration version returned in the most recent
|
|
897
|
-
# GetConfiguration response.
|
|
946
|
+
# `GetConfiguration` response.
|
|
947
|
+
#
|
|
948
|
+
# AWS AppConfig uses the value of the `ClientConfigurationVersion`
|
|
949
|
+
# parameter to identify the configuration version on your clients. If
|
|
950
|
+
# you don’t send `ClientConfigurationVersion` with each call to
|
|
951
|
+
# `GetConfiguration`, your clients receive the current configuration.
|
|
952
|
+
# You are charged each time your clients receive a configuration.
|
|
953
|
+
#
|
|
954
|
+
# To avoid excess charges, we recommend that you include the
|
|
955
|
+
# `ClientConfigurationVersion` value with every call to
|
|
956
|
+
# `GetConfiguration`. This value must be saved on your client.
|
|
957
|
+
# Subsequent calls to `GetConfiguration` must pass this value by using
|
|
958
|
+
# the `ClientConfigurationVersion` parameter.
|
|
959
|
+
#
|
|
960
|
+
# For more information about working with configurations, see
|
|
961
|
+
# [Retrieving the Configuration][1] in the *AWS AppConfig User Guide*.
|
|
962
|
+
#
|
|
963
|
+
#
|
|
964
|
+
#
|
|
965
|
+
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/appconfig-retrieving-the-configuration.html
|
|
898
966
|
# @return [String]
|
|
899
967
|
#
|
|
900
968
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetConfigurationRequest AWS API Documentation
|
|
@@ -1179,7 +1247,7 @@ module Aws::AppConfig
|
|
|
1179
1247
|
#
|
|
1180
1248
|
# {
|
|
1181
1249
|
# alarm_arn: "Arn",
|
|
1182
|
-
# alarm_role_arn: "
|
|
1250
|
+
# alarm_role_arn: "RoleArn",
|
|
1183
1251
|
# }
|
|
1184
1252
|
#
|
|
1185
1253
|
# @!attribute [rw] alarm_arn
|
|
@@ -1405,7 +1473,7 @@ module Aws::AppConfig
|
|
|
1405
1473
|
# configuration_profile_id: "Id", # required
|
|
1406
1474
|
# name: "Name",
|
|
1407
1475
|
# description: "Description",
|
|
1408
|
-
# retrieval_role_arn: "
|
|
1476
|
+
# retrieval_role_arn: "RoleArn",
|
|
1409
1477
|
# validators: [
|
|
1410
1478
|
# {
|
|
1411
1479
|
# type: "JSON_SCHEMA", # required, accepts JSON_SCHEMA, LAMBDA
|
|
@@ -1540,7 +1608,7 @@ module Aws::AppConfig
|
|
|
1540
1608
|
# monitors: [
|
|
1541
1609
|
# {
|
|
1542
1610
|
# alarm_arn: "Arn",
|
|
1543
|
-
# alarm_role_arn: "
|
|
1611
|
+
# alarm_role_arn: "RoleArn",
|
|
1544
1612
|
# },
|
|
1545
1613
|
# ],
|
|
1546
1614
|
# }
|
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.1
|
|
4
|
+
version: 1.7.1
|
|
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: 2020-
|
|
11
|
+
date: 2020-06-11 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.99.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.99.0
|
|
33
33
|
- !ruby/object:Gem::Dependency
|
|
34
34
|
name: aws-sigv4
|
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -81,7 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
81
81
|
version: '0'
|
|
82
82
|
requirements: []
|
|
83
83
|
rubyforge_project:
|
|
84
|
-
rubygems_version: 2.
|
|
84
|
+
rubygems_version: 2.7.6.2
|
|
85
85
|
signing_key:
|
|
86
86
|
specification_version: 4
|
|
87
87
|
summary: AWS SDK for Ruby - AppConfig
|