aws-sdk-codedeploy 1.0.0.rc2 → 1.0.0.rc3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-codedeploy.rb +1 -1
- data/lib/aws-sdk-codedeploy/client.rb +283 -11
- data/lib/aws-sdk-codedeploy/client_api.rb +124 -30
- data/lib/aws-sdk-codedeploy/types.rb +678 -13
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 43022327838d2e7886ca4fb3d1fffd0d16a851d2
|
4
|
+
data.tar.gz: 947cb6b2d40831117be4420ffadb478b0687061c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 13b83953c52a2dd7a4f7c94ceee476da1b1bf9d8c13a2dbd3f003665be3bb50765a3476ee741073084dcc373fb0957052bd0c1c9f78b472fcacbfdb2c264573c
|
7
|
+
data.tar.gz: 598b7c5e7f6d4e7b3ec7d7649563b9fe9323bb0847c8837e30e5b0da7122f67916345603056801964b1bcde9a843591c0728c0037aec1589833fef3ef961ab4a
|
data/lib/aws-sdk-codedeploy.rb
CHANGED
@@ -178,6 +178,8 @@ module Aws::CodeDeploy
|
|
178
178
|
# instance_names: ["InstanceName"], # required
|
179
179
|
# })
|
180
180
|
#
|
181
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/AddTagsToOnPremisesInstances AWS API Documentation
|
182
|
+
#
|
181
183
|
# @overload add_tags_to_on_premises_instances(params = {})
|
182
184
|
# @param [Hash] params ({})
|
183
185
|
def add_tags_to_on_premises_instances(params = {}, options = {})
|
@@ -243,6 +245,8 @@ module Aws::CodeDeploy
|
|
243
245
|
# resp.revisions[0].generic_revision_info.last_used_time #=> Time
|
244
246
|
# resp.revisions[0].generic_revision_info.register_time #=> Time
|
245
247
|
#
|
248
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetApplicationRevisions AWS API Documentation
|
249
|
+
#
|
246
250
|
# @overload batch_get_application_revisions(params = {})
|
247
251
|
# @param [Hash] params ({})
|
248
252
|
def batch_get_application_revisions(params = {}, options = {})
|
@@ -273,6 +277,8 @@ module Aws::CodeDeploy
|
|
273
277
|
# resp.applications_info[0].create_time #=> Time
|
274
278
|
# resp.applications_info[0].linked_to_git_hub #=> Boolean
|
275
279
|
#
|
280
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetApplications AWS API Documentation
|
281
|
+
#
|
276
282
|
# @overload batch_get_applications(params = {})
|
277
283
|
# @param [Hash] params ({})
|
278
284
|
def batch_get_applications(params = {}, options = {})
|
@@ -332,7 +338,7 @@ module Aws::CodeDeploy
|
|
332
338
|
# resp.deployment_groups_info[0].trigger_configurations[0].trigger_name #=> String
|
333
339
|
# resp.deployment_groups_info[0].trigger_configurations[0].trigger_target_arn #=> String
|
334
340
|
# resp.deployment_groups_info[0].trigger_configurations[0].trigger_events #=> Array
|
335
|
-
# resp.deployment_groups_info[0].trigger_configurations[0].trigger_events[0] #=> String, one of "DeploymentStart", "DeploymentSuccess", "DeploymentFailure", "DeploymentStop", "DeploymentRollback", "InstanceStart", "InstanceSuccess", "InstanceFailure"
|
341
|
+
# resp.deployment_groups_info[0].trigger_configurations[0].trigger_events[0] #=> String, one of "DeploymentStart", "DeploymentSuccess", "DeploymentFailure", "DeploymentStop", "DeploymentRollback", "DeploymentReady", "InstanceStart", "InstanceSuccess", "InstanceFailure", "InstanceReady"
|
336
342
|
# resp.deployment_groups_info[0].alarm_configuration.enabled #=> Boolean
|
337
343
|
# resp.deployment_groups_info[0].alarm_configuration.ignore_poll_alarm_failure #=> Boolean
|
338
344
|
# resp.deployment_groups_info[0].alarm_configuration.alarms #=> Array
|
@@ -340,8 +346,19 @@ module Aws::CodeDeploy
|
|
340
346
|
# resp.deployment_groups_info[0].auto_rollback_configuration.enabled #=> Boolean
|
341
347
|
# resp.deployment_groups_info[0].auto_rollback_configuration.events #=> Array
|
342
348
|
# resp.deployment_groups_info[0].auto_rollback_configuration.events[0] #=> String, one of "DEPLOYMENT_FAILURE", "DEPLOYMENT_STOP_ON_ALARM", "DEPLOYMENT_STOP_ON_REQUEST"
|
349
|
+
# resp.deployment_groups_info[0].deployment_style.deployment_type #=> String, one of "IN_PLACE", "BLUE_GREEN"
|
350
|
+
# resp.deployment_groups_info[0].deployment_style.deployment_option #=> String, one of "WITH_TRAFFIC_CONTROL", "WITHOUT_TRAFFIC_CONTROL"
|
351
|
+
# resp.deployment_groups_info[0].blue_green_deployment_configuration.terminate_blue_instances_on_deployment_success.action #=> String, one of "TERMINATE", "KEEP_ALIVE"
|
352
|
+
# resp.deployment_groups_info[0].blue_green_deployment_configuration.terminate_blue_instances_on_deployment_success.termination_wait_time_in_minutes #=> Integer
|
353
|
+
# resp.deployment_groups_info[0].blue_green_deployment_configuration.deployment_ready_option.action_on_timeout #=> String, one of "CONTINUE_DEPLOYMENT", "STOP_DEPLOYMENT"
|
354
|
+
# resp.deployment_groups_info[0].blue_green_deployment_configuration.deployment_ready_option.wait_time_in_minutes #=> Integer
|
355
|
+
# resp.deployment_groups_info[0].blue_green_deployment_configuration.green_fleet_provisioning_option.action #=> String, one of "DISCOVER_EXISTING", "COPY_AUTO_SCALING_GROUP"
|
356
|
+
# resp.deployment_groups_info[0].load_balancer_info.elb_info_list #=> Array
|
357
|
+
# resp.deployment_groups_info[0].load_balancer_info.elb_info_list[0].name #=> String
|
343
358
|
# resp.error_message #=> String
|
344
359
|
#
|
360
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetDeploymentGroups AWS API Documentation
|
361
|
+
#
|
345
362
|
# @overload batch_get_deployment_groups(params = {})
|
346
363
|
# @param [Hash] params ({})
|
347
364
|
def batch_get_deployment_groups(params = {}, options = {})
|
@@ -375,7 +392,7 @@ module Aws::CodeDeploy
|
|
375
392
|
# resp.instances_summary #=> Array
|
376
393
|
# resp.instances_summary[0].deployment_id #=> String
|
377
394
|
# resp.instances_summary[0].instance_id #=> String
|
378
|
-
# resp.instances_summary[0].status #=> String, one of "Pending", "InProgress", "Succeeded", "Failed", "Skipped", "Unknown"
|
395
|
+
# resp.instances_summary[0].status #=> String, one of "Pending", "InProgress", "Succeeded", "Failed", "Skipped", "Unknown", "Ready"
|
379
396
|
# resp.instances_summary[0].last_updated_at #=> Time
|
380
397
|
# resp.instances_summary[0].lifecycle_events #=> Array
|
381
398
|
# resp.instances_summary[0].lifecycle_events[0].lifecycle_event_name #=> String
|
@@ -386,8 +403,11 @@ module Aws::CodeDeploy
|
|
386
403
|
# resp.instances_summary[0].lifecycle_events[0].start_time #=> Time
|
387
404
|
# resp.instances_summary[0].lifecycle_events[0].end_time #=> Time
|
388
405
|
# resp.instances_summary[0].lifecycle_events[0].status #=> String, one of "Pending", "InProgress", "Succeeded", "Failed", "Skipped", "Unknown"
|
406
|
+
# resp.instances_summary[0].instance_type #=> String, one of "Blue", "Green"
|
389
407
|
# resp.error_message #=> String
|
390
408
|
#
|
409
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetDeploymentInstances AWS API Documentation
|
410
|
+
#
|
391
411
|
# @overload batch_get_deployment_instances(params = {})
|
392
412
|
# @param [Hash] params ({})
|
393
413
|
def batch_get_deployment_instances(params = {}, options = {})
|
@@ -425,7 +445,7 @@ module Aws::CodeDeploy
|
|
425
445
|
# resp.deployments_info[0].revision.s3_location.e_tag #=> String
|
426
446
|
# resp.deployments_info[0].revision.git_hub_location.repository #=> String
|
427
447
|
# resp.deployments_info[0].revision.git_hub_location.commit_id #=> String
|
428
|
-
# resp.deployments_info[0].status #=> String, one of "Created", "Queued", "InProgress", "Succeeded", "Failed", "Stopped"
|
448
|
+
# resp.deployments_info[0].status #=> String, one of "Created", "Queued", "InProgress", "Succeeded", "Failed", "Stopped", "Ready"
|
429
449
|
# resp.deployments_info[0].error_information.code #=> String, one of "DEPLOYMENT_GROUP_MISSING", "APPLICATION_MISSING", "REVISION_MISSING", "IAM_ROLE_MISSING", "IAM_ROLE_PERMISSIONS", "NO_EC2_SUBSCRIPTION", "OVER_MAX_INSTANCES", "NO_INSTANCES", "TIMEOUT", "HEALTH_CONSTRAINTS_INVALID", "HEALTH_CONSTRAINTS", "INTERNAL_ERROR", "THROTTLED", "ALARM_ACTIVE", "AGENT_ISSUE", "AUTO_SCALING_IAM_ROLE_PERMISSIONS", "AUTO_SCALING_CONFIGURATION", "MANUAL_STOP"
|
430
450
|
# resp.deployments_info[0].error_information.message #=> String
|
431
451
|
# resp.deployments_info[0].create_time #=> Time
|
@@ -436,6 +456,7 @@ module Aws::CodeDeploy
|
|
436
456
|
# resp.deployments_info[0].deployment_overview.succeeded #=> Integer
|
437
457
|
# resp.deployments_info[0].deployment_overview.failed #=> Integer
|
438
458
|
# resp.deployments_info[0].deployment_overview.skipped #=> Integer
|
459
|
+
# resp.deployments_info[0].deployment_overview.ready #=> Integer
|
439
460
|
# resp.deployments_info[0].description #=> String
|
440
461
|
# resp.deployments_info[0].creator #=> String, one of "user", "autoscaling", "codeDeployRollback"
|
441
462
|
# resp.deployments_info[0].ignore_application_stop_failures #=> Boolean
|
@@ -446,6 +467,25 @@ module Aws::CodeDeploy
|
|
446
467
|
# resp.deployments_info[0].rollback_info.rollback_deployment_id #=> String
|
447
468
|
# resp.deployments_info[0].rollback_info.rollback_triggering_deployment_id #=> String
|
448
469
|
# resp.deployments_info[0].rollback_info.rollback_message #=> String
|
470
|
+
# resp.deployments_info[0].deployment_style.deployment_type #=> String, one of "IN_PLACE", "BLUE_GREEN"
|
471
|
+
# resp.deployments_info[0].deployment_style.deployment_option #=> String, one of "WITH_TRAFFIC_CONTROL", "WITHOUT_TRAFFIC_CONTROL"
|
472
|
+
# resp.deployments_info[0].target_instances.tag_filters #=> Array
|
473
|
+
# resp.deployments_info[0].target_instances.tag_filters[0].key #=> String
|
474
|
+
# resp.deployments_info[0].target_instances.tag_filters[0].value #=> String
|
475
|
+
# resp.deployments_info[0].target_instances.tag_filters[0].type #=> String, one of "KEY_ONLY", "VALUE_ONLY", "KEY_AND_VALUE"
|
476
|
+
# resp.deployments_info[0].target_instances.auto_scaling_groups #=> Array
|
477
|
+
# resp.deployments_info[0].target_instances.auto_scaling_groups[0] #=> String
|
478
|
+
# resp.deployments_info[0].instance_termination_wait_time_started #=> Boolean
|
479
|
+
# resp.deployments_info[0].blue_green_deployment_configuration.terminate_blue_instances_on_deployment_success.action #=> String, one of "TERMINATE", "KEEP_ALIVE"
|
480
|
+
# resp.deployments_info[0].blue_green_deployment_configuration.terminate_blue_instances_on_deployment_success.termination_wait_time_in_minutes #=> Integer
|
481
|
+
# resp.deployments_info[0].blue_green_deployment_configuration.deployment_ready_option.action_on_timeout #=> String, one of "CONTINUE_DEPLOYMENT", "STOP_DEPLOYMENT"
|
482
|
+
# resp.deployments_info[0].blue_green_deployment_configuration.deployment_ready_option.wait_time_in_minutes #=> Integer
|
483
|
+
# resp.deployments_info[0].blue_green_deployment_configuration.green_fleet_provisioning_option.action #=> String, one of "DISCOVER_EXISTING", "COPY_AUTO_SCALING_GROUP"
|
484
|
+
# resp.deployments_info[0].load_balancer_info.elb_info_list #=> Array
|
485
|
+
# resp.deployments_info[0].load_balancer_info.elb_info_list[0].name #=> String
|
486
|
+
# resp.deployments_info[0].additional_deployment_status_info #=> String
|
487
|
+
#
|
488
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetDeployments AWS API Documentation
|
449
489
|
#
|
450
490
|
# @overload batch_get_deployments(params = {})
|
451
491
|
# @param [Hash] params ({})
|
@@ -482,6 +522,8 @@ module Aws::CodeDeploy
|
|
482
522
|
# resp.instance_infos[0].tags[0].key #=> String
|
483
523
|
# resp.instance_infos[0].tags[0].value #=> String
|
484
524
|
#
|
525
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetOnPremisesInstances AWS API Documentation
|
526
|
+
#
|
485
527
|
# @overload batch_get_on_premises_instances(params = {})
|
486
528
|
# @param [Hash] params ({})
|
487
529
|
def batch_get_on_premises_instances(params = {}, options = {})
|
@@ -489,6 +531,34 @@ module Aws::CodeDeploy
|
|
489
531
|
req.send_request(options)
|
490
532
|
end
|
491
533
|
|
534
|
+
# Starts the process of rerouting traffic from instances in the original
|
535
|
+
# environment to instances in thereplacement environment without waiting
|
536
|
+
# for a specified wait time to elapse. (Traffic rerouting, which is
|
537
|
+
# achieved by registering instances in the replacement environment with
|
538
|
+
# the load balancer, can start as soon as all instances have a status of
|
539
|
+
# Ready.)
|
540
|
+
#
|
541
|
+
# @option params [String] :deployment_id
|
542
|
+
# The deployment ID of the blue/green deployment for which you want to
|
543
|
+
# start rerouting traffic to the replacement environment.
|
544
|
+
#
|
545
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
546
|
+
#
|
547
|
+
# @example Request syntax with placeholder values
|
548
|
+
#
|
549
|
+
# resp = client.continue_deployment({
|
550
|
+
# deployment_id: "DeploymentId",
|
551
|
+
# })
|
552
|
+
#
|
553
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ContinueDeployment AWS API Documentation
|
554
|
+
#
|
555
|
+
# @overload continue_deployment(params = {})
|
556
|
+
# @param [Hash] params ({})
|
557
|
+
def continue_deployment(params = {}, options = {})
|
558
|
+
req = build_request(:continue_deployment, params)
|
559
|
+
req.send_request(options)
|
560
|
+
end
|
561
|
+
|
492
562
|
# Creates an application.
|
493
563
|
#
|
494
564
|
# @option params [required, String] :application_name
|
@@ -509,6 +579,8 @@ module Aws::CodeDeploy
|
|
509
579
|
#
|
510
580
|
# resp.application_id #=> String
|
511
581
|
#
|
582
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateApplication AWS API Documentation
|
583
|
+
#
|
512
584
|
# @overload create_application(params = {})
|
513
585
|
# @param [Hash] params ({})
|
514
586
|
def create_application(params = {}, options = {})
|
@@ -552,6 +624,10 @@ module Aws::CodeDeploy
|
|
552
624
|
# deployment to that instance will stop, and the deployment to that
|
553
625
|
# instance will be considered to have failed.
|
554
626
|
#
|
627
|
+
# @option params [Types::TargetInstances] :target_instances
|
628
|
+
# Information about the instances that will belong to the replacement
|
629
|
+
# environment in a blue/green deployment.
|
630
|
+
#
|
555
631
|
# @option params [Types::AutoRollbackConfiguration] :auto_rollback_configuration
|
556
632
|
# Configuration information for an automatic rollback that is added when
|
557
633
|
# a deployment is created.
|
@@ -586,6 +662,16 @@ module Aws::CodeDeploy
|
|
586
662
|
# deployment_config_name: "DeploymentConfigName",
|
587
663
|
# description: "Description",
|
588
664
|
# ignore_application_stop_failures: false,
|
665
|
+
# target_instances: {
|
666
|
+
# tag_filters: [
|
667
|
+
# {
|
668
|
+
# key: "Key",
|
669
|
+
# value: "Value",
|
670
|
+
# type: "KEY_ONLY", # accepts KEY_ONLY, VALUE_ONLY, KEY_AND_VALUE
|
671
|
+
# },
|
672
|
+
# ],
|
673
|
+
# auto_scaling_groups: ["AutoScalingGroupName"],
|
674
|
+
# },
|
589
675
|
# auto_rollback_configuration: {
|
590
676
|
# enabled: false,
|
591
677
|
# events: ["DEPLOYMENT_FAILURE"], # accepts DEPLOYMENT_FAILURE, DEPLOYMENT_STOP_ON_ALARM, DEPLOYMENT_STOP_ON_REQUEST
|
@@ -597,6 +683,8 @@ module Aws::CodeDeploy
|
|
597
683
|
#
|
598
684
|
# resp.deployment_id #=> String
|
599
685
|
#
|
686
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateDeployment AWS API Documentation
|
687
|
+
#
|
600
688
|
# @overload create_deployment(params = {})
|
601
689
|
# @param [Hash] params ({})
|
602
690
|
def create_deployment(params = {}, options = {})
|
@@ -648,6 +736,8 @@ module Aws::CodeDeploy
|
|
648
736
|
#
|
649
737
|
# resp.deployment_config_id #=> String
|
650
738
|
#
|
739
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateDeploymentConfig AWS API Documentation
|
740
|
+
#
|
651
741
|
# @overload create_deployment_config(params = {})
|
652
742
|
# @param [Hash] params ({})
|
653
743
|
def create_deployment_config(params = {}, options = {})
|
@@ -713,6 +803,18 @@ module Aws::CodeDeploy
|
|
713
803
|
# Configuration information for an automatic rollback that is added when
|
714
804
|
# a deployment group is created.
|
715
805
|
#
|
806
|
+
# @option params [Types::DeploymentStyle] :deployment_style
|
807
|
+
# Information about the type of deployment, standard or blue/green, that
|
808
|
+
# you want to run and whether to route deployment traffic behind a load
|
809
|
+
# balancer.
|
810
|
+
#
|
811
|
+
# @option params [Types::BlueGreenDeploymentConfiguration] :blue_green_deployment_configuration
|
812
|
+
# Information about blue/green deployment options for a deployment
|
813
|
+
# group.
|
814
|
+
#
|
815
|
+
# @option params [Types::LoadBalancerInfo] :load_balancer_info
|
816
|
+
# Information about the load balancer used in a blue/green deployment.
|
817
|
+
#
|
716
818
|
# @return [Types::CreateDeploymentGroupOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
717
819
|
#
|
718
820
|
# * {Types::CreateDeploymentGroupOutput#deployment_group_id #deployment_group_id} => String
|
@@ -743,7 +845,7 @@ module Aws::CodeDeploy
|
|
743
845
|
# {
|
744
846
|
# trigger_name: "TriggerName",
|
745
847
|
# trigger_target_arn: "TriggerTargetArn",
|
746
|
-
# trigger_events: ["DeploymentStart"], # accepts DeploymentStart, DeploymentSuccess, DeploymentFailure, DeploymentStop, DeploymentRollback, InstanceStart, InstanceSuccess, InstanceFailure
|
848
|
+
# trigger_events: ["DeploymentStart"], # accepts DeploymentStart, DeploymentSuccess, DeploymentFailure, DeploymentStop, DeploymentRollback, DeploymentReady, InstanceStart, InstanceSuccess, InstanceFailure, InstanceReady
|
747
849
|
# },
|
748
850
|
# ],
|
749
851
|
# alarm_configuration: {
|
@@ -759,12 +861,38 @@ module Aws::CodeDeploy
|
|
759
861
|
# enabled: false,
|
760
862
|
# events: ["DEPLOYMENT_FAILURE"], # accepts DEPLOYMENT_FAILURE, DEPLOYMENT_STOP_ON_ALARM, DEPLOYMENT_STOP_ON_REQUEST
|
761
863
|
# },
|
864
|
+
# deployment_style: {
|
865
|
+
# deployment_type: "IN_PLACE", # accepts IN_PLACE, BLUE_GREEN
|
866
|
+
# deployment_option: "WITH_TRAFFIC_CONTROL", # accepts WITH_TRAFFIC_CONTROL, WITHOUT_TRAFFIC_CONTROL
|
867
|
+
# },
|
868
|
+
# blue_green_deployment_configuration: {
|
869
|
+
# terminate_blue_instances_on_deployment_success: {
|
870
|
+
# action: "TERMINATE", # accepts TERMINATE, KEEP_ALIVE
|
871
|
+
# termination_wait_time_in_minutes: 1,
|
872
|
+
# },
|
873
|
+
# deployment_ready_option: {
|
874
|
+
# action_on_timeout: "CONTINUE_DEPLOYMENT", # accepts CONTINUE_DEPLOYMENT, STOP_DEPLOYMENT
|
875
|
+
# wait_time_in_minutes: 1,
|
876
|
+
# },
|
877
|
+
# green_fleet_provisioning_option: {
|
878
|
+
# action: "DISCOVER_EXISTING", # accepts DISCOVER_EXISTING, COPY_AUTO_SCALING_GROUP
|
879
|
+
# },
|
880
|
+
# },
|
881
|
+
# load_balancer_info: {
|
882
|
+
# elb_info_list: [
|
883
|
+
# {
|
884
|
+
# name: "ELBName",
|
885
|
+
# },
|
886
|
+
# ],
|
887
|
+
# },
|
762
888
|
# })
|
763
889
|
#
|
764
890
|
# @example Response structure
|
765
891
|
#
|
766
892
|
# resp.deployment_group_id #=> String
|
767
893
|
#
|
894
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateDeploymentGroup AWS API Documentation
|
895
|
+
#
|
768
896
|
# @overload create_deployment_group(params = {})
|
769
897
|
# @param [Hash] params ({})
|
770
898
|
def create_deployment_group(params = {}, options = {})
|
@@ -786,6 +914,8 @@ module Aws::CodeDeploy
|
|
786
914
|
# application_name: "ApplicationName", # required
|
787
915
|
# })
|
788
916
|
#
|
917
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeleteApplication AWS API Documentation
|
918
|
+
#
|
789
919
|
# @overload delete_application(params = {})
|
790
920
|
# @param [Hash] params ({})
|
791
921
|
def delete_application(params = {}, options = {})
|
@@ -812,6 +942,8 @@ module Aws::CodeDeploy
|
|
812
942
|
# deployment_config_name: "DeploymentConfigName", # required
|
813
943
|
# })
|
814
944
|
#
|
945
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeleteDeploymentConfig AWS API Documentation
|
946
|
+
#
|
815
947
|
# @overload delete_deployment_config(params = {})
|
816
948
|
# @param [Hash] params ({})
|
817
949
|
def delete_deployment_config(params = {}, options = {})
|
@@ -846,6 +978,8 @@ module Aws::CodeDeploy
|
|
846
978
|
# resp.hooks_not_cleaned_up[0].name #=> String
|
847
979
|
# resp.hooks_not_cleaned_up[0].hook #=> String
|
848
980
|
#
|
981
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeleteDeploymentGroup AWS API Documentation
|
982
|
+
#
|
849
983
|
# @overload delete_deployment_group(params = {})
|
850
984
|
# @param [Hash] params ({})
|
851
985
|
def delete_deployment_group(params = {}, options = {})
|
@@ -866,6 +1000,8 @@ module Aws::CodeDeploy
|
|
866
1000
|
# instance_name: "InstanceName", # required
|
867
1001
|
# })
|
868
1002
|
#
|
1003
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeregisterOnPremisesInstance AWS API Documentation
|
1004
|
+
#
|
869
1005
|
# @overload deregister_on_premises_instance(params = {})
|
870
1006
|
# @param [Hash] params ({})
|
871
1007
|
def deregister_on_premises_instance(params = {}, options = {})
|
@@ -896,6 +1032,8 @@ module Aws::CodeDeploy
|
|
896
1032
|
# resp.application.create_time #=> Time
|
897
1033
|
# resp.application.linked_to_git_hub #=> Boolean
|
898
1034
|
#
|
1035
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetApplication AWS API Documentation
|
1036
|
+
#
|
899
1037
|
# @overload get_application(params = {})
|
900
1038
|
# @param [Hash] params ({})
|
901
1039
|
def get_application(params = {}, options = {})
|
@@ -956,6 +1094,8 @@ module Aws::CodeDeploy
|
|
956
1094
|
# resp.revision_info.last_used_time #=> Time
|
957
1095
|
# resp.revision_info.register_time #=> Time
|
958
1096
|
#
|
1097
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetApplicationRevision AWS API Documentation
|
1098
|
+
#
|
959
1099
|
# @overload get_application_revision(params = {})
|
960
1100
|
# @param [Hash] params ({})
|
961
1101
|
def get_application_revision(params = {}, options = {})
|
@@ -993,7 +1133,7 @@ module Aws::CodeDeploy
|
|
993
1133
|
# resp.deployment_info.revision.s3_location.e_tag #=> String
|
994
1134
|
# resp.deployment_info.revision.git_hub_location.repository #=> String
|
995
1135
|
# resp.deployment_info.revision.git_hub_location.commit_id #=> String
|
996
|
-
# resp.deployment_info.status #=> String, one of "Created", "Queued", "InProgress", "Succeeded", "Failed", "Stopped"
|
1136
|
+
# resp.deployment_info.status #=> String, one of "Created", "Queued", "InProgress", "Succeeded", "Failed", "Stopped", "Ready"
|
997
1137
|
# resp.deployment_info.error_information.code #=> String, one of "DEPLOYMENT_GROUP_MISSING", "APPLICATION_MISSING", "REVISION_MISSING", "IAM_ROLE_MISSING", "IAM_ROLE_PERMISSIONS", "NO_EC2_SUBSCRIPTION", "OVER_MAX_INSTANCES", "NO_INSTANCES", "TIMEOUT", "HEALTH_CONSTRAINTS_INVALID", "HEALTH_CONSTRAINTS", "INTERNAL_ERROR", "THROTTLED", "ALARM_ACTIVE", "AGENT_ISSUE", "AUTO_SCALING_IAM_ROLE_PERMISSIONS", "AUTO_SCALING_CONFIGURATION", "MANUAL_STOP"
|
998
1138
|
# resp.deployment_info.error_information.message #=> String
|
999
1139
|
# resp.deployment_info.create_time #=> Time
|
@@ -1004,6 +1144,7 @@ module Aws::CodeDeploy
|
|
1004
1144
|
# resp.deployment_info.deployment_overview.succeeded #=> Integer
|
1005
1145
|
# resp.deployment_info.deployment_overview.failed #=> Integer
|
1006
1146
|
# resp.deployment_info.deployment_overview.skipped #=> Integer
|
1147
|
+
# resp.deployment_info.deployment_overview.ready #=> Integer
|
1007
1148
|
# resp.deployment_info.description #=> String
|
1008
1149
|
# resp.deployment_info.creator #=> String, one of "user", "autoscaling", "codeDeployRollback"
|
1009
1150
|
# resp.deployment_info.ignore_application_stop_failures #=> Boolean
|
@@ -1014,6 +1155,25 @@ module Aws::CodeDeploy
|
|
1014
1155
|
# resp.deployment_info.rollback_info.rollback_deployment_id #=> String
|
1015
1156
|
# resp.deployment_info.rollback_info.rollback_triggering_deployment_id #=> String
|
1016
1157
|
# resp.deployment_info.rollback_info.rollback_message #=> String
|
1158
|
+
# resp.deployment_info.deployment_style.deployment_type #=> String, one of "IN_PLACE", "BLUE_GREEN"
|
1159
|
+
# resp.deployment_info.deployment_style.deployment_option #=> String, one of "WITH_TRAFFIC_CONTROL", "WITHOUT_TRAFFIC_CONTROL"
|
1160
|
+
# resp.deployment_info.target_instances.tag_filters #=> Array
|
1161
|
+
# resp.deployment_info.target_instances.tag_filters[0].key #=> String
|
1162
|
+
# resp.deployment_info.target_instances.tag_filters[0].value #=> String
|
1163
|
+
# resp.deployment_info.target_instances.tag_filters[0].type #=> String, one of "KEY_ONLY", "VALUE_ONLY", "KEY_AND_VALUE"
|
1164
|
+
# resp.deployment_info.target_instances.auto_scaling_groups #=> Array
|
1165
|
+
# resp.deployment_info.target_instances.auto_scaling_groups[0] #=> String
|
1166
|
+
# resp.deployment_info.instance_termination_wait_time_started #=> Boolean
|
1167
|
+
# resp.deployment_info.blue_green_deployment_configuration.terminate_blue_instances_on_deployment_success.action #=> String, one of "TERMINATE", "KEEP_ALIVE"
|
1168
|
+
# resp.deployment_info.blue_green_deployment_configuration.terminate_blue_instances_on_deployment_success.termination_wait_time_in_minutes #=> Integer
|
1169
|
+
# resp.deployment_info.blue_green_deployment_configuration.deployment_ready_option.action_on_timeout #=> String, one of "CONTINUE_DEPLOYMENT", "STOP_DEPLOYMENT"
|
1170
|
+
# resp.deployment_info.blue_green_deployment_configuration.deployment_ready_option.wait_time_in_minutes #=> Integer
|
1171
|
+
# resp.deployment_info.blue_green_deployment_configuration.green_fleet_provisioning_option.action #=> String, one of "DISCOVER_EXISTING", "COPY_AUTO_SCALING_GROUP"
|
1172
|
+
# resp.deployment_info.load_balancer_info.elb_info_list #=> Array
|
1173
|
+
# resp.deployment_info.load_balancer_info.elb_info_list[0].name #=> String
|
1174
|
+
# resp.deployment_info.additional_deployment_status_info #=> String
|
1175
|
+
#
|
1176
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeployment AWS API Documentation
|
1017
1177
|
#
|
1018
1178
|
# @overload get_deployment(params = {})
|
1019
1179
|
# @param [Hash] params ({})
|
@@ -1046,6 +1206,8 @@ module Aws::CodeDeploy
|
|
1046
1206
|
# resp.deployment_config_info.minimum_healthy_hosts.type #=> String, one of "HOST_COUNT", "FLEET_PERCENT"
|
1047
1207
|
# resp.deployment_config_info.create_time #=> Time
|
1048
1208
|
#
|
1209
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeploymentConfig AWS API Documentation
|
1210
|
+
#
|
1049
1211
|
# @overload get_deployment_config(params = {})
|
1050
1212
|
# @param [Hash] params ({})
|
1051
1213
|
def get_deployment_config(params = {}, options = {})
|
@@ -1104,7 +1266,7 @@ module Aws::CodeDeploy
|
|
1104
1266
|
# resp.deployment_group_info.trigger_configurations[0].trigger_name #=> String
|
1105
1267
|
# resp.deployment_group_info.trigger_configurations[0].trigger_target_arn #=> String
|
1106
1268
|
# resp.deployment_group_info.trigger_configurations[0].trigger_events #=> Array
|
1107
|
-
# resp.deployment_group_info.trigger_configurations[0].trigger_events[0] #=> String, one of "DeploymentStart", "DeploymentSuccess", "DeploymentFailure", "DeploymentStop", "DeploymentRollback", "InstanceStart", "InstanceSuccess", "InstanceFailure"
|
1269
|
+
# resp.deployment_group_info.trigger_configurations[0].trigger_events[0] #=> String, one of "DeploymentStart", "DeploymentSuccess", "DeploymentFailure", "DeploymentStop", "DeploymentRollback", "DeploymentReady", "InstanceStart", "InstanceSuccess", "InstanceFailure", "InstanceReady"
|
1108
1270
|
# resp.deployment_group_info.alarm_configuration.enabled #=> Boolean
|
1109
1271
|
# resp.deployment_group_info.alarm_configuration.ignore_poll_alarm_failure #=> Boolean
|
1110
1272
|
# resp.deployment_group_info.alarm_configuration.alarms #=> Array
|
@@ -1112,6 +1274,17 @@ module Aws::CodeDeploy
|
|
1112
1274
|
# resp.deployment_group_info.auto_rollback_configuration.enabled #=> Boolean
|
1113
1275
|
# resp.deployment_group_info.auto_rollback_configuration.events #=> Array
|
1114
1276
|
# resp.deployment_group_info.auto_rollback_configuration.events[0] #=> String, one of "DEPLOYMENT_FAILURE", "DEPLOYMENT_STOP_ON_ALARM", "DEPLOYMENT_STOP_ON_REQUEST"
|
1277
|
+
# resp.deployment_group_info.deployment_style.deployment_type #=> String, one of "IN_PLACE", "BLUE_GREEN"
|
1278
|
+
# resp.deployment_group_info.deployment_style.deployment_option #=> String, one of "WITH_TRAFFIC_CONTROL", "WITHOUT_TRAFFIC_CONTROL"
|
1279
|
+
# resp.deployment_group_info.blue_green_deployment_configuration.terminate_blue_instances_on_deployment_success.action #=> String, one of "TERMINATE", "KEEP_ALIVE"
|
1280
|
+
# resp.deployment_group_info.blue_green_deployment_configuration.terminate_blue_instances_on_deployment_success.termination_wait_time_in_minutes #=> Integer
|
1281
|
+
# resp.deployment_group_info.blue_green_deployment_configuration.deployment_ready_option.action_on_timeout #=> String, one of "CONTINUE_DEPLOYMENT", "STOP_DEPLOYMENT"
|
1282
|
+
# resp.deployment_group_info.blue_green_deployment_configuration.deployment_ready_option.wait_time_in_minutes #=> Integer
|
1283
|
+
# resp.deployment_group_info.blue_green_deployment_configuration.green_fleet_provisioning_option.action #=> String, one of "DISCOVER_EXISTING", "COPY_AUTO_SCALING_GROUP"
|
1284
|
+
# resp.deployment_group_info.load_balancer_info.elb_info_list #=> Array
|
1285
|
+
# resp.deployment_group_info.load_balancer_info.elb_info_list[0].name #=> String
|
1286
|
+
#
|
1287
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeploymentGroup AWS API Documentation
|
1115
1288
|
#
|
1116
1289
|
# @overload get_deployment_group(params = {})
|
1117
1290
|
# @param [Hash] params ({})
|
@@ -1143,7 +1316,7 @@ module Aws::CodeDeploy
|
|
1143
1316
|
#
|
1144
1317
|
# resp.instance_summary.deployment_id #=> String
|
1145
1318
|
# resp.instance_summary.instance_id #=> String
|
1146
|
-
# resp.instance_summary.status #=> String, one of "Pending", "InProgress", "Succeeded", "Failed", "Skipped", "Unknown"
|
1319
|
+
# resp.instance_summary.status #=> String, one of "Pending", "InProgress", "Succeeded", "Failed", "Skipped", "Unknown", "Ready"
|
1147
1320
|
# resp.instance_summary.last_updated_at #=> Time
|
1148
1321
|
# resp.instance_summary.lifecycle_events #=> Array
|
1149
1322
|
# resp.instance_summary.lifecycle_events[0].lifecycle_event_name #=> String
|
@@ -1154,6 +1327,9 @@ module Aws::CodeDeploy
|
|
1154
1327
|
# resp.instance_summary.lifecycle_events[0].start_time #=> Time
|
1155
1328
|
# resp.instance_summary.lifecycle_events[0].end_time #=> Time
|
1156
1329
|
# resp.instance_summary.lifecycle_events[0].status #=> String, one of "Pending", "InProgress", "Succeeded", "Failed", "Skipped", "Unknown"
|
1330
|
+
# resp.instance_summary.instance_type #=> String, one of "Blue", "Green"
|
1331
|
+
#
|
1332
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeploymentInstance AWS API Documentation
|
1157
1333
|
#
|
1158
1334
|
# @overload get_deployment_instance(params = {})
|
1159
1335
|
# @param [Hash] params ({})
|
@@ -1189,6 +1365,8 @@ module Aws::CodeDeploy
|
|
1189
1365
|
# resp.instance_info.tags[0].key #=> String
|
1190
1366
|
# resp.instance_info.tags[0].value #=> String
|
1191
1367
|
#
|
1368
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetOnPremisesInstance AWS API Documentation
|
1369
|
+
#
|
1192
1370
|
# @overload get_on_premises_instance(params = {})
|
1193
1371
|
# @param [Hash] params ({})
|
1194
1372
|
def get_on_premises_instance(params = {}, options = {})
|
@@ -1284,6 +1462,8 @@ module Aws::CodeDeploy
|
|
1284
1462
|
# resp.revisions[0].git_hub_location.commit_id #=> String
|
1285
1463
|
# resp.next_token #=> String
|
1286
1464
|
#
|
1465
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListApplicationRevisions AWS API Documentation
|
1466
|
+
#
|
1287
1467
|
# @overload list_application_revisions(params = {})
|
1288
1468
|
# @param [Hash] params ({})
|
1289
1469
|
def list_application_revisions(params = {}, options = {})
|
@@ -1315,6 +1495,8 @@ module Aws::CodeDeploy
|
|
1315
1495
|
# resp.applications[0] #=> String
|
1316
1496
|
# resp.next_token #=> String
|
1317
1497
|
#
|
1498
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListApplications AWS API Documentation
|
1499
|
+
#
|
1318
1500
|
# @overload list_applications(params = {})
|
1319
1501
|
# @param [Hash] params ({})
|
1320
1502
|
def list_applications(params = {}, options = {})
|
@@ -1347,6 +1529,8 @@ module Aws::CodeDeploy
|
|
1347
1529
|
# resp.deployment_configs_list[0] #=> String
|
1348
1530
|
# resp.next_token #=> String
|
1349
1531
|
#
|
1532
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeploymentConfigs AWS API Documentation
|
1533
|
+
#
|
1350
1534
|
# @overload list_deployment_configs(params = {})
|
1351
1535
|
# @param [Hash] params ({})
|
1352
1536
|
def list_deployment_configs(params = {}, options = {})
|
@@ -1386,6 +1570,8 @@ module Aws::CodeDeploy
|
|
1386
1570
|
# resp.deployment_groups[0] #=> String
|
1387
1571
|
# resp.next_token #=> String
|
1388
1572
|
#
|
1573
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeploymentGroups AWS API Documentation
|
1574
|
+
#
|
1389
1575
|
# @overload list_deployment_groups(params = {})
|
1390
1576
|
# @param [Hash] params ({})
|
1391
1577
|
def list_deployment_groups(params = {}, options = {})
|
@@ -1421,6 +1607,12 @@ module Aws::CodeDeploy
|
|
1421
1607
|
# * Unknown: Include those instance with deployments in an unknown
|
1422
1608
|
# state.
|
1423
1609
|
#
|
1610
|
+
# @option params [Array<String>] :instance_type_filter
|
1611
|
+
# The set of instances in a blue/green deployment, either those in the
|
1612
|
+
# original environment ("BLUE") or those in the replacement
|
1613
|
+
# environment ("GREEN"), for which you want to view instance
|
1614
|
+
# information.
|
1615
|
+
#
|
1424
1616
|
# @return [Types::ListDeploymentInstancesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1425
1617
|
#
|
1426
1618
|
# * {Types::ListDeploymentInstancesOutput#instances_list #instances_list} => Array<String>
|
@@ -1431,7 +1623,8 @@ module Aws::CodeDeploy
|
|
1431
1623
|
# resp = client.list_deployment_instances({
|
1432
1624
|
# deployment_id: "DeploymentId", # required
|
1433
1625
|
# next_token: "NextToken",
|
1434
|
-
# instance_status_filter: ["Pending"], # accepts Pending, InProgress, Succeeded, Failed, Skipped, Unknown
|
1626
|
+
# instance_status_filter: ["Pending"], # accepts Pending, InProgress, Succeeded, Failed, Skipped, Unknown, Ready
|
1627
|
+
# instance_type_filter: ["Blue"], # accepts Blue, Green
|
1435
1628
|
# })
|
1436
1629
|
#
|
1437
1630
|
# @example Response structure
|
@@ -1440,6 +1633,8 @@ module Aws::CodeDeploy
|
|
1440
1633
|
# resp.instances_list[0] #=> String
|
1441
1634
|
# resp.next_token #=> String
|
1442
1635
|
#
|
1636
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeploymentInstances AWS API Documentation
|
1637
|
+
#
|
1443
1638
|
# @overload list_deployment_instances(params = {})
|
1444
1639
|
# @param [Hash] params ({})
|
1445
1640
|
def list_deployment_instances(params = {}, options = {})
|
@@ -1491,7 +1686,7 @@ module Aws::CodeDeploy
|
|
1491
1686
|
# resp = client.list_deployments({
|
1492
1687
|
# application_name: "ApplicationName",
|
1493
1688
|
# deployment_group_name: "DeploymentGroupName",
|
1494
|
-
# include_only_statuses: ["Created"], # accepts Created, Queued, InProgress, Succeeded, Failed, Stopped
|
1689
|
+
# include_only_statuses: ["Created"], # accepts Created, Queued, InProgress, Succeeded, Failed, Stopped, Ready
|
1495
1690
|
# create_time_range: {
|
1496
1691
|
# start: Time.now,
|
1497
1692
|
# end: Time.now,
|
@@ -1505,6 +1700,8 @@ module Aws::CodeDeploy
|
|
1505
1700
|
# resp.deployments[0] #=> String
|
1506
1701
|
# resp.next_token #=> String
|
1507
1702
|
#
|
1703
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeployments AWS API Documentation
|
1704
|
+
#
|
1508
1705
|
# @overload list_deployments(params = {})
|
1509
1706
|
# @param [Hash] params ({})
|
1510
1707
|
def list_deployments(params = {}, options = {})
|
@@ -1562,6 +1759,8 @@ module Aws::CodeDeploy
|
|
1562
1759
|
# resp.instance_names[0] #=> String
|
1563
1760
|
# resp.next_token #=> String
|
1564
1761
|
#
|
1762
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListOnPremisesInstances AWS API Documentation
|
1763
|
+
#
|
1565
1764
|
# @overload list_on_premises_instances(params = {})
|
1566
1765
|
# @param [Hash] params ({})
|
1567
1766
|
def list_on_premises_instances(params = {}, options = {})
|
@@ -1606,6 +1805,8 @@ module Aws::CodeDeploy
|
|
1606
1805
|
# },
|
1607
1806
|
# })
|
1608
1807
|
#
|
1808
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/RegisterApplicationRevision AWS API Documentation
|
1809
|
+
#
|
1609
1810
|
# @overload register_application_revision(params = {})
|
1610
1811
|
# @param [Hash] params ({})
|
1611
1812
|
def register_application_revision(params = {}, options = {})
|
@@ -1639,6 +1840,8 @@ module Aws::CodeDeploy
|
|
1639
1840
|
# iam_user_arn: "IamUserArn",
|
1640
1841
|
# })
|
1641
1842
|
#
|
1843
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/RegisterOnPremisesInstance AWS API Documentation
|
1844
|
+
#
|
1642
1845
|
# @overload register_on_premises_instance(params = {})
|
1643
1846
|
# @param [Hash] params ({})
|
1644
1847
|
def register_on_premises_instance(params = {}, options = {})
|
@@ -1668,6 +1871,8 @@ module Aws::CodeDeploy
|
|
1668
1871
|
# instance_names: ["InstanceName"], # required
|
1669
1872
|
# })
|
1670
1873
|
#
|
1874
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/RemoveTagsFromOnPremisesInstances AWS API Documentation
|
1875
|
+
#
|
1671
1876
|
# @overload remove_tags_from_on_premises_instances(params = {})
|
1672
1877
|
# @param [Hash] params ({})
|
1673
1878
|
def remove_tags_from_on_premises_instances(params = {}, options = {})
|
@@ -1675,6 +1880,31 @@ module Aws::CodeDeploy
|
|
1675
1880
|
req.send_request(options)
|
1676
1881
|
end
|
1677
1882
|
|
1883
|
+
# In a blue/green deployment, overrides any specified wait time and
|
1884
|
+
# starts terminating instances immediately after the traffic routing is
|
1885
|
+
# completed.
|
1886
|
+
#
|
1887
|
+
# @option params [String] :deployment_id
|
1888
|
+
# The ID of the blue/green deployment for which you want to skip the
|
1889
|
+
# instance termination wait time.
|
1890
|
+
#
|
1891
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1892
|
+
#
|
1893
|
+
# @example Request syntax with placeholder values
|
1894
|
+
#
|
1895
|
+
# resp = client.skip_wait_time_for_instance_termination({
|
1896
|
+
# deployment_id: "DeploymentId",
|
1897
|
+
# })
|
1898
|
+
#
|
1899
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/SkipWaitTimeForInstanceTermination AWS API Documentation
|
1900
|
+
#
|
1901
|
+
# @overload skip_wait_time_for_instance_termination(params = {})
|
1902
|
+
# @param [Hash] params ({})
|
1903
|
+
def skip_wait_time_for_instance_termination(params = {}, options = {})
|
1904
|
+
req = build_request(:skip_wait_time_for_instance_termination, params)
|
1905
|
+
req.send_request(options)
|
1906
|
+
end
|
1907
|
+
|
1678
1908
|
# Attempts to stop an ongoing deployment.
|
1679
1909
|
#
|
1680
1910
|
# @option params [required, String] :deployment_id
|
@@ -1702,6 +1932,8 @@ module Aws::CodeDeploy
|
|
1702
1932
|
# resp.status #=> String, one of "Pending", "Succeeded"
|
1703
1933
|
# resp.status_message #=> String
|
1704
1934
|
#
|
1935
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/StopDeployment AWS API Documentation
|
1936
|
+
#
|
1705
1937
|
# @overload stop_deployment(params = {})
|
1706
1938
|
# @param [Hash] params ({})
|
1707
1939
|
def stop_deployment(params = {}, options = {})
|
@@ -1726,6 +1958,8 @@ module Aws::CodeDeploy
|
|
1726
1958
|
# new_application_name: "ApplicationName",
|
1727
1959
|
# })
|
1728
1960
|
#
|
1961
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/UpdateApplication AWS API Documentation
|
1962
|
+
#
|
1729
1963
|
# @overload update_application(params = {})
|
1730
1964
|
# @param [Hash] params ({})
|
1731
1965
|
def update_application(params = {}, options = {})
|
@@ -1784,6 +2018,18 @@ module Aws::CodeDeploy
|
|
1784
2018
|
# Information for an automatic rollback configuration that is added or
|
1785
2019
|
# changed when a deployment group is updated.
|
1786
2020
|
#
|
2021
|
+
# @option params [Types::DeploymentStyle] :deployment_style
|
2022
|
+
# Information about the type of deployment, either standard or
|
2023
|
+
# blue/green, you want to run and whether to route deployment traffic
|
2024
|
+
# behind a load balancer.
|
2025
|
+
#
|
2026
|
+
# @option params [Types::BlueGreenDeploymentConfiguration] :blue_green_deployment_configuration
|
2027
|
+
# Information about blue/green deployment options for a deployment
|
2028
|
+
# group.
|
2029
|
+
#
|
2030
|
+
# @option params [Types::LoadBalancerInfo] :load_balancer_info
|
2031
|
+
# Information about the load balancer used in a blue/green deployment.
|
2032
|
+
#
|
1787
2033
|
# @return [Types::UpdateDeploymentGroupOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1788
2034
|
#
|
1789
2035
|
# * {Types::UpdateDeploymentGroupOutput#hooks_not_cleaned_up #hooks_not_cleaned_up} => Array<Types::AutoScalingGroup>
|
@@ -1815,7 +2061,7 @@ module Aws::CodeDeploy
|
|
1815
2061
|
# {
|
1816
2062
|
# trigger_name: "TriggerName",
|
1817
2063
|
# trigger_target_arn: "TriggerTargetArn",
|
1818
|
-
# trigger_events: ["DeploymentStart"], # accepts DeploymentStart, DeploymentSuccess, DeploymentFailure, DeploymentStop, DeploymentRollback, InstanceStart, InstanceSuccess, InstanceFailure
|
2064
|
+
# trigger_events: ["DeploymentStart"], # accepts DeploymentStart, DeploymentSuccess, DeploymentFailure, DeploymentStop, DeploymentRollback, DeploymentReady, InstanceStart, InstanceSuccess, InstanceFailure, InstanceReady
|
1819
2065
|
# },
|
1820
2066
|
# ],
|
1821
2067
|
# alarm_configuration: {
|
@@ -1831,6 +2077,30 @@ module Aws::CodeDeploy
|
|
1831
2077
|
# enabled: false,
|
1832
2078
|
# events: ["DEPLOYMENT_FAILURE"], # accepts DEPLOYMENT_FAILURE, DEPLOYMENT_STOP_ON_ALARM, DEPLOYMENT_STOP_ON_REQUEST
|
1833
2079
|
# },
|
2080
|
+
# deployment_style: {
|
2081
|
+
# deployment_type: "IN_PLACE", # accepts IN_PLACE, BLUE_GREEN
|
2082
|
+
# deployment_option: "WITH_TRAFFIC_CONTROL", # accepts WITH_TRAFFIC_CONTROL, WITHOUT_TRAFFIC_CONTROL
|
2083
|
+
# },
|
2084
|
+
# blue_green_deployment_configuration: {
|
2085
|
+
# terminate_blue_instances_on_deployment_success: {
|
2086
|
+
# action: "TERMINATE", # accepts TERMINATE, KEEP_ALIVE
|
2087
|
+
# termination_wait_time_in_minutes: 1,
|
2088
|
+
# },
|
2089
|
+
# deployment_ready_option: {
|
2090
|
+
# action_on_timeout: "CONTINUE_DEPLOYMENT", # accepts CONTINUE_DEPLOYMENT, STOP_DEPLOYMENT
|
2091
|
+
# wait_time_in_minutes: 1,
|
2092
|
+
# },
|
2093
|
+
# green_fleet_provisioning_option: {
|
2094
|
+
# action: "DISCOVER_EXISTING", # accepts DISCOVER_EXISTING, COPY_AUTO_SCALING_GROUP
|
2095
|
+
# },
|
2096
|
+
# },
|
2097
|
+
# load_balancer_info: {
|
2098
|
+
# elb_info_list: [
|
2099
|
+
# {
|
2100
|
+
# name: "ELBName",
|
2101
|
+
# },
|
2102
|
+
# ],
|
2103
|
+
# },
|
1834
2104
|
# })
|
1835
2105
|
#
|
1836
2106
|
# @example Response structure
|
@@ -1839,6 +2109,8 @@ module Aws::CodeDeploy
|
|
1839
2109
|
# resp.hooks_not_cleaned_up[0].name #=> String
|
1840
2110
|
# resp.hooks_not_cleaned_up[0].hook #=> String
|
1841
2111
|
#
|
2112
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/UpdateDeploymentGroup AWS API Documentation
|
2113
|
+
#
|
1842
2114
|
# @overload update_deployment_group(params = {})
|
1843
2115
|
# @param [Hash] params ({})
|
1844
2116
|
def update_deployment_group(params = {}, options = {})
|
@@ -1859,7 +2131,7 @@ module Aws::CodeDeploy
|
|
1859
2131
|
params: params,
|
1860
2132
|
config: config)
|
1861
2133
|
context[:gem_name] = 'aws-sdk-codedeploy'
|
1862
|
-
context[:gem_version] = '1.0.0.
|
2134
|
+
context[:gem_version] = '1.0.0.rc3'
|
1863
2135
|
Seahorse::Client::Request.new(handlers, context)
|
1864
2136
|
end
|
1865
2137
|
|