aws-sdk-appconfig 1.17.0 → 1.21.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.
@@ -17,13 +17,16 @@ module Aws::AppConfig
17
17
  ApplicationList = Shapes::ListShape.new(name: 'ApplicationList')
18
18
  Applications = Shapes::StructureShape.new(name: 'Applications')
19
19
  Arn = Shapes::StringShape.new(name: 'Arn')
20
+ BadRequestDetails = Shapes::UnionShape.new(name: 'BadRequestDetails')
20
21
  BadRequestException = Shapes::StructureShape.new(name: 'BadRequestException')
22
+ BadRequestReason = Shapes::StringShape.new(name: 'BadRequestReason')
21
23
  Blob = Shapes::BlobShape.new(name: 'Blob')
22
24
  BytesMeasure = Shapes::StringShape.new(name: 'BytesMeasure')
23
25
  Configuration = Shapes::StructureShape.new(name: 'Configuration')
24
26
  ConfigurationProfile = Shapes::StructureShape.new(name: 'ConfigurationProfile')
25
27
  ConfigurationProfileSummary = Shapes::StructureShape.new(name: 'ConfigurationProfileSummary')
26
28
  ConfigurationProfileSummaryList = Shapes::ListShape.new(name: 'ConfigurationProfileSummaryList')
29
+ ConfigurationProfileType = Shapes::StringShape.new(name: 'ConfigurationProfileType')
27
30
  ConfigurationProfiles = Shapes::StructureShape.new(name: 'ConfigurationProfiles')
28
31
  ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
29
32
  CreateApplicationRequest = Shapes::StructureShape.new(name: 'CreateApplicationRequest')
@@ -70,6 +73,8 @@ module Aws::AppConfig
70
73
  Id = Shapes::StringShape.new(name: 'Id')
71
74
  Integer = Shapes::IntegerShape.new(name: 'Integer')
72
75
  InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
76
+ InvalidConfigurationDetail = Shapes::StructureShape.new(name: 'InvalidConfigurationDetail')
77
+ InvalidConfigurationDetailList = Shapes::ListShape.new(name: 'InvalidConfigurationDetailList')
73
78
  Iso8601DateTime = Shapes::TimestampShape.new(name: 'Iso8601DateTime', timestampFormat: "iso8601")
74
79
  ListApplicationsRequest = Shapes::StructureShape.new(name: 'ListApplicationsRequest')
75
80
  ListConfigurationProfilesRequest = Shapes::StructureShape.new(name: 'ListConfigurationProfilesRequest')
@@ -95,6 +100,7 @@ module Aws::AppConfig
95
100
  StopDeploymentRequest = Shapes::StructureShape.new(name: 'StopDeploymentRequest')
96
101
  String = Shapes::StringShape.new(name: 'String')
97
102
  StringWithLengthBetween0And32768 = Shapes::StringShape.new(name: 'StringWithLengthBetween0And32768')
103
+ StringWithLengthBetween1And2048 = Shapes::StringShape.new(name: 'StringWithLengthBetween1And2048')
98
104
  StringWithLengthBetween1And255 = Shapes::StringShape.new(name: 'StringWithLengthBetween1And255')
99
105
  StringWithLengthBetween1And64 = Shapes::StringShape.new(name: 'StringWithLengthBetween1And64')
100
106
  TagKey = Shapes::StringShape.new(name: 'TagKey')
@@ -127,7 +133,15 @@ module Aws::AppConfig
127
133
  Applications.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
128
134
  Applications.struct_class = Types::Applications
129
135
 
136
+ BadRequestDetails.add_member(:invalid_configuration, Shapes::ShapeRef.new(shape: InvalidConfigurationDetailList, location_name: "InvalidConfiguration"))
137
+ BadRequestDetails.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
138
+ BadRequestDetails.add_member_subclass(:invalid_configuration, Types::BadRequestDetails::InvalidConfiguration)
139
+ BadRequestDetails.add_member_subclass(:unknown, Types::BadRequestDetails::Unknown)
140
+ BadRequestDetails.struct_class = Types::BadRequestDetails
141
+
130
142
  BadRequestException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
