aws-sdk-appconfig 1.3.0 → 1.8.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -17,6 +17,7 @@ module Aws::AppConfig
17
17
  Arn = Shapes::StringShape.new(name: 'Arn')
18
18
  BadRequestException = Shapes::StructureShape.new(name: 'BadRequestException')
19
19
  Blob = Shapes::BlobShape.new(name: 'Blob')
20
+ BytesMeasure = Shapes::StringShape.new(name: 'BytesMeasure')
20
21
  Configuration = Shapes::StructureShape.new(name: 'Configuration')
21
22
  ConfigurationProfile = Shapes::StructureShape.new(name: 'ConfigurationProfile')
22
23
  ConfigurationProfileSummary = Shapes::StructureShape.new(name: 'ConfigurationProfileSummary')
@@ -27,11 +28,16 @@ module Aws::AppConfig
27
28
  CreateConfigurationProfileRequest = Shapes::StructureShape.new(name: 'CreateConfigurationProfileRequest')
28
29
  CreateDeploymentStrategyRequest = Shapes::StructureShape.new(name: 'CreateDeploymentStrategyRequest')
29
30
  CreateEnvironmentRequest = Shapes::StructureShape.new(name: 'CreateEnvironmentRequest')
31
+ CreateHostedConfigurationVersionRequest = Shapes::StructureShape.new(name: 'CreateHostedConfigurationVersionRequest')
30
32
  DeleteApplicationRequest = Shapes::StructureShape.new(name: 'DeleteApplicationRequest')
31
33
  DeleteConfigurationProfileRequest = Shapes::StructureShape.new(name: 'DeleteConfigurationProfileRequest')
32
34
  DeleteDeploymentStrategyRequest = Shapes::StructureShape.new(name: 'DeleteDeploymentStrategyRequest')
33
35
  DeleteEnvironmentRequest = Shapes::StructureShape.new(name: 'DeleteEnvironmentRequest')
36
+ DeleteHostedConfigurationVersionRequest = Shapes::StructureShape.new(name: 'DeleteHostedConfigurationVersionRequest')
34
37
  Deployment = Shapes::StructureShape.new(name: 'Deployment')
38
+ DeploymentEvent = Shapes::StructureShape.new(name: 'DeploymentEvent')
39
+ DeploymentEventType = Shapes::StringShape.new(name: 'DeploymentEventType')
40
+ DeploymentEvents = Shapes::ListShape.new(name: 'DeploymentEvents')
35
41
  DeploymentList = Shapes::ListShape.new(name: 'DeploymentList')
36
42
  DeploymentState = Shapes::StringShape.new(name: 'DeploymentState')
37
43
  DeploymentStrategies = Shapes::StructureShape.new(name: 'DeploymentStrategies')
@@ -45,14 +51,20 @@ module Aws::AppConfig
45
51
  EnvironmentList = Shapes::ListShape.new(name: 'EnvironmentList')
46
52
  EnvironmentState = Shapes::StringShape.new(name: 'EnvironmentState')
47
53
  Environments = Shapes::StructureShape.new(name: 'Environments')
54
+ Float = Shapes::FloatShape.new(name: 'Float')
48
55
  GetApplicationRequest = Shapes::StructureShape.new(name: 'GetApplicationRequest')
49
56
  GetConfigurationProfileRequest = Shapes::StructureShape.new(name: 'GetConfigurationProfileRequest')
50
57
  GetConfigurationRequest = Shapes::StructureShape.new(name: 'GetConfigurationRequest')
51
58
  GetDeploymentRequest = Shapes::StructureShape.new(name: 'GetDeploymentRequest')
52
59
  GetDeploymentStrategyRequest = Shapes::StructureShape.new(name: 'GetDeploymentStrategyRequest')
53
60
  GetEnvironmentRequest = Shapes::StructureShape.new(name: 'GetEnvironmentRequest')
61
+ GetHostedConfigurationVersionRequest = Shapes::StructureShape.new(name: 'GetHostedConfigurationVersionRequest')
54
62
  GrowthFactor = Shapes::FloatShape.new(name: 'GrowthFactor')
55
63
  GrowthType = Shapes::StringShape.new(name: 'GrowthType')
64
+ HostedConfigurationVersion = Shapes::StructureShape.new(name: 'HostedConfigurationVersion')
65
+ HostedConfigurationVersionSummary = Shapes::StructureShape.new(name: 'HostedConfigurationVersionSummary')
66
+ HostedConfigurationVersionSummaryList = Shapes::ListShape.new(name: 'HostedConfigurationVersionSummaryList')
67
+ HostedConfigurationVersions = Shapes::StructureShape.new(name: 'HostedConfigurationVersions')
56
68
  Id = Shapes::StringShape.new(name: 'Id')
57
69
  Integer = Shapes::IntegerShape.new(name: 'Integer')
58
70
  InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
@@ -62,6 +74,7 @@ module Aws::AppConfig
62
74
  ListDeploymentStrategiesRequest = Shapes::StructureShape.new(name: 'ListDeploymentStrategiesRequest')
63
75
  ListDeploymentsRequest = Shapes::StructureShape.new(name: 'ListDeploymentsRequest')
64
76
  ListEnvironmentsRequest = Shapes::StructureShape.new(name: 'ListEnvironmentsRequest')
77
+ ListHostedConfigurationVersionsRequest = Shapes::StructureShape.new(name: 'ListHostedConfigurationVersionsRequest')
65
78
  ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
66
79
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
67
80
  MinutesBetween0And24Hours = Shapes::IntegerShape.new(name: 'MinutesBetween0And24Hours')
