aws-sdk-appconfig 1.19.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 +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-appconfig/client.rb +872 -107
- data/lib/aws-sdk-appconfig/client_api.rb +28 -1
- data/lib/aws-sdk-appconfig/errors.rb +10 -0
- data/lib/aws-sdk-appconfig/types.rb +206 -71
- data/lib/aws-sdk-appconfig.rb +1 -1
- metadata +4 -4
@@ -50,22 +50,59 @@ module Aws::AppConfig
|
|
50
50
|
include Aws::Structure
|
51
51
|
end
|
52
52
|
|
53
|
-
#
|
54
|
-
#
|
53
|
+
# Detailed information about the input that failed to satisfy the
|
54
|
+
# constraints specified by a call.
|
55
|
+
#
|
56
|
+
# @!attribute [rw] invalid_configuration
|
57
|
+
# Detailed information about the bad request exception error when
|
58
|
+
# creating a hosted configuration version.
|
59
|
+
# @return [Array<Types::InvalidConfigurationDetail>]
|
60
|
+
#
|
61
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/BadRequestDetails AWS API Documentation
|
62
|
+
#
|
63
|
+
class BadRequestDetails < Struct.new(
|
64
|
+
:invalid_configuration,
|
65
|
+
:unknown)
|
66
|
+
SENSITIVE = []
|
67
|
+
include Aws::Structure
|
68
|
+
include Aws::Structure::Union
|
69
|
+
|
70
|
+
class InvalidConfiguration < BadRequestDetails; end
|
71
|
+
class Unknown < BadRequestDetails; end
|
72
|
+
end
|
73
|
+
|
74
|
+
# The input fails to satisfy the constraints specified by an Amazon Web
|
75
|
+
# Services service.
|
55
76
|
#
|
56
77
|
# @!attribute [rw] message
|
57
78
|
# @return [String]
|
58
79
|
#
|
80
|
+
# @!attribute [rw] reason
|
81
|
+
# @return [String]
|
82
|
+
#
|
83
|
+
# @!attribute [rw] details
|
84
|
+
# Detailed information about the input that failed to satisfy the
|
85
|
+
# constraints specified by a call.
|
86
|
+
# @return [Types::BadRequestDetails]
|
87
|
+
#
|
59
88
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/BadRequestException AWS API Documentation
|
60
89
|
#
|
61
90
|
class BadRequestException < Struct.new(
|
62
|
-
:message
|
91
|
+
:message,
|
92
|
+
:reason,
|
93
|
+
:details)
|
63
94
|
SENSITIVE = []
|
64
95
|
include Aws::Structure
|
65
96
|
end
|
66
97
|
|
67
98
|
# @!attribute [rw] content
|
68
99
|
# The content of the configuration or the configuration data.
|
100
|
+
#
|
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.
|
69
106
|
# @return [String]
|
70
107
|
#
|
71
108
|
# @!attribute [rw] configuration_version
|
@@ -113,13 +150,26 @@ module Aws::AppConfig
|
|
113
150
|
#
|
114
151
|
# @!attribute [rw] retrieval_role_arn
|
115
152
|
# The ARN of an IAM role with permission to access the configuration
|
116
|
-
# at the specified LocationUri
|
153
|
+
# at the specified `LocationUri`.
|
117
154
|
# @return [String]
|
118
155
|
#
|
119
156
|
# @!attribute [rw] validators
|
120
157
|
# A list of methods for validating the configuration.
|
121
158
|
# @return [Array<Types::Validator>]
|
122
159
|
#
|
160
|
+
# @!attribute [rw] type
|
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`
|
171
|
+
# @return [String]
|
172
|
+
#
|
123
173
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ConfigurationProfile AWS API Documentation
|
124
174
|
#
|
125
175
|
class ConfigurationProfile < Struct.new(
|
@@ -129,7 +179,8 @@ module Aws::AppConfig
|
|
129
179
|
:description,
|
130
180
|
:location_uri,
|
131
181
|
:retrieval_role_arn,
|
132
|
-
:validators
|
182
|
+
:validators,
|
183
|
+
:type)
|
133
184
|
SENSITIVE = []
|
134
185
|
include Aws::Structure
|
135
186
|
end
|
@@ -156,6 +207,19 @@ module Aws::AppConfig
|
|
156
207
|
# The types of validators in the configuration profile.
|
157
208
|
# @return [Array<String>]
|
158
209
|
#
|
210
|
+
# @!attribute [rw] type
|
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`
|
221
|
+
# @return [String]
|
222
|
+
#
|
159
223
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ConfigurationProfileSummary AWS API Documentation
|
160
224
|
#
|
161
225
|
class ConfigurationProfileSummary < Struct.new(
|
@@ -163,7 +227,8 @@ module Aws::AppConfig
|
|
163
227
|
:id,
|
164
228
|
:name,
|
165
229
|
:location_uri,
|
166
|
-
:validator_types
|
230
|
+
:validator_types,
|
231
|
+
:type)
|
167
232
|
SENSITIVE = []
|
168
233
|
include Aws::Structure
|
169
234
|
end
|
@@ -253,6 +318,7 @@ module Aws::AppConfig
|
|
253
318
|
# tags: {
|
254
319
|
# "TagKey" => "TagValue",
|
255
320
|
# },
|
321
|
+
# type: "ConfigurationProfileType",
|
256
322
|
# }
|
257
323
|
#
|
258
324
|
# @!attribute [rw] application_id
|
@@ -268,20 +334,26 @@ module Aws::AppConfig
|
|
268
334
|
# @return [String]
|
269
335
|
#
|
270
336
|
# @!attribute [rw] location_uri
|
271
|
-
# A URI to locate the configuration. You can specify
|
272
|
-
# (SSM) document, an SSM
|
273
|
-
#
|
274
|
-
#
|
275
|
-
#
|
276
|
-
#
|
277
|
-
#
|
337
|
+
# A URI to locate the configuration. You can specify the AppConfig
|
338
|
+
# hosted configuration store, Systems Manager (SSM) document, an SSM
|
339
|
+
# Parameter Store parameter, or an Amazon S3 object. For the hosted
|
340
|
+
# configuration store and for feature flags, specify `hosted`. For an
|
341
|
+
# SSM document, specify either the document name in the format
|
342
|
+
# `ssm-document://<Document_name>` or the Amazon Resource Name (ARN).
|
343
|
+
# For a parameter, specify either the parameter name in the format
|
344
|
+
# `ssm-parameter://<Parameter_name>` or the ARN. For an Amazon S3
|
345
|
+
# object, specify the URI in the following format:
|
278
346
|
# `s3://<bucket>/<objectKey> `. Here is an example:
|
279
|
-
# s3://my-bucket/my-app/us-east-1/my-config.json
|
347
|
+
# `s3://my-bucket/my-app/us-east-1/my-config.json`
|
280
348
|
# @return [String]
|
281
349
|
#
|
282
350
|
# @!attribute [rw] retrieval_role_arn
|
283
351
|
# The ARN of an IAM role with permission to access the configuration
|
284
|
-
# at the specified LocationUri
|
352
|
+
# at the specified `LocationUri`.
|
353
|
+
#
|
354
|
+
# A retrieval role ARN is not required for configurations stored in
|
355
|
+
# the AppConfig hosted configuration store. It is required for all
|
356
|
+
# other sources that store your configuration.
|
285
357
|
# @return [String]
|
286
358
|
#
|
287
359
|
# @!attribute [rw] validators
|
@@ -294,6 +366,19 @@ module Aws::AppConfig
|
|
294
366
|
# and an optional value, both of which you define.
|
295
367
|
# @return [Hash<String,String>]
|
296
368
|
#
|
369
|
+
# @!attribute [rw] type
|
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`
|
380
|
+
# @return [String]
|
381
|
+
#
|
297
382
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateConfigurationProfileRequest AWS API Documentation
|
298
383
|
#
|
299
384
|
class CreateConfigurationProfileRequest < Struct.new(
|
@@ -303,7 +388,8 @@ module Aws::AppConfig
|
|
303
388
|
:location_uri,
|
304
389
|
:retrieval_role_arn,
|
305
390
|
:validators,
|
306
|
-
:tags
|
391
|
+
:tags,
|
392
|
+
:type)
|
307
393
|
SENSITIVE = []
|
308
394
|
include Aws::Structure
|
309
395
|
end
|
@@ -348,7 +434,7 @@ module Aws::AppConfig
|
|
348
434
|
# @return [Float]
|
349
435
|
#
|
350
436
|
# @!attribute [rw] growth_type
|
351
|
-
# The algorithm used to define how percentage grows over time.
|
437
|
+
# The algorithm used to define how percentage grows over time.
|
352
438
|
# AppConfig supports the following growth types:
|
353
439
|
#
|
354
440
|
# **Linear**\: For this type, AppConfig processes the deployment by
|
@@ -411,7 +497,7 @@ module Aws::AppConfig
|
|
411
497
|
# description: "Description",
|
412
498
|
# monitors: [
|
413
499
|
# {
|
414
|
-
# alarm_arn: "
|
500
|
+
# alarm_arn: "StringWithLengthBetween1And2048", # required
|
415
501
|
# alarm_role_arn: "RoleArn",
|
416
502
|
# },
|
417
503
|
# ],
|
@@ -488,15 +574,15 @@ module Aws::AppConfig
|
|
488
574
|
#
|
489
575
|
#
|
490
576
|
#
|
491
|
-
# [1]: https://
|
577
|
+
# [1]: https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17
|
492
578
|
# @return [String]
|
493
579
|
#
|
494
580
|
# @!attribute [rw] latest_version_number
|
495
581
|
# An optional locking token used to prevent race conditions from
|
496
582
|
# overwriting configuration updates when creating a new version. To
|
497
583
|
# ensure your data is not overwritten when creating multiple hosted
|
498
|
-
# configuration versions in rapid succession, specify the version
|
499
|
-
# the latest hosted configuration version.
|
584
|
+
# configuration versions in rapid succession, specify the version
|
585
|
+
# number of the latest hosted configuration version.
|
500
586
|
# @return [Integer]
|
501
587
|
#
|
502
588
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateHostedConfigurationVersionRequest AWS API Documentation
|
@@ -585,11 +671,12 @@ module Aws::AppConfig
|
|
585
671
|
# }
|
586
672
|
#
|
587
673
|
# @!attribute [rw] application_id
|
588
|
-
# The application ID that includes the environment you want to
|
674
|
+
# The application ID that includes the environment that you want to
|
675
|
+
# delete.
|
589
676
|
# @return [String]
|
590
677
|
#
|
591
678
|
# @!attribute [rw] environment_id
|
592
|
-
# The ID of the environment you want to delete.
|
679
|
+
# The ID of the environment that you want to delete.
|
593
680
|
# @return [String]
|
594
681
|
#
|
595
682
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteEnvironmentRequest AWS API Documentation
|
@@ -682,9 +769,9 @@ module Aws::AppConfig
|
|
682
769
|
# @return [Float]
|
683
770
|
#
|
684
771
|
# @!attribute [rw] final_bake_time_in_minutes
|
685
|
-
# The amount of time AppConfig monitored for alarms before
|
686
|
-
# the deployment to be complete and no longer eligible for
|
687
|
-
#
|
772
|
+
# The amount of time that AppConfig monitored for alarms before
|
773
|
+
# considering the deployment to be complete and no longer eligible for
|
774
|
+
# automatic rollback.
|
688
775
|
# @return [Integer]
|
689
776
|
#
|
690
777
|
# @!attribute [rw] state
|
@@ -738,20 +825,20 @@ module Aws::AppConfig
|
|
738
825
|
# @!attribute [rw] event_type
|
739
826
|
# The type of deployment event. Deployment event types include the
|
740
827
|
# start, stop, or completion of a deployment; a percentage update; the
|
741
|
-
# start or stop of a bake period; the start or completion of a
|
828
|
+
# start or stop of a bake period; and the start or completion of a
|
742
829
|
# rollback.
|
743
830
|
# @return [String]
|
744
831
|
#
|
745
832
|
# @!attribute [rw] triggered_by
|
746
833
|
# The entity that triggered the deployment event. Events can be
|
747
|
-
# triggered by a user,
|
748
|
-
#
|
834
|
+
# triggered by a user, AppConfig, an Amazon CloudWatch alarm, or an
|
835
|
+
# internal error.
|
749
836
|
# @return [String]
|
750
837
|
#
|
751
838
|
# @!attribute [rw] description
|
752
839
|
# A description of the deployment event. Descriptions include, but are
|
753
|
-
# not limited to, the user account or the CloudWatch alarm ARN
|
754
|
-
# initiated a rollback, the percentage of hosts that received the
|
840
|
+
# not limited to, the user account or the Amazon CloudWatch alarm ARN
|
841
|
+
# that initiated a rollback, the percentage of hosts that received the
|
755
842
|
# deployment, or in the case of an internal error, a recommendation to
|
756
843
|
# attempt a new deployment.
|
757
844
|
# @return [String]
|
@@ -815,9 +902,9 @@ module Aws::AppConfig
|
|
815
902
|
# @return [Float]
|
816
903
|
#
|
817
904
|
# @!attribute [rw] final_bake_time_in_minutes
|
818
|
-
# The amount of time AppConfig monitored for alarms before
|
819
|
-
# the deployment to be complete and no longer eligible for
|
820
|
-
#
|
905
|
+
# The amount of time that AppConfig monitored for alarms before
|
906
|
+
# considering the deployment to be complete and no longer eligible for
|
907
|
+
# automatic rollback.
|
821
908
|
# @return [Integer]
|
822
909
|
#
|
823
910
|
# @!attribute [rw] replicate_to
|
@@ -867,9 +954,9 @@ module Aws::AppConfig
|
|
867
954
|
# @return [Float]
|
868
955
|
#
|
869
956
|
# @!attribute [rw] final_bake_time_in_minutes
|
870
|
-
# The amount of time AppConfig monitors for alarms before
|
871
|
-
# the deployment to be complete and no longer eligible for
|
872
|
-
#
|
957
|
+
# The amount of time that AppConfig monitors for alarms before
|
958
|
+
# considering the deployment to be complete and no longer eligible for
|
959
|
+
# automatic rollback.
|
873
960
|
# @return [Integer]
|
874
961
|
#
|
875
962
|
# @!attribute [rw] state
|
@@ -1014,7 +1101,7 @@ module Aws::AppConfig
|
|
1014
1101
|
# @return [String]
|
1015
1102
|
#
|
1016
1103
|
# @!attribute [rw] configuration_profile_id
|
1017
|
-
# The ID of the configuration profile you want to get.
|
1104
|
+
# The ID of the configuration profile that you want to get.
|
1018
1105
|
# @return [String]
|
1019
1106
|
#
|
1020
1107
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetConfigurationProfileRequest AWS API Documentation
|
@@ -1053,8 +1140,9 @@ module Aws::AppConfig
|
|
1053
1140
|
# @return [String]
|
1054
1141
|
#
|
1055
1142
|
# @!attribute [rw] client_id
|
1056
|
-
#
|
1057
|
-
#
|
1143
|
+
# The clientId parameter in the following command is a unique,
|
1144
|
+
# user-specified ID to identify the client for the configuration. This
|
1145
|
+
# ID enables AppConfig to deploy the configuration in intervals, as
|
1058
1146
|
# defined in the deployment strategy.
|
1059
1147
|
# @return [String]
|
1060
1148
|
#
|
@@ -1062,7 +1150,7 @@ module Aws::AppConfig
|
|
1062
1150
|
# The configuration version returned in the most recent
|
1063
1151
|
# `GetConfiguration` response.
|
1064
1152
|
#
|
1065
|
-
#
|
1153
|
+
# AppConfig uses the value of the `ClientConfigurationVersion`
|
1066
1154
|
# parameter to identify the configuration version on your clients. If
|
1067
1155
|
# you don’t send `ClientConfigurationVersion` with each call to
|
1068
1156
|
# `GetConfiguration`, your clients receive the current configuration.
|
@@ -1075,11 +1163,11 @@ module Aws::AppConfig
|
|
1075
1163
|
# the `ClientConfigurationVersion` parameter.
|
1076
1164
|
#
|
1077
1165
|
# For more information about working with configurations, see
|
1078
|
-
# [Retrieving the Configuration][1] in the *
|
1166
|
+
# [Retrieving the Configuration][1] in the *AppConfig User Guide*.
|
1079
1167
|
#
|
1080
1168
|
#
|
1081
1169
|
#
|
1082
|
-
# [1]:
|
1170
|
+
# [1]: http://docs.aws.amazon.com/appconfig/latest/userguide/appconfig-retrieving-the-configuration.html
|
1083
1171
|
# @return [String]
|
1084
1172
|
#
|
1085
1173
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetConfigurationRequest AWS API Documentation
|
@@ -1160,7 +1248,7 @@ module Aws::AppConfig
|
|
1160
1248
|
# @return [String]
|
1161
1249
|
#
|
1162
1250
|
# @!attribute [rw] environment_id
|
1163
|
-
# The ID of the environment you
|
1251
|
+
# The ID of the environment that you want to get.
|
1164
1252
|
# @return [String]
|
1165
1253
|
#
|
1166
1254
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetEnvironmentRequest AWS API Documentation
|
@@ -1229,7 +1317,7 @@ module Aws::AppConfig
|
|
1229
1317
|
#
|
1230
1318
|
#
|
1231
1319
|
#
|
1232
|
-
# [1]: https://
|
1320
|
+
# [1]: https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17
|
1233
1321
|
# @return [String]
|
1234
1322
|
#
|
1235
1323
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/HostedConfigurationVersion AWS API Documentation
|
@@ -1269,7 +1357,7 @@ module Aws::AppConfig
|
|
1269
1357
|
#
|
1270
1358
|
#
|
1271
1359
|
#
|
1272
|
-
# [1]: https://
|
1360
|
+
# [1]: https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17
|
1273
1361
|
# @return [String]
|
1274
1362
|
#
|
1275
1363
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/HostedConfigurationVersionSummary AWS API Documentation
|
@@ -1315,6 +1403,38 @@ module Aws::AppConfig
|
|
1315
1403
|
include Aws::Structure
|
1316
1404
|
end
|
1317
1405
|
|
1406
|
+
# Detailed information about the bad request exception error when
|
1407
|
+
# creating a hosted configuration version.
|
1408
|
+
#
|
1409
|
+
# @!attribute [rw] constraint
|
1410
|
+
# The invalid or out-of-range validation constraint in your JSON
|
1411
|
+
# schema that failed validation.
|
1412
|
+
# @return [String]
|
1413
|
+
#
|
1414
|
+
# @!attribute [rw] location
|
1415
|
+
# Location of the validation constraint in the configuration JSON
|
1416
|
+
# schema that failed validation.
|
1417
|
+
# @return [String]
|
1418
|
+
#
|
1419
|
+
# @!attribute [rw] reason
|
1420
|
+
# The reason for an invalid configuration error.
|
1421
|
+
# @return [String]
|
1422
|
+
#
|
1423
|
+
# @!attribute [rw] type
|
1424
|
+
# The type of error for an invalid configuration.
|
1425
|
+
# @return [String]
|
1426
|
+
#
|
1427
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/InvalidConfigurationDetail AWS API Documentation
|
1428
|
+
#
|
1429
|
+
class InvalidConfigurationDetail < Struct.new(
|
1430
|
+
:constraint,
|
1431
|
+
:location,
|
1432
|
+
:reason,
|
1433
|
+
:type)
|
1434
|
+
SENSITIVE = []
|
1435
|
+
include Aws::Structure
|
1436
|
+
end
|
1437
|
+
|
1318
1438
|
# @note When making an API call, you may pass ListApplicationsRequest
|
1319
1439
|
# data as a hash:
|
1320
1440
|
#
|
@@ -1330,8 +1450,12 @@ module Aws::AppConfig
|
|
1330
1450
|
# @return [Integer]
|
1331
1451
|
#
|
1332
1452
|
# @!attribute [rw] next_token
|
1333
|
-
# A token to start the list.
|
1334
|
-
#
|
1453
|
+
# A token to start the list. Next token is a pagination token
|
1454
|
+
# generated by AppConfig to describe what page the previous List call
|
1455
|
+
# ended on. For the first List request, the nextToken should not be
|
1456
|
+
# set. On subsequent calls, the nextToken parameter should be set to
|
1457
|
+
# the previous responses nextToken value. Use this token to get the
|
1458
|
+
# next set of results.
|
1335
1459
|
# @return [String]
|
1336
1460
|
#
|
1337
1461
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListApplicationsRequest AWS API Documentation
|
@@ -1350,6 +1474,7 @@ module Aws::AppConfig
|
|
1350
1474
|
# application_id: "Id", # required
|
1351
1475
|
# max_results: 1,
|
1352
1476
|
# next_token: "NextToken",
|
1477
|
+
# type: "ConfigurationProfileType",
|
1353
1478
|
# }
|
1354
1479
|
#
|
1355
1480
|
# @!attribute [rw] application_id
|
@@ -1367,12 +1492,19 @@ module Aws::AppConfig
|
|
1367
1492
|
# results.
|
1368
1493
|
# @return [String]
|
1369
1494
|
#
|
1495
|
+
# @!attribute [rw] type
|
1496
|
+
# A filter based on the type of configurations that the configuration
|
1497
|
+
# profile contains. A configuration can be a feature flag or a
|
1498
|
+
# freeform configuration.
|
1499
|
+
# @return [String]
|
1500
|
+
#
|
1370
1501
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListConfigurationProfilesRequest AWS API Documentation
|
1371
1502
|
#
|
1372
1503
|
class ListConfigurationProfilesRequest < Struct.new(
|
1373
1504
|
:application_id,
|
1374
1505
|
:max_results,
|
1375
|
-
:next_token
|
1506
|
+
:next_token,
|
1507
|
+
:type)
|
1376
1508
|
SENSITIVE = []
|
1377
1509
|
include Aws::Structure
|
1378
1510
|
end
|
@@ -1424,14 +1556,16 @@ module Aws::AppConfig
|
|
1424
1556
|
# @return [String]
|
1425
1557
|
#
|
1426
1558
|
# @!attribute [rw] max_results
|
1427
|
-
# The maximum number of items
|
1428
|
-
#
|
1429
|
-
#
|
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.
|
1430
1563
|
# @return [Integer]
|
1431
1564
|
#
|
1432
1565
|
# @!attribute [rw] next_token
|
1433
|
-
#
|
1434
|
-
# 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.
|
1435
1569
|
# @return [String]
|
1436
1570
|
#
|
1437
1571
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListDeploymentsRequest AWS API Documentation
|
@@ -1544,16 +1678,17 @@ module Aws::AppConfig
|
|
1544
1678
|
# data as a hash:
|
1545
1679
|
#
|
1546
1680
|
# {
|
1547
|
-
# alarm_arn: "
|
1681
|
+
# alarm_arn: "StringWithLengthBetween1And2048", # required
|
1548
1682
|
# alarm_role_arn: "RoleArn",
|
1549
1683
|
# }
|
1550
1684
|
#
|
1551
1685
|
# @!attribute [rw] alarm_arn
|
1552
|
-
# ARN of the Amazon CloudWatch alarm.
|
1686
|
+
# Amazon Resource Name (ARN) of the Amazon CloudWatch alarm.
|
1553
1687
|
# @return [String]
|
1554
1688
|
#
|
1555
1689
|
# @!attribute [rw] alarm_role_arn
|
1556
|
-
# ARN of an IAM role for AppConfig to
|
1690
|
+
# ARN of an Identity and Access Management (IAM) role for AppConfig to
|
1691
|
+
# monitor `AlarmArn`.
|
1557
1692
|
# @return [String]
|
1558
1693
|
#
|
1559
1694
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/Monitor AWS API Documentation
|
@@ -1622,8 +1757,8 @@ module Aws::AppConfig
|
|
1622
1757
|
end
|
1623
1758
|
|
1624
1759
|
# The number of hosted configuration versions exceeds the limit for the
|
1625
|
-
# AppConfig configuration store. Delete one or more versions and
|
1626
|
-
# again.
|
1760
|
+
# AppConfig hosted configuration store. Delete one or more versions and
|
1761
|
+
# try again.
|
1627
1762
|
#
|
1628
1763
|
# @!attribute [rw] message
|
1629
1764
|
# @return [String]
|
@@ -1846,7 +1981,7 @@ module Aws::AppConfig
|
|
1846
1981
|
#
|
1847
1982
|
# @!attribute [rw] retrieval_role_arn
|
1848
1983
|
# The ARN of an IAM role with permission to access the configuration
|
1849
|
-
# at the specified LocationUri
|
1984
|
+
# at the specified `LocationUri`.
|
1850
1985
|
# @return [String]
|
1851
1986
|
#
|
1852
1987
|
# @!attribute [rw] validators
|
@@ -1891,9 +2026,9 @@ module Aws::AppConfig
|
|
1891
2026
|
# @return [Integer]
|
1892
2027
|
#
|
1893
2028
|
# @!attribute [rw] final_bake_time_in_minutes
|
1894
|
-
# The amount of time AppConfig monitors for alarms before
|
1895
|
-
# the deployment to be complete and no longer eligible for
|
1896
|
-
#
|
2029
|
+
# The amount of time that AppConfig monitors for alarms before
|
2030
|
+
# considering the deployment to be complete and no longer eligible for
|
2031
|
+
# automatic rollback.
|
1897
2032
|
# @return [Integer]
|
1898
2033
|
#
|
1899
2034
|
# @!attribute [rw] growth_factor
|
@@ -1902,7 +2037,7 @@ module Aws::AppConfig
|
|
1902
2037
|
# @return [Float]
|
1903
2038
|
#
|
1904
2039
|
# @!attribute [rw] growth_type
|
1905
|
-
# The algorithm used to define how percentage grows over time.
|
2040
|
+
# The algorithm used to define how percentage grows over time.
|
1906
2041
|
# AppConfig supports the following growth types:
|
1907
2042
|
#
|
1908
2043
|
# **Linear**\: For this type, AppConfig processes the deployment by
|
@@ -1955,7 +2090,7 @@ module Aws::AppConfig
|
|
1955
2090
|
# description: "Description",
|
1956
2091
|
# monitors: [
|
1957
2092
|
# {
|
1958
|
-
# alarm_arn: "
|
2093
|
+
# alarm_arn: "StringWithLengthBetween1And2048", # required
|
1959
2094
|
# alarm_role_arn: "RoleArn",
|
1960
2095
|
# },
|
1961
2096
|
# ],
|
@@ -2025,11 +2160,11 @@ module Aws::AppConfig
|
|
2025
2160
|
end
|
2026
2161
|
|
2027
2162
|
# A validator provides a syntactic or semantic check to ensure the
|
2028
|
-
# configuration you want to deploy functions as intended. To
|
2029
|
-
# your application configuration data, you provide a schema or
|
2030
|
-
# function that runs against the
|
2031
|
-
# deployment or update can only proceed
|
2032
|
-
# valid.
|
2163
|
+
# configuration that you want to deploy functions as intended. To
|
2164
|
+
# validate your application configuration data, you provide a schema or
|
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.
|
2033
2168
|
#
|
2034
2169
|
# @note When making an API call, you may pass Validator
|
2035
2170
|
# data as a hash:
|
@@ -2045,7 +2180,7 @@ module Aws::AppConfig
|
|
2045
2180
|
#
|
2046
2181
|
# @!attribute [rw] content
|
2047
2182
|
# Either the JSON Schema content or the Amazon Resource Name (ARN) of
|
2048
|
-
# an
|
2183
|
+
# an Lambda function.
|
2049
2184
|
# @return [String]
|
2050
2185
|
#
|
2051
2186
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/Validator AWS API Documentation
|
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
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.125.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.125.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|