143
+ BadRequestException.add_member(:reason, Shapes::ShapeRef.new(shape: BadRequestReason, location_name: "Reason"))
144
+ BadRequestException.add_member(:details, Shapes::ShapeRef.new(shape: BadRequestDetails, location_name: "Details"))
131
145
  BadRequestException.struct_class = Types::BadRequestException
132
146
 
133
147
  Configuration.add_member(:content, Shapes::ShapeRef.new(shape: Blob, location_name: "Content"))
@@ -144,6 +158,7 @@ module Aws::AppConfig
144
158
  ConfigurationProfile.add_member(:location_uri, Shapes::ShapeRef.new(shape: Uri, location_name: "LocationUri"))
145
159
  ConfigurationProfile.add_member(:retrieval_role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "RetrievalRoleArn"))
146
160
  ConfigurationProfile.add_member(:validators, Shapes::ShapeRef.new(shape: ValidatorList, location_name: "Validators"))
161
+ ConfigurationProfile.add_member(:type, Shapes::ShapeRef.new(shape: ConfigurationProfileType, location_name: "Type"))
147
162
  ConfigurationProfile.struct_class = Types::ConfigurationProfile
148
163
 
149
164
  ConfigurationProfileSummary.add_member(:application_id, Shapes::ShapeRef.new(shape: Id, location_name: "ApplicationId"))
@@ -151,6 +166,7 @@ module Aws::AppConfig
151
166
  ConfigurationProfileSummary.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "Name"))
152
167
  ConfigurationProfileSummary.add_member(:location_uri, Shapes::ShapeRef.new(shape: Uri, location_name: "LocationUri"))
153
168
  ConfigurationProfileSummary.add_member(:validator_types, Shapes::ShapeRef.new(shape: ValidatorTypeList, location_name: "ValidatorTypes"))
169
+ ConfigurationProfileSummary.add_member(:type, Shapes::ShapeRef.new(shape: ConfigurationProfileType, location_name: "Type"))
154
170
  ConfigurationProfileSummary.struct_class = Types::ConfigurationProfileSummary
155
171
 
156
172
  ConfigurationProfileSummaryList.member = Shapes::ShapeRef.new(shape: ConfigurationProfileSummary)
@@ -174,6 +190,7 @@ module Aws::AppConfig
174
190
  CreateConfigurationProfileRequest.add_member(:retrieval_role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "RetrievalRoleArn"))
175
191
  CreateConfigurationProfileRequest.add_member(:validators, Shapes::ShapeRef.new(shape: ValidatorList, location_name: "Validators"))
176
192
  CreateConfigurationProfileRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
193
+ CreateConfigurationProfileRequest.add_member(:type, Shapes::ShapeRef.new(shape: ConfigurationProfileType, location_name: "Type"))
177
194
  CreateConfigurationProfileRequest.struct_class = Types::CreateConfigurationProfileRequest
178
195
 
179
196
  CreateDeploymentStrategyRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "Name"))
@@ -356,6 +373,14 @@ module Aws::AppConfig
356
373
  InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
357
374
  InternalServerException.struct_class = Types::InternalServerException
358
375
 
376
+ InvalidConfigurationDetail.add_member(:constraint, Shapes::ShapeRef.new(shape: String, location_name: "Constraint"))
377
+ InvalidConfigurationDetail.add_member(:location, Shapes::ShapeRef.new(shape: String, location_name: "Location"))
378
+ InvalidConfigurationDetail.add_member(:reason, Shapes::ShapeRef.new(shape: String, location_name: "Reason"))
379
+ InvalidConfigurationDetail.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
380
+ InvalidConfigurationDetail.struct_class = Types::InvalidConfigurationDetail
381
+
382
+ InvalidConfigurationDetailList.member = Shapes::ShapeRef.new(shape: InvalidConfigurationDetail)
383
+
359
384
  ListApplicationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "max_results", metadata: {"box"=>true}))