@@ -69,20 +82,25 @@ module Aws::AppConfig
69
82
  MonitorList = Shapes::ListShape.new(name: 'MonitorList')
70
83
  Name = Shapes::StringShape.new(name: 'Name')
71
84
  NextToken = Shapes::StringShape.new(name: 'NextToken')
85
+ PayloadTooLargeException = Shapes::StructureShape.new(name: 'PayloadTooLargeException')
72
86
  Percentage = Shapes::FloatShape.new(name: 'Percentage')
73
87
  ReplicateTo = Shapes::StringShape.new(name: 'ReplicateTo')
74
88
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
75
89
  ResourceTags = Shapes::StructureShape.new(name: 'ResourceTags')
90
+ RoleArn = Shapes::StringShape.new(name: 'RoleArn')
91
+ ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
76
92
  StartDeploymentRequest = Shapes::StructureShape.new(name: 'StartDeploymentRequest')
77
93
  StopDeploymentRequest = Shapes::StructureShape.new(name: 'StopDeploymentRequest')
78
94
  String = Shapes::StringShape.new(name: 'String')
79
95
  StringWithLengthBetween0And32768 = Shapes::StringShape.new(name: 'StringWithLengthBetween0And32768')
96
+ StringWithLengthBetween1And255 = Shapes::StringShape.new(name: 'StringWithLengthBetween1And255')
80
97
  StringWithLengthBetween1And64 = Shapes::StringShape.new(name: 'StringWithLengthBetween1And64')
81
98
  TagKey = Shapes::StringShape.new(name: 'TagKey')
82
99
  TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
83
100
  TagMap = Shapes::MapShape.new(name: 'TagMap')
84
101
  TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
85
102
  TagValue = Shapes::StringShape.new(name: 'TagValue')
103
+ TriggeredBy = Shapes::StringShape.new(name: 'TriggeredBy')
86
104
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
87
105
  UpdateApplicationRequest = Shapes::StructureShape.new(name: 'UpdateApplicationRequest')
88
106
  UpdateConfigurationProfileRequest = Shapes::StructureShape.new(name: 'UpdateConfigurationProfileRequest')
@@ -122,7 +140,7 @@ module Aws::AppConfig
122
140
  ConfigurationProfile.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "Name"))
123
141
  ConfigurationProfile.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
124
142
  ConfigurationProfile.add_member(:location_uri, Shapes::ShapeRef.new(shape: Uri, location_name: "LocationUri"))
125
- ConfigurationProfile.add_member(:retrieval_role_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "RetrievalRoleArn"))
143
+ ConfigurationProfile.add_member(:retrieval_role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "RetrievalRoleArn"))
126
144
  ConfigurationProfile.add_member(:validators, Shapes::ShapeRef.new(shape: ValidatorList, location_name: "Validators"))
127
145
  ConfigurationProfile.struct_class = Types::ConfigurationProfile
128
146
 
@@ -151,7 +169,7 @@ module Aws::AppConfig
151
169
  CreateConfigurationProfileRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "Name"))
152
170
  CreateConfigurationProfileRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
153
171
  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: Arn, required: true, location_name: "RetrievalRoleArn"))
172
+ CreateConfigurationProfileRequest.add_member(:retrieval_role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "RetrievalRoleArn"))
155
173
  CreateConfigurationProfileRequest.add_member(:validators, Shapes::ShapeRef.new(shape: ValidatorList, location_name: "Validators"))
156
174
  CreateConfigurationProfileRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
157
175
  CreateConfigurationProfileRequest.struct_class = Types::CreateConfigurationProfileRequest
@@ -173,6 +191,16 @@ module Aws::AppConfig
173
191
  CreateEnvironmentRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
174
192
  CreateEnvironmentRequest.struct_class = Types::CreateEnvironmentRequest
175
193
 
194
+ CreateHostedConfigurationVersionRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "ApplicationId"))
195
+ CreateHostedConfigurationVersionRequest.add_member(:configuration_profile_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "ConfigurationProfileId"))
196
+ CreateHostedConfigurationVersionRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location: "header", location_name: "Description"))
197
+ CreateHostedConfigurationVersionRequest.add_member(:content, Shapes::ShapeRef.new(shape: Blob, required: true, location_name: "Content"))
198
+ CreateHostedConfigurationVersionRequest.add_member(:content_type, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And255, required: true, location: "header", location_name: "Content-Type"))
199
+ CreateHostedConfigurationVersionRequest.add_member(:latest_version_number, Shapes::ShapeRef.new(shape: Integer, location: "header", location_name: "Latest-Version-Number", metadata: {"box"=>true}))
200
+ CreateHostedConfigurationVersionRequest.struct_class = Types::CreateHostedConfigurationVersionRequest
201
+ CreateHostedConfigurationVersionRequest[:payload] = :content
202
+ CreateHostedConfigurationVersionRequest[:payload_member] = CreateHostedConfigurationVersionRequest.member(:content)
203
+
176
204
  DeleteApplicationRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "ApplicationId"))
177
205
  DeleteApplicationRequest.struct_class = Types::DeleteApplicationRequest
178
206
 
@@ -187,6 +215,11 @@ module Aws::AppConfig
187
215
  DeleteEnvironmentRequest.add_member(:environment_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "EnvironmentId"))
188
216
  DeleteEnvironmentRequest.struct_class = Types::DeleteEnvironmentRequest
189
217
 
