aws-sdk-appconfig 1.0.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.
@@ -0,0 +1,83 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws::AppConfig
9
+ module Errors
10
+
11
+ extend Aws::Errors::DynamicErrors
12
+
13
+ class BadRequestException < ServiceError
14
+
15
+ # @param [Seahorse::Client::RequestContext] context
16
+ # @param [String] message
17
+ # @param [Aws::AppConfig::Types::BadRequestException] data
18
+ def initialize(context, message, data = Aws::EmptyStructure.new)
19
+ super(context, message, data)
20
+ end
21
+
22
+ # @return [String]
23
+ def message
24
+ @message || @data[:message]
25
+ end
26
+
27
+ end
28
+
29
+ class ConflictException < ServiceError
30
+
31
+ # @param [Seahorse::Client::RequestContext] context
32
+ # @param [String] message
33
+ # @param [Aws::AppConfig::Types::ConflictException] data
34
+ def initialize(context, message, data = Aws::EmptyStructure.new)
35
+ super(context, message, data)
36
+ end
37
+
38
+ # @return [String]
39
+ def message
40
+ @message || @data[:message]
41
+ end
42
+
43
+ end
44
+
45
+ class InternalServerException < ServiceError
46
+
47
+ # @param [Seahorse::Client::RequestContext] context
48
+ # @param [String] message
49
+ # @param [Aws::AppConfig::Types::InternalServerException] data
50
+ def initialize(context, message, data = Aws::EmptyStructure.new)
51
+ super(context, message, data)
52
+ end
53
+
54
+ # @return [String]
55
+ def message
56
+ @message || @data[:message]
57
+ end
58
+
59
+ end
60
+
61
+ class ResourceNotFoundException < ServiceError
62
+
63
+ # @param [Seahorse::Client::RequestContext] context
64
+ # @param [String] message
65
+ # @param [Aws::AppConfig::Types::ResourceNotFoundException] data
66
+ def initialize(context, message, data = Aws::EmptyStructure.new)
67
+ super(context, message, data)
68
+ end
69
+
70
+ # @return [String]
71
+ def message
72
+ @message || @data[:message]
73
+ end
74
+
75
+ # @return [String]
76
+ def resource_name
77
+ @data[:resource_name]
78
+ end
79
+
80
+ end
81
+
82
+ end
83
+ end
@@ -0,0 +1,23 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws::AppConfig
9
+ class Resource
10
+
11
+ # @param options ({})
12
+ # @option options [Client] :client
13
+ def initialize(options = {})
14
+ @client = options[:client] || Client.new(options)
15
+ end
16
+
17
+ # @return [Client]
18
+ def client
19
+ @client
20
+ end
21
+
22
+ end
23
+ end
@@ -0,0 +1,1588 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws::AppConfig
9
+ module Types
10
+
11
+ # @!attribute [rw] id
12
+ # The application ID.
13
+ # @return [String]
14
+ #
15
+ # @!attribute [rw] name
16
+ # The application name.
17
+ # @return [String]
18
+ #
19
+ # @!attribute [rw] description
20
+ # The description of the application.
21
+ # @return [String]
22
+ #
23
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/Application AWS API Documentation
24
+ #
25
+ class Application < Struct.new(
26
+ :id,
27
+ :name,
28
+ :description)
29
+ include Aws::Structure
30
+ end
31
+
32
+ # @!attribute [rw] items
33
+ # The elements from this collection.
34
+ # @return [Array<Types::Application>]
35
+ #
36
+ # @!attribute [rw] next_token
37
+ # The token for the next set of items to return. Use this token to get
38
+ # the next set of results.
39
+ # @return [String]
40
+ #
41
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/Applications AWS API Documentation
42
+ #
43
+ class Applications < Struct.new(
44
+ :items,
45
+ :next_token)
46
+ include Aws::Structure
47
+ end
48
+
49
+ # The input fails to satisfy the constraints specified by an AWS
50
+ # service.
51
+ #
52
+ # @!attribute [rw] message
53
+ # @return [String]
54
+ #
55
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/BadRequestException AWS API Documentation
56
+ #
57
+ class BadRequestException < Struct.new(
58
+ :message)
59
+ include Aws::Structure
60
+ end
61
+
62
+ # @!attribute [rw] content
63
+ # The content of the configuration or the configuration data.
64
+ # @return [String]
65
+ #
66
+ # @!attribute [rw] configuration_version
67
+ # The configuration version.
68
+ # @return [String]
69
+ #
70
+ # @!attribute [rw] content_type
71
+ # A standard MIME type describing the format of the configuration
72
+ # content. For more information, see [Content-Type][1].
73
+ #
74
+ #
75
+ #
76
+ # [1]: http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17
77
+ # @return [String]
78
+ #
79
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/Configuration AWS API Documentation
80
+ #
81
+ class Configuration < Struct.new(
82
+ :content,
83
+ :configuration_version,
84
+ :content_type)
85
+ include Aws::Structure
86
+ end
87
+
88
+ # @!attribute [rw] application_id
89
+ # The application ID.
90
+ # @return [String]
91
+ #
92
+ # @!attribute [rw] id
93
+ # The configuration profile ID.
94
+ # @return [String]
95
+ #
96
+ # @!attribute [rw] name
97
+ # The name of the configuration profile.
98
+ # @return [String]
99
+ #
100
+ # @!attribute [rw] description
101
+ # The configuration profile description.
102
+ # @return [String]
103
+ #
104
+ # @!attribute [rw] location_uri
105
+ # The URI location of the configuration.
106
+ # @return [String]
107
+ #
108
+ # @!attribute [rw] retrieval_role_arn
109
+ # The ARN of an IAM role with permission to access the configuration
110
+ # at the specified LocationUri.
111
+ # @return [String]
112
+ #
113
+ # @!attribute [rw] validators
114
+ # A list of methods for validating the configuration.
115
+ # @return [Array<Types::Validator>]
116
+ #
117
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ConfigurationProfile AWS API Documentation
118
+ #
119
+ class ConfigurationProfile < Struct.new(
120
+ :application_id,
121
+ :id,
122
+ :name,
123
+ :description,
124
+ :location_uri,
125
+ :retrieval_role_arn,
126
+ :validators)
127
+ include Aws::Structure
128
+ end
129
+
130
+ # A summary of a configuration profile.
131
+ #
132
+ # @!attribute [rw] application_id
133
+ # The application ID.
134
+ # @return [String]
135
+ #
136
+ # @!attribute [rw] id
137
+ # The ID of the configuration profile.
138
+ # @return [String]
139
+ #
140
+ # @!attribute [rw] name
141
+ # The name of the configuration profile.
142
+ # @return [String]
143
+ #
144
+ # @!attribute [rw] location_uri
145
+ # The URI location of the configuration.
146
+ # @return [String]
147
+ #
148
+ # @!attribute [rw] validator_types
149
+ # The types of validators in the configuration profile.
150
+ # @return [Array<String>]
151
+ #
152
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ConfigurationProfileSummary AWS API Documentation
153
+ #
154
+ class ConfigurationProfileSummary < Struct.new(
155
+ :application_id,
156
+ :id,
157
+ :name,
158
+ :location_uri,
159
+ :validator_types)
160
+ include Aws::Structure
161
+ end
162
+
163
+ # @!attribute [rw] items
164
+ # The elements from this collection.
165
+ # @return [Array<Types::ConfigurationProfileSummary>]
166
+ #
167
+ # @!attribute [rw] next_token
168
+ # The token for the next set of items to return. Use this token to get
169
+ # the next set of results.
170
+ # @return [String]
171
+ #
172
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ConfigurationProfiles AWS API Documentation
173
+ #
174
+ class ConfigurationProfiles < Struct.new(
175
+ :items,
176
+ :next_token)
177
+ include Aws::Structure
178
+ end
179
+
180
+ # The request could not be processed because of conflict in the current
181
+ # state of the resource.
182
+ #
183
+ # @!attribute [rw] message
184
+ # @return [String]
185
+ #
186
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ConflictException AWS API Documentation
187
+ #
188
+ class ConflictException < Struct.new(
189
+ :message)
190
+ include Aws::Structure
191
+ end
192
+
193
+ # @note When making an API call, you may pass CreateApplicationRequest
194
+ # data as a hash:
195
+ #
196
+ # {
197
+ # name: "Name", # required
198
+ # description: "Description",
199
+ # tags: {
200
+ # "TagKey" => "TagValue",
201
+ # },
202
+ # }
203
+ #
204
+ # @!attribute [rw] name
205
+ # A name for the application.
206
+ # @return [String]
207
+ #
208
+ # @!attribute [rw] description
209
+ # A description of the application.
210
+ # @return [String]
211
+ #
212
+ # @!attribute [rw] tags
213
+ # Metadata to assign to the application. Tags help organize and
214
+ # categorize your AppConfig resources. Each tag consists of a key and
215
+ # an optional value, both of which you define.
216
+ # @return [Hash<String,String>]
217
+ #
218
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateApplicationRequest AWS API Documentation
219
+ #
220
+ class CreateApplicationRequest < Struct.new(
221
+ :name,
222
+ :description,
223
+ :tags)
224
+ include Aws::Structure
225
+ end
226
+
227
+ # @note When making an API call, you may pass CreateConfigurationProfileRequest
228
+ # data as a hash:
229
+ #
230
+ # {
231
+ # application_id: "Id", # required
232
+ # name: "Name", # required
233
+ # description: "Description",
234
+ # location_uri: "Uri", # required
235
+ # retrieval_role_arn: "Arn", # required
236
+ # validators: [
237
+ # {
238
+ # type: "JSON_SCHEMA", # required, accepts JSON_SCHEMA, LAMBDA
239
+ # content: "StringWithLengthBetween0And32768", # required
240
+ # },
241
+ # ],
242
+ # tags: {
243
+ # "TagKey" => "TagValue",
244
+ # },
245
+ # }
246
+ #
247
+ # @!attribute [rw] application_id
248
+ # The application ID.
249
+ # @return [String]
250
+ #
251
+ # @!attribute [rw] name
252
+ # A name for the configuration profile.
253
+ # @return [String]
254
+ #
255
+ # @!attribute [rw] description
256
+ # A description of the configuration profile.
257
+ # @return [String]
258
+ #
259
+ # @!attribute [rw] location_uri
260
+ # A URI to locate the configuration. You can specify either a Systems
261
+ # Manager (SSM) document or an SSM Parameter Store parameter. For an
262
+ # SSM document, specify either the document name in the format
263
+ # `ssm-document://<Document name>` or the Amazon Resource Name (ARN).
264
+ # For a parameter, specify either the parameter name in the format
265
+ # `ssm-parameter://<Parameter name>` or the ARN.
266
+ # @return [String]
267
+ #
268
+ # @!attribute [rw] retrieval_role_arn
269
+ # The ARN of an IAM role with permission to access the configuration
270
+ # at the specified LocationUri.
271
+ # @return [String]
272
+ #
273
+ # @!attribute [rw] validators
274
+ # A list of methods for validating the configuration.
275
+ # @return [Array<Types::Validator>]
276
+ #
277
+ # @!attribute [rw] tags
278
+ # Metadata to assign to the configuration profile. Tags help organize
279
+ # and categorize your AppConfig resources. Each tag consists of a key
280
+ # and an optional value, both of which you define.
281
+ # @return [Hash<String,String>]
282
+ #
283
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateConfigurationProfileRequest AWS API Documentation
284
+ #
285
+ class CreateConfigurationProfileRequest < Struct.new(
286
+ :application_id,
287
+ :name,
288
+ :description,
289
+ :location_uri,
290
+ :retrieval_role_arn,
291
+ :validators,
292
+ :tags)
293
+ include Aws::Structure
294
+ end
295
+
296
+ # @note When making an API call, you may pass CreateDeploymentStrategyRequest
297
+ # data as a hash:
298
+ #
299
+ # {
300
+ # name: "Name", # required
301
+ # description: "Description",
302
+ # deployment_duration_in_minutes: 1, # required
303
+ # final_bake_time_in_minutes: 1,
304
+ # growth_factor: 1.0, # required
305
+ # growth_type: "LINEAR", # accepts LINEAR
306
+ # replicate_to: "NONE", # required, accepts NONE, SSM_DOCUMENT
307
+ # tags: {
308
+ # "TagKey" => "TagValue",
309
+ # },
310
+ # }
311
+ #
312
+ # @!attribute [rw] name
313
+ # A name for the deployment strategy.
314
+ # @return [String]
315
+ #
316
+ # @!attribute [rw] description
317
+ # A description of the deployment strategy.
318
+ # @return [String]
319
+ #
320
+ # @!attribute [rw] deployment_duration_in_minutes
321
+ # Total amount of time for a deployment to last.
322
+ # @return [Integer]
323
+ #
324
+ # @!attribute [rw] final_bake_time_in_minutes
325
+ # The amount of time AppConfig monitors for alarms before considering
326
+ # the deployment to be complete and no longer eligible for automatic
327
+ # roll back.
328
+ # @return [Integer]
329
+ #
330
+ # @!attribute [rw] growth_factor
331
+ # The percentage of targets to receive a deployed configuration during
332
+ # each interval.
333
+ # @return [Float]
334
+ #
335
+ # @!attribute [rw] growth_type
336
+ # The algorithm used to define how percentage grows over time.
337
+ # @return [String]
338
+ #
339
+ # @!attribute [rw] replicate_to
340
+ # Save the deployment strategy to a Systems Manager (SSM) document.
341
+ # @return [String]
342
+ #
343
+ # @!attribute [rw] tags
344
+ # Metadata to assign to the deployment strategy. Tags help organize
345
+ # and categorize your AppConfig resources. Each tag consists of a key
346
+ # and an optional value, both of which you define.
347
+ # @return [Hash<String,String>]
348
+ #
349
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateDeploymentStrategyRequest AWS API Documentation
350
+ #
351
+ class CreateDeploymentStrategyRequest < Struct.new(
352
+ :name,
353
+ :description,
354
+ :deployment_duration_in_minutes,
355
+ :final_bake_time_in_minutes,
356
+ :growth_factor,
357
+ :growth_type,
358
+ :replicate_to,
359
+ :tags)
360
+ include Aws::Structure
361
+ end
362
+
363
+ # @note When making an API call, you may pass CreateEnvironmentRequest
364
+ # data as a hash:
365
+ #
366
+ # {
367
+ # application_id: "Id", # required
368
+ # name: "Name", # required
369
+ # description: "Description",
370
+ # monitors: [
371
+ # {
372
+ # alarm_arn: "Arn",
373
+ # alarm_role_arn: "Arn",
374
+ # },
375
+ # ],
376
+ # tags: {
377
+ # "TagKey" => "TagValue",
378
+ # },
379
+ # }
380
+ #
381
+ # @!attribute [rw] application_id
382
+ # The application ID.
383
+ # @return [String]
384
+ #
385
+ # @!attribute [rw] name
386
+ # A name for the environment.
387
+ # @return [String]
388
+ #
389
+ # @!attribute [rw] description
390
+ # A description of the environment.
391
+ # @return [String]
392
+ #
393
+ # @!attribute [rw] monitors
394
+ # Amazon CloudWatch alarms to monitor during the deployment process.
395
+ # @return [Array<Types::Monitor>]
396
+ #
397
+ # @!attribute [rw] tags
398
+ # Metadata to assign to the environment. Tags help organize and
399
+ # categorize your AppConfig resources. Each tag consists of a key and
400
+ # an optional value, both of which you define.
401
+ # @return [Hash<String,String>]
402
+ #
403
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateEnvironmentRequest AWS API Documentation
404
+ #
405
+ class CreateEnvironmentRequest < Struct.new(
406
+ :application_id,
407
+ :name,
408
+ :description,
409
+ :monitors,
410
+ :tags)
411
+ include Aws::Structure
412
+ end
413
+
414
+ # @note When making an API call, you may pass DeleteApplicationRequest
415
+ # data as a hash:
416
+ #
417
+ # {
418
+ # application_id: "Id", # required
419
+ # }
420
+ #
421
+ # @!attribute [rw] application_id
422
+ # The ID of the application to delete.
423
+ # @return [String]
424
+ #
425
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteApplicationRequest AWS API Documentation
426
+ #
427
+ class DeleteApplicationRequest < Struct.new(
428
+ :application_id)
429
+ include Aws::Structure
430
+ end
431
+
432
+ # @note When making an API call, you may pass DeleteConfigurationProfileRequest
433
+ # data as a hash:
434
+ #
435
+ # {
436
+ # application_id: "Id", # required
437
+ # configuration_profile_id: "Id", # required
438
+ # }
439
+ #
440
+ # @!attribute [rw] application_id
441
+ # The application ID that includes the configuration profile you want
442
+ # to delete.
443
+ # @return [String]
444
+ #
445
+ # @!attribute [rw] configuration_profile_id
446
+ # The ID of the configuration profile you want to delete.
447
+ # @return [String]
448
+ #
449
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteConfigurationProfileRequest AWS API Documentation
450
+ #
451
+ class DeleteConfigurationProfileRequest < Struct.new(
452
+ :application_id,
453
+ :configuration_profile_id)
454
+ include Aws::Structure
455
+ end
456
+
457
+ # @note When making an API call, you may pass DeleteDeploymentStrategyRequest
458
+ # data as a hash:
459
+ #
460
+ # {
461
+ # deployment_strategy_id: "DeploymentStrategyId", # required
462
+ # }
463
+ #
464
+ # @!attribute [rw] deployment_strategy_id
465
+ # The ID of the deployment strategy you want to delete.
466
+ # @return [String]
467
+ #
468
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteDeploymentStrategyRequest AWS API Documentation
469
+ #
470
+ class DeleteDeploymentStrategyRequest < Struct.new(
471
+ :deployment_strategy_id)
472
+ include Aws::Structure
473
+ end
474
+
475
+ # @note When making an API call, you may pass DeleteEnvironmentRequest
476
+ # data as a hash:
477
+ #
478
+ # {
479
+ # application_id: "Id", # required
480
+ # environment_id: "Id", # required
481
+ # }
482
+ #
483
+ # @!attribute [rw] application_id
484
+ # The application ID that includes the environment you want to delete.
485
+ # @return [String]
486
+ #
487
+ # @!attribute [rw] environment_id
488
+ # The ID of the environment you want to delete.
489
+ # @return [String]
490
+ #
491
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteEnvironmentRequest AWS API Documentation
492
+ #
493
+ class DeleteEnvironmentRequest < Struct.new(
494
+ :application_id,
495
+ :environment_id)
496
+ include Aws::Structure
497
+ end
498
+
499
+ # @!attribute [rw] application_id
500
+ # The ID of the application that was deployed.
501
+ # @return [String]
502
+ #
503
+ # @!attribute [rw] environment_id
504
+ # The ID of the environment that was deployed.
505
+ # @return [String]
506
+ #
507
+ # @!attribute [rw] deployment_strategy_id
508
+ # The ID of the deployment strategy that was deployed.
509
+ # @return [String]
510
+ #
511
+ # @!attribute [rw] configuration_profile_id
512
+ # The ID of the configuration profile that was deployed.
513
+ # @return [String]
514
+ #
515
+ # @!attribute [rw] deployment_number
516
+ # The sequence number of the deployment.
517
+ # @return [Integer]
518
+ #
519
+ # @!attribute [rw] configuration_name
520
+ # The name of the configuration.
521
+ # @return [String]
522
+ #
523
+ # @!attribute [rw] configuration_location_uri
524
+ # Information about the source location of the configuration.
525
+ # @return [String]
526
+ #
527
+ # @!attribute [rw] configuration_version
528
+ # The configuration version that was deployed.
529
+ # @return [String]
530
+ #
531
+ # @!attribute [rw] description
532
+ # The description of the deployment.
533
+ # @return [String]
534
+ #
535
+ # @!attribute [rw] deployment_duration_in_minutes
536
+ # Total amount of time the deployment lasted.
537
+ # @return [Integer]
538
+ #
539
+ # @!attribute [rw] growth_type
540
+ # The algorithm used to define how percentage grew over time.
541
+ # @return [String]
542
+ #
543
+ # @!attribute [rw] growth_factor
544
+ # The percentage of targets to receive a deployed configuration during
545
+ # each interval.
546
+ # @return [Float]
547
+ #
548
+ # @!attribute [rw] final_bake_time_in_minutes
549
+ # The amount of time AppConfig monitored for alarms before considering
550
+ # the deployment to be complete and no longer eligible for automatic
551
+ # roll back.
552
+ # @return [Integer]
553
+ #
554
+ # @!attribute [rw] state
555
+ # The state of the deployment.
556
+ # @return [String]
557
+ #
558
+ # @!attribute [rw] percentage_complete
559
+ # The percentage of targets for which the deployment is available.
560
+ # @return [Float]
561
+ #
562
+ # @!attribute [rw] started_at
563
+ # The time the deployment started.
564
+ # @return [Time]
565
+ #
566
+ # @!attribute [rw] completed_at
567
+ # The time the deployment completed.
568
+ # @return [Time]
569
+ #
570
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/Deployment AWS API Documentation
571
+ #
572
+ class Deployment < Struct.new(
573
+ :application_id,
574
+ :environment_id,
575
+ :deployment_strategy_id,
576
+ :configuration_profile_id,
577
+ :deployment_number,
578
+ :configuration_name,
579
+ :configuration_location_uri,
580
+ :configuration_version,
581
+ :description,
582
+ :deployment_duration_in_minutes,
583
+ :growth_type,
584
+ :growth_factor,
585
+ :final_bake_time_in_minutes,
586
+ :state,
587
+ :percentage_complete,
588
+ :started_at,
589
+ :completed_at)
590
+ include Aws::Structure
591
+ end
592
+
593
+ # @!attribute [rw] items
594
+ # The elements from this collection.
595
+ # @return [Array<Types::DeploymentStrategy>]
596
+ #
597
+ # @!attribute [rw] next_token
598
+ # The token for the next set of items to return. Use this token to get
599
+ # the next set of results.
600
+ # @return [String]
601
+ #
602
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeploymentStrategies AWS API Documentation
603
+ #
604
+ class DeploymentStrategies < Struct.new(
605
+ :items,
606
+ :next_token)
607
+ include Aws::Structure
608
+ end
609
+
610
+ # @!attribute [rw] id
611
+ # The deployment strategy ID.
612
+ # @return [String]
613
+ #
614
+ # @!attribute [rw] name
615
+ # The name of the deployment strategy.
616
+ # @return [String]
617
+ #
618
+ # @!attribute [rw] description
619
+ # The description of the deployment strategy.
620
+ # @return [String]
621
+ #
622
+ # @!attribute [rw] deployment_duration_in_minutes
623
+ # Total amount of time the deployment lasted.
624
+ # @return [Integer]
625
+ #
626
+ # @!attribute [rw] growth_type
627
+ # The algorithm used to define how percentage grew over time.
628
+ # @return [String]
629
+ #
630
+ # @!attribute [rw] growth_factor
631
+ # The percentage of targets that received a deployed configuration
632
+ # during each interval.
633
+ # @return [Float]
634
+ #
635
+ # @!attribute [rw] final_bake_time_in_minutes
636
+ # The amount of time AppConfig monitored for alarms before considering
637
+ # the deployment to be complete and no longer eligible for automatic
638
+ # roll back.
639
+ # @return [Integer]
640
+ #
641
+ # @!attribute [rw] replicate_to
642
+ # Save the deployment strategy to a Systems Manager (SSM) document.
643
+ # @return [String]
644
+ #
645
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeploymentStrategy AWS API Documentation
646
+ #
647
+ class DeploymentStrategy < Struct.new(
648
+ :id,
649
+ :name,
650
+ :description,
651
+ :deployment_duration_in_minutes,
652
+ :growth_type,
653
+ :growth_factor,
654
+ :final_bake_time_in_minutes,
655
+ :replicate_to)
656
+ include Aws::Structure
657
+ end
658
+
659
+ # Information about the deployment.
660
+ #
661
+ # @!attribute [rw] deployment_number
662
+ # The sequence number of the deployment.
663
+ # @return [Integer]
664
+ #
665
+ # @!attribute [rw] configuration_name
666
+ # The name of the configuration.
667
+ # @return [String]
668
+ #
669
+ # @!attribute [rw] configuration_version
670
+ # The version of the configuration.
671
+ # @return [String]
672
+ #
673
+ # @!attribute [rw] deployment_duration_in_minutes
674
+ # Total amount of time the deployment lasted.
675
+ # @return [Integer]
676
+ #
677
+ # @!attribute [rw] growth_type
678
+ # The algorithm used to define how percentage grows over time.
679
+ # @return [String]
680
+ #
681
+ # @!attribute [rw] growth_factor
682
+ # The percentage of targets to receive a deployed configuration during
683
+ # each interval.
684
+ # @return [Float]
685
+ #
686
+ # @!attribute [rw] final_bake_time_in_minutes
687
+ # The amount of time AppConfig monitors for alarms before considering
688
+ # the deployment to be complete and no longer eligible for automatic
689
+ # roll back.
690
+ # @return [Integer]
691
+ #
692
+ # @!attribute [rw] state
693
+ # The state of the deployment.
694
+ # @return [String]
695
+ #
696
+ # @!attribute [rw] percentage_complete
697
+ # The percentage of targets for which the deployment is available.
698
+ # @return [Float]
699
+ #
700
+ # @!attribute [rw] started_at
701
+ # Time the deployment started.
702
+ # @return [Time]
703
+ #
704
+ # @!attribute [rw] completed_at
705
+ # Time the deployment completed.
706
+ # @return [Time]
707
+ #
708
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeploymentSummary AWS API Documentation
709
+ #
710
+ class DeploymentSummary < Struct.new(
711
+ :deployment_number,
712
+ :configuration_name,
713
+ :configuration_version,
714
+ :deployment_duration_in_minutes,
715
+ :growth_type,
716
+ :growth_factor,
717
+ :final_bake_time_in_minutes,
718
+ :state,
719
+ :percentage_complete,
720
+ :started_at,
721
+ :completed_at)
722
+ include Aws::Structure
723
+ end
724
+
725
+ # @!attribute [rw] items
726
+ # The elements from this collection.
727
+ # @return [Array<Types::DeploymentSummary>]
728
+ #
729
+ # @!attribute [rw] next_token
730
+ # The token for the next set of items to return. Use this token to get
731
+ # the next set of results.
732
+ # @return [String]
733
+ #
734
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/Deployments AWS API Documentation
735
+ #
736
+ class Deployments < Struct.new(
737
+ :items,
738
+ :next_token)
739
+ include Aws::Structure
740
+ end
741
+
742
+ # @!attribute [rw] application_id
743
+ # The application ID.
744
+ # @return [String]
745
+ #
746
+ # @!attribute [rw] id
747
+ # The environment ID.
748
+ # @return [String]
749
+ #
750
+ # @!attribute [rw] name
751
+ # The name of the environment.
752
+ # @return [String]
753
+ #
754
+ # @!attribute [rw] description
755
+ # The description of the environment.
756
+ # @return [String]
757
+ #
758
+ # @!attribute [rw] state
759
+ # The state of the environment. An environment can be in one of the
760
+ # following states: `READY_FOR_DEPLOYMENT`, `DEPLOYING`,
761
+ # `ROLLING_BACK`, or `ROLLED_BACK`
762
+ # @return [String]
763
+ #
764
+ # @!attribute [rw] monitors
765
+ # Amazon CloudWatch alarms monitored during the deployment.
766
+ # @return [Array<Types::Monitor>]
767
+ #
768
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/Environment AWS API Documentation
769
+ #
770
+ class Environment < Struct.new(
771
+ :application_id,
772
+ :id,
773
+ :name,
774
+ :description,
775
+ :state,
776
+ :monitors)
777
+ include Aws::Structure
778
+ end
779
+
780
+ # @!attribute [rw] items
781
+ # The elements from this collection.
782
+ # @return [Array<Types::Environment>]
783
+ #
784
+ # @!attribute [rw] next_token
785
+ # The token for the next set of items to return. Use this token to get
786
+ # the next set of results.
787
+ # @return [String]
788
+ #
789
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/Environments AWS API Documentation
790
+ #
791
+ class Environments < Struct.new(
792
+ :items,
793
+ :next_token)
794
+ include Aws::Structure
795
+ end
796
+
797
+ # @note When making an API call, you may pass GetApplicationRequest
798
+ # data as a hash:
799
+ #
800
+ # {
801
+ # application_id: "Id", # required
802
+ # }
803
+ #
804
+ # @!attribute [rw] application_id
805
+ # The ID of the application you want to get.
806
+ # @return [String]
807
+ #
808
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetApplicationRequest AWS API Documentation
809
+ #
810
+ class GetApplicationRequest < Struct.new(
811
+ :application_id)
812
+ include Aws::Structure
813
+ end
814
+
815
+ # @note When making an API call, you may pass GetConfigurationProfileRequest
816
+ # data as a hash:
817
+ #
818
+ # {
819
+ # application_id: "Id", # required
820
+ # configuration_profile_id: "Id", # required
821
+ # }
822
+ #
823
+ # @!attribute [rw] application_id
824
+ # The ID of the application that includes the configuration profile
825
+ # you want to get.
826
+ # @return [String]
827
+ #
828
+ # @!attribute [rw] configuration_profile_id
829
+ # The ID of the configuration profile you want to get.
830
+ # @return [String]
831
+ #
832
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetConfigurationProfileRequest AWS API Documentation
833
+ #
834
+ class GetConfigurationProfileRequest < Struct.new(
835
+ :application_id,
836
+ :configuration_profile_id)
837
+ include Aws::Structure
838
+ end
839
+
840
+ # @note When making an API call, you may pass GetConfigurationRequest
841
+ # data as a hash:
842
+ #
843
+ # {
844
+ # application: "StringWithLengthBetween1And64", # required
845
+ # environment: "StringWithLengthBetween1And64", # required
846
+ # configuration: "StringWithLengthBetween1And64", # required
847
+ # client_id: "StringWithLengthBetween1And64", # required
848
+ # client_configuration_version: "Version",
849
+ # }
850
+ #
851
+ # @!attribute [rw] application
852
+ # The application to get.
853
+ # @return [String]
854
+ #
855
+ # @!attribute [rw] environment
856
+ # The environment to get.
857
+ # @return [String]
858
+ #
859
+ # @!attribute [rw] configuration
860
+ # The configuration to get.
861
+ # @return [String]
862
+ #
863
+ # @!attribute [rw] client_id
864
+ # A unique ID to identify the client for the configuration. This ID
865
+ # enables AppConfig to deploy the configuration in intervals, as
866
+ # defined in the deployment strategy.
867
+ # @return [String]
868
+ #
869
+ # @!attribute [rw] client_configuration_version
870
+ # The configuration version returned in the most recent
871
+ # GetConfiguration response.
872
+ # @return [String]
873
+ #
874
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetConfigurationRequest AWS API Documentation
875
+ #
876
+ class GetConfigurationRequest < Struct.new(
877
+ :application,
878
+ :environment,
879
+ :configuration,
880
+ :client_id,
881
+ :client_configuration_version)
882
+ include Aws::Structure
883
+ end
884
+
885
+ # @note When making an API call, you may pass GetDeploymentRequest
886
+ # data as a hash:
887
+ #
888
+ # {
889
+ # application_id: "Id", # required
890
+ # environment_id: "Id", # required
891
+ # deployment_number: 1, # required
892
+ # }
893
+ #
894
+ # @!attribute [rw] application_id
895
+ # The ID of the application that includes the deployment you want to
896
+ # get.
897
+ # @return [String]
898
+ #
899
+ # @!attribute [rw] environment_id
900
+ # The ID of the environment that includes the deployment you want to
901
+ # get.
902
+ # @return [String]
903
+ #
904
+ # @!attribute [rw] deployment_number
905
+ # The sequence number of the deployment.
906
+ # @return [Integer]
907
+ #
908
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetDeploymentRequest AWS API Documentation
909
+ #
910
+ class GetDeploymentRequest < Struct.new(
911
+ :application_id,
912
+ :environment_id,
913
+ :deployment_number)
914
+ include Aws::Structure
915
+ end
916
+
917
+ # @note When making an API call, you may pass GetDeploymentStrategyRequest
918
+ # data as a hash:
919
+ #
920
+ # {
921
+ # deployment_strategy_id: "DeploymentStrategyId", # required
922
+ # }
923
+ #
924
+ # @!attribute [rw] deployment_strategy_id
925
+ # The ID of the deployment strategy to get.
926
+ # @return [String]
927
+ #
928
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetDeploymentStrategyRequest AWS API Documentation
929
+ #
930
+ class GetDeploymentStrategyRequest < Struct.new(
931
+ :deployment_strategy_id)
932
+ include Aws::Structure
933
+ end
934
+
935
+ # @note When making an API call, you may pass GetEnvironmentRequest
936
+ # data as a hash:
937
+ #
938
+ # {
939
+ # application_id: "Id", # required
940
+ # environment_id: "Id", # required
941
+ # }
942
+ #
943
+ # @!attribute [rw] application_id
944
+ # The ID of the application that includes the environment you want to
945
+ # get.
946
+ # @return [String]
947
+ #
948
+ # @!attribute [rw] environment_id
949
+ # The ID of the environment you wnat to get.
950
+ # @return [String]
951
+ #
952
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetEnvironmentRequest AWS API Documentation
953
+ #
954
+ class GetEnvironmentRequest < Struct.new(
955
+ :application_id,
956
+ :environment_id)
957
+ include Aws::Structure
958
+ end
959
+
960
+ # There was an internal failure in the AppConfig service.
961
+ #
962
+ # @!attribute [rw] message
963
+ # @return [String]
964
+ #
965
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/InternalServerException AWS API Documentation
966
+ #
967
+ class InternalServerException < Struct.new(
968
+ :message)
969
+ include Aws::Structure
970
+ end
971
+
972
+ # @note When making an API call, you may pass ListApplicationsRequest
973
+ # data as a hash:
974
+ #
975
+ # {
976
+ # max_results: 1,
977
+ # next_token: "NextToken",
978
+ # }
979
+ #
980
+ # @!attribute [rw] max_results
981
+ # The maximum number of items to return for this call. The call also
982
+ # returns a token that you can specify in a subsequent call to get the
983
+ # next set of results.
984
+ # @return [Integer]
985
+ #
986
+ # @!attribute [rw] next_token
987
+ # A token to start the list. Use this token to get the next set of
988
+ # results.
989
+ # @return [String]
990
+ #
991
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListApplicationsRequest AWS API Documentation
992
+ #
993
+ class ListApplicationsRequest < Struct.new(
994
+ :max_results,
995
+ :next_token)
996
+ include Aws::Structure
997
+ end
998
+
999
+ # @note When making an API call, you may pass ListConfigurationProfilesRequest
1000
+ # data as a hash:
1001
+ #
1002
+ # {
1003
+ # application_id: "Id", # required
1004
+ # max_results: 1,
1005
+ # next_token: "NextToken",
1006
+ # }
1007
+ #
1008
+ # @!attribute [rw] application_id
1009
+ # The application ID.
1010
+ # @return [String]
1011
+ #
1012
+ # @!attribute [rw] max_results
1013
+ # The maximum number of items to return for this call. The call also
1014
+ # returns a token that you can specify in a subsequent call to get the
1015
+ # next set of results.
1016
+ # @return [Integer]
1017
+ #
1018
+ # @!attribute [rw] next_token
1019
+ # A token to start the list. Use this token to get the next set of
1020
+ # results.
1021
+ # @return [String]
1022
+ #
1023
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListConfigurationProfilesRequest AWS API Documentation
1024
+ #
1025
+ class ListConfigurationProfilesRequest < Struct.new(
1026
+ :application_id,
1027
+ :max_results,
1028
+ :next_token)
1029
+ include Aws::Structure
1030
+ end
1031
+
1032
+ # @note When making an API call, you may pass ListDeploymentStrategiesRequest
1033
+ # data as a hash:
1034
+ #
1035
+ # {
1036
+ # max_results: 1,
1037
+ # next_token: "NextToken",
1038
+ # }
1039
+ #
1040
+ # @!attribute [rw] max_results
1041
+ # The maximum number of items to return for this call. The call also
1042
+ # returns a token that you can specify in a subsequent call to get the
1043
+ # next set of results.
1044
+ # @return [Integer]
1045
+ #
1046
+ # @!attribute [rw] next_token
1047
+ # A token to start the list. Use this token to get the next set of
1048
+ # results.
1049
+ # @return [String]
1050
+ #
1051
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListDeploymentStrategiesRequest AWS API Documentation
1052
+ #
1053
+ class ListDeploymentStrategiesRequest < Struct.new(
1054
+ :max_results,
1055
+ :next_token)
1056
+ include Aws::Structure
1057
+ end
1058
+
1059
+ # @note When making an API call, you may pass ListDeploymentsRequest
1060
+ # data as a hash:
1061
+ #
1062
+ # {
1063
+ # application_id: "Id", # required
1064
+ # environment_id: "Id", # required
1065
+ # max_results: 1,
1066
+ # next_token: "NextToken",
1067
+ # }
1068
+ #
1069
+ # @!attribute [rw] application_id
1070
+ # The application ID.
1071
+ # @return [String]
1072
+ #
1073
+ # @!attribute [rw] environment_id
1074
+ # The environment ID.
1075
+ # @return [String]
1076
+ #
1077
+ # @!attribute [rw] max_results
1078
+ # The maximum number of items to return for this call. The call also
1079
+ # returns a token that you can specify in a subsequent call to get the
1080
+ # next set of results.
1081
+ # @return [Integer]
1082
+ #
1083
+ # @!attribute [rw] next_token
1084
+ # A token to start the list. Use this token to get the next set of
1085
+ # results.
1086
+ # @return [String]
1087
+ #
1088
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListDeploymentsRequest AWS API Documentation
1089
+ #
1090
+ class ListDeploymentsRequest < Struct.new(
1091
+ :application_id,
1092
+ :environment_id,
1093
+ :max_results,
1094
+ :next_token)
1095
+ include Aws::Structure
1096
+ end
1097
+
1098
+ # @note When making an API call, you may pass ListEnvironmentsRequest
1099
+ # data as a hash:
1100
+ #
1101
+ # {
1102
+ # application_id: "Id", # required
1103
+ # max_results: 1,
1104
+ # next_token: "NextToken",
1105
+ # }
1106
+ #
1107
+ # @!attribute [rw] application_id
1108
+ # The application ID.
1109
+ # @return [String]
1110
+ #
1111
+ # @!attribute [rw] max_results
1112
+ # The maximum number of items to return for this call. The call also
1113
+ # returns a token that you can specify in a subsequent call to get the
1114
+ # next set of results.
1115
+ # @return [Integer]
1116
+ #
1117
+ # @!attribute [rw] next_token
1118
+ # A token to start the list. Use this token to get the next set of
1119
+ # results.
1120
+ # @return [String]
1121
+ #
1122
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListEnvironmentsRequest AWS API Documentation
1123
+ #
1124
+ class ListEnvironmentsRequest < Struct.new(
1125
+ :application_id,
1126
+ :max_results,
1127
+ :next_token)
1128
+ include Aws::Structure
1129
+ end
1130
+
1131
+ # @note When making an API call, you may pass ListTagsForResourceRequest
1132
+ # data as a hash:
1133
+ #
1134
+ # {
1135
+ # resource_arn: "Arn", # required
1136
+ # }
1137
+ #
1138
+ # @!attribute [rw] resource_arn
1139
+ # The resource ARN.
1140
+ # @return [String]
1141
+ #
1142
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListTagsForResourceRequest AWS API Documentation
1143
+ #
1144
+ class ListTagsForResourceRequest < Struct.new(
1145
+ :resource_arn)
1146
+ include Aws::Structure
1147
+ end
1148
+
1149
+ # Amazon CloudWatch alarms to monitor during the deployment process.
1150
+ #
1151
+ # @note When making an API call, you may pass Monitor
1152
+ # data as a hash:
1153
+ #
1154
+ # {
1155
+ # alarm_arn: "Arn",
1156
+ # alarm_role_arn: "Arn",
1157
+ # }
1158
+ #
1159
+ # @!attribute [rw] alarm_arn
1160
+ # ARN of the Amazon CloudWatch alarm.
1161
+ # @return [String]
1162
+ #
1163
+ # @!attribute [rw] alarm_role_arn
1164
+ # ARN of an IAM role for AppConfig to monitor `AlarmArn`.
1165
+ # @return [String]
1166
+ #
1167
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/Monitor AWS API Documentation
1168
+ #
1169
+ class Monitor < Struct.new(
1170
+ :alarm_arn,
1171
+ :alarm_role_arn)
1172
+ include Aws::Structure
1173
+ end
1174
+
1175
+ # The requested resource could not be found.
1176
+ #
1177
+ # @!attribute [rw] message
1178
+ # @return [String]
1179
+ #
1180
+ # @!attribute [rw] resource_name
1181
+ # @return [String]
1182
+ #
1183
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ResourceNotFoundException AWS API Documentation
1184
+ #
1185
+ class ResourceNotFoundException < Struct.new(
1186
+ :message,
1187
+ :resource_name)
1188
+ include Aws::Structure
1189
+ end
1190
+
1191
+ # @!attribute [rw] tags
1192
+ # Metadata to assign to AppConfig resources. Tags help organize and
1193
+ # categorize your AppConfig resources. Each tag consists of a key and
1194
+ # an optional value, both of which you define.
1195
+ # @return [Hash<String,String>]
1196
+ #
1197
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ResourceTags AWS API Documentation
1198
+ #
1199
+ class ResourceTags < Struct.new(
1200
+ :tags)
1201
+ include Aws::Structure
1202
+ end
1203
+
1204
+ # @note When making an API call, you may pass StartDeploymentRequest
1205
+ # data as a hash:
1206
+ #
1207
+ # {
1208
+ # application_id: "Id", # required
1209
+ # environment_id: "Id", # required
1210
+ # deployment_strategy_id: "DeploymentStrategyId", # required
1211
+ # configuration_profile_id: "Id", # required
1212
+ # configuration_version: "Version", # required
1213
+ # description: "Description",
1214
+ # tags: {
1215
+ # "TagKey" => "TagValue",
1216
+ # },
1217
+ # }
1218
+ #
1219
+ # @!attribute [rw] application_id
1220
+ # The application ID.
1221
+ # @return [String]
1222
+ #
1223
+ # @!attribute [rw] environment_id
1224
+ # The environment ID.
1225
+ # @return [String]
1226
+ #
1227
+ # @!attribute [rw] deployment_strategy_id
1228
+ # The deployment strategy ID.
1229
+ # @return [String]
1230
+ #
1231
+ # @!attribute [rw] configuration_profile_id
1232
+ # The configuration profile ID.
1233
+ # @return [String]
1234
+ #
1235
+ # @!attribute [rw] configuration_version
1236
+ # The configuration version to deploy.
1237
+ # @return [String]
1238
+ #
1239
+ # @!attribute [rw] description
1240
+ # A description of the deployment.
1241
+ # @return [String]
1242
+ #
1243
+ # @!attribute [rw] tags
1244
+ # Metadata to assign to the deployment. Tags help organize and
1245
+ # categorize your AppConfig resources. Each tag consists of a key and
1246
+ # an optional value, both of which you define.
1247
+ # @return [Hash<String,String>]
1248
+ #
1249
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/StartDeploymentRequest AWS API Documentation
1250
+ #
1251
+ class StartDeploymentRequest < Struct.new(
1252
+ :application_id,
1253
+ :environment_id,
1254
+ :deployment_strategy_id,
1255
+ :configuration_profile_id,
1256
+ :configuration_version,
1257
+ :description,
1258
+ :tags)
1259
+ include Aws::Structure
1260
+ end
1261
+
1262
+ # @note When making an API call, you may pass StopDeploymentRequest
1263
+ # data as a hash:
1264
+ #
1265
+ # {
1266
+ # application_id: "Id", # required
1267
+ # environment_id: "Id", # required
1268
+ # deployment_number: 1, # required
1269
+ # }
1270
+ #
1271
+ # @!attribute [rw] application_id
1272
+ # The application ID.
1273
+ # @return [String]
1274
+ #
1275
+ # @!attribute [rw] environment_id
1276
+ # The environment ID.
1277
+ # @return [String]
1278
+ #
1279
+ # @!attribute [rw] deployment_number
1280
+ # The sequence number of the deployment.
1281
+ # @return [Integer]
1282
+ #
1283
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/StopDeploymentRequest AWS API Documentation
1284
+ #
1285
+ class StopDeploymentRequest < Struct.new(
1286
+ :application_id,
1287
+ :environment_id,
1288
+ :deployment_number)
1289
+ include Aws::Structure
1290
+ end
1291
+
1292
+ # @note When making an API call, you may pass TagResourceRequest
1293
+ # data as a hash:
1294
+ #
1295
+ # {
1296
+ # resource_arn: "Arn", # required
1297
+ # tags: { # required
1298
+ # "TagKey" => "TagValue",
1299
+ # },
1300
+ # }
1301
+ #
1302
+ # @!attribute [rw] resource_arn
1303
+ # The ARN of the resource for which to retrieve tags.
1304
+ # @return [String]
1305
+ #
1306
+ # @!attribute [rw] tags
1307
+ # The key-value string map. The valid character set is
1308
+ # \[a-zA-Z+-=.\_:/\]. The tag key can be up to 128 characters and must
1309
+ # not start with `aws:`. The tag value can be up to 256 characters.
1310
+ # @return [Hash<String,String>]
1311
+ #
1312
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/TagResourceRequest AWS API Documentation
1313
+ #
1314
+ class TagResourceRequest < Struct.new(
1315
+ :resource_arn,
1316
+ :tags)
1317
+ include Aws::Structure
1318
+ end
1319
+
1320
+ # @note When making an API call, you may pass UntagResourceRequest
1321
+ # data as a hash:
1322
+ #
1323
+ # {
1324
+ # resource_arn: "Arn", # required
1325
+ # tag_keys: ["TagKey"], # required
1326
+ # }
1327
+ #
1328
+ # @!attribute [rw] resource_arn
1329
+ # The ARN of the resource for which to remove tags.
1330
+ # @return [String]
1331
+ #
1332
+ # @!attribute [rw] tag_keys
1333
+ # The tag keys to delete.
1334
+ # @return [Array<String>]
1335
+ #
1336
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UntagResourceRequest AWS API Documentation
1337
+ #
1338
+ class UntagResourceRequest < Struct.new(
1339
+ :resource_arn,
1340
+ :tag_keys)
1341
+ include Aws::Structure
1342
+ end
1343
+
1344
+ # @note When making an API call, you may pass UpdateApplicationRequest
1345
+ # data as a hash:
1346
+ #
1347
+ # {
1348
+ # application_id: "Id", # required
1349
+ # name: "Name",
1350
+ # description: "Description",
1351
+ # }
1352
+ #
1353
+ # @!attribute [rw] application_id
1354
+ # The application ID.
1355
+ # @return [String]
1356
+ #
1357
+ # @!attribute [rw] name
1358
+ # The name of the application.
1359
+ # @return [String]
1360
+ #
1361
+ # @!attribute [rw] description
1362
+ # A description of the application.
1363
+ # @return [String]
1364
+ #
1365
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UpdateApplicationRequest AWS API Documentation
1366
+ #
1367
+ class UpdateApplicationRequest < Struct.new(
1368
+ :application_id,
1369
+ :name,
1370
+ :description)
1371
+ include Aws::Structure
1372
+ end
1373
+
1374
+ # @note When making an API call, you may pass UpdateConfigurationProfileRequest
1375
+ # data as a hash:
1376
+ #
1377
+ # {
1378
+ # application_id: "Id", # required
1379
+ # configuration_profile_id: "Id", # required
1380
+ # name: "Name",
1381
+ # description: "Description",
1382
+ # retrieval_role_arn: "Arn",
1383
+ # validators: [
1384
+ # {
1385
+ # type: "JSON_SCHEMA", # required, accepts JSON_SCHEMA, LAMBDA
1386
+ # content: "StringWithLengthBetween0And32768", # required
1387
+ # },
1388
+ # ],
1389
+ # }
1390
+ #
1391
+ # @!attribute [rw] application_id
1392
+ # The application ID.
1393
+ # @return [String]
1394
+ #
1395
+ # @!attribute [rw] configuration_profile_id
1396
+ # The ID of the configuration profile.
1397
+ # @return [String]
1398
+ #
1399
+ # @!attribute [rw] name
1400
+ # The name of the configuration profile.
1401
+ # @return [String]
1402
+ #
1403
+ # @!attribute [rw] description
1404
+ # A description of the configuration profile.
1405
+ # @return [String]
1406
+ #
1407
+ # @!attribute [rw] retrieval_role_arn
1408
+ # The ARN of an IAM role with permission to access the configuration
1409
+ # at the specified LocationUri.
1410
+ # @return [String]
1411
+ #
1412
+ # @!attribute [rw] validators
1413
+ # A list of methods for validating the configuration.
1414
+ # @return [Array<Types::Validator>]
1415
+ #
1416
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UpdateConfigurationProfileRequest AWS API Documentation
1417
+ #
1418
+ class UpdateConfigurationProfileRequest < Struct.new(
1419
+ :application_id,
1420
+ :configuration_profile_id,
1421
+ :name,
1422
+ :description,
1423
+ :retrieval_role_arn,
1424
+ :validators)
1425
+ include Aws::Structure
1426
+ end
1427
+
1428
+ # @note When making an API call, you may pass UpdateDeploymentStrategyRequest
1429
+ # data as a hash:
1430
+ #
1431
+ # {
1432
+ # deployment_strategy_id: "DeploymentStrategyId", # required
1433
+ # description: "Description",
1434
+ # deployment_duration_in_minutes: 1,
1435
+ # final_bake_time_in_minutes: 1,
1436
+ # growth_factor: 1.0,
1437
+ # growth_type: "LINEAR", # accepts LINEAR
1438
+ # }
1439
+ #
1440
+ # @!attribute [rw] deployment_strategy_id
1441
+ # The deployment strategy ID.
1442
+ # @return [String]
1443
+ #
1444
+ # @!attribute [rw] description
1445
+ # A description of the deployment strategy.
1446
+ # @return [String]
1447
+ #
1448
+ # @!attribute [rw] deployment_duration_in_minutes
1449
+ # Total amount of time for a deployment to last.
1450
+ # @return [Integer]
1451
+ #
1452
+ # @!attribute [rw] final_bake_time_in_minutes
1453
+ # The amount of time AppConfig monitors for alarms before considering
1454
+ # the deployment to be complete and no longer eligible for automatic
1455
+ # roll back.
1456
+ # @return [Integer]
1457
+ #
1458
+ # @!attribute [rw] growth_factor
1459
+ # The percentage of targets to receive a deployed configuration during
1460
+ # each interval.
1461
+ # @return [Float]
1462
+ #
1463
+ # @!attribute [rw] growth_type
1464
+ # The algorithm used to define how percentage grows over time.
1465
+ # @return [String]
1466
+ #
1467
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UpdateDeploymentStrategyRequest AWS API Documentation
1468
+ #
1469
+ class UpdateDeploymentStrategyRequest < Struct.new(
1470
+ :deployment_strategy_id,
1471
+ :description,
1472
+ :deployment_duration_in_minutes,
1473
+ :final_bake_time_in_minutes,
1474
+ :growth_factor,
1475
+ :growth_type)
1476
+ include Aws::Structure
1477
+ end
1478
+
1479
+ # @note When making an API call, you may pass UpdateEnvironmentRequest
1480
+ # data as a hash:
1481
+ #
1482
+ # {
1483
+ # application_id: "Id", # required
1484
+ # environment_id: "Id", # required
1485
+ # name: "Name",
1486
+ # description: "Description",
1487
+ # monitors: [
1488
+ # {
1489
+ # alarm_arn: "Arn",
1490
+ # alarm_role_arn: "Arn",
1491
+ # },
1492
+ # ],
1493
+ # }
1494
+ #
1495
+ # @!attribute [rw] application_id
1496
+ # The application ID.
1497
+ # @return [String]
1498
+ #
1499
+ # @!attribute [rw] environment_id
1500
+ # The environment ID.
1501
+ # @return [String]
1502
+ #
1503
+ # @!attribute [rw] name
1504
+ # The name of the environment.
1505
+ # @return [String]
1506
+ #
1507
+ # @!attribute [rw] description
1508
+ # A description of the environment.
1509
+ # @return [String]
1510
+ #
1511
+ # @!attribute [rw] monitors
1512
+ # Amazon CloudWatch alarms to monitor during the deployment process.
1513
+ # @return [Array<Types::Monitor>]
1514
+ #
1515
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UpdateEnvironmentRequest AWS API Documentation
1516
+ #
1517
+ class UpdateEnvironmentRequest < Struct.new(
1518
+ :application_id,
1519
+ :environment_id,
1520
+ :name,
1521
+ :description,
1522
+ :monitors)
1523
+ include Aws::Structure
1524
+ end
1525
+
1526
+ # @note When making an API call, you may pass ValidateConfigurationRequest
1527
+ # data as a hash:
1528
+ #
1529
+ # {
1530
+ # application_id: "Id", # required
1531
+ # configuration_profile_id: "Id", # required
1532
+ # configuration_version: "Version", # required
1533
+ # }
1534
+ #
1535
+ # @!attribute [rw] application_id
1536
+ # The application ID.
1537
+ # @return [String]
1538
+ #
1539
+ # @!attribute [rw] configuration_profile_id
1540
+ # The configuration profile ID.
1541
+ # @return [String]
1542
+ #
1543
+ # @!attribute [rw] configuration_version
1544
+ # The version of the configuration to validate.
1545
+ # @return [String]
1546
+ #
1547
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ValidateConfigurationRequest AWS API Documentation
1548
+ #
1549
+ class ValidateConfigurationRequest < Struct.new(
1550
+ :application_id,
1551
+ :configuration_profile_id,
1552
+ :configuration_version)
1553
+ include Aws::Structure
1554
+ end
1555
+
1556
+ # A validator provides a syntactic or semantic check to ensure the
1557
+ # configuration you want to deploy functions as intended. To validate
1558
+ # your application configuration data, you provide a schema or a Lambda
1559
+ # function that runs against the configuration. The configuration
1560
+ # deployment or update can only proceed when the configuration data is
1561
+ # valid.
1562
+ #
1563
+ # @note When making an API call, you may pass Validator
1564
+ # data as a hash:
1565
+ #
1566
+ # {
1567
+ # type: "JSON_SCHEMA", # required, accepts JSON_SCHEMA, LAMBDA
1568
+ # content: "StringWithLengthBetween0And32768", # required
1569
+ # }
1570
+ #
1571
+ # @!attribute [rw] type
1572
+ # AppConfig supports validators of type `JSON_SCHEMA` and `LAMBDA`
1573
+ # @return [String]
1574
+ #
1575
+ # @!attribute [rw] content
1576
+ # Either the JSON Schema content or an AWS Lambda function name.
1577
+ # @return [String]
1578
+ #
1579
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/Validator AWS API Documentation
1580
+ #
1581
+ class Validator < Struct.new(
1582
+ :type,
1583
+ :content)
1584
+ include Aws::Structure
1585
+ end
1586
+
1587
+ end
1588
+ end