360
385
  ListApplicationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "next_token"))
361
386
  ListApplicationsRequest.struct_class = Types::ListApplicationsRequest
@@ -363,6 +388,7 @@ module Aws::AppConfig
363
388
  ListConfigurationProfilesRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "ApplicationId"))
364
389
  ListConfigurationProfilesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "max_results", metadata: {"box"=>true}))
365
390
  ListConfigurationProfilesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "next_token"))
391
+ ListConfigurationProfilesRequest.add_member(:type, Shapes::ShapeRef.new(shape: ConfigurationProfileType, location: "querystring", location_name: "type"))
366
392
  ListConfigurationProfilesRequest.struct_class = Types::ListConfigurationProfilesRequest
367
393
 
368
394
  ListDeploymentStrategiesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "max_results", metadata: {"box"=>true}))
@@ -389,7 +415,7 @@ module Aws::AppConfig
389
415
  ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "uri", location_name: "ResourceArn"))
390
416
  ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
391
417
 
392
- Monitor.add_member(:alarm_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "AlarmArn"))
418
+ Monitor.add_member(:alarm_arn, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And2048, required: true, location_name: "AlarmArn"))
393
419
  Monitor.add_member(:alarm_role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "AlarmRoleArn"))
394
420
  Monitor.struct_class = Types::Monitor
395
421
 
@@ -53,6 +53,16 @@ module Aws::AppConfig
53
53
  def message
54
54
  @message || @data[:message]
55
55
  end
56
+
57
+ # @return [String]
58
+ def reason
59
+ @data[:reason]
60
+ end
61
+
62
+ # @return [String]
63
+ def details
64
+ @data[:details]
65
+ end
56
66
  end
57
67
 
58
68
  class ConflictException < ServiceError
@@ -50,22 +50,61 @@ module Aws::AppConfig
50
50
  include Aws::Structure
51
51
  end
52
52
 
53
- # The input fails to satisfy the constraints specified by an AWS
54
- # service.
53
+ # Detailed information about the input that failed to satisfy the
54
+ # constraints specified by an AWS service.
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 an AWS service.
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
+ # 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.
69
108
  # @return [String]
70
109
  #
71
110
  # @!attribute [rw] configuration_version
@@ -113,13 +152,20 @@ module Aws::AppConfig
113
152
  #
114
153
  # @!attribute [rw] retrieval_role_arn
115
154
  # The ARN of an IAM role with permission to access the configuration
116
- # at the specified LocationUri.
155
+ # at the specified `LocationUri`.
117
156
  # @return [String]
118
157
  #
119
158
  # @!attribute [rw] validators
120
159
  # A list of methods for validating the configuration.
121
160
  # @return [Array<Types::Validator>]
122
161
  #
162
+ # @!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.
167
+ # @return [String]
168
+ #
123
169
  # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ConfigurationProfile AWS API Documentation
124
170
  #
125
171
  class ConfigurationProfile < Struct.new(
@@ -129,7 +175,8 @@ module Aws::AppConfig
129
175
  :description,
130
176
  :location_uri,
131
177
  :retrieval_role_arn,
132
- :validators)
178
+ :validators,
179
+ :type)
133
180
  SENSITIVE = []
134
181
  include Aws::Structure
135
182
  end
@@ -156,6 +203,13 @@ module Aws::AppConfig
156
203
  # The types of validators in the configuration profile.
157
204
  # @return [Array<String>]
158
205
  #
206
+ # @!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
+ # @return [String]
212
+ #
159
213
  # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ConfigurationProfileSummary AWS API Documentation
160
214
  #
161
215
  class ConfigurationProfileSummary < Struct.new(
@@ -163,7 +217,8 @@ module Aws::AppConfig
163
217
  :id,
164
218
  :name,
165
219
  :location_uri,
166
- :validator_types)
220
+ :validator_types,
221
+ :type)
167
222
  SENSITIVE = []
168
223
  include Aws::Structure
169
224
  end