218
+ DeleteHostedConfigurationVersionRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "ApplicationId"))
219
+ DeleteHostedConfigurationVersionRequest.add_member(:configuration_profile_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "ConfigurationProfileId"))
220
+ DeleteHostedConfigurationVersionRequest.add_member(:version_number, Shapes::ShapeRef.new(shape: Integer, required: true, location: "uri", location_name: "VersionNumber"))
221
+ DeleteHostedConfigurationVersionRequest.struct_class = Types::DeleteHostedConfigurationVersionRequest
222
+
190
223
  Deployment.add_member(:application_id, Shapes::ShapeRef.new(shape: Id, location_name: "ApplicationId"))
191
224
  Deployment.add_member(:environment_id, Shapes::ShapeRef.new(shape: Id, location_name: "EnvironmentId"))
192
225
  Deployment.add_member(:deployment_strategy_id, Shapes::ShapeRef.new(shape: Id, location_name: "DeploymentStrategyId"))
@@ -201,11 +234,20 @@ module Aws::AppConfig
201
234
  Deployment.add_member(:growth_factor, Shapes::ShapeRef.new(shape: Percentage, location_name: "GrowthFactor"))
202
235
  Deployment.add_member(:final_bake_time_in_minutes, Shapes::ShapeRef.new(shape: MinutesBetween0And24Hours, location_name: "FinalBakeTimeInMinutes"))
203
236
  Deployment.add_member(:state, Shapes::ShapeRef.new(shape: DeploymentState, location_name: "State"))
237
+ Deployment.add_member(:event_log, Shapes::ShapeRef.new(shape: DeploymentEvents, location_name: "EventLog"))
204
238
  Deployment.add_member(:percentage_complete, Shapes::ShapeRef.new(shape: Percentage, location_name: "PercentageComplete"))
205
239
  Deployment.add_member(:started_at, Shapes::ShapeRef.new(shape: Iso8601DateTime, location_name: "StartedAt"))
206
240
  Deployment.add_member(:completed_at, Shapes::ShapeRef.new(shape: Iso8601DateTime, location_name: "CompletedAt"))
207
241
  Deployment.struct_class = Types::Deployment
208
242
 
243
+ DeploymentEvent.add_member(:event_type, Shapes::ShapeRef.new(shape: DeploymentEventType, location_name: "EventType"))
244
+ DeploymentEvent.add_member(:triggered_by, Shapes::ShapeRef.new(shape: TriggeredBy, location_name: "TriggeredBy"))
245
+ DeploymentEvent.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
246
+ DeploymentEvent.add_member(:occurred_at, Shapes::ShapeRef.new(shape: Iso8601DateTime, location_name: "OccurredAt"))
247
+ DeploymentEvent.struct_class = Types::DeploymentEvent
248
+
249
+ DeploymentEvents.member = Shapes::ShapeRef.new(shape: DeploymentEvent)
250
+
209
251
  DeploymentList.member = Shapes::ShapeRef.new(shape: DeploymentSummary)
210
252
 
211
253
  DeploymentStrategies.add_member(:items, Shapes::ShapeRef.new(shape: DeploymentStrategyList, location_name: "Items"))
@@ -281,6 +323,34 @@ module Aws::AppConfig
281
323
  GetEnvironmentRequest.add_member(:environment_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "EnvironmentId"))
282
324
  GetEnvironmentRequest.struct_class = Types::GetEnvironmentRequest
283
325
 
326
+ GetHostedConfigurationVersionRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "ApplicationId"))
327
+ GetHostedConfigurationVersionRequest.add_member(:configuration_profile_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "ConfigurationProfileId"))
328
+ GetHostedConfigurationVersionRequest.add_member(:version_number, Shapes::ShapeRef.new(shape: Integer, required: true, location: "uri", location_name: "VersionNumber"))
329
+ GetHostedConfigurationVersionRequest.struct_class = Types::GetHostedConfigurationVersionRequest
330
+
331
+ HostedConfigurationVersion.add_member(:application_id, Shapes::ShapeRef.new(shape: Id, location: "header", location_name: "Application-Id"))
332
+ HostedConfigurationVersion.add_member(:configuration_profile_id, Shapes::ShapeRef.new(shape: Id, location: "header", location_name: "Configuration-Profile-Id"))
333
+ HostedConfigurationVersion.add_member(:version_number, Shapes::ShapeRef.new(shape: Integer, location: "header", location_name: "Version-Number"))
334
+ HostedConfigurationVersion.add_member(:description, Shapes::ShapeRef.new(shape: Description, location: "header", location_name: "Description"))
335
+ HostedConfigurationVersion.add_member(:content, Shapes::ShapeRef.new(shape: Blob, location_name: "Content"))
336
+ HostedConfigurationVersion.add_member(:content_type, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And255, location: "header", location_name: "Content-Type"))
337
+ HostedConfigurationVersion.struct_class = Types::HostedConfigurationVersion
338
+ HostedConfigurationVersion[:payload] = :content
339
+ HostedConfigurationVersion[:payload_member] = HostedConfigurationVersion.member(:content)
340
+
341
+ HostedConfigurationVersionSummary.add_member(:application_id, Shapes::ShapeRef.new(shape: Id, location_name: "ApplicationId"))
342
+ HostedConfigurationVersionSummary.add_member(:configuration_profile_id, Shapes::ShapeRef.new(shape: Id, location_name: "ConfigurationProfileId"))
343
+ HostedConfigurationVersionSummary.add_member(:version_number, Shapes::ShapeRef.new(shape: Integer, location_name: "VersionNumber"))
344
+ HostedConfigurationVersionSummary.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
345
+ HostedConfigurationVersionSummary.add_member(:content_type, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And255, location_name: "ContentType"))
346
+ HostedConfigurationVersionSummary.struct_class = Types::HostedConfigurationVersionSummary
347
+
348
+ HostedConfigurationVersionSummaryList.member = Shapes::ShapeRef.new(shape: HostedConfigurationVersionSummary)
349
+
350
+ HostedConfigurationVersions.add_member(:items, Shapes::ShapeRef.new(shape: HostedConfigurationVersionSummaryList, location_name: "Items"))
351
+ HostedConfigurationVersions.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
352
+ HostedConfigurationVersions.struct_class = Types::HostedConfigurationVersions
353
+
284
354
  InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
