aws-sdk-codedeploy 1.0.0.rc1

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,7 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing for info on making contributions:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
@@ -0,0 +1,23 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing for info on making contributions:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module CodeDeploy
10
+ module Errors
11
+
12
+ extend Aws::Errors::DynamicErrors
13
+
14
+ # Raised when calling #load or #data on a resource class that can not be
15
+ # loaded. This can happen when:
16
+ #
17
+ # * A resource class has identifiers, but no data attributes.
18
+ # * Resource data is only available when making an API call that
19
+ # enumerates all resources of that type.
20
+ class ResourceNotLoadable < RuntimeError; end
21
+ end
22
+ end
23
+ end
@@ -0,0 +1,25 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing for info on making contributions:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module CodeDeploy
10
+ class Resource
11
+
12
+ # @param options ({})
13
+ # @option options [Client] :client
14
+ def initialize(options = {})
15
+ @client = options[:client] || Client.new(options)
16
+ end
17
+
18
+ # @return [Client]
19
+ def client
20
+ @client
21
+ end
22
+
23
+ end
24
+ end
25
+ end
@@ -0,0 +1,2552 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing for info on making contributions:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module CodeDeploy
10
+ module Types
11
+
12
+ # Represents the input of, and adds tags to, an on-premises instance
13
+ # operation.
14
+ # @note When making an API call, pass AddTagsToOnPremisesInstancesInput
15
+ # data as a hash:
16
+ #
17
+ # {
18
+ # tags: [ # required
19
+ # {
20
+ # key: "Key",
21
+ # value: "Value",
22
+ # },
23
+ # ],
24
+ # instance_names: ["InstanceName"], # required
25
+ # }
26
+ # @!attribute [rw] tags
27
+ # The tag key-value pairs to add to the on-premises instances.
28
+ #
29
+ # Keys and values are both required. Keys cannot be null or empty
30
+ # strings. Value-only tags are not allowed.
31
+ # @return [Array<Types::Tag>]
32
+ #
33
+ # @!attribute [rw] instance_names
34
+ # The names of the on-premises instances to which to add tags.
35
+ # @return [Array<String>]
36
+ class AddTagsToOnPremisesInstancesInput < Struct.new(
37
+ :tags,
38
+ :instance_names)
39
+ include Aws::Structure
40
+ end
41
+
42
+ # Information about an alarm.
43
+ # @note When making an API call, pass Alarm
44
+ # data as a hash:
45
+ #
46
+ # {
47
+ # name: "AlarmName",
48
+ # }
49
+ # @!attribute [rw] name
50
+ # The name of the alarm. Maximum length is 255 characters. Each alarm
51
+ # name can be used only once in a list of alarms.
52
+ # @return [String]
53
+ class Alarm < Struct.new(
54
+ :name)
55
+ include Aws::Structure
56
+ end
57
+
58
+ # Information about alarms associated with the deployment group.
59
+ # @note When making an API call, pass AlarmConfiguration
60
+ # data as a hash:
61
+ #
62
+ # {
63
+ # enabled: false,
64
+ # ignore_poll_alarm_failure: false,
65
+ # alarms: [
66
+ # {
67
+ # name: "AlarmName",
68
+ # },
69
+ # ],
70
+ # }
71
+ # @!attribute [rw] enabled
72
+ # Indicates whether the alarm configuration is enabled.
73
+ # @return [Boolean]
74
+ #
75
+ # @!attribute [rw] ignore_poll_alarm_failure
76
+ # Indicates whether a deployment should continue if information about
77
+ # the current state of alarms cannot be retrieved from Amazon
78
+ # CloudWatch. The default value is false.
79
+ #
80
+ # * true: The deployment will proceed even if alarm status information
81
+ # can't be retrieved from Amazon CloudWatch.
82
+ #
83
+ # * false: The deployment will stop if alarm status information can't
84
+ # be retrieved from Amazon CloudWatch.
85
+ # @return [Boolean]
86
+ #
87
+ # @!attribute [rw] alarms
88
+ # A list of alarms configured for the deployment group. A maximum of
89
+ # 10 alarms can be added to a deployment group.
90
+ # @return [Array<Types::Alarm>]
91
+ class AlarmConfiguration < Struct.new(
92
+ :enabled,
93
+ :ignore_poll_alarm_failure,
94
+ :alarms)
95
+ include Aws::Structure
96
+ end
97
+
98
+ # Information about an application.
99
+ # @!attribute [rw] application_id
100
+ # The application ID.
101
+ # @return [String]
102
+ #
103
+ # @!attribute [rw] application_name
104
+ # The application name.
105
+ # @return [String]
106
+ #
107
+ # @!attribute [rw] create_time
108
+ # The time at which the application was created.
109
+ # @return [Time]
110
+ #
111
+ # @!attribute [rw] linked_to_git_hub
112
+ # True if the user has authenticated with GitHub for the specified
113
+ # application; otherwise, false.
114
+ # @return [Boolean]
115
+ class ApplicationInfo < Struct.new(
116
+ :application_id,
117
+ :application_name,
118
+ :create_time,
119
+ :linked_to_git_hub)
120
+ include Aws::Structure
121
+ end
122
+
123
+ # Information about a configuration for automatically rolling back to a
124
+ # previous version of an application revision when a deployment doesn't
125
+ # complete successfully.
126
+ # @note When making an API call, pass AutoRollbackConfiguration
127
+ # data as a hash:
128
+ #
129
+ # {
130
+ # enabled: false,
131
+ # events: ["DEPLOYMENT_FAILURE"], # accepts DEPLOYMENT_FAILURE, DEPLOYMENT_STOP_ON_ALARM, DEPLOYMENT_STOP_ON_REQUEST
132
+ # }
133
+ # @!attribute [rw] enabled
134
+ # Indicates whether a defined automatic rollback configuration is
135
+ # currently enabled.
136
+ # @return [Boolean]
137
+ #
138
+ # @!attribute [rw] events
139
+ # The event type or types that trigger a rollback.
140
+ # @return [Array<String>]
141
+ class AutoRollbackConfiguration < Struct.new(
142
+ :enabled,
143
+ :events)
144
+ include Aws::Structure
145
+ end
146
+
147
+ # Information about an Auto Scaling group.
148
+ # @!attribute [rw] name
149
+ # The Auto Scaling group name.
150
+ # @return [String]
151
+ #
152
+ # @!attribute [rw] hook
153
+ # An Auto Scaling lifecycle event hook name.
154
+ # @return [String]
155
+ class AutoScalingGroup < Struct.new(
156
+ :name,
157
+ :hook)
158
+ include Aws::Structure
159
+ end
160
+
161
+ # Represents the input of a batch get application revisions operation.
162
+ # @note When making an API call, pass BatchGetApplicationRevisionsInput
163
+ # data as a hash:
164
+ #
165
+ # {
166
+ # application_name: "ApplicationName", # required
167
+ # revisions: [ # required
168
+ # {
169
+ # revision_type: "S3", # accepts S3, GitHub
170
+ # s3_location: {
171
+ # bucket: "S3Bucket",
172
+ # key: "S3Key",
173
+ # bundle_type: "tar", # accepts tar, tgz, zip
174
+ # version: "VersionId",
175
+ # e_tag: "ETag",
176
+ # },
177
+ # git_hub_location: {
178
+ # repository: "Repository",
179
+ # commit_id: "CommitId",
180
+ # },
181
+ # },
182
+ # ],
183
+ # }
184
+ # @!attribute [rw] application_name
185
+ # The name of an AWS CodeDeploy application about which to get
186
+ # revision information.
187
+ # @return [String]
188
+ #
189
+ # @!attribute [rw] revisions
190
+ # Information to get about the application revisions, including type
191
+ # and location.
192
+ # @return [Array<Types::RevisionLocation>]
193
+ class BatchGetApplicationRevisionsInput < Struct.new(
194
+ :application_name,
195
+ :revisions)
196
+ include Aws::Structure
197
+ end
198
+
199
+ # Represents the output of a batch get application revisions operation.
200
+ # @!attribute [rw] application_name
201
+ # The name of the application that corresponds to the revisions.
202
+ # @return [String]
203
+ #
204
+ # @!attribute [rw] error_message
205
+ # Information about errors that may have occurred during the API call.
206
+ # @return [String]
207
+ #
208
+ # @!attribute [rw] revisions
209
+ # Additional information about the revisions, including the type and
210
+ # location.
211
+ # @return [Array<Types::RevisionInfo>]
212
+ class BatchGetApplicationRevisionsOutput < Struct.new(
213
+ :application_name,
214
+ :error_message,
215
+ :revisions)
216
+ include Aws::Structure
217
+ end
218
+
219
+ # Represents the input of a batch get applications operation.
220
+ # @note When making an API call, pass BatchGetApplicationsInput
221
+ # data as a hash:
222
+ #
223
+ # {
224
+ # application_names: ["ApplicationName"],
225
+ # }
226
+ # @!attribute [rw] application_names
227
+ # A list of application names separated by spaces.
228
+ # @return [Array<String>]
229
+ class BatchGetApplicationsInput < Struct.new(
230
+ :application_names)
231
+ include Aws::Structure
232
+ end
233
+
234
+ # Represents the output of a batch get applications operation.
235
+ # @!attribute [rw] applications_info
236
+ # Information about the applications.
237
+ # @return [Array<Types::ApplicationInfo>]
238
+ class BatchGetApplicationsOutput < Struct.new(
239
+ :applications_info)
240
+ include Aws::Structure
241
+ end
242
+
243
+ # Represents the input of a batch get deployment groups operation.
244
+ # @note When making an API call, pass BatchGetDeploymentGroupsInput
245
+ # data as a hash:
246
+ #
247
+ # {
248
+ # application_name: "ApplicationName", # required
249
+ # deployment_group_names: ["DeploymentGroupName"], # required
250
+ # }
251
+ # @!attribute [rw] application_name
252
+ # The name of an AWS CodeDeploy application associated with the
253
+ # applicable IAM user or AWS account.
254
+ # @return [String]
255
+ #
256
+ # @!attribute [rw] deployment_group_names
257
+ # The deployment groups' names.
258
+ # @return [Array<String>]
259
+ class BatchGetDeploymentGroupsInput < Struct.new(
260
+ :application_name,
261
+ :deployment_group_names)
262
+ include Aws::Structure
263
+ end
264
+
265
+ # Represents the output of a batch get deployment groups operation.
266
+ # @!attribute [rw] deployment_groups_info
267
+ # Information about the deployment groups.
268
+ # @return [Array<Types::DeploymentGroupInfo>]
269
+ #
270
+ # @!attribute [rw] error_message
271
+ # Information about errors that may have occurred during the API call.
272
+ # @return [String]
273
+ class BatchGetDeploymentGroupsOutput < Struct.new(
274
+ :deployment_groups_info,
275
+ :error_message)
276
+ include Aws::Structure
277
+ end
278
+
279
+ # Represents the input of a batch get deployment instances operation.
280
+ # @note When making an API call, pass BatchGetDeploymentInstancesInput
281
+ # data as a hash:
282
+ #
283
+ # {
284
+ # deployment_id: "DeploymentId", # required
285
+ # instance_ids: ["InstanceId"], # required
286
+ # }
287
+ # @!attribute [rw] deployment_id
288
+ # The unique ID of a deployment.
289
+ # @return [String]
290
+ #
291
+ # @!attribute [rw] instance_ids
292
+ # The unique IDs of instances in the deployment group.
293
+ # @return [Array<String>]
294
+ class BatchGetDeploymentInstancesInput < Struct.new(
295
+ :deployment_id,
296
+ :instance_ids)
297
+ include Aws::Structure
298
+ end
299
+
300
+ # Represents the output of a batch get deployment instance operation.
301
+ # @!attribute [rw] instances_summary
302
+ # Information about the instance.
303
+ # @return [Array<Types::InstanceSummary>]
304
+ #
305
+ # @!attribute [rw] error_message
306
+ # Information about errors that may have occurred during the API call.
307
+ # @return [String]
308
+ class BatchGetDeploymentInstancesOutput < Struct.new(
309
+ :instances_summary,
310
+ :error_message)
311
+ include Aws::Structure
312
+ end
313
+
314
+ # Represents the input of a batch get deployments operation.
315
+ # @note When making an API call, pass BatchGetDeploymentsInput
316
+ # data as a hash:
317
+ #
318
+ # {
319
+ # deployment_ids: ["DeploymentId"],
320
+ # }
321
+ # @!attribute [rw] deployment_ids
322
+ # A list of deployment IDs, separated by spaces.
323
+ # @return [Array<String>]
324
+ class BatchGetDeploymentsInput < Struct.new(
325
+ :deployment_ids)
326
+ include Aws::Structure
327
+ end
328
+
329
+ # Represents the output of a batch get deployments operation.
330
+ # @!attribute [rw] deployments_info
331
+ # Information about the deployments.
332
+ # @return [Array<Types::DeploymentInfo>]
333
+ class BatchGetDeploymentsOutput < Struct.new(
334
+ :deployments_info)
335
+ include Aws::Structure
336
+ end
337
+
338
+ # Represents the input of a batch get on-premises instances operation.
339
+ # @note When making an API call, pass BatchGetOnPremisesInstancesInput
340
+ # data as a hash:
341
+ #
342
+ # {
343
+ # instance_names: ["InstanceName"],
344
+ # }
345
+ # @!attribute [rw] instance_names
346
+ # The names of the on-premises instances about which to get
347
+ # information.
348
+ # @return [Array<String>]
349
+ class BatchGetOnPremisesInstancesInput < Struct.new(
350
+ :instance_names)
351
+ include Aws::Structure
352
+ end
353
+
354
+ # Represents the output of a batch get on-premises instances operation.
355
+ # @!attribute [rw] instance_infos
356
+ # Information about the on-premises instances.
357
+ # @return [Array<Types::InstanceInfo>]
358
+ class BatchGetOnPremisesInstancesOutput < Struct.new(
359
+ :instance_infos)
360
+ include Aws::Structure
361
+ end
362
+
363
+ # Represents the input of a create application operation.
364
+ # @note When making an API call, pass CreateApplicationInput
365
+ # data as a hash:
366
+ #
367
+ # {
368
+ # application_name: "ApplicationName", # required
369
+ # }
370
+ # @!attribute [rw] application_name
371
+ # The name of the application. This name must be unique with the
372
+ # applicable IAM user or AWS account.
373
+ # @return [String]
374
+ class CreateApplicationInput < Struct.new(
375
+ :application_name)
376
+ include Aws::Structure
377
+ end
378
+
379
+ # Represents the output of a create application operation.
380
+ # @!attribute [rw] application_id
381
+ # A unique application ID.
382
+ # @return [String]
383
+ class CreateApplicationOutput < Struct.new(
384
+ :application_id)
385
+ include Aws::Structure
386
+ end
387
+
388
+ # Represents the input of a create deployment configuration operation.
389
+ # @note When making an API call, pass CreateDeploymentConfigInput
390
+ # data as a hash:
391
+ #
392
+ # {
393
+ # deployment_config_name: "DeploymentConfigName", # required
394
+ # minimum_healthy_hosts: {
395
+ # value: 1,
396
+ # type: "HOST_COUNT", # accepts HOST_COUNT, FLEET_PERCENT
397
+ # },
398
+ # }
399
+ # @!attribute [rw] deployment_config_name
400
+ # The name of the deployment configuration to create.
401
+ # @return [String]
402
+ #
403
+ # @!attribute [rw] minimum_healthy_hosts
404
+ # The minimum number of healthy instances that should be available at
405
+ # any time during the deployment. There are two parameters expected in
406
+ # the input: type and value.
407
+ #
408
+ # The type parameter takes either of the following values:
409
+ #
410
+ # * HOST\_COUNT: The value parameter represents the minimum number of
411
+ # healthy instances as an absolute value.
412
+ #
413
+ # * FLEET\_PERCENT: The value parameter represents the minimum number
414
+ # of healthy instances as a percentage of the total number of
415
+ # instances in the deployment. If you specify FLEET\_PERCENT, at the
416
+ # start of the deployment, AWS CodeDeploy converts the percentage to
417
+ # the equivalent number of instance and rounds up fractional
418
+ # instances.
419
+ #
420
+ # The value parameter takes an integer.
421
+ #
422
+ # For example, to set a minimum of 95% healthy instance, specify a
423
+ # type of FLEET\_PERCENT and a value of 95.
424
+ # @return [Types::MinimumHealthyHosts]
425
+ class CreateDeploymentConfigInput < Struct.new(
426
+ :deployment_config_name,
427
+ :minimum_healthy_hosts)
428
+ include Aws::Structure
429
+ end
430
+
431
+ # Represents the output of a create deployment configuration operation.
432
+ # @!attribute [rw] deployment_config_id
433
+ # A unique deployment configuration ID.
434
+ # @return [String]
435
+ class CreateDeploymentConfigOutput < Struct.new(
436
+ :deployment_config_id)
437
+ include Aws::Structure
438
+ end
439
+
440
+ # Represents the input of a create deployment group operation.
441
+ # @note When making an API call, pass CreateDeploymentGroupInput
442
+ # data as a hash:
443
+ #
444
+ # {
445
+ # application_name: "ApplicationName", # required
446
+ # deployment_group_name: "DeploymentGroupName", # required
447
+ # deployment_config_name: "DeploymentConfigName",
448
+ # ec2_tag_filters: [
449
+ # {
450
+ # key: "Key",
451
+ # value: "Value",
452
+ # type: "KEY_ONLY", # accepts KEY_ONLY, VALUE_ONLY, KEY_AND_VALUE
453
+ # },
454
+ # ],
455
+ # on_premises_instance_tag_filters: [
456
+ # {
457
+ # key: "Key",
458
+ # value: "Value",
459
+ # type: "KEY_ONLY", # accepts KEY_ONLY, VALUE_ONLY, KEY_AND_VALUE
460
+ # },
461
+ # ],
462
+ # auto_scaling_groups: ["AutoScalingGroupName"],
463
+ # service_role_arn: "Role", # required
464
+ # trigger_configurations: [
465
+ # {
466
+ # trigger_name: "TriggerName",
467
+ # trigger_target_arn: "TriggerTargetArn",
468
+ # trigger_events: ["DeploymentStart"], # accepts DeploymentStart, DeploymentSuccess, DeploymentFailure, DeploymentStop, DeploymentRollback, InstanceStart, InstanceSuccess, InstanceFailure
469
+ # },
470
+ # ],
471
+ # alarm_configuration: {
472
+ # enabled: false,
473
+ # ignore_poll_alarm_failure: false,
474
+ # alarms: [
475
+ # {
476
+ # name: "AlarmName",
477
+ # },
478
+ # ],
479
+ # },
480
+ # auto_rollback_configuration: {
481
+ # enabled: false,
482
+ # events: ["DEPLOYMENT_FAILURE"], # accepts DEPLOYMENT_FAILURE, DEPLOYMENT_STOP_ON_ALARM, DEPLOYMENT_STOP_ON_REQUEST
483
+ # },
484
+ # }
485
+ # @!attribute [rw] application_name
486
+ # The name of an AWS CodeDeploy application associated with the
487
+ # applicable IAM user or AWS account.
488
+ # @return [String]
489
+ #
490
+ # @!attribute [rw] deployment_group_name
491
+ # The name of a new deployment group for the specified application.
492
+ # @return [String]
493
+ #
494
+ # @!attribute [rw] deployment_config_name
495
+ # If specified, the deployment configuration name can be either one of
496
+ # the predefined configurations provided with AWS CodeDeploy or a
497
+ # custom deployment configuration that you create by calling the
498
+ # create deployment configuration operation.
499
+ #
500
+ # <note markdown="1"> CodeDeployDefault.OneAtATime is the default deployment
501
+ # configuration. It is used if a configuration isn't specified for
502
+ # the deployment or the deployment group.
503
+ #
504
+ # </note>
505
+ #
506
+ # The predefined deployment configurations include the following:
507
+ #
508
+ # * **CodeDeployDefault.AllAtOnce** attempts to deploy an application
509
+ # revision to as many instances as possible at once. The status of
510
+ # the overall deployment will be displayed as **Succeeded** if the
511
+ # application revision is deployed to one or more of the instances.
512
+ # The status of the overall deployment will be displayed as
513
+ # **Failed** if the application revision is not deployed to any of
514
+ # the instances. Using an example of nine instances,
515
+ # CodeDeployDefault.AllAtOnce will attempt to deploy to all nine
516
+ # instances at once. The overall deployment will succeed if
517
+ # deployment to even a single instance is successful; it will fail
518
+ # only if deployments to all nine instances fail.
519
+ #
520
+ # * **CodeDeployDefault.HalfAtATime** deploys to up to half of the
521
+ # instances at a time (with fractions rounded down). The overall
522
+ # deployment succeeds if the application revision is deployed to at
523
+ # least half of the instances (with fractions rounded up);
524
+ # otherwise, the deployment fails. In the example of nine instances,
525
+ # it will deploy to up to four instances at a time. The overall
526
+ # deployment succeeds if deployment to five or more instances
527
+ # succeed; otherwise, the deployment fails. The deployment may be
528
+ # successfully deployed to some instances even if the overall
529
+ # deployment fails.
530
+ #
531
+ # * **CodeDeployDefault.OneAtATime** deploys the application revision
532
+ # to only one instance at a time.
533
+ #
534
+ # For deployment groups that contain more than one instance:
535
+ #
536
+ # * The overall deployment succeeds if the application revision is
537
+ # deployed to all of the instances. The exception to this rule is
538
+ # if deployment to the last instance fails, the overall deployment
539
+ # still succeeds. This is because AWS CodeDeploy allows only one
540
+ # instance at a time to be taken offline with the
541
+ # CodeDeployDefault.OneAtATime configuration.
542
+ #
543
+ # * The overall deployment fails as soon as the application revision
544
+ # fails to be deployed to any but the last instance. The
545
+ # deployment may be successfully deployed to some instances even
546
+ # if the overall deployment fails.
547
+ #
548
+ # * In an example using nine instances, it will deploy to one
549
+ # instance at a time. The overall deployment succeeds if
550
+ # deployment to the first eight instances is successful; the
551
+ # overall deployment fails if deployment to any of the first eight
552
+ # instances fails.
553
+ #
554
+ # For deployment groups that contain only one instance, the overall
555
+ # deployment is successful only if deployment to the single instance
556
+ # is successful
557
+ # @return [String]
558
+ #
559
+ # @!attribute [rw] ec2_tag_filters
560
+ # The Amazon EC2 tags on which to filter.
561
+ # @return [Array<Types::EC2TagFilter>]
562
+ #
563
+ # @!attribute [rw] on_premises_instance_tag_filters
564
+ # The on-premises instance tags on which to filter.
565
+ # @return [Array<Types::TagFilter>]
566
+ #
567
+ # @!attribute [rw] auto_scaling_groups
568
+ # A list of associated Auto Scaling groups.
569
+ # @return [Array<String>]
570
+ #
571
+ # @!attribute [rw] service_role_arn
572
+ # A service role ARN that allows AWS CodeDeploy to act on the user's
573
+ # behalf when interacting with AWS services.
574
+ # @return [String]
575
+ #
576
+ # @!attribute [rw] trigger_configurations
577
+ # Information about triggers to create when the deployment group is
578
+ # created. For examples, see [Create a Trigger for an AWS CodeDeploy
579
+ # Event][1] in the AWS CodeDeploy User Guide.
580
+ #
581
+ #
582
+ #
583
+ # [1]: http://docs.aws.amazon.com/codedeploy/latest/userguide/how-to-notify-sns.html
584
+ # @return [Array<Types::TriggerConfig>]
585
+ #
586
+ # @!attribute [rw] alarm_configuration
587
+ # Information to add about Amazon CloudWatch alarms when the
588
+ # deployment group is created.
589
+ # @return [Types::AlarmConfiguration]
590
+ #
591
+ # @!attribute [rw] auto_rollback_configuration
592
+ # Configuration information for an automatic rollback that is added
593
+ # when a deployment group is created.
594
+ # @return [Types::AutoRollbackConfiguration]
595
+ class CreateDeploymentGroupInput < Struct.new(
596
+ :application_name,
597
+ :deployment_group_name,
598
+ :deployment_config_name,
599
+ :ec2_tag_filters,
600
+ :on_premises_instance_tag_filters,
601
+ :auto_scaling_groups,
602
+ :service_role_arn,
603
+ :trigger_configurations,
604
+ :alarm_configuration,
605
+ :auto_rollback_configuration)
606
+ include Aws::Structure
607
+ end
608
+
609
+ # Represents the output of a create deployment group operation.
610
+ # @!attribute [rw] deployment_group_id
611
+ # A unique deployment group ID.
612
+ # @return [String]
613
+ class CreateDeploymentGroupOutput < Struct.new(
614
+ :deployment_group_id)
615
+ include Aws::Structure
616
+ end
617
+
618
+ # Represents the input of a create deployment operation.
619
+ # @note When making an API call, pass CreateDeploymentInput
620
+ # data as a hash:
621
+ #
622
+ # {
623
+ # application_name: "ApplicationName", # required
624
+ # deployment_group_name: "DeploymentGroupName",
625
+ # revision: {
626
+ # revision_type: "S3", # accepts S3, GitHub
627
+ # s3_location: {
628
+ # bucket: "S3Bucket",
629
+ # key: "S3Key",
630
+ # bundle_type: "tar", # accepts tar, tgz, zip
631
+ # version: "VersionId",
632
+ # e_tag: "ETag",
633
+ # },
634
+ # git_hub_location: {
635
+ # repository: "Repository",
636
+ # commit_id: "CommitId",
637
+ # },
638
+ # },
639
+ # deployment_config_name: "DeploymentConfigName",
640
+ # description: "Description",
641
+ # ignore_application_stop_failures: false,
642
+ # auto_rollback_configuration: {
643
+ # enabled: false,
644
+ # events: ["DEPLOYMENT_FAILURE"], # accepts DEPLOYMENT_FAILURE, DEPLOYMENT_STOP_ON_ALARM, DEPLOYMENT_STOP_ON_REQUEST
645
+ # },
646
+ # update_outdated_instances_only: false,
647
+ # }
648
+ # @!attribute [rw] application_name
649
+ # The name of an AWS CodeDeploy application associated with the
650
+ # applicable IAM user or AWS account.
651
+ # @return [String]
652
+ #
653
+ # @!attribute [rw] deployment_group_name
654
+ # The name of the deployment group.
655
+ # @return [String]
656
+ #
657
+ # @!attribute [rw] revision
658
+ # The type and location of the revision to deploy.
659
+ # @return [Types::RevisionLocation]
660
+ #
661
+ # @!attribute [rw] deployment_config_name
662
+ # The name of a deployment configuration associated with the
663
+ # applicable IAM user or AWS account.
664
+ #
665
+ # If not specified, the value configured in the deployment group will
666
+ # be used as the default. If the deployment group does not have a
667
+ # deployment configuration associated with it, then
668
+ # CodeDeployDefault.OneAtATime will be used by default.
669
+ # @return [String]
670
+ #
671
+ # @!attribute [rw] description
672
+ # A comment about the deployment.
673
+ # @return [String]
674
+ #
675
+ # @!attribute [rw] ignore_application_stop_failures
676
+ # If set to true, then if the deployment causes the ApplicationStop
677
+ # deployment lifecycle event to an instance to fail, the deployment to
678
+ # that instance will not be considered to have failed at that point
679
+ # and will continue on to the BeforeInstall deployment lifecycle
680
+ # event.
681
+ #
682
+ # If set to false or not specified, then if the deployment causes the
683
+ # ApplicationStop deployment lifecycle event to fail to an instance,
684
+ # the deployment to that instance will stop, and the deployment to
685
+ # that instance will be considered to have failed.
686
+ # @return [Boolean]
687
+ #
688
+ # @!attribute [rw] auto_rollback_configuration
689
+ # Configuration information for an automatic rollback that is added
690
+ # when a deployment is created.
691
+ # @return [Types::AutoRollbackConfiguration]
692
+ #
693
+ # @!attribute [rw] update_outdated_instances_only
694
+ # Indicates whether to deploy to all instances or only to instances
695
+ # that are not running the latest application revision.
696
+ # @return [Boolean]
697
+ class CreateDeploymentInput < Struct.new(
698
+ :application_name,
699
+ :deployment_group_name,
700
+ :revision,
701
+ :deployment_config_name,
702
+ :description,
703
+ :ignore_application_stop_failures,
704
+ :auto_rollback_configuration,
705
+ :update_outdated_instances_only)
706
+ include Aws::Structure
707
+ end
708
+
709
+ # Represents the output of a create deployment operation.
710
+ # @!attribute [rw] deployment_id
711
+ # A unique deployment ID.
712
+ # @return [String]
713
+ class CreateDeploymentOutput < Struct.new(
714
+ :deployment_id)
715
+ include Aws::Structure
716
+ end
717
+
718
+ # Represents the input of a delete application operation.
719
+ # @note When making an API call, pass DeleteApplicationInput
720
+ # data as a hash:
721
+ #
722
+ # {
723
+ # application_name: "ApplicationName", # required
724
+ # }
725
+ # @!attribute [rw] application_name
726
+ # The name of an AWS CodeDeploy application associated with the
727
+ # applicable IAM user or AWS account.
728
+ # @return [String]
729
+ class DeleteApplicationInput < Struct.new(
730
+ :application_name)
731
+ include Aws::Structure
732
+ end
733
+
734
+ # Represents the input of a delete deployment configuration operation.
735
+ # @note When making an API call, pass DeleteDeploymentConfigInput
736
+ # data as a hash:
737
+ #
738
+ # {
739
+ # deployment_config_name: "DeploymentConfigName", # required
740
+ # }
741
+ # @!attribute [rw] deployment_config_name
742
+ # The name of a deployment configuration associated with the
743
+ # applicable IAM user or AWS account.
744
+ # @return [String]
745
+ class DeleteDeploymentConfigInput < Struct.new(
746
+ :deployment_config_name)
747
+ include Aws::Structure
748
+ end
749
+
750
+ # Represents the input of a delete deployment group operation.
751
+ # @note When making an API call, pass DeleteDeploymentGroupInput
752
+ # data as a hash:
753
+ #
754
+ # {
755
+ # application_name: "ApplicationName", # required
756
+ # deployment_group_name: "DeploymentGroupName", # required
757
+ # }
758
+ # @!attribute [rw] application_name
759
+ # The name of an AWS CodeDeploy application associated with the
760
+ # applicable IAM user or AWS account.
761
+ # @return [String]
762
+ #
763
+ # @!attribute [rw] deployment_group_name
764
+ # The name of an existing deployment group for the specified
765
+ # application.
766
+ # @return [String]
767
+ class DeleteDeploymentGroupInput < Struct.new(
768
+ :application_name,
769
+ :deployment_group_name)
770
+ include Aws::Structure
771
+ end
772
+
773
+ # Represents the output of a delete deployment group operation.
774
+ # @!attribute [rw] hooks_not_cleaned_up
775
+ # If the output contains no data, and the corresponding deployment
776
+ # group contained at least one Auto Scaling group, AWS CodeDeploy
777
+ # successfully removed all corresponding Auto Scaling lifecycle event
778
+ # hooks from the Amazon EC2 instances in the Auto Scaling group. If
779
+ # the output contains data, AWS CodeDeploy could not remove some Auto
780
+ # Scaling lifecycle event hooks from the Amazon EC2 instances in the
781
+ # Auto Scaling group.
782
+ # @return [Array<Types::AutoScalingGroup>]
783
+ class DeleteDeploymentGroupOutput < Struct.new(
784
+ :hooks_not_cleaned_up)
785
+ include Aws::Structure
786
+ end
787
+
788
+ # Information about a deployment configuration.
789
+ # @!attribute [rw] deployment_config_id
790
+ # The deployment configuration ID.
791
+ # @return [String]
792
+ #
793
+ # @!attribute [rw] deployment_config_name
794
+ # The deployment configuration name.
795
+ # @return [String]
796
+ #
797
+ # @!attribute [rw] minimum_healthy_hosts
798
+ # Information about the number or percentage of minimum healthy
799
+ # instance.
800
+ # @return [Types::MinimumHealthyHosts]
801
+ #
802
+ # @!attribute [rw] create_time
803
+ # The time at which the deployment configuration was created.
804
+ # @return [Time]
805
+ class DeploymentConfigInfo < Struct.new(
806
+ :deployment_config_id,
807
+ :deployment_config_name,
808
+ :minimum_healthy_hosts,
809
+ :create_time)
810
+ include Aws::Structure
811
+ end
812
+
813
+ # Information about a deployment group.
814
+ # @!attribute [rw] application_name
815
+ # The application name.
816
+ # @return [String]
817
+ #
818
+ # @!attribute [rw] deployment_group_id
819
+ # The deployment group ID.
820
+ # @return [String]
821
+ #
822
+ # @!attribute [rw] deployment_group_name
823
+ # The deployment group name.
824
+ # @return [String]
825
+ #
826
+ # @!attribute [rw] deployment_config_name
827
+ # The deployment configuration name.
828
+ # @return [String]
829
+ #
830
+ # @!attribute [rw] ec2_tag_filters
831
+ # The Amazon EC2 tags on which to filter.
832
+ # @return [Array<Types::EC2TagFilter>]
833
+ #
834
+ # @!attribute [rw] on_premises_instance_tag_filters
835
+ # The on-premises instance tags on which to filter.
836
+ # @return [Array<Types::TagFilter>]
837
+ #
838
+ # @!attribute [rw] auto_scaling_groups
839
+ # A list of associated Auto Scaling groups.
840
+ # @return [Array<Types::AutoScalingGroup>]
841
+ #
842
+ # @!attribute [rw] service_role_arn
843
+ # A service role ARN.
844
+ # @return [String]
845
+ #
846
+ # @!attribute [rw] target_revision
847
+ # Information about the deployment group's target revision, including
848
+ # type and location.
849
+ # @return [Types::RevisionLocation]
850
+ #
851
+ # @!attribute [rw] trigger_configurations
852
+ # Information about triggers associated with the deployment group.
853
+ # @return [Array<Types::TriggerConfig>]
854
+ #
855
+ # @!attribute [rw] alarm_configuration
856
+ # A list of alarms associated with the deployment group.
857
+ # @return [Types::AlarmConfiguration]
858
+ #
859
+ # @!attribute [rw] auto_rollback_configuration
860
+ # Information about the automatic rollback configuration associated
861
+ # with the deployment group.
862
+ # @return [Types::AutoRollbackConfiguration]
863
+ class DeploymentGroupInfo < Struct.new(
864
+ :application_name,
865
+ :deployment_group_id,
866
+ :deployment_group_name,
867
+ :deployment_config_name,
868
+ :ec2_tag_filters,
869
+ :on_premises_instance_tag_filters,
870
+ :auto_scaling_groups,
871
+ :service_role_arn,
872
+ :target_revision,
873
+ :trigger_configurations,
874
+ :alarm_configuration,
875
+ :auto_rollback_configuration)
876
+ include Aws::Structure
877
+ end
878
+
879
+ # Information about a deployment.
880
+ # @!attribute [rw] application_name
881
+ # The application name.
882
+ # @return [String]
883
+ #
884
+ # @!attribute [rw] deployment_group_name
885
+ # The deployment group name.
886
+ # @return [String]
887
+ #
888
+ # @!attribute [rw] deployment_config_name
889
+ # The deployment configuration name.
890
+ # @return [String]
891
+ #
892
+ # @!attribute [rw] deployment_id
893
+ # The deployment ID.
894
+ # @return [String]
895
+ #
896
+ # @!attribute [rw] revision
897
+ # Information about the location of stored application artifacts and
898
+ # the service from which to retrieve them.
899
+ # @return [Types::RevisionLocation]
900
+ #
901
+ # @!attribute [rw] status
902
+ # The current state of the deployment as a whole.
903
+ # @return [String]
904
+ #
905
+ # @!attribute [rw] error_information
906
+ # Information about any error associated with this deployment.
907
+ # @return [Types::ErrorInformation]
908
+ #
909
+ # @!attribute [rw] create_time
910
+ # A timestamp indicating when the deployment was created.
911
+ # @return [Time]
912
+ #
913
+ # @!attribute [rw] start_time
914
+ # A timestamp indicating when the deployment was deployed to the
915
+ # deployment group.
916
+ #
917
+ # In some cases, the reported value of the start time may be later
918
+ # than the complete time. This is due to differences in the clock
919
+ # settings of back-end servers that participate in the deployment
920
+ # process.
921
+ # @return [Time]
922
+ #
923
+ # @!attribute [rw] complete_time
924
+ # A timestamp indicating when the deployment was complete.
925
+ # @return [Time]
926
+ #
927
+ # @!attribute [rw] deployment_overview
928
+ # A summary of the deployment status of the instances in the
929
+ # deployment.
930
+ # @return [Types::DeploymentOverview]
931
+ #
932
+ # @!attribute [rw] description
933
+ # A comment about the deployment.
934
+ # @return [String]
935
+ #
936
+ # @!attribute [rw] creator
937
+ # The means by which the deployment was created:
938
+ #
939
+ # * user: A user created the deployment.
940
+ #
941
+ # * autoscaling: Auto Scaling created the deployment.
942
+ #
943
+ # * codeDeployRollback: A rollback process created the deployment.
944
+ # @return [String]
945
+ #
946
+ # @!attribute [rw] ignore_application_stop_failures
947
+ # If true, then if the deployment causes the ApplicationStop
948
+ # deployment lifecycle event to an instance to fail, the deployment to
949
+ # that instance will not be considered to have failed at that point
950
+ # and will continue on to the BeforeInstall deployment lifecycle
951
+ # event.
952
+ #
953
+ # If false or not specified, then if the deployment causes the
954
+ # ApplicationStop deployment lifecycle event to an instance to fail,
955
+ # the deployment to that instance will stop, and the deployment to
956
+ # that instance will be considered to have failed.
957
+ # @return [Boolean]
958
+ #
959
+ # @!attribute [rw] auto_rollback_configuration
960
+ # Information about the automatic rollback configuration associated
961
+ # with the deployment.
962
+ # @return [Types::AutoRollbackConfiguration]
963
+ #
964
+ # @!attribute [rw] update_outdated_instances_only
965
+ # Indicates whether only instances that are not running the latest
966
+ # application revision are to be deployed to.
967
+ # @return [Boolean]
968
+ #
969
+ # @!attribute [rw] rollback_info
970
+ # Information about a deployment rollback.
971
+ # @return [Types::RollbackInfo]
972
+ class DeploymentInfo < Struct.new(
973
+ :application_name,
974
+ :deployment_group_name,
975
+ :deployment_config_name,
976
+ :deployment_id,
977
+ :revision,
978
+ :status,
979
+ :error_information,
980
+ :create_time,
981
+ :start_time,
982
+ :complete_time,
983
+ :deployment_overview,
984
+ :description,
985
+ :creator,
986
+ :ignore_application_stop_failures,
987
+ :auto_rollback_configuration,
988
+ :update_outdated_instances_only,
989
+ :rollback_info)
990
+ include Aws::Structure
991
+ end
992
+
993
+ # Information about the deployment status of the instances in the
994
+ # deployment.
995
+ # @!attribute [rw] pending
996
+ # The number of instances in the deployment in a pending state.
997
+ # @return [Integer]
998
+ #
999
+ # @!attribute [rw] in_progress
1000
+ # The number of instances in which the deployment is in progress.
1001
+ # @return [Integer]
1002
+ #
1003
+ # @!attribute [rw] succeeded
1004
+ # The number of instances in the deployment to which revisions have
1005
+ # been successfully deployed.
1006
+ # @return [Integer]
1007
+ #
1008
+ # @!attribute [rw] failed
1009
+ # The number of instances in the deployment in a failed state.
1010
+ # @return [Integer]
1011
+ #
1012
+ # @!attribute [rw] skipped
1013
+ # The number of instances in the deployment in a skipped state.
1014
+ # @return [Integer]
1015
+ class DeploymentOverview < Struct.new(
1016
+ :pending,
1017
+ :in_progress,
1018
+ :succeeded,
1019
+ :failed,
1020
+ :skipped)
1021
+ include Aws::Structure
1022
+ end
1023
+
1024
+ # Represents the input of a deregister on-premises instance operation.
1025
+ # @note When making an API call, pass DeregisterOnPremisesInstanceInput
1026
+ # data as a hash:
1027
+ #
1028
+ # {
1029
+ # instance_name: "InstanceName", # required
1030
+ # }
1031
+ # @!attribute [rw] instance_name
1032
+ # The name of the on-premises instance to deregister.
1033
+ # @return [String]
1034
+ class DeregisterOnPremisesInstanceInput < Struct.new(
1035
+ :instance_name)
1036
+ include Aws::Structure
1037
+ end
1038
+
1039
+ # Diagnostic information about executable scripts that are part of a
1040
+ # deployment.
1041
+ # @!attribute [rw] error_code
1042
+ # The associated error code:
1043
+ #
1044
+ # * Success: The specified script ran.
1045
+ #
1046
+ # * ScriptMissing: The specified script was not found in the specified
1047
+ # location.
1048
+ #
1049
+ # * ScriptNotExecutable: The specified script is not a recognized
1050
+ # executable file type.
1051
+ #
1052
+ # * ScriptTimedOut: The specified script did not finish running in the
1053
+ # specified time period.
1054
+ #
1055
+ # * ScriptFailed: The specified script failed to run as expected.
1056
+ #
1057
+ # * UnknownError: The specified script did not run for an unknown
1058
+ # reason.
1059
+ # @return [String]
1060
+ #
1061
+ # @!attribute [rw] script_name
1062
+ # The name of the script.
1063
+ # @return [String]
1064
+ #
1065
+ # @!attribute [rw] message
1066
+ # The message associated with the error.
1067
+ # @return [String]
1068
+ #
1069
+ # @!attribute [rw] log_tail
1070
+ # The last portion of the diagnostic log.
1071
+ #
1072
+ # If available, AWS CodeDeploy returns up to the last 4 KB of the
1073
+ # diagnostic log.
1074
+ # @return [String]
1075
+ class Diagnostics < Struct.new(
1076
+ :error_code,
1077
+ :script_name,
1078
+ :message,
1079
+ :log_tail)
1080
+ include Aws::Structure
1081
+ end
1082
+
1083
+ # Information about a tag filter.
1084
+ # @note When making an API call, pass EC2TagFilter
1085
+ # data as a hash:
1086
+ #
1087
+ # {
1088
+ # key: "Key",
1089
+ # value: "Value",
1090
+ # type: "KEY_ONLY", # accepts KEY_ONLY, VALUE_ONLY, KEY_AND_VALUE
1091
+ # }
1092
+ # @!attribute [rw] key
1093
+ # The tag filter key.
1094
+ # @return [String]
1095
+ #
1096
+ # @!attribute [rw] value
1097
+ # The tag filter value.
1098
+ # @return [String]
1099
+ #
1100
+ # @!attribute [rw] type
1101
+ # The tag filter type:
1102
+ #
1103
+ # * KEY\_ONLY: Key only.
1104
+ #
1105
+ # * VALUE\_ONLY: Value only.
1106
+ #
1107
+ # * KEY\_AND\_VALUE: Key and value.
1108
+ # @return [String]
1109
+ class EC2TagFilter < Struct.new(
1110
+ :key,
1111
+ :value,
1112
+ :type)
1113
+ include Aws::Structure
1114
+ end
1115
+
1116
+ # Information about a deployment error.
1117
+ # @!attribute [rw] code
1118
+ # The error code:
1119
+ #
1120
+ # * APPLICATION\_MISSING: The application was missing. This error code
1121
+ # will most likely be raised if the application is deleted after the
1122
+ # deployment is created but before it is started.
1123
+ #
1124
+ # * DEPLOYMENT\_GROUP\_MISSING: The deployment group was missing. This
1125
+ # error code will most likely be raised if the deployment group is
1126
+ # deleted after the deployment is created but before it is started.
1127
+ #
1128
+ # * HEALTH\_CONSTRAINTS: The deployment failed on too many instances
1129
+ # to be successfully deployed within the instance health constraints
1130
+ # specified.
1131
+ #
1132
+ # * HEALTH\_CONSTRAINTS\_INVALID: The revision cannot be successfully
1133
+ # deployed within the instance health constraints specified.
1134
+ #
1135
+ # * IAM\_ROLE\_MISSING: The service role cannot be accessed.
1136
+ #
1137
+ # * IAM\_ROLE\_PERMISSIONS: The service role does not have the correct
1138
+ # permissions.
1139
+ #
1140
+ # * INTERNAL\_ERROR: There was an internal error.
1141
+ #
1142
+ # * NO\_EC2\_SUBSCRIPTION: The calling account is not subscribed to
1143
+ # the Amazon EC2 service.
1144
+ #
1145
+ # * NO\_INSTANCES: No instance were specified, or no instance can be
1146
+ # found.
1147
+ #
1148
+ # * OVER\_MAX\_INSTANCES: The maximum number of instance was exceeded.
1149
+ #
1150
+ # * THROTTLED: The operation was throttled because the calling account
1151
+ # exceeded the throttling limits of one or more AWS services.
1152
+ #
1153
+ # * TIMEOUT: The deployment has timed out.
1154
+ #
1155
+ # * REVISION\_MISSING: The revision ID was missing. This error code
1156
+ # will most likely be raised if the revision is deleted after the
1157
+ # deployment is created but before it is started.
1158
+ # @return [String]
1159
+ #
1160
+ # @!attribute [rw] message
1161
+ # An accompanying error message.
1162
+ # @return [String]
1163
+ class ErrorInformation < Struct.new(
1164
+ :code,
1165
+ :message)
1166
+ include Aws::Structure
1167
+ end
1168
+
1169
+ # Information about an application revision.
1170
+ # @!attribute [rw] description
1171
+ # A comment about the revision.
1172
+ # @return [String]
1173
+ #
1174
+ # @!attribute [rw] deployment_groups
1175
+ # The deployment groups for which this is the current target revision.
1176
+ # @return [Array<String>]
1177
+ #
1178
+ # @!attribute [rw] first_used_time
1179
+ # When the revision was first used by AWS CodeDeploy.
1180
+ # @return [Time]
1181
+ #
1182
+ # @!attribute [rw] last_used_time
1183
+ # When the revision was last used by AWS CodeDeploy.
1184
+ # @return [Time]
1185
+ #
1186
+ # @!attribute [rw] register_time
1187
+ # When the revision was registered with AWS CodeDeploy.
1188
+ # @return [Time]
1189
+ class GenericRevisionInfo < Struct.new(
1190
+ :description,
1191
+ :deployment_groups,
1192
+ :first_used_time,
1193
+ :last_used_time,
1194
+ :register_time)
1195
+ include Aws::Structure
1196
+ end
1197
+
1198
+ # Represents the input of a get application operation.
1199
+ # @note When making an API call, pass GetApplicationInput
1200
+ # data as a hash:
1201
+ #
1202
+ # {
1203
+ # application_name: "ApplicationName", # required
1204
+ # }
1205
+ # @!attribute [rw] application_name
1206
+ # The name of an AWS CodeDeploy application associated with the
1207
+ # applicable IAM user or AWS account.
1208
+ # @return [String]
1209
+ class GetApplicationInput < Struct.new(
1210
+ :application_name)
1211
+ include Aws::Structure
1212
+ end
1213
+
1214
+ # Represents the output of a get application operation.
1215
+ # @!attribute [rw] application
1216
+ # Information about the application.
1217
+ # @return [Types::ApplicationInfo]
1218
+ class GetApplicationOutput < Struct.new(
1219
+ :application)
1220
+ include Aws::Structure
1221
+ end
1222
+
1223
+ # Represents the input of a get application revision operation.
1224
+ # @note When making an API call, pass GetApplicationRevisionInput
1225
+ # data as a hash:
1226
+ #
1227
+ # {
1228
+ # application_name: "ApplicationName", # required
1229
+ # revision: { # required
1230
+ # revision_type: "S3", # accepts S3, GitHub
1231
+ # s3_location: {
1232
+ # bucket: "S3Bucket",
1233
+ # key: "S3Key",
1234
+ # bundle_type: "tar", # accepts tar, tgz, zip
1235
+ # version: "VersionId",
1236
+ # e_tag: "ETag",
1237
+ # },
1238
+ # git_hub_location: {
1239
+ # repository: "Repository",
1240
+ # commit_id: "CommitId",
1241
+ # },
1242
+ # },
1243
+ # }
1244
+ # @!attribute [rw] application_name
1245
+ # The name of the application that corresponds to the revision.
1246
+ # @return [String]
1247
+ #
1248
+ # @!attribute [rw] revision
1249
+ # Information about the application revision to get, including type
1250
+ # and location.
1251
+ # @return [Types::RevisionLocation]
1252
+ class GetApplicationRevisionInput < Struct.new(
1253
+ :application_name,
1254
+ :revision)
1255
+ include Aws::Structure
1256
+ end
1257
+
1258
+ # Represents the output of a get application revision operation.
1259
+ # @!attribute [rw] application_name
1260
+ # The name of the application that corresponds to the revision.
1261
+ # @return [String]
1262
+ #
1263
+ # @!attribute [rw] revision
1264
+ # Additional information about the revision, including type and
1265
+ # location.
1266
+ # @return [Types::RevisionLocation]
1267
+ #
1268
+ # @!attribute [rw] revision_info
1269
+ # General information about the revision.
1270
+ # @return [Types::GenericRevisionInfo]
1271
+ class GetApplicationRevisionOutput < Struct.new(
1272
+ :application_name,
1273
+ :revision,
1274
+ :revision_info)
1275
+ include Aws::Structure
1276
+ end
1277
+
1278
+ # Represents the input of a get deployment configuration operation.
1279
+ # @note When making an API call, pass GetDeploymentConfigInput
1280
+ # data as a hash:
1281
+ #
1282
+ # {
1283
+ # deployment_config_name: "DeploymentConfigName", # required
1284
+ # }
1285
+ # @!attribute [rw] deployment_config_name
1286
+ # The name of a deployment configuration associated with the
1287
+ # applicable IAM user or AWS account.
1288
+ # @return [String]
1289
+ class GetDeploymentConfigInput < Struct.new(
1290
+ :deployment_config_name)
1291
+ include Aws::Structure
1292
+ end
1293
+
1294
+ # Represents the output of a get deployment configuration operation.
1295
+ # @!attribute [rw] deployment_config_info
1296
+ # Information about the deployment configuration.
1297
+ # @return [Types::DeploymentConfigInfo]
1298
+ class GetDeploymentConfigOutput < Struct.new(
1299
+ :deployment_config_info)
1300
+ include Aws::Structure
1301
+ end
1302
+
1303
+ # Represents the input of a get deployment group operation.
1304
+ # @note When making an API call, pass GetDeploymentGroupInput
1305
+ # data as a hash:
1306
+ #
1307
+ # {
1308
+ # application_name: "ApplicationName", # required
1309
+ # deployment_group_name: "DeploymentGroupName", # required
1310
+ # }
1311
+ # @!attribute [rw] application_name
1312
+ # The name of an AWS CodeDeploy application associated with the
1313
+ # applicable IAM user or AWS account.
1314
+ # @return [String]
1315
+ #
1316
+ # @!attribute [rw] deployment_group_name
1317
+ # The name of an existing deployment group for the specified
1318
+ # application.
1319
+ # @return [String]
1320
+ class GetDeploymentGroupInput < Struct.new(
1321
+ :application_name,
1322
+ :deployment_group_name)
1323
+ include Aws::Structure
1324
+ end
1325
+
1326
+ # Represents the output of a get deployment group operation.
1327
+ # @!attribute [rw] deployment_group_info
1328
+ # Information about the deployment group.
1329
+ # @return [Types::DeploymentGroupInfo]
1330
+ class GetDeploymentGroupOutput < Struct.new(
1331
+ :deployment_group_info)
1332
+ include Aws::Structure
1333
+ end
1334
+
1335
+ # Represents the input of a get deployment operation.
1336
+ # @note When making an API call, pass GetDeploymentInput
1337
+ # data as a hash:
1338
+ #
1339
+ # {
1340
+ # deployment_id: "DeploymentId", # required
1341
+ # }
1342
+ # @!attribute [rw] deployment_id
1343
+ # A deployment ID associated with the applicable IAM user or AWS
1344
+ # account.
1345
+ # @return [String]
1346
+ class GetDeploymentInput < Struct.new(
1347
+ :deployment_id)
1348
+ include Aws::Structure
1349
+ end
1350
+
1351
+ # Represents the input of a get deployment instance operation.
1352
+ # @note When making an API call, pass GetDeploymentInstanceInput
1353
+ # data as a hash:
1354
+ #
1355
+ # {
1356
+ # deployment_id: "DeploymentId", # required
1357
+ # instance_id: "InstanceId", # required
1358
+ # }
1359
+ # @!attribute [rw] deployment_id
1360
+ # The unique ID of a deployment.
1361
+ # @return [String]
1362
+ #
1363
+ # @!attribute [rw] instance_id
1364
+ # The unique ID of an instance in the deployment group.
1365
+ # @return [String]
1366
+ class GetDeploymentInstanceInput < Struct.new(
1367
+ :deployment_id,
1368
+ :instance_id)
1369
+ include Aws::Structure
1370
+ end
1371
+
1372
+ # Represents the output of a get deployment instance operation.
1373
+ # @!attribute [rw] instance_summary
1374
+ # Information about the instance.
1375
+ # @return [Types::InstanceSummary]
1376
+ class GetDeploymentInstanceOutput < Struct.new(
1377
+ :instance_summary)
1378
+ include Aws::Structure
1379
+ end
1380
+
1381
+ # Represents the output of a get deployment operation.
1382
+ # @!attribute [rw] deployment_info
1383
+ # Information about the deployment.
1384
+ # @return [Types::DeploymentInfo]
1385
+ class GetDeploymentOutput < Struct.new(
1386
+ :deployment_info)
1387
+ include Aws::Structure
1388
+ end
1389
+
1390
+ # Represents the input of a get on-premises instance operation.
1391
+ # @note When making an API call, pass GetOnPremisesInstanceInput
1392
+ # data as a hash:
1393
+ #
1394
+ # {
1395
+ # instance_name: "InstanceName", # required
1396
+ # }
1397
+ # @!attribute [rw] instance_name
1398
+ # The name of the on-premises instance about which to get information.
1399
+ # @return [String]
1400
+ class GetOnPremisesInstanceInput < Struct.new(
1401
+ :instance_name)
1402
+ include Aws::Structure
1403
+ end
1404
+
1405
+ # Represents the output of a get on-premises instance operation.
1406
+ # @!attribute [rw] instance_info
1407
+ # Information about the on-premises instance.
1408
+ # @return [Types::InstanceInfo]
1409
+ class GetOnPremisesInstanceOutput < Struct.new(
1410
+ :instance_info)
1411
+ include Aws::Structure
1412
+ end
1413
+
1414
+ # Information about the location of application artifacts stored in
1415
+ # GitHub.
1416
+ # @note When making an API call, pass GitHubLocation
1417
+ # data as a hash:
1418
+ #
1419
+ # {
1420
+ # repository: "Repository",
1421
+ # commit_id: "CommitId",
1422
+ # }
1423
+ # @!attribute [rw] repository
1424
+ # The GitHub account and repository pair that stores a reference to
1425
+ # the commit that represents the bundled artifacts for the application
1426
+ # revision.
1427
+ #
1428
+ # Specified as account/repository.
1429
+ # @return [String]
1430
+ #
1431
+ # @!attribute [rw] commit_id
1432
+ # The SHA1 commit ID of the GitHub commit that represents the bundled
1433
+ # artifacts for the application revision.
1434
+ # @return [String]
1435
+ class GitHubLocation < Struct.new(
1436
+ :repository,
1437
+ :commit_id)
1438
+ include Aws::Structure
1439
+ end
1440
+
1441
+ # Information about an on-premises instance.
1442
+ # @!attribute [rw] instance_name
1443
+ # The name of the on-premises instance.
1444
+ # @return [String]
1445
+ #
1446
+ # @!attribute [rw] iam_user_arn
1447
+ # The IAM user ARN associated with the on-premises instance.
1448
+ # @return [String]
1449
+ #
1450
+ # @!attribute [rw] instance_arn
1451
+ # The ARN of the on-premises instance.
1452
+ # @return [String]
1453
+ #
1454
+ # @!attribute [rw] register_time
1455
+ # The time at which the on-premises instance was registered.
1456
+ # @return [Time]
1457
+ #
1458
+ # @!attribute [rw] deregister_time
1459
+ # If the on-premises instance was deregistered, the time at which the
1460
+ # on-premises instance was deregistered.
1461
+ # @return [Time]
1462
+ #
1463
+ # @!attribute [rw] tags
1464
+ # The tags currently associated with the on-premises instance.
1465
+ # @return [Array<Types::Tag>]
1466
+ class InstanceInfo < Struct.new(
1467
+ :instance_name,
1468
+ :iam_user_arn,
1469
+ :instance_arn,
1470
+ :register_time,
1471
+ :deregister_time,
1472
+ :tags)
1473
+ include Aws::Structure
1474
+ end
1475
+
1476
+ # Information about an instance in a deployment.
1477
+ # @!attribute [rw] deployment_id
1478
+ # The deployment ID.
1479
+ # @return [String]
1480
+ #
1481
+ # @!attribute [rw] instance_id
1482
+ # The instance ID.
1483
+ # @return [String]
1484
+ #
1485
+ # @!attribute [rw] status
1486
+ # The deployment status for this instance:
1487
+ #
1488
+ # * Pending: The deployment is pending for this instance.
1489
+ #
1490
+ # * In Progress: The deployment is in progress for this instance.
1491
+ #
1492
+ # * Succeeded: The deployment has succeeded for this instance.
1493
+ #
1494
+ # * Failed: The deployment has failed for this instance.
1495
+ #
1496
+ # * Skipped: The deployment has been skipped for this instance.
1497
+ #
1498
+ # * Unknown: The deployment status is unknown for this instance.
1499
+ # @return [String]
1500
+ #
1501
+ # @!attribute [rw] last_updated_at
1502
+ # A timestamp indicating when the instance information was last
1503
+ # updated.
1504
+ # @return [Time]
1505
+ #
1506
+ # @!attribute [rw] lifecycle_events
1507
+ # A list of lifecycle events for this instance.
1508
+ # @return [Array<Types::LifecycleEvent>]
1509
+ class InstanceSummary < Struct.new(
1510
+ :deployment_id,
1511
+ :instance_id,
1512
+ :status,
1513
+ :last_updated_at,
1514
+ :lifecycle_events)
1515
+ include Aws::Structure
1516
+ end
1517
+
1518
+ # Information about a deployment lifecycle event.
1519
+ # @!attribute [rw] lifecycle_event_name
1520
+ # The deployment lifecycle event name, such as ApplicationStop,
1521
+ # BeforeInstall, AfterInstall, ApplicationStart, or ValidateService.
1522
+ # @return [String]
1523
+ #
1524
+ # @!attribute [rw] diagnostics
1525
+ # Diagnostic information about the deployment lifecycle event.
1526
+ # @return [Types::Diagnostics]
1527
+ #
1528
+ # @!attribute [rw] start_time
1529
+ # A timestamp indicating when the deployment lifecycle event started.
1530
+ # @return [Time]
1531
+ #
1532
+ # @!attribute [rw] end_time
1533
+ # A timestamp indicating when the deployment lifecycle event ended.
1534
+ # @return [Time]
1535
+ #
1536
+ # @!attribute [rw] status
1537
+ # The deployment lifecycle event status:
1538
+ #
1539
+ # * Pending: The deployment lifecycle event is pending.
1540
+ #
1541
+ # * InProgress: The deployment lifecycle event is in progress.
1542
+ #
1543
+ # * Succeeded: The deployment lifecycle event ran successfully.
1544
+ #
1545
+ # * Failed: The deployment lifecycle event has failed.
1546
+ #
1547
+ # * Skipped: The deployment lifecycle event has been skipped.
1548
+ #
1549
+ # * Unknown: The deployment lifecycle event is unknown.
1550
+ # @return [String]
1551
+ class LifecycleEvent < Struct.new(
1552
+ :lifecycle_event_name,
1553
+ :diagnostics,
1554
+ :start_time,
1555
+ :end_time,
1556
+ :status)
1557
+ include Aws::Structure
1558
+ end
1559
+
1560
+ # Represents the input of a list application revisions operation.
1561
+ # @note When making an API call, pass ListApplicationRevisionsInput
1562
+ # data as a hash:
1563
+ #
1564
+ # {
1565
+ # application_name: "ApplicationName", # required
1566
+ # sort_by: "registerTime", # accepts registerTime, firstUsedTime, lastUsedTime
1567
+ # sort_order: "ascending", # accepts ascending, descending
1568
+ # s3_bucket: "S3Bucket",
1569
+ # s3_key_prefix: "S3Key",
1570
+ # deployed: "include", # accepts include, exclude, ignore
1571
+ # next_token: "NextToken",
1572
+ # }
1573
+ # @!attribute [rw] application_name
1574
+ # The name of an AWS CodeDeploy application associated with the
1575
+ # applicable IAM user or AWS account.
1576
+ # @return [String]
1577
+ #
1578
+ # @!attribute [rw] sort_by
1579
+ # The column name to use to sort the list results:
1580
+ #
1581
+ # * registerTime: Sort by the time the revisions were registered with
1582
+ # AWS CodeDeploy.
1583
+ #
1584
+ # * firstUsedTime: Sort by the time the revisions were first used in a
1585
+ # deployment.
1586
+ #
1587
+ # * lastUsedTime: Sort by the time the revisions were last used in a
1588
+ # deployment.
1589
+ #
1590
+ # If not specified or set to null, the results will be returned in an
1591
+ # arbitrary order.
1592
+ # @return [String]
1593
+ #
1594
+ # @!attribute [rw] sort_order
1595
+ # The order in which to sort the list results:
1596
+ #
1597
+ # * ascending: ascending order.
1598
+ #
1599
+ # * descending: descending order.
1600
+ #
1601
+ # If not specified, the results will be sorted in ascending order.
1602
+ #
1603
+ # If set to null, the results will be sorted in an arbitrary order.
1604
+ # @return [String]
1605
+ #
1606
+ # @!attribute [rw] s3_bucket
1607
+ # An Amazon S3 bucket name to limit the search for revisions.
1608
+ #
1609
+ # If set to null, all of the user's buckets will be searched.
1610
+ # @return [String]
1611
+ #
1612
+ # @!attribute [rw] s3_key_prefix
1613
+ # A key prefix for the set of Amazon S3 objects to limit the search
1614
+ # for revisions.
1615
+ # @return [String]
1616
+ #
1617
+ # @!attribute [rw] deployed
1618
+ # Whether to list revisions based on whether the revision is the
1619
+ # target revision of an deployment group:
1620
+ #
1621
+ # * include: List revisions that are target revisions of a deployment
1622
+ # group.
1623
+ #
1624
+ # * exclude: Do not list revisions that are target revisions of a
1625
+ # deployment group.
1626
+ #
1627
+ # * ignore: List all revisions.
1628
+ # @return [String]
1629
+ #
1630
+ # @!attribute [rw] next_token
1631
+ # An identifier returned from the previous list application revisions
1632
+ # call. It can be used to return the next set of applications in the
1633
+ # list.
1634
+ # @return [String]
1635
+ class ListApplicationRevisionsInput < Struct.new(
1636
+ :application_name,
1637
+ :sort_by,
1638
+ :sort_order,
1639
+ :s3_bucket,
1640
+ :s3_key_prefix,
1641
+ :deployed,
1642
+ :next_token)
1643
+ include Aws::Structure
1644
+ end
1645
+
1646
+ # Represents the output of a list application revisions operation.
1647
+ # @!attribute [rw] revisions
1648
+ # A list of locations that contain the matching revisions.
1649
+ # @return [Array<Types::RevisionLocation>]
1650
+ #
1651
+ # @!attribute [rw] next_token
1652
+ # If a large amount of information is returned, an identifier will
1653
+ # also be returned. It can be used in a subsequent list application
1654
+ # revisions call to return the next set of application revisions in
1655
+ # the list.
1656
+ # @return [String]
1657
+ class ListApplicationRevisionsOutput < Struct.new(
1658
+ :revisions,
1659
+ :next_token)
1660
+ include Aws::Structure
1661
+ end
1662
+
1663
+ # Represents the input of a list applications operation.
1664
+ # @note When making an API call, pass ListApplicationsInput
1665
+ # data as a hash:
1666
+ #
1667
+ # {
1668
+ # next_token: "NextToken",
1669
+ # }
1670
+ # @!attribute [rw] next_token
1671
+ # An identifier returned from the previous list applications call. It
1672
+ # can be used to return the next set of applications in the list.
1673
+ # @return [String]
1674
+ class ListApplicationsInput < Struct.new(
1675
+ :next_token)
1676
+ include Aws::Structure
1677
+ end
1678
+
1679
+ # Represents the output of a list applications operation.
1680
+ # @!attribute [rw] applications
1681
+ # A list of application names.
1682
+ # @return [Array<String>]
1683
+ #
1684
+ # @!attribute [rw] next_token
1685
+ # If a large amount of information is returned, an identifier is also
1686
+ # returned. It can be used in a subsequent list applications call to
1687
+ # return the next set of applications, will also be returned. in the
1688
+ # list.
1689
+ # @return [String]
1690
+ class ListApplicationsOutput < Struct.new(
1691
+ :applications,
1692
+ :next_token)
1693
+ include Aws::Structure
1694
+ end
1695
+
1696
+ # Represents the input of a list deployment configurations operation.
1697
+ # @note When making an API call, pass ListDeploymentConfigsInput
1698
+ # data as a hash:
1699
+ #
1700
+ # {
1701
+ # next_token: "NextToken",
1702
+ # }
1703
+ # @!attribute [rw] next_token
1704
+ # An identifier returned from the previous list deployment
1705
+ # configurations call. It can be used to return the next set of
1706
+ # deployment configurations in the list.
1707
+ # @return [String]
1708
+ class ListDeploymentConfigsInput < Struct.new(
1709
+ :next_token)
1710
+ include Aws::Structure
1711
+ end
1712
+
1713
+ # Represents the output of a list deployment configurations operation.
1714
+ # @!attribute [rw] deployment_configs_list
1715
+ # A list of deployment configurations, including built-in
1716
+ # configurations such as CodeDeployDefault.OneAtATime.
1717
+ # @return [Array<String>]
1718
+ #
1719
+ # @!attribute [rw] next_token
1720
+ # If a large amount of information is returned, an identifier is also
1721
+ # returned. It can be used in a subsequent list deployment
1722
+ # configurations call to return the next set of deployment
1723
+ # configurations in the list.
1724
+ # @return [String]
1725
+ class ListDeploymentConfigsOutput < Struct.new(
1726
+ :deployment_configs_list,
1727
+ :next_token)
1728
+ include Aws::Structure
1729
+ end
1730
+
1731
+ # Represents the input of a list deployment groups operation.
1732
+ # @note When making an API call, pass ListDeploymentGroupsInput
1733
+ # data as a hash:
1734
+ #
1735
+ # {
1736
+ # application_name: "ApplicationName", # required
1737
+ # next_token: "NextToken",
1738
+ # }
1739
+ # @!attribute [rw] application_name
1740
+ # The name of an AWS CodeDeploy application associated with the
1741
+ # applicable IAM user or AWS account.
1742
+ # @return [String]
1743
+ #
1744
+ # @!attribute [rw] next_token
1745
+ # An identifier returned from the previous list deployment groups
1746
+ # call. It can be used to return the next set of deployment groups in
1747
+ # the list.
1748
+ # @return [String]
1749
+ class ListDeploymentGroupsInput < Struct.new(
1750
+ :application_name,
1751
+ :next_token)
1752
+ include Aws::Structure
1753
+ end
1754
+
1755
+ # Represents the output of a list deployment groups operation.
1756
+ # @!attribute [rw] application_name
1757
+ # The application name.
1758
+ # @return [String]
1759
+ #
1760
+ # @!attribute [rw] deployment_groups
1761
+ # A list of corresponding deployment group names.
1762
+ # @return [Array<String>]
1763
+ #
1764
+ # @!attribute [rw] next_token
1765
+ # If a large amount of information is returned, an identifier is also
1766
+ # returned. It can be used in a subsequent list deployment groups call
1767
+ # to return the next set of deployment groups in the list.
1768
+ # @return [String]
1769
+ class ListDeploymentGroupsOutput < Struct.new(
1770
+ :application_name,
1771
+ :deployment_groups,
1772
+ :next_token)
1773
+ include Aws::Structure
1774
+ end
1775
+
1776
+ # Represents the input of a list deployment instances operation.
1777
+ # @note When making an API call, pass ListDeploymentInstancesInput
1778
+ # data as a hash:
1779
+ #
1780
+ # {
1781
+ # deployment_id: "DeploymentId", # required
1782
+ # next_token: "NextToken",
1783
+ # instance_status_filter: ["Pending"], # accepts Pending, InProgress, Succeeded, Failed, Skipped, Unknown
1784
+ # }
1785
+ # @!attribute [rw] deployment_id
1786
+ # The unique ID of a deployment.
1787
+ # @return [String]
1788
+ #
1789
+ # @!attribute [rw] next_token
1790
+ # An identifier returned from the previous list deployment instances
1791
+ # call. It can be used to return the next set of deployment instances
1792
+ # in the list.
1793
+ # @return [String]
1794
+ #
1795
+ # @!attribute [rw] instance_status_filter
1796
+ # A subset of instances to list by status:
1797
+ #
1798
+ # * Pending: Include those instance with pending deployments.
1799
+ #
1800
+ # * InProgress: Include those instance where deployments are still in
1801
+ # progress.
1802
+ #
1803
+ # * Succeeded: Include those instances with successful deployments.
1804
+ #
1805
+ # * Failed: Include those instance with failed deployments.
1806
+ #
1807
+ # * Skipped: Include those instance with skipped deployments.
1808
+ #
1809
+ # * Unknown: Include those instance with deployments in an unknown
1810
+ # state.
1811
+ # @return [Array<String>]
1812
+ class ListDeploymentInstancesInput < Struct.new(
1813
+ :deployment_id,
1814
+ :next_token,
1815
+ :instance_status_filter)
1816
+ include Aws::Structure
1817
+ end
1818
+
1819
+ # Represents the output of a list deployment instances operation.
1820
+ # @!attribute [rw] instances_list
1821
+ # A list of instance IDs.
1822
+ # @return [Array<String>]
1823
+ #
1824
+ # @!attribute [rw] next_token
1825
+ # If a large amount of information is returned, an identifier is also
1826
+ # returned. It can be used in a subsequent list deployment instances
1827
+ # call to return the next set of deployment instances in the list.
1828
+ # @return [String]
1829
+ class ListDeploymentInstancesOutput < Struct.new(
1830
+ :instances_list,
1831
+ :next_token)
1832
+ include Aws::Structure
1833
+ end
1834
+
1835
+ # Represents the input of a list deployments operation.
1836
+ # @note When making an API call, pass ListDeploymentsInput
1837
+ # data as a hash:
1838
+ #
1839
+ # {
1840
+ # application_name: "ApplicationName",
1841
+ # deployment_group_name: "DeploymentGroupName",
1842
+ # include_only_statuses: ["Created"], # accepts Created, Queued, InProgress, Succeeded, Failed, Stopped
1843
+ # create_time_range: {
1844
+ # start: Time.now,
1845
+ # end: Time.now,
1846
+ # },
1847
+ # next_token: "NextToken",
1848
+ # }
1849
+ # @!attribute [rw] application_name
1850
+ # The name of an AWS CodeDeploy application associated with the
1851
+ # applicable IAM user or AWS account.
1852
+ # @return [String]
1853
+ #
1854
+ # @!attribute [rw] deployment_group_name
1855
+ # The name of an existing deployment group for the specified
1856
+ # application.
1857
+ # @return [String]
1858
+ #
1859
+ # @!attribute [rw] include_only_statuses
1860
+ # A subset of deployments to list by status:
1861
+ #
1862
+ # * Created: Include created deployments in the resulting list.
1863
+ #
1864
+ # * Queued: Include queued deployments in the resulting list.
1865
+ #
1866
+ # * In Progress: Include in-progress deployments in the resulting
1867
+ # list.
1868
+ #
1869
+ # * Succeeded: Include successful deployments in the resulting list.
1870
+ #
1871
+ # * Failed: Include failed deployments in the resulting list.
1872
+ #
1873
+ # * Stopped: Include stopped deployments in the resulting list.
1874
+ # @return [Array<String>]
1875
+ #
1876
+ # @!attribute [rw] create_time_range
1877
+ # A time range (start and end) for returning a subset of the list of
1878
+ # deployments.
1879
+ # @return [Types::TimeRange]
1880
+ #
1881
+ # @!attribute [rw] next_token
1882
+ # An identifier returned from the previous list deployments call. It
1883
+ # can be used to return the next set of deployments in the list.
1884
+ # @return [String]
1885
+ class ListDeploymentsInput < Struct.new(
1886
+ :application_name,
1887
+ :deployment_group_name,
1888
+ :include_only_statuses,
1889
+ :create_time_range,
1890
+ :next_token)
1891
+ include Aws::Structure
1892
+ end
1893
+
1894
+ # Represents the output of a list deployments operation.
1895
+ # @!attribute [rw] deployments
1896
+ # A list of deployment IDs.
1897
+ # @return [Array<String>]
1898
+ #
1899
+ # @!attribute [rw] next_token
1900
+ # If a large amount of information is returned, an identifier is also
1901
+ # returned. It can be used in a subsequent list deployments call to
1902
+ # return the next set of deployments in the list.
1903
+ # @return [String]
1904
+ class ListDeploymentsOutput < Struct.new(
1905
+ :deployments,
1906
+ :next_token)
1907
+ include Aws::Structure
1908
+ end
1909
+
1910
+ # Represents the input of a list on-premises instances operation.
1911
+ # @note When making an API call, pass ListOnPremisesInstancesInput
1912
+ # data as a hash:
1913
+ #
1914
+ # {
1915
+ # registration_status: "Registered", # accepts Registered, Deregistered
1916
+ # tag_filters: [
1917
+ # {
1918
+ # key: "Key",
1919
+ # value: "Value",
1920
+ # type: "KEY_ONLY", # accepts KEY_ONLY, VALUE_ONLY, KEY_AND_VALUE
1921
+ # },
1922
+ # ],
1923
+ # next_token: "NextToken",
1924
+ # }
1925
+ # @!attribute [rw] registration_status
1926
+ # The registration status of the on-premises instances:
1927
+ #
1928
+ # * Deregistered: Include deregistered on-premises instances in the
1929
+ # resulting list.
1930
+ #
1931
+ # * Registered: Include registered on-premises instances in the
1932
+ # resulting list.
1933
+ # @return [String]
1934
+ #
1935
+ # @!attribute [rw] tag_filters
1936
+ # The on-premises instance tags that will be used to restrict the
1937
+ # corresponding on-premises instance names returned.
1938
+ # @return [Array<Types::TagFilter>]
1939
+ #
1940
+ # @!attribute [rw] next_token
1941
+ # An identifier returned from the previous list on-premises instances
1942
+ # call. It can be used to return the next set of on-premises instances
1943
+ # in the list.
1944
+ # @return [String]
1945
+ class ListOnPremisesInstancesInput < Struct.new(
1946
+ :registration_status,
1947
+ :tag_filters,
1948
+ :next_token)
1949
+ include Aws::Structure
1950
+ end
1951
+
1952
+ # Represents the output of list on-premises instances operation.
1953
+ # @!attribute [rw] instance_names
1954
+ # The list of matching on-premises instance names.
1955
+ # @return [Array<String>]
1956
+ #
1957
+ # @!attribute [rw] next_token
1958
+ # If a large amount of information is returned, an identifier is also
1959
+ # returned. It can be used in a subsequent list on-premises instances
1960
+ # call to return the next set of on-premises instances in the list.
1961
+ # @return [String]
1962
+ class ListOnPremisesInstancesOutput < Struct.new(
1963
+ :instance_names,
1964
+ :next_token)
1965
+ include Aws::Structure
1966
+ end
1967
+
1968
+ # Information about minimum healthy instance.
1969
+ # @note When making an API call, pass MinimumHealthyHosts
1970
+ # data as a hash:
1971
+ #
1972
+ # {
1973
+ # value: 1,
1974
+ # type: "HOST_COUNT", # accepts HOST_COUNT, FLEET_PERCENT
1975
+ # }
1976
+ # @!attribute [rw] value
1977
+ # The minimum healthy instance value.
1978
+ # @return [Integer]
1979
+ #
1980
+ # @!attribute [rw] type
1981
+ # The minimum healthy instance type:
1982
+ #
1983
+ # * HOST\_COUNT: The minimum number of healthy instance as an absolute
1984
+ # value.
1985
+ #
1986
+ # * FLEET\_PERCENT: The minimum number of healthy instance as a
1987
+ # percentage of the total number of instance in the deployment.
1988
+ #
1989
+ # In an example of nine instance, if a HOST\_COUNT of six is
1990
+ # specified, deploy to up to three instances at a time. The deployment
1991
+ # will be successful if six or more instances are deployed to
1992
+ # successfully; otherwise, the deployment fails. If a FLEET\_PERCENT
1993
+ # of 40 is specified, deploy to up to five instance at a time. The
1994
+ # deployment will be successful if four or more instance are deployed
1995
+ # to successfully; otherwise, the deployment fails.
1996
+ #
1997
+ # <note markdown="1"> In a call to the get deployment configuration operation,
1998
+ # CodeDeployDefault.OneAtATime will return a minimum healthy instance
1999
+ # type of MOST\_CONCURRENCY and a value of 1. This means a deployment
2000
+ # to only one instance at a time. (You cannot set the type to
2001
+ # MOST\_CONCURRENCY, only to HOST\_COUNT or FLEET\_PERCENT.) In
2002
+ # addition, with CodeDeployDefault.OneAtATime, AWS CodeDeploy will try
2003
+ # to ensure that all instances but one are kept in a healthy state
2004
+ # during the deployment. Although this allows one instance at a time
2005
+ # to be taken offline for a new deployment, it also means that if the
2006
+ # deployment to the last instance fails, the overall deployment still
2007
+ # succeeds.
2008
+ #
2009
+ # </note>
2010
+ # @return [String]
2011
+ class MinimumHealthyHosts < Struct.new(
2012
+ :value,
2013
+ :type)
2014
+ include Aws::Structure
2015
+ end
2016
+
2017
+ # Represents the input of a register application revision operation.
2018
+ # @note When making an API call, pass RegisterApplicationRevisionInput
2019
+ # data as a hash:
2020
+ #
2021
+ # {
2022
+ # application_name: "ApplicationName", # required
2023
+ # description: "Description",
2024
+ # revision: { # required
2025
+ # revision_type: "S3", # accepts S3, GitHub
2026
+ # s3_location: {
2027
+ # bucket: "S3Bucket",
2028
+ # key: "S3Key",
2029
+ # bundle_type: "tar", # accepts tar, tgz, zip
2030
+ # version: "VersionId",
2031
+ # e_tag: "ETag",
2032
+ # },
2033
+ # git_hub_location: {
2034
+ # repository: "Repository",
2035
+ # commit_id: "CommitId",
2036
+ # },
2037
+ # },
2038
+ # }
2039
+ # @!attribute [rw] application_name
2040
+ # The name of an AWS CodeDeploy application associated with the
2041
+ # applicable IAM user or AWS account.
2042
+ # @return [String]
2043
+ #
2044
+ # @!attribute [rw] description
2045
+ # A comment about the revision.
2046
+ # @return [String]
2047
+ #
2048
+ # @!attribute [rw] revision
2049
+ # Information about the application revision to register, including
2050
+ # type and location.
2051
+ # @return [Types::RevisionLocation]
2052
+ class RegisterApplicationRevisionInput < Struct.new(
2053
+ :application_name,
2054
+ :description,
2055
+ :revision)
2056
+ include Aws::Structure
2057
+ end
2058
+
2059
+ # Represents the input of the register on-premises instance operation.
2060
+ # @note When making an API call, pass RegisterOnPremisesInstanceInput
2061
+ # data as a hash:
2062
+ #
2063
+ # {
2064
+ # instance_name: "InstanceName", # required
2065
+ # iam_user_arn: "IamUserArn", # required
2066
+ # }
2067
+ # @!attribute [rw] instance_name
2068
+ # The name of the on-premises instance to register.
2069
+ # @return [String]
2070
+ #
2071
+ # @!attribute [rw] iam_user_arn
2072
+ # The ARN of the IAM user to associate with the on-premises instance.
2073
+ # @return [String]
2074
+ class RegisterOnPremisesInstanceInput < Struct.new(
2075
+ :instance_name,
2076
+ :iam_user_arn)
2077
+ include Aws::Structure
2078
+ end
2079
+
2080
+ # Represents the input of a remove tags from on-premises instances
2081
+ # operation.
2082
+ # @note When making an API call, pass RemoveTagsFromOnPremisesInstancesInput
2083
+ # data as a hash:
2084
+ #
2085
+ # {
2086
+ # tags: [ # required
2087
+ # {
2088
+ # key: "Key",
2089
+ # value: "Value",
2090
+ # },
2091
+ # ],
2092
+ # instance_names: ["InstanceName"], # required
2093
+ # }
2094
+ # @!attribute [rw] tags
2095
+ # The tag key-value pairs to remove from the on-premises instances.
2096
+ # @return [Array<Types::Tag>]
2097
+ #
2098
+ # @!attribute [rw] instance_names
2099
+ # The names of the on-premises instances from which to remove tags.
2100
+ # @return [Array<String>]
2101
+ class RemoveTagsFromOnPremisesInstancesInput < Struct.new(
2102
+ :tags,
2103
+ :instance_names)
2104
+ include Aws::Structure
2105
+ end
2106
+
2107
+ # Information about an application revision.
2108
+ # @!attribute [rw] revision_location
2109
+ # Information about the location of an application revision.
2110
+ # @return [Types::RevisionLocation]
2111
+ #
2112
+ # @!attribute [rw] generic_revision_info
2113
+ # Information about an application revision.
2114
+ # @return [Types::GenericRevisionInfo]
2115
+ class RevisionInfo < Struct.new(
2116
+ :revision_location,
2117
+ :generic_revision_info)
2118
+ include Aws::Structure
2119
+ end
2120
+
2121
+ # Information about the location of an application revision.
2122
+ # @note When making an API call, pass RevisionLocation
2123
+ # data as a hash:
2124
+ #
2125
+ # {
2126
+ # revision_type: "S3", # accepts S3, GitHub
2127
+ # s3_location: {
2128
+ # bucket: "S3Bucket",
2129
+ # key: "S3Key",
2130
+ # bundle_type: "tar", # accepts tar, tgz, zip
2131
+ # version: "VersionId",
2132
+ # e_tag: "ETag",
2133
+ # },
2134
+ # git_hub_location: {
2135
+ # repository: "Repository",
2136
+ # commit_id: "CommitId",
2137
+ # },
2138
+ # }
2139
+ # @!attribute [rw] revision_type
2140
+ # The type of application revision:
2141
+ #
2142
+ # * S3: An application revision stored in Amazon S3.
2143
+ #
2144
+ # * GitHub: An application revision stored in GitHub.
2145
+ # @return [String]
2146
+ #
2147
+ # @!attribute [rw] s3_location
2148
+ # Information about the location of application artifacts stored in
2149
+ # Amazon S3.
2150
+ # @return [Types::S3Location]
2151
+ #
2152
+ # @!attribute [rw] git_hub_location
2153
+ # Information about the location of application artifacts stored in
2154
+ # GitHub.
2155
+ # @return [Types::GitHubLocation]
2156
+ class RevisionLocation < Struct.new(
2157
+ :revision_type,
2158
+ :s3_location,
2159
+ :git_hub_location)
2160
+ include Aws::Structure
2161
+ end
2162
+
2163
+ # Information about a deployment rollback.
2164
+ # @!attribute [rw] rollback_deployment_id
2165
+ # The ID of the deployment rollback.
2166
+ # @return [String]
2167
+ #
2168
+ # @!attribute [rw] rollback_triggering_deployment_id
2169
+ # The deployment ID of the deployment that was underway and triggered
2170
+ # a rollback deployment because it failed or was stopped.
2171
+ # @return [String]
2172
+ #
2173
+ # @!attribute [rw] rollback_message
2174
+ # Information describing the status of a deployment rollback; for
2175
+ # example, whether the deployment can't be rolled back, is in
2176
+ # progress, failed, or succeeded.
2177
+ # @return [String]
2178
+ class RollbackInfo < Struct.new(
2179
+ :rollback_deployment_id,
2180
+ :rollback_triggering_deployment_id,
2181
+ :rollback_message)
2182
+ include Aws::Structure
2183
+ end
2184
+
2185
+ # Information about the location of application artifacts stored in
2186
+ # Amazon S3.
2187
+ # @note When making an API call, pass S3Location
2188
+ # data as a hash:
2189
+ #
2190
+ # {
2191
+ # bucket: "S3Bucket",
2192
+ # key: "S3Key",
2193
+ # bundle_type: "tar", # accepts tar, tgz, zip
2194
+ # version: "VersionId",
2195
+ # e_tag: "ETag",
2196
+ # }
2197
+ # @!attribute [rw] bucket
2198
+ # The name of the Amazon S3 bucket where the application revision is
2199
+ # stored.
2200
+ # @return [String]
2201
+ #
2202
+ # @!attribute [rw] key
2203
+ # The name of the Amazon S3 object that represents the bundled
2204
+ # artifacts for the application revision.
2205
+ # @return [String]
2206
+ #
2207
+ # @!attribute [rw] bundle_type
2208
+ # The file type of the application revision. Must be one of the
2209
+ # following:
2210
+ #
2211
+ # * tar: A tar archive file.
2212
+ #
2213
+ # * tgz: A compressed tar archive file.
2214
+ #
2215
+ # * zip: A zip archive file.
2216
+ # @return [String]
2217
+ #
2218
+ # @!attribute [rw] version
2219
+ # A specific version of the Amazon S3 object that represents the
2220
+ # bundled artifacts for the application revision.
2221
+ #
2222
+ # If the version is not specified, the system will use the most recent
2223
+ # version by default.
2224
+ # @return [String]
2225
+ #
2226
+ # @!attribute [rw] e_tag
2227
+ # The ETag of the Amazon S3 object that represents the bundled
2228
+ # artifacts for the application revision.
2229
+ #
2230
+ # If the ETag is not specified as an input parameter, ETag validation
2231
+ # of the object will be skipped.
2232
+ # @return [String]
2233
+ class S3Location < Struct.new(
2234
+ :bucket,
2235
+ :key,
2236
+ :bundle_type,
2237
+ :version,
2238
+ :e_tag)
2239
+ include Aws::Structure
2240
+ end
2241
+
2242
+ # Represents the input of a stop deployment operation.
2243
+ # @note When making an API call, pass StopDeploymentInput
2244
+ # data as a hash:
2245
+ #
2246
+ # {
2247
+ # deployment_id: "DeploymentId", # required
2248
+ # auto_rollback_enabled: false,
2249
+ # }
2250
+ # @!attribute [rw] deployment_id
2251
+ # The unique ID of a deployment.
2252
+ # @return [String]
2253
+ #
2254
+ # @!attribute [rw] auto_rollback_enabled
2255
+ # Indicates, when a deployment is stopped, whether instances that have
2256
+ # been updated should be rolled back to the previous version of the
2257
+ # application revision.
2258
+ # @return [Boolean]
2259
+ class StopDeploymentInput < Struct.new(
2260
+ :deployment_id,
2261
+ :auto_rollback_enabled)
2262
+ include Aws::Structure
2263
+ end
2264
+
2265
+ # Represents the output of a stop deployment operation.
2266
+ # @!attribute [rw] status
2267
+ # The status of the stop deployment operation:
2268
+ #
2269
+ # * Pending: The stop operation is pending.
2270
+ #
2271
+ # * Succeeded: The stop operation was successful.
2272
+ # @return [String]
2273
+ #
2274
+ # @!attribute [rw] status_message
2275
+ # An accompanying status message.
2276
+ # @return [String]
2277
+ class StopDeploymentOutput < Struct.new(
2278
+ :status,
2279
+ :status_message)
2280
+ include Aws::Structure
2281
+ end
2282
+
2283
+ # Information about a tag.
2284
+ # @note When making an API call, pass Tag
2285
+ # data as a hash:
2286
+ #
2287
+ # {
2288
+ # key: "Key",
2289
+ # value: "Value",
2290
+ # }
2291
+ # @!attribute [rw] key
2292
+ # The tag's key.
2293
+ # @return [String]
2294
+ #
2295
+ # @!attribute [rw] value
2296
+ # The tag's value.
2297
+ # @return [String]
2298
+ class Tag < Struct.new(
2299
+ :key,
2300
+ :value)
2301
+ include Aws::Structure
2302
+ end
2303
+
2304
+ # Information about an on-premises instance tag filter.
2305
+ # @note When making an API call, pass TagFilter
2306
+ # data as a hash:
2307
+ #
2308
+ # {
2309
+ # key: "Key",
2310
+ # value: "Value",
2311
+ # type: "KEY_ONLY", # accepts KEY_ONLY, VALUE_ONLY, KEY_AND_VALUE
2312
+ # }
2313
+ # @!attribute [rw] key
2314
+ # The on-premises instance tag filter key.
2315
+ # @return [String]
2316
+ #
2317
+ # @!attribute [rw] value
2318
+ # The on-premises instance tag filter value.
2319
+ # @return [String]
2320
+ #
2321
+ # @!attribute [rw] type
2322
+ # The on-premises instance tag filter type:
2323
+ #
2324
+ # * KEY\_ONLY: Key only.
2325
+ #
2326
+ # * VALUE\_ONLY: Value only.
2327
+ #
2328
+ # * KEY\_AND\_VALUE: Key and value.
2329
+ # @return [String]
2330
+ class TagFilter < Struct.new(
2331
+ :key,
2332
+ :value,
2333
+ :type)
2334
+ include Aws::Structure
2335
+ end
2336
+
2337
+ # Information about a time range.
2338
+ # @note When making an API call, pass TimeRange
2339
+ # data as a hash:
2340
+ #
2341
+ # {
2342
+ # start: Time.now,
2343
+ # end: Time.now,
2344
+ # }
2345
+ # @!attribute [rw] start
2346
+ # The start time of the time range.
2347
+ #
2348
+ # <note markdown="1"> Specify null to leave the start time open-ended.
2349
+ #
2350
+ # </note>
2351
+ # @return [Time]
2352
+ #
2353
+ # @!attribute [rw] end
2354
+ # The end time of the time range.
2355
+ #
2356
+ # <note markdown="1"> Specify null to leave the end time open-ended.
2357
+ #
2358
+ # </note>
2359
+ # @return [Time]
2360
+ class TimeRange < Struct.new(
2361
+ :start,
2362
+ :end)
2363
+ include Aws::Structure
2364
+ end
2365
+
2366
+ # Information about notification triggers for the deployment group.
2367
+ # @note When making an API call, pass TriggerConfig
2368
+ # data as a hash:
2369
+ #
2370
+ # {
2371
+ # trigger_name: "TriggerName",
2372
+ # trigger_target_arn: "TriggerTargetArn",
2373
+ # trigger_events: ["DeploymentStart"], # accepts DeploymentStart, DeploymentSuccess, DeploymentFailure, DeploymentStop, DeploymentRollback, InstanceStart, InstanceSuccess, InstanceFailure
2374
+ # }
2375
+ # @!attribute [rw] trigger_name
2376
+ # The name of the notification trigger.
2377
+ # @return [String]
2378
+ #
2379
+ # @!attribute [rw] trigger_target_arn
2380
+ # The ARN of the Amazon Simple Notification Service topic through
2381
+ # which notifications about deployment or instance events are sent.
2382
+ # @return [String]
2383
+ #
2384
+ # @!attribute [rw] trigger_events
2385
+ # The event type or types for which notifications are triggered.
2386
+ # @return [Array<String>]
2387
+ class TriggerConfig < Struct.new(
2388
+ :trigger_name,
2389
+ :trigger_target_arn,
2390
+ :trigger_events)
2391
+ include Aws::Structure
2392
+ end
2393
+
2394
+ # Represents the input of an update application operation.
2395
+ # @note When making an API call, pass UpdateApplicationInput
2396
+ # data as a hash:
2397
+ #
2398
+ # {
2399
+ # application_name: "ApplicationName",
2400
+ # new_application_name: "ApplicationName",
2401
+ # }
2402
+ # @!attribute [rw] application_name
2403
+ # The current name of the application you want to change.
2404
+ # @return [String]
2405
+ #
2406
+ # @!attribute [rw] new_application_name
2407
+ # The new name to give the application.
2408
+ # @return [String]
2409
+ class UpdateApplicationInput < Struct.new(
2410
+ :application_name,
2411
+ :new_application_name)
2412
+ include Aws::Structure
2413
+ end
2414
+
2415
+ # Represents the input of an update deployment group operation.
2416
+ # @note When making an API call, pass UpdateDeploymentGroupInput
2417
+ # data as a hash:
2418
+ #
2419
+ # {
2420
+ # application_name: "ApplicationName", # required
2421
+ # current_deployment_group_name: "DeploymentGroupName", # required
2422
+ # new_deployment_group_name: "DeploymentGroupName",
2423
+ # deployment_config_name: "DeploymentConfigName",
2424
+ # ec2_tag_filters: [
2425
+ # {
2426
+ # key: "Key",
2427
+ # value: "Value",
2428
+ # type: "KEY_ONLY", # accepts KEY_ONLY, VALUE_ONLY, KEY_AND_VALUE
2429
+ # },
2430
+ # ],
2431
+ # on_premises_instance_tag_filters: [
2432
+ # {
2433
+ # key: "Key",
2434
+ # value: "Value",
2435
+ # type: "KEY_ONLY", # accepts KEY_ONLY, VALUE_ONLY, KEY_AND_VALUE
2436
+ # },
2437
+ # ],
2438
+ # auto_scaling_groups: ["AutoScalingGroupName"],
2439
+ # service_role_arn: "Role",
2440
+ # trigger_configurations: [
2441
+ # {
2442
+ # trigger_name: "TriggerName",
2443
+ # trigger_target_arn: "TriggerTargetArn",
2444
+ # trigger_events: ["DeploymentStart"], # accepts DeploymentStart, DeploymentSuccess, DeploymentFailure, DeploymentStop, DeploymentRollback, InstanceStart, InstanceSuccess, InstanceFailure
2445
+ # },
2446
+ # ],
2447
+ # alarm_configuration: {
2448
+ # enabled: false,
2449
+ # ignore_poll_alarm_failure: false,
2450
+ # alarms: [
2451
+ # {
2452
+ # name: "AlarmName",
2453
+ # },
2454
+ # ],
2455
+ # },
2456
+ # auto_rollback_configuration: {
2457
+ # enabled: false,
2458
+ # events: ["DEPLOYMENT_FAILURE"], # accepts DEPLOYMENT_FAILURE, DEPLOYMENT_STOP_ON_ALARM, DEPLOYMENT_STOP_ON_REQUEST
2459
+ # },
2460
+ # }
2461
+ # @!attribute [rw] application_name
2462
+ # The application name corresponding to the deployment group to
2463
+ # update.
2464
+ # @return [String]
2465
+ #
2466
+ # @!attribute [rw] current_deployment_group_name
2467
+ # The current name of the deployment group.
2468
+ # @return [String]
2469
+ #
2470
+ # @!attribute [rw] new_deployment_group_name
2471
+ # The new name of the deployment group, if you want to change it.
2472
+ # @return [String]
2473
+ #
2474
+ # @!attribute [rw] deployment_config_name
2475
+ # The replacement deployment configuration name to use, if you want to
2476
+ # change it.
2477
+ # @return [String]
2478
+ #
2479
+ # @!attribute [rw] ec2_tag_filters
2480
+ # The replacement set of Amazon EC2 tags on which to filter, if you
2481
+ # want to change them. To keep the existing tags, enter their names.
2482
+ # To remove tags, do not enter any tag names.
2483
+ # @return [Array<Types::EC2TagFilter>]
2484
+ #
2485
+ # @!attribute [rw] on_premises_instance_tag_filters
2486
+ # The replacement set of on-premises instance tags on which to filter,
2487
+ # if you want to change them. To keep the existing tags, enter their
2488
+ # names. To remove tags, do not enter any tag names.
2489
+ # @return [Array<Types::TagFilter>]
2490
+ #
2491
+ # @!attribute [rw] auto_scaling_groups
2492
+ # The replacement list of Auto Scaling groups to be included in the
2493
+ # deployment group, if you want to change them. To keep the Auto
2494
+ # Scaling groups, enter their names. To remove Auto Scaling groups, do
2495
+ # not enter any Auto Scaling group names.
2496
+ # @return [Array<String>]
2497
+ #
2498
+ # @!attribute [rw] service_role_arn
2499
+ # A replacement ARN for the service role, if you want to change it.
2500
+ # @return [String]
2501
+ #
2502
+ # @!attribute [rw] trigger_configurations
2503
+ # Information about triggers to change when the deployment group is
2504
+ # updated. For examples, see [Modify Triggers in an AWS CodeDeploy
2505
+ # Deployment Group][1] in the AWS CodeDeploy User Guide.
2506
+ #
2507
+ #
2508
+ #
2509
+ # [1]: http://docs.aws.amazon.com/codedeploy/latest/userguide/how-to-notify-edit.html
2510
+ # @return [Array<Types::TriggerConfig>]
2511
+ #
2512
+ # @!attribute [rw] alarm_configuration
2513
+ # Information to add or change about Amazon CloudWatch alarms when the
2514
+ # deployment group is updated.
2515
+ # @return [Types::AlarmConfiguration]
2516
+ #
2517
+ # @!attribute [rw] auto_rollback_configuration
2518
+ # Information for an automatic rollback configuration that is added or
2519
+ # changed when a deployment group is updated.
2520
+ # @return [Types::AutoRollbackConfiguration]
2521
+ class UpdateDeploymentGroupInput < Struct.new(
2522
+ :application_name,
2523
+ :current_deployment_group_name,
2524
+ :new_deployment_group_name,
2525
+ :deployment_config_name,
2526
+ :ec2_tag_filters,
2527
+ :on_premises_instance_tag_filters,
2528
+ :auto_scaling_groups,
2529
+ :service_role_arn,
2530
+ :trigger_configurations,
2531
+ :alarm_configuration,
2532
+ :auto_rollback_configuration)
2533
+ include Aws::Structure
2534
+ end
2535
+
2536
+ # Represents the output of an update deployment group operation.
2537
+ # @!attribute [rw] hooks_not_cleaned_up
2538
+ # If the output contains no data, and the corresponding deployment
2539
+ # group contained at least one Auto Scaling group, AWS CodeDeploy
2540
+ # successfully removed all corresponding Auto Scaling lifecycle event
2541
+ # hooks from the AWS account. If the output contains data, AWS
2542
+ # CodeDeploy could not remove some Auto Scaling lifecycle event hooks
2543
+ # from the AWS account.
2544
+ # @return [Array<Types::AutoScalingGroup>]
2545
+ class UpdateDeploymentGroupOutput < Struct.new(
2546
+ :hooks_not_cleaned_up)
2547
+ include Aws::Structure
2548
+ end
2549
+
2550
+ end
2551
+ end
2552
+ end