@@ -253,6 +308,7 @@ module Aws::AppConfig
253
308
  # tags: {
254
309
  # "TagKey" => "TagValue",
255
310
  # },
311
+ # type: "ConfigurationProfileType",
256
312
  # }
257
313
  #
258
314
  # @!attribute [rw] application_id
@@ -268,20 +324,26 @@ module Aws::AppConfig
268
324
  # @return [String]
269
325
  #
270
326
  # @!attribute [rw] location_uri
271
- # A URI to locate the configuration. You can specify a Systems Manager
272
- # (SSM) document, an SSM Parameter Store parameter, or an Amazon S3
273
- # object. For an SSM document, specify either the document name in the
274
- # format `ssm-document://<Document_name>` or the Amazon Resource Name
275
- # (ARN). For a parameter, specify either the parameter name in the
276
- # format `ssm-parameter://<Parameter_name>` or the ARN. For an Amazon
277
- # S3 object, specify the URI in the following format:
327
+ # A URI to locate the configuration. You can specify the AppConfig
328
+ # hosted configuration store, Systems Manager (SSM) document, an SSM
329
+ # Parameter Store parameter, or an Amazon S3 object. For the hosted
330
+ # configuration store and for feature flags, specify `hosted`. For an
331
+ # SSM document, specify either the document name in the format
332
+ # `ssm-document://<Document_name>` or the Amazon Resource Name (ARN).
333
+ # For a parameter, specify either the parameter name in the format
334
+ # `ssm-parameter://<Parameter_name>` or the ARN. For an Amazon S3
335
+ # object, specify the URI in the following format:
278
336
  # `s3://<bucket>/<objectKey> `. Here is an example:
279
- # s3://my-bucket/my-app/us-east-1/my-config.json
337
+ # `s3://my-bucket/my-app/us-east-1/my-config.json`
280
338
  # @return [String]
281
339
  #
282
340
  # @!attribute [rw] retrieval_role_arn
283
341
  # The ARN of an IAM role with permission to access the configuration
284
- # at the specified LocationUri.
342
+ # at the specified `LocationUri`.
343
+ #
344
+ # A retrieval role ARN is not required for configurations stored in
345
+ # the AppConfig hosted configuration store. It is required for all
346
+ # other sources that store your configuration.
285
347
  # @return [String]
286
348
  #
287
349
  # @!attribute [rw] validators
@@ -294,6 +356,13 @@ module Aws::AppConfig
294
356
  # and an optional value, both of which you define.
295
357
  # @return [Hash<String,String>]
296
358
  #
359
+ # @!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.
364
+ # @return [String]
365
+ #
297
366
  # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateConfigurationProfileRequest AWS API Documentation
298
367
  #
299
368
  class CreateConfigurationProfileRequest < Struct.new(
@@ -303,7 +372,8 @@ module Aws::AppConfig
303
372
  :location_uri,
304
373
  :retrieval_role_arn,
305
374
  :validators,
306
- :tags)
375
+ :tags,
376
+ :type)
307
377
  SENSITIVE = []
308
378
  include Aws::Structure
309
379
  end
@@ -348,7 +418,7 @@ module Aws::AppConfig
348
418
  # @return [Float]
349
419
  #
350
420
  # @!attribute [rw] growth_type
351
- # The algorithm used to define how percentage grows over time. AWS
421
+ # The algorithm used to define how percentage grows over time.
352
422
  # AppConfig supports the following growth types:
353
423
  #
354
424
  # **Linear**\: For this type, AppConfig processes the deployment by
@@ -411,7 +481,7 @@ module Aws::AppConfig
411
481
  # description: "Description",
412
482
  # monitors: [
413
483
  # {
414
- # alarm_arn: "Arn",
484
+ # alarm_arn: "StringWithLengthBetween1And2048", # required
415
485
  # alarm_role_arn: "RoleArn",
416
486
  # },
417
487
  # ],
@@ -488,15 +558,15 @@ module Aws::AppConfig
488
558
  #