285
355
  InternalServerException.struct_class = Types::InternalServerException
286
356
 
@@ -308,15 +378,27 @@ module Aws::AppConfig
308
378
  ListEnvironmentsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "next_token"))
309
379
  ListEnvironmentsRequest.struct_class = Types::ListEnvironmentsRequest
310
380
 
381
+ ListHostedConfigurationVersionsRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "ApplicationId"))
382
+ ListHostedConfigurationVersionsRequest.add_member(:configuration_profile_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "ConfigurationProfileId"))
383
+ ListHostedConfigurationVersionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "max_results", metadata: {"box"=>true}))
384
+ ListHostedConfigurationVersionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "next_token"))
385
+ ListHostedConfigurationVersionsRequest.struct_class = Types::ListHostedConfigurationVersionsRequest
386
+
311
387
  ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "uri", location_name: "ResourceArn"))
312
388
  ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
313
389
 
314
390
  Monitor.add_member(:alarm_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "AlarmArn"))
315
- Monitor.add_member(:alarm_role_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "AlarmRoleArn"))
391
+ Monitor.add_member(:alarm_role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "AlarmRoleArn"))
316
392
  Monitor.struct_class = Types::Monitor
317
393
 
318
394
  MonitorList.member = Shapes::ShapeRef.new(shape: Monitor)
319
395
 
396
+ PayloadTooLargeException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
397
+ PayloadTooLargeException.add_member(:measure, Shapes::ShapeRef.new(shape: BytesMeasure, location_name: "Measure"))
398
+ PayloadTooLargeException.add_member(:limit, Shapes::ShapeRef.new(shape: Float, location_name: "Limit"))
399
+ PayloadTooLargeException.add_member(:size, Shapes::ShapeRef.new(shape: Float, location_name: "Size"))
400
+ PayloadTooLargeException.struct_class = Types::PayloadTooLargeException
401
+
320
402
  ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
321
403
  ResourceNotFoundException.add_member(:resource_name, Shapes::ShapeRef.new(shape: String, location_name: "ResourceName"))
322
404
  ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
@@ -324,6 +406,9 @@ module Aws::AppConfig
324
406
  ResourceTags.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
325
407
  ResourceTags.struct_class = Types::ResourceTags
326
408
 
409
+ ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
410
+ ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
411
+
327
412
  StartDeploymentRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "ApplicationId"))
328
413
  StartDeploymentRequest.add_member(:environment_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "EnvironmentId"))
329
414
  StartDeploymentRequest.add_member(:deployment_strategy_id, Shapes::ShapeRef.new(shape: DeploymentStrategyId, required: true, location_name: "DeploymentStrategyId"))
@@ -360,7 +445,7 @@ module Aws::AppConfig
360
445
  UpdateConfigurationProfileRequest.add_member(:configuration_profile_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "ConfigurationProfileId"))
361
446
  UpdateConfigurationProfileRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "Name"))
362
447
  UpdateConfigurationProfileRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
363
- UpdateConfigurationProfileRequest.add_member(:retrieval_role_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "RetrievalRoleArn"))
448
+ UpdateConfigurationProfileRequest.add_member(:retrieval_role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "RetrievalRoleArn"))
364
449
  UpdateConfigurationProfileRequest.add_member(:validators, Shapes::ShapeRef.new(shape: ValidatorList, location_name: "Validators"))
365
450
  UpdateConfigurationProfileRequest.struct_class = Types::UpdateConfigurationProfileRequest
366
451
 
@@ -453,6 +538,20 @@ module Aws::AppConfig
453
538
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
454
539
  end)
455
540
 
541
+ api.add_operation(:create_hosted_configuration_version, Seahorse::Model::Operation.new.tap do |o|
542
+ o.name = "CreateHostedConfigurationVersion"
543
+ o.http_method = "POST"
544
+ o.http_request_uri = "/applications/{ApplicationId}/configurationprofiles/{ConfigurationProfileId}/hostedconfigurationversions"
545
+ o.input = Shapes::ShapeRef.new(shape: CreateHostedConfigurationVersionRequest)
546
+ o.output = Shapes::ShapeRef.new(shape: HostedConfigurationVersion)
547
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
548
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
549
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
550
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
551
+ o.errors << Shapes::ShapeRef.new(shape: PayloadTooLargeException)
552
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
553
+ end)
554
+
456
555
  api.add_operation(:delete_application, Seahorse::Model::Operation.new.tap do |o|
457
556
  o.name = "DeleteApplication"
458
557
  o.http_method = "DELETE"
@@ -499,6 +598,17 @@ module Aws::AppConfig
499
598
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
500
599
  end)
501
600
 
601
+ api.add_operation(:delete_hosted_configuration_version, Seahorse::Model::Operation.new.tap do |o|
602
+ o.name = "DeleteHostedConfigurationVersion"
603
+ o.http_method = "DELETE"
604
+ o.http_request_uri = "/applications/{ApplicationId}/configurationprofiles/{ConfigurationProfileId}/hostedconfigurationversions/{VersionNumber}"
605
+ o.input = Shapes::ShapeRef.new(shape: DeleteHostedConfigurationVersionRequest)
606
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
607
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
608
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
609
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
610
+ end)
611
+
502
612
  api.add_operation(:get_application, Seahorse::Model::Operation.new.tap do |o|
503
613
  o.name = "GetApplication"
504
614
  o.http_method = "GET"
@@ -518,7 +628,6 @@ module Aws::AppConfig
518
628
  o.output = Shapes::ShapeRef.new(shape: Configuration)
519
629
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
520
630
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
521
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
522
631
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
523
632
  end)
524
633
 
@@ -566,6 +675,17 @@ module Aws::AppConfig
566
675
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
567
676
  end)
568
677
 
678
+ api.add_operation(:get_hosted_configuration_version, Seahorse::Model::Operation.new.tap do |o|
679
+ o.name = "GetHostedConfigurationVersion"
680
+ o.http_method = "GET"
681
+ o.http_request_uri = "/applications/{ApplicationId}/configurationprofiles/{ConfigurationProfileId}/hostedconfigurationversions/{VersionNumber}"
682
+ o.input = Shapes::ShapeRef.new(shape: GetHostedConfigurationVersionRequest)
683
+ o.output = Shapes::ShapeRef.new(shape: HostedConfigurationVersion)
684
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
685
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
686
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
687
+ end)
688
+
569
689
  api.add_operation(:list_applications, Seahorse::Model::Operation.new.tap do |o|
570
690
  o.name = "ListApplications"
571
691
  o.http_method = "GET"
@@ -649,6 +769,23 @@ module Aws::AppConfig
649
769
  )
650
770
  end)
651
771
 
772
+ api.add_operation(:list_hosted_configuration_versions, Seahorse::Model::Operation.new.tap do |o|
773
+ o.name = "ListHostedConfigurationVersions"
774
+ o.http_method = "GET"
775
+ o.http_request_uri = "/applications/{ApplicationId}/configurationprofiles/{ConfigurationProfileId}/hostedconfigurationversions"
776
+ o.input = Shapes::ShapeRef.new(shape: ListHostedConfigurationVersionsRequest)
777
+ o.output = Shapes::ShapeRef.new(shape: HostedConfigurationVersions)
778
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
779
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
780
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
781
+ o[:pager] = Aws::Pager.new(
782
+ limit_key: "max_results",
783
+ tokens: {
784
+ "next_token" => "next_token"
785
+ }
786
+ )
787
+ end)
788
+
652
789
  api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
653
790
  o.name = "ListTagsForResource"
654
791
  o.http_method = "GET"
@@ -28,7 +28,9 @@ module Aws::AppConfig
28
28
  # * {BadRequestException}
29
29
  # * {ConflictException}
30
30
  # * {InternalServerException}
31
+ # * {PayloadTooLargeException}
31
32
  # * {ResourceNotFoundException}
33
+ # * {ServiceQuotaExceededException}
32
34
  #
33
35
  # Additionally, error classes are dynamically generated for service errors based on the error code
34
36
  # if they are not defined above.
@@ -81,6 +83,36 @@ module Aws::AppConfig
81
83
  end
82
84
  end
83
85
 
86
+ class PayloadTooLargeException < ServiceError
87
+
88
+ # @param [Seahorse::Client::RequestContext] context
89
+ # @param [String] message
90
+ # @param [Aws::AppConfig::Types::PayloadTooLargeException] data
91
+ def initialize(context, message, data = Aws::EmptyStructure.new)
92
+ super(context, message, data)
93
+ end
94
+
95
+ # @return [String]
96
+ def message
97
+ @message || @data[:message]
98
+ end
99
+
100
+ # @return [String]
101
+ def measure
102
+ @data[:measure]
103
+ end
104
+
105
+ # @return [String]
106
+ def limit
107
+ @data[:limit]
108
+ end
109
+
110
+ # @return [String]
111
+ def size
112
+ @data[:size]
113
+ end
114
+ end
115
+
84
116
  class ResourceNotFoundException < ServiceError
85
117
 
86
118
  # @param [Seahorse::Client::RequestContext] context
@@ -101,5 +133,20 @@ module Aws::AppConfig
101
133
  end
102
134
  end
103
135
 
136
+ class ServiceQuotaExceededException < ServiceError
137
+
138
+ # @param [Seahorse::Client::RequestContext] context
139
+ # @param [String] message
140
+ # @param [Aws::AppConfig::Types::ServiceQuotaExceededException] data
141
+ def initialize(context, message, data = Aws::EmptyStructure.new)
142
+ super(context, message, data)
143
+ end
144
+
145
+ # @return [String]
146
+ def message
147
+ @message || @data[:message]
148
+ end
149
+ end
150
+
104
151
  end
105
152
  end
@@ -6,13 +6,7 @@
6
6
  # WARNING ABOUT GENERATED CODE
7
7
 
8
8
  module Aws::AppConfig
9
- # This class provides a resource oriented interface for AppConfig.
10
- # To create a resource object:
11
- # resource = Aws::AppConfig::Resource.new(region: 'us-west-2')
12
- # You can supply a client object with custom configuration that will be used for all resource operations.
13
- # If you do not pass +:client+, a default client will be constructed.
14
- # client = Aws::AppConfig::Client.new(region: 'us-west-2')
15
- # resource = Aws::AppConfig::Resource.new(client: client)
9
+
16
10
  class Resource
17
11
 
18
12
  # @param options ({})
@@ -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: "Arn", # required
235
+ # retrieval_role_arn: "RoleArn",
236
236
  # validators: [
237
237
  # {
238
238
  # type: "JSON_SCHEMA", # required, accepts JSON_SCHEMA, LAMBDA
@@ -399,7 +399,7 @@ module Aws::AppConfig
399
399
  # monitors: [
400
400
  # {
401
401
  # alarm_arn: "Arn",