489
559
  #
490
560
  #
491
- # [1]: https://docs.aws.amazon.com/https:/www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17
561
+ # [1]: https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17
492
562
  # @return [String]
493
563
  #
494
564
  # @!attribute [rw] latest_version_number
495
565
  # An optional locking token used to prevent race conditions from
496
566
  # overwriting configuration updates when creating a new version. To
497
567
  # ensure your data is not overwritten when creating multiple hosted
498
- # configuration versions in rapid succession, specify the version of
499
- # the latest hosted configuration version.
568
+ # configuration versions in rapid succession, specify the version
569
+ # number of the latest hosted configuration version.
500
570
  # @return [Integer]
501
571
  #
502
572
  # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateHostedConfigurationVersionRequest AWS API Documentation
@@ -585,11 +655,12 @@ module Aws::AppConfig
585
655
  # }
586
656
  #
587
657
  # @!attribute [rw] application_id
588
- # The application ID that includes the environment you want to delete.
658
+ # The application ID that includes the environment that you want to
659
+ # delete.
589
660
  # @return [String]
590
661
  #
591
662
  # @!attribute [rw] environment_id
592
- # The ID of the environment you want to delete.
663
+ # The ID of the environment that you want to delete.
593
664
  # @return [String]
594
665
  #
595
666
  # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteEnvironmentRequest AWS API Documentation
@@ -682,9 +753,9 @@ module Aws::AppConfig
682
753
  # @return [Float]
683
754
  #
684
755
  # @!attribute [rw] final_bake_time_in_minutes
685
- # The amount of time AppConfig monitored for alarms before considering
686
- # the deployment to be complete and no longer eligible for automatic
687
- # roll back.
756
+ # The amount of time that AppConfig monitored for alarms before
757
+ # considering the deployment to be complete and no longer eligible for
758
+ # automatic rollback.
688
759
  # @return [Integer]
689
760
  #
690
761
  # @!attribute [rw] state
@@ -738,20 +809,20 @@ module Aws::AppConfig
738
809
  # @!attribute [rw] event_type
739
810
  # The type of deployment event. Deployment event types include the
740
811
  # 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
812
+ # start or stop of a bake period; and the start or completion of a
742
813
  # rollback.
743
814
  # @return [String]
744
815
  #
745
816
  # @!attribute [rw] triggered_by
746
817
  # The entity that triggered the deployment event. Events can be
747
- # triggered by a user, AWS AppConfig, an Amazon CloudWatch alarm, or
748
- # an internal error.
818
+ # triggered by a user, AppConfig, an Amazon CloudWatch alarm, or an
819
+ # internal error.
749
820
  # @return [String]
750
821
  #
751
822
  # @!attribute [rw] description
752
823
  # A description of the deployment event. Descriptions include, but are
753
- # not limited to, the user account or the CloudWatch alarm ARN that
754
- # initiated a rollback, the percentage of hosts that received the
824
+ # not limited to, the user account or the Amazon CloudWatch alarm ARN
825
+ # that initiated a rollback, the percentage of hosts that received the
755
826
  # deployment, or in the case of an internal error, a recommendation to
756
827
  # attempt a new deployment.
757
828
  # @return [String]
@@ -815,9 +886,9 @@ module Aws::AppConfig
815
886
  # @return [Float]
816
887
  #
817
888
  # @!attribute [rw] final_bake_time_in_minutes
818
- # The amount of time AppConfig monitored for alarms before considering
819
- # the deployment to be complete and no longer eligible for automatic
820
- # roll back.
889
+ # The amount of time that AppConfig monitored for alarms before
890
+ # considering the deployment to be complete and no longer eligible for
891
+ # automatic rollback.
821
892
  # @return [Integer]
822
893
  #
823
894
  # @!attribute [rw] replicate_to
@@ -867,9 +938,9 @@ module Aws::AppConfig
867
938
  # @return [Float]
868
939
  #
869
940
  # @!attribute [rw] final_bake_time_in_minutes