402
- # alarm_role_arn: "Arn",
402
+ # alarm_role_arn: "RoleArn",
403
403
  # },
404
404
  # ],
405
405
  # tags: {
@@ -440,6 +440,63 @@ module Aws::AppConfig
440
440
  include Aws::Structure
441
441
  end
442
442
 
443
+ # @note When making an API call, you may pass CreateHostedConfigurationVersionRequest
444
+ # data as a hash:
445
+ #
446
+ # {
447
+ # application_id: "Id", # required
448
+ # configuration_profile_id: "Id", # required
449
+ # description: "Description",
450
+ # content: "data", # required
451
+ # content_type: "StringWithLengthBetween1And255", # required
452
+ # latest_version_number: 1,
453
+ # }
454
+ #
455
+ # @!attribute [rw] application_id
456
+ # The application ID.
457
+ # @return [String]
458
+ #
459
+ # @!attribute [rw] configuration_profile_id
460
+ # The configuration profile ID.
461
+ # @return [String]
462
+ #
463
+ # @!attribute [rw] description
464
+ # A description of the configuration.
465
+ # @return [String]
466
+ #
467
+ # @!attribute [rw] content
468
+ # The content of the configuration or the configuration data.
469
+ # @return [String]
470
+ #
471
+ # @!attribute [rw] content_type
472
+ # A standard MIME type describing the format of the configuration
473
+ # content. For more information, see [Content-Type][1].
474
+ #
475
+ #
476
+ #
477
+ # [1]: https://docs.aws.amazon.com/https:/www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17
478
+ # @return [String]
479
+ #
480
+ # @!attribute [rw] latest_version_number
481
+ # An optional locking token used to prevent race conditions from
482
+ # overwriting configuration updates when creating a new version. To
483
+ # ensure your data is not overwritten when creating multiple hosted
484
+ # configuration versions in rapid succession, specify the version of
485
+ # the latest hosted configuration version.
486
+ # @return [Integer]
487
+ #
488
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateHostedConfigurationVersionRequest AWS API Documentation
489
+ #
490
+ class CreateHostedConfigurationVersionRequest < Struct.new(
491
+ :application_id,
492
+ :configuration_profile_id,
493
+ :description,
494
+ :content,
495
+ :content_type,
496
+ :latest_version_number)
497
+ include Aws::Structure
498
+ end
499
+
443
500
  # @note When making an API call, you may pass DeleteApplicationRequest
444
501
  # data as a hash:
445
502
  #
@@ -525,6 +582,36 @@ module Aws::AppConfig
525
582
  include Aws::Structure
526
583
  end
527
584
 
585
+ # @note When making an API call, you may pass DeleteHostedConfigurationVersionRequest
586
+ # data as a hash:
587
+ #
588
+ # {
589
+ # application_id: "Id", # required
590
+ # configuration_profile_id: "Id", # required
591
+ # version_number: 1, # required
592
+ # }
593
+ #
594
+ # @!attribute [rw] application_id
595
+ # The application ID.
596
+ # @return [String]
597
+ #
598
+ # @!attribute [rw] configuration_profile_id
599
+ # The configuration profile ID.
600
+ # @return [String]
601
+ #
602
+ # @!attribute [rw] version_number
603
+ # The versions number to delete.
604
+ # @return [Integer]
605
+ #
606
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteHostedConfigurationVersionRequest AWS API Documentation
607
+ #
608
+ class DeleteHostedConfigurationVersionRequest < Struct.new(
609
+ :application_id,
610
+ :configuration_profile_id,
611
+ :version_number)
612
+ include Aws::Structure
613
+ end
614
+
528
615
  # @!attribute [rw] application_id
529
616
  # The ID of the application that was deployed.
530
617
  # @return [String]
@@ -584,6 +671,11 @@ module Aws::AppConfig
584
671
  # The state of the deployment.
585
672
  # @return [String]
586
673
  #
674
+ # @!attribute [rw] event_log
675
+ # A list containing all events related to a deployment. The most
676
+ # recent events are displayed first.
677
+ # @return [Array<Types::DeploymentEvent>]
678
+ #
587
679
  # @!attribute [rw] percentage_complete
588
680
  # The percentage of targets for which the deployment is available.
589
681
  # @return [Float]
@@ -613,12 +705,50 @@ module Aws::AppConfig
613
705
  :growth_factor,
614
706
  :final_bake_time_in_minutes,
615
707
  :state,
708
+ :event_log,
616
709
  :percentage_complete,
617
710
  :started_at,
618
711
  :completed_at)
619
712
  include Aws::Structure
620
713
  end
621
714
 
715
+ # An object that describes a deployment event.
716
+ #
717
+ # @!attribute [rw] event_type
718
+ # The type of deployment event. Deployment event types include the
719
+ # start, stop, or completion of a deployment; a percentage update; the
720
+ # start or stop of a bake period; the start or completion of a
721
+ # rollback.
722
+ # @return [String]
723
+ #
724
+ # @!attribute [rw] triggered_by
725
+ # The entity that triggered the deployment event. Events can be
726
+ # triggered by a user, AWS AppConfig, an Amazon CloudWatch alarm, or
727
+ # an internal error.
728
+ # @return [String]
729
+ #
730
+ # @!attribute [rw] description
731
+ # A description of the deployment event. Descriptions include, but are
732
+ # not limited to, the user account or the CloudWatch alarm ARN that
733
+ # initiated a rollback, the percentage of hosts that received the
734
+ # deployment, or in the case of an internal error, a recommendation to
735
+ # attempt a new deployment.
736
+ # @return [String]
737
+ #
738
+ # @!attribute [rw] occurred_at
739
+ # The date and time the event occurred.
740
+ # @return [Time]
741
+ #
742
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeploymentEvent AWS API Documentation
743
+ #
744
+ class DeploymentEvent < Struct.new(
745
+ :event_type,
746
+ :triggered_by,
747
+ :description,
748
+ :occurred_at)
749
+ include Aws::Structure
750
+ end
751
+
622
752
  # @!attribute [rw] items
623
753
  # The elements from this collection.
624
754
  # @return [Array<Types::DeploymentStrategy>]
@@ -900,7 +1030,26 @@ module Aws::AppConfig
900
1030
  #
901
1031
  # @!attribute [rw] client_configuration_version
902
1032
  # The configuration version returned in the most recent
903
- # GetConfiguration response.
1033
+ # `GetConfiguration` response.
1034
+ #
1035
+ # AWS AppConfig uses the value of the `ClientConfigurationVersion`
1036
+ # parameter to identify the configuration version on your clients. If
1037
+ # you don’t send `ClientConfigurationVersion` with each call to
1038
+ # `GetConfiguration`, your clients receive the current configuration.
1039
+ # You are charged each time your clients receive a configuration.
1040
+ #
1041
+ # To avoid excess charges, we recommend that you include the
1042
+ # `ClientConfigurationVersion` value with every call to
1043
+ # `GetConfiguration`. This value must be saved on your client.
1044
+ # Subsequent calls to `GetConfiguration` must pass this value by using
1045
+ # the `ClientConfigurationVersion` parameter.
1046
+ #
1047
+ # For more information about working with configurations, see
1048
+ # [Retrieving the Configuration][1] in the *AWS AppConfig User Guide*.
1049
+ #
1050
+ #
1051
+ #
1052
+ # [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/appconfig-retrieving-the-configuration.html
904
1053
  # @return [String]
905
1054
  #
906
1055
  # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetConfigurationRequest AWS API Documentation
@@ -989,6 +1138,132 @@ module Aws::AppConfig
989
1138
  include Aws::Structure
990
1139
  end
991
1140
 
1141
+ # @note When making an API call, you may pass GetHostedConfigurationVersionRequest
1142
+ # data as a hash:
1143
+ #
1144
+ # {
1145
+ # application_id: "Id", # required
1146
+ # configuration_profile_id: "Id", # required
1147
+ # version_number: 1, # required
1148
+ # }
1149
+ #
1150
+ # @!attribute [rw] application_id
1151
+ # The application ID.
1152
+ # @return [String]
1153
+ #
1154
+ # @!attribute [rw] configuration_profile_id
1155
+ # The configuration profile ID.
1156
+ # @return [String]
1157
+ #
1158
+ # @!attribute [rw] version_number
1159
+ # The version.
1160
+ # @return [Integer]
1161
+ #
1162
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetHostedConfigurationVersionRequest AWS API Documentation
1163
+ #
1164
+ class GetHostedConfigurationVersionRequest < Struct.new(
1165
+ :application_id,
1166
+ :configuration_profile_id,
1167
+ :version_number)
1168
+ include Aws::Structure
1169
+ end
1170
+
1171
+ # @!attribute [rw] application_id
1172
+ # The application ID.
1173
+ # @return [String]
1174
+ #
1175
+ # @!attribute [rw] configuration_profile_id
1176
+ # The configuration profile ID.
1177
+ # @return [String]
1178
+ #
1179
+ # @!attribute [rw] version_number
1180
+ # The configuration version.
1181
+ # @return [Integer]
1182
+ #
1183
+ # @!attribute [rw] description
1184
+ # A description of the configuration.
1185
+ # @return [String]
1186
+ #
1187
+ # @!attribute [rw] content
1188
+ # The content of the configuration or the configuration data.
1189
+ # @return [String]
1190
+ #
1191
+ # @!attribute [rw] content_type
1192
+ # A standard MIME type describing the format of the configuration
1193
+ # content. For more information, see [Content-Type][1].
1194
+ #
1195
+ #
1196
+ #
1197
+ # [1]: https://docs.aws.amazon.com/https:/www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17
1198
+ # @return [String]
1199
+ #
1200
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/HostedConfigurationVersion AWS API Documentation
1201
+ #
1202
+ class HostedConfigurationVersion < Struct.new(
1203
+ :application_id,
1204
+ :configuration_profile_id,
1205
+ :version_number,
1206
+ :description,
1207
+ :content,
1208
+ :content_type)
1209
+ include Aws::Structure
1210
+ end
1211
+
1212
+ # Information about the configuration.
1213
+ #
1214
+ # @!attribute [rw] application_id
1215
+ # The application ID.
1216
+ # @return [String]
1217
+ #
1218
+ # @!attribute [rw] configuration_profile_id
1219
+ # The configuration profile ID.
1220
+ # @return [String]
1221
+ #
1222
+ # @!attribute [rw] version_number
1223
+ # The configuration version.
1224
+ # @return [Integer]
1225
+ #
1226
+ # @!attribute [rw] description
1227
+ # A description of the configuration.
1228
+ # @return [String]
1229
+ #
1230
+ # @!attribute [rw] content_type
1231
+ # A standard MIME type describing the format of the configuration
1232
+ # content. For more information, see [Content-Type][1].
1233
+ #
1234
+ #
1235
+ #
1236
+ # [1]: https://docs.aws.amazon.com/https:/www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17
1237
+ # @return [String]
1238
+ #
1239
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/HostedConfigurationVersionSummary AWS API Documentation
1240
+ #
1241
+ class HostedConfigurationVersionSummary < Struct.new(
1242
+ :application_id,
1243
+ :configuration_profile_id,
1244
+ :version_number,
1245
+ :description,
1246
+ :content_type)
1247
+ include Aws::Structure
1248
+ end
1249
+
1250
+ # @!attribute [rw] items
1251
+ # The elements from this collection.
1252
+ # @return [Array<Types::HostedConfigurationVersionSummary>]
1253
+ #
1254
+ # @!attribute [rw] next_token
1255
+ # The token for the next set of items to return. Use this token to get
1256
+ # the next set of results.
1257
+ # @return [String]
1258
+ #
1259
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/HostedConfigurationVersions AWS API Documentation
1260
+ #
1261
+ class HostedConfigurationVersions < Struct.new(
1262
+ :items,
1263
+ :next_token)
1264
+ include Aws::Structure
1265
+ end
1266
+
992
1267
  # There was an internal failure in the AppConfig service.