870
- # The amount of time AppConfig monitors for alarms before considering
871
- # the deployment to be complete and no longer eligible for automatic
872
- # roll back.
941
+ # The amount of time that AppConfig monitors for alarms before
942
+ # considering the deployment to be complete and no longer eligible for
943
+ # automatic rollback.
873
944
  # @return [Integer]
874
945
  #
875
946
  # @!attribute [rw] state
@@ -1014,7 +1085,7 @@ module Aws::AppConfig
1014
1085
  # @return [String]
1015
1086
  #
1016
1087
  # @!attribute [rw] configuration_profile_id
1017
- # The ID of the configuration profile you want to get.
1088
+ # The ID of the configuration profile that you want to get.
1018
1089
  # @return [String]
1019
1090
  #
1020
1091
  # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetConfigurationProfileRequest AWS API Documentation
@@ -1053,8 +1124,9 @@ module Aws::AppConfig
1053
1124
  # @return [String]
1054
1125
  #
1055
1126
  # @!attribute [rw] client_id
1056
- # A unique ID to identify the client for the configuration. This ID
1057
- # enables AppConfig to deploy the configuration in intervals, as
1127
+ # The clientId parameter in the following command is a unique,
1128
+ # user-specified ID to identify the client for the configuration. This
1129
+ # ID enables AppConfig to deploy the configuration in intervals, as
1058
1130
  # defined in the deployment strategy.
1059
1131
  # @return [String]
1060
1132
  #
@@ -1062,7 +1134,7 @@ module Aws::AppConfig
1062
1134
  # The configuration version returned in the most recent
1063
1135
  # `GetConfiguration` response.
1064
1136
  #
1065
- # AWS AppConfig uses the value of the `ClientConfigurationVersion`
1137
+ # AppConfig uses the value of the `ClientConfigurationVersion`
1066
1138
  # parameter to identify the configuration version on your clients. If
1067
1139
  # you don’t send `ClientConfigurationVersion` with each call to
1068
1140
  # `GetConfiguration`, your clients receive the current configuration.
@@ -1075,11 +1147,11 @@ module Aws::AppConfig
1075
1147
  # the `ClientConfigurationVersion` parameter.
1076
1148
  #
1077
1149
  # For more information about working with configurations, see
1078
- # [Retrieving the Configuration][1] in the *AWS AppConfig User Guide*.
1150
+ # [Retrieving the Configuration][1] in the *AppConfig User Guide*.
1079
1151
  #
1080
1152
  #
1081
1153
  #
1082
- # [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/appconfig-retrieving-the-configuration.html
1154
+ # [1]: http://docs.aws.amazon.com/appconfig/latest/userguide/appconfig-retrieving-the-configuration.html
1083
1155
  # @return [String]
1084
1156
  #
1085
1157
  # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetConfigurationRequest AWS API Documentation
@@ -1160,7 +1232,7 @@ module Aws::AppConfig
1160
1232
  # @return [String]
1161
1233
  #
1162
1234
  # @!attribute [rw] environment_id
1163
- # The ID of the environment you wnat to get.
1235
+ # The ID of the environment that you want to get.
1164
1236
  # @return [String]
1165
1237
  #
1166
1238
  # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetEnvironmentRequest AWS API Documentation
@@ -1229,7 +1301,7 @@ module Aws::AppConfig
1229
1301
  #
1230
1302
  #
1231
1303
  #
1232
- # [1]: https://docs.aws.amazon.com/https:/www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17
1304
+ # [1]: https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17
1233
1305
  # @return [String]
1234
1306
  #
1235
1307
  # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/HostedConfigurationVersion AWS API Documentation
@@ -1269,7 +1341,7 @@ module Aws::AppConfig
1269
1341
  #
1270
1342
  #
1271
1343
  #
1272
- # [1]: https://docs.aws.amazon.com/https:/www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17
1344
+ # [1]: https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17
1273
1345
  # @return [String]
1274
1346
  #
1275
1347
  # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/HostedConfigurationVersionSummary AWS API Documentation