993
1268
  #
994
1269
  # @!attribute [rw] message
@@ -1160,6 +1435,45 @@ module Aws::AppConfig
1160
1435
  include Aws::Structure
1161
1436
  end
1162
1437
 
1438
+ # @note When making an API call, you may pass ListHostedConfigurationVersionsRequest
1439
+ # data as a hash:
1440
+ #
1441
+ # {
1442
+ # application_id: "Id", # required
1443
+ # configuration_profile_id: "Id", # required
1444
+ # max_results: 1,
1445
+ # next_token: "NextToken",
1446
+ # }
1447
+ #
1448
+ # @!attribute [rw] application_id
1449
+ # The application ID.
1450
+ # @return [String]
1451
+ #
1452
+ # @!attribute [rw] configuration_profile_id
1453
+ # The configuration profile ID.
1454
+ # @return [String]
1455
+ #
1456
+ # @!attribute [rw] max_results
1457
+ # The maximum number of items to return for this call. The call also
1458
+ # returns a token that you can specify in a subsequent call to get the
1459
+ # next set of results.
1460
+ # @return [Integer]
1461
+ #
1462
+ # @!attribute [rw] next_token
1463
+ # A token to start the list. Use this token to get the next set of
1464
+ # results.
1465
+ # @return [String]
1466
+ #
1467
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListHostedConfigurationVersionsRequest AWS API Documentation
1468
+ #
1469
+ class ListHostedConfigurationVersionsRequest < Struct.new(
1470
+ :application_id,
1471
+ :configuration_profile_id,
1472
+ :max_results,
1473
+ :next_token)
1474
+ include Aws::Structure
1475
+ end
1476
+
1163
1477
  # @note When making an API call, you may pass ListTagsForResourceRequest
1164
1478
  # data as a hash:
1165
1479
  #
@@ -1185,7 +1499,7 @@ module Aws::AppConfig
1185
1499
  #
1186
1500
  # {
1187
1501
  # alarm_arn: "Arn",
1188
- # alarm_role_arn: "Arn",
1502
+ # alarm_role_arn: "RoleArn",
1189
1503
  # }
1190
1504
  #
1191
1505
  # @!attribute [rw] alarm_arn
@@ -1204,6 +1518,30 @@ module Aws::AppConfig
1204
1518
  include Aws::Structure
1205
1519
  end
1206
1520
 
1521
+ # The configuration size is too large.
1522
+ #
1523
+ # @!attribute [rw] message
1524
+ # @return [String]
1525
+ #
1526
+ # @!attribute [rw] measure
1527
+ # @return [String]
1528
+ #
1529
+ # @!attribute [rw] limit
1530
+ # @return [Float]
1531
+ #
1532
+ # @!attribute [rw] size
1533
+ # @return [Float]
1534
+ #
1535
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/PayloadTooLargeException AWS API Documentation
1536
+ #
1537
+ class PayloadTooLargeException < Struct.new(
1538
+ :message,
1539
+ :measure,
1540
+ :limit,
1541
+ :size)
1542
+ include Aws::Structure
1543
+ end
1544
+
1207
1545
  # The requested resource could not be found.
1208
1546
  #
1209
1547
  # @!attribute [rw] message
@@ -1233,6 +1571,20 @@ module Aws::AppConfig
1233
1571
  include Aws::Structure
1234
1572
  end
1235
1573
 
1574
+ # The number of hosted configuration versions exceeds the limit for the
1575
+ # AppConfig configuration store. Delete one or more versions and try
1576
+ # again.
1577
+ #
1578
+ # @!attribute [rw] message
1579
+ # @return [String]
1580
+ #
1581
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ServiceQuotaExceededException AWS API Documentation
1582
+ #
1583
+ class ServiceQuotaExceededException < Struct.new(
1584
+ :message)
1585
+ include Aws::Structure
1586
+ end
1587
+
1236
1588
  # @note When making an API call, you may pass StartDeploymentRequest
1237
1589
  # data as a hash:
1238
1590
  #
@@ -1411,7 +1763,7 @@ module Aws::AppConfig
1411
1763
  # configuration_profile_id: "Id", # required
1412
1764
  # name: "Name",
1413
1765
  # description: "Description",
1414
- # retrieval_role_arn: "Arn",
1766
+ # retrieval_role_arn: "RoleArn",
1415
1767
  # validators: [
1416
1768
  # {
1417
1769
  # type: "JSON_SCHEMA", # required, accepts JSON_SCHEMA, LAMBDA
@@ -1546,7 +1898,7 @@ module Aws::AppConfig
1546
1898
  # monitors: [
1547
1899
  # {
1548
1900
  # alarm_arn: "Arn",
1549
- # alarm_role_arn: "Arn",
1901
+ # alarm_role_arn: "RoleArn",
1550
1902
  # },
1551
1903
  # ],
1552
1904
  # }