@@ -1315,6 +1387,38 @@ module Aws::AppConfig
1315
1387
  include Aws::Structure
1316
1388
  end
1317
1389
 
1390
+ # Detailed information about the bad request exception error when
1391
+ # creating a hosted configuration version.
1392
+ #
1393
+ # @!attribute [rw] constraint
1394
+ # The invalid or out-of-range validation constraint in your JSON
1395
+ # schema that failed validation.
1396
+ # @return [String]
1397
+ #
1398
+ # @!attribute [rw] location
1399
+ # Location of the validation constraint in the configuration JSON
1400
+ # schema that failed validation.
1401
+ # @return [String]
1402
+ #
1403
+ # @!attribute [rw] reason
1404
+ # The reason for an invalid configuration error.
1405
+ # @return [String]
1406
+ #
1407
+ # @!attribute [rw] type
1408
+ # The type of error for an invalid configuration.
1409
+ # @return [String]
1410
+ #
1411
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/InvalidConfigurationDetail AWS API Documentation
1412
+ #
1413
+ class InvalidConfigurationDetail < Struct.new(
1414
+ :constraint,
1415
+ :location,
1416
+ :reason,
1417
+ :type)
1418
+ SENSITIVE = []
1419
+ include Aws::Structure
1420
+ end
1421
+
1318
1422
  # @note When making an API call, you may pass ListApplicationsRequest
1319
1423
  # data as a hash:
1320
1424
  #
@@ -1330,8 +1434,12 @@ module Aws::AppConfig
1330
1434
  # @return [Integer]
1331
1435
  #
1332
1436
  # @!attribute [rw] next_token
1333
- # A token to start the list. Use this token to get the next set of
1334
- # results.
1437
+ # A token to start the list. Next token is a pagination token
1438
+ # generated by AppConfig to describe what page the previous List call
1439
+ # ended on. For the first List request, the nextToken should not be
1440
+ # set. On subsequent calls, the nextToken parameter should be set to
1441
+ # the previous responses nextToken value. Use this token to get the
1442
+ # next set of results.
1335
1443
  # @return [String]
1336
1444
  #
1337
1445
  # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListApplicationsRequest AWS API Documentation
@@ -1350,6 +1458,7 @@ module Aws::AppConfig
1350
1458
  # application_id: "Id", # required
1351
1459
  # max_results: 1,
1352
1460
  # next_token: "NextToken",
1461
+ # type: "ConfigurationProfileType",
1353
1462
  # }
1354
1463
  #
1355
1464
  # @!attribute [rw] application_id
@@ -1367,12 +1476,19 @@ module Aws::AppConfig
1367
1476
  # results.
1368
1477
  # @return [String]
1369
1478
  #
1479
+ # @!attribute [rw] type
1480
+ # A filter based on the type of configurations that the configuration
1481
+ # profile contains. A configuration can be a feature flag or a
1482
+ # free-form configuration.
1483
+ # @return [String]
1484
+ #
1370
1485
  # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListConfigurationProfilesRequest AWS API Documentation
1371
1486
  #
1372
1487
  class ListConfigurationProfilesRequest < Struct.new(
1373
1488
  :application_id,
1374
1489
  :max_results,
1375
- :next_token)
1490
+ :next_token,
1491
+ :type)
1376
1492
  SENSITIVE = []
1377
1493
  include Aws::Structure
1378
1494
  end
@@ -1544,16 +1660,17 @@ module Aws::AppConfig
1544
1660
  # data as a hash:
1545
1661
  #
1546
1662
  # {
1547
- # alarm_arn: "Arn",
1663
+ # alarm_arn: "StringWithLengthBetween1And2048", # required
1548
1664
  # alarm_role_arn: "RoleArn",
1549
1665
  # }
1550
1666
  #
1551
1667
  # @!attribute [rw] alarm_arn
1552
- # ARN of the Amazon CloudWatch alarm.
1668
+ # Amazon Resource Name (ARN) of the Amazon CloudWatch alarm.
1553
1669
  # @return [String]
1554
1670
  #
1555
1671
  # @!attribute [rw] alarm_role_arn
1556
- # ARN of an IAM role for AppConfig to monitor `AlarmArn`.
1672
+ # ARN of an Identity and Access Management (IAM) role for AppConfig to
1673
+ # monitor `AlarmArn`.
1557
1674
  # @return [String]
1558
1675
  #
1559
1676
  # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/Monitor AWS API Documentation
@@ -1622,8 +1739,8 @@ module Aws::AppConfig
1622
1739
  end
1623
1740
 
1624
1741
  # The number of hosted configuration versions exceeds the limit for the
1625
- # AppConfig configuration store. Delete one or more versions and try
1626
- # again.
1742
+ # AppConfig hosted configuration store. Delete one or more versions and
1743
+ # try again.
1627
1744
  #
1628
1745
  # @!attribute [rw] message
1629
1746
  # @return [String]
@@ -1846,7 +1963,7 @@ module Aws::AppConfig
1846
1963
  #
1847
1964
  # @!attribute [rw] retrieval_role_arn
1848
1965
  # The ARN of an IAM role with permission to access the configuration
1849
- # at the specified LocationUri.
1966
+ # at the specified `LocationUri`.
1850
1967
  # @return [String]
1851
1968
  #
1852
1969
  # @!attribute [rw] validators
@@ -1891,9 +2008,9 @@ module Aws::AppConfig
1891
2008
  # @return [Integer]
1892
2009
  #
1893
2010
  # @!attribute [rw] final_bake_time_in_minutes
1894
- # The amount of time AppConfig monitors for alarms before considering
1895
- # the deployment to be complete and no longer eligible for automatic
1896
- # roll back.
2011
+ # The amount of time that AppConfig monitors for alarms before
2012
+ # considering the deployment to be complete and no longer eligible for
2013
+ # automatic rollback.
1897
2014
  # @return [Integer]
1898
2015
  #
1899
2016
  # @!attribute [rw] growth_factor
@@ -1902,7 +2019,7 @@ module Aws::AppConfig
1902
2019
  # @return [Float]
1903
2020
  #
1904
2021
  # @!attribute [rw] growth_type
1905
- # The algorithm used to define how percentage grows over time. AWS
2022
+ # The algorithm used to define how percentage grows over time.
1906
2023
  # AppConfig supports the following growth types:
1907
2024
  #
1908
2025
  # **Linear**\: For this type, AppConfig processes the deployment by
@@ -1955,7 +2072,7 @@ module Aws::AppConfig
1955
2072
  # description: "Description",
1956
2073
  # monitors: [
1957
2074
  # {
1958
- # alarm_arn: "Arn",
2075
+ # alarm_arn: "StringWithLengthBetween1And2048", # required
1959
2076
  # alarm_role_arn: "RoleArn",
1960
2077
  # },
1961
2078
  # ],
@@ -2025,11 +2142,11 @@ module Aws::AppConfig
2025
2142
  end
2026
2143
 
2027
2144
  # A validator provides a syntactic or semantic check to ensure the
2028
- # configuration you want to deploy functions as intended. To validate
2029
- # your application configuration data, you provide a schema or a Lambda
2030
- # function that runs against the configuration. The configuration
2031
- # deployment or update can only proceed when the configuration data is
2032
- # valid.
2145
+ # configuration that you want to deploy functions as intended. To
2146
+ # 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.
2033
2150
  #
2034
2151
  # @note When making an API call, you may pass Validator
2035
2152
  # data as a hash:
@@ -2045,7 +2162,7 @@ module Aws::AppConfig
2045
2162
  #
2046
2163
  # @!attribute [rw] content
2047
2164
  # Either the JSON Schema content or the Amazon Resource Name (ARN) of
2048
- # an AWS Lambda function.
2165
+ # an Lambda function.
2049
2166
  # @return [String]
2050
2167
  #
2051
2168
  # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/Validator AWS API Documentation