aws-sdk-codedeploy 1.0.0.rc6 → 1.0.0.rc7
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.
- checksums.yaml +4 -4
- data/lib/aws-sdk-codedeploy.rb +1 -1
- data/lib/aws-sdk-codedeploy/client.rb +52 -14
- data/lib/aws-sdk-codedeploy/client_api.rb +8 -0
- data/lib/aws-sdk-codedeploy/types.rb +78 -24
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f7e360a278c2d21c3f7946d3122ff9cff2f427fd
|
4
|
+
data.tar.gz: 64589842b7b22e9aa00a59768fe8f261b56c8416
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 984e6f51cd15e1250a829790fa4c1dd8c1314c4ede0cfa2d340039dc8ab4586cbe83ec725b54e724631141e65612f5f09fa4f6bcc5a337eafbcefde2d6f75afa
|
7
|
+
data.tar.gz: 86410162ef520dde29b6c4da98b13ad73cd4ac53dddf3d729e9b1fa048604021d077b54d639b6bf41ba771a1d1d6390628fa8ee728b2cadec80fb544c17dbcff
|
data/lib/aws-sdk-codedeploy.rb
CHANGED
@@ -439,6 +439,14 @@ module Aws::CodeDeploy
|
|
439
439
|
# resp.deployments_info[0].deployment_group_name #=> String
|
440
440
|
# resp.deployments_info[0].deployment_config_name #=> String
|
441
441
|
# resp.deployments_info[0].deployment_id #=> String
|
442
|
+
# resp.deployments_info[0].previous_revision.revision_type #=> String, one of "S3", "GitHub"
|
443
|
+
# resp.deployments_info[0].previous_revision.s3_location.bucket #=> String
|
444
|
+
# resp.deployments_info[0].previous_revision.s3_location.key #=> String
|
445
|
+
# resp.deployments_info[0].previous_revision.s3_location.bundle_type #=> String, one of "tar", "tgz", "zip"
|
446
|
+
# resp.deployments_info[0].previous_revision.s3_location.version #=> String
|
447
|
+
# resp.deployments_info[0].previous_revision.s3_location.e_tag #=> String
|
448
|
+
# resp.deployments_info[0].previous_revision.git_hub_location.repository #=> String
|
449
|
+
# resp.deployments_info[0].previous_revision.git_hub_location.commit_id #=> String
|
442
450
|
# resp.deployments_info[0].revision.revision_type #=> String, one of "S3", "GitHub"
|
443
451
|
# resp.deployments_info[0].revision.s3_location.bucket #=> String
|
444
452
|
# resp.deployments_info[0].revision.s3_location.key #=> String
|
@@ -486,6 +494,7 @@ module Aws::CodeDeploy
|
|
486
494
|
# resp.deployments_info[0].load_balancer_info.elb_info_list #=> Array
|
487
495
|
# resp.deployments_info[0].load_balancer_info.elb_info_list[0].name #=> String
|
488
496
|
# resp.deployments_info[0].additional_deployment_status_info #=> String
|
497
|
+
# resp.deployments_info[0].file_exists_behavior #=> String, one of "DISALLOW", "OVERWRITE", "RETAIN"
|
489
498
|
#
|
490
499
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetDeployments AWS API Documentation
|
491
500
|
#
|
@@ -533,12 +542,12 @@ module Aws::CodeDeploy
|
|
533
542
|
req.send_request(options)
|
534
543
|
end
|
535
544
|
|
536
|
-
#
|
537
|
-
#
|
538
|
-
# for a specified wait time to
|
539
|
-
#
|
540
|
-
# the load balancer, can start as
|
541
|
-
# Ready.)
|
545
|
+
# For a blue/green deployment, starts the process of rerouting traffic
|
546
|
+
# from instances in the original environment to instances in the
|
547
|
+
# replacement environment without waiting for a specified wait time to
|
548
|
+
# elapse. (Traffic rerouting, which is achieved by registering instances
|
549
|
+
# in the replacement environment with the load balancer, can start as
|
550
|
+
# soon as all instances have a status of Ready.)
|
542
551
|
#
|
543
552
|
# @option params [String] :deployment_id
|
544
553
|
# The deployment ID of the blue/green deployment for which you want to
|
@@ -638,6 +647,23 @@ module Aws::CodeDeploy
|
|
638
647
|
# Indicates whether to deploy to all instances or only to instances that
|
639
648
|
# are not running the latest application revision.
|
640
649
|
#
|
650
|
+
# @option params [String] :file_exists_behavior
|
651
|
+
# Information about how AWS CodeDeploy handles files that already exist
|
652
|
+
# in a deployment target location but weren't part of the previous
|
653
|
+
# successful deployment.
|
654
|
+
#
|
655
|
+
# The fileExistsBehavior parameter takes any of the following values:
|
656
|
+
#
|
657
|
+
# * DISALLOW: The deployment fails. This is also the default behavior if
|
658
|
+
# no option is specified.
|
659
|
+
#
|
660
|
+
# * OVERWRITE: The version of the file from the application revision
|
661
|
+
# currently being deployed replaces the version already on the
|
662
|
+
# instance.
|
663
|
+
#
|
664
|
+
# * RETAIN: The version of the file already on the instance is kept and
|
665
|
+
# used as part of the new deployment.
|
666
|
+
#
|
641
667
|
# @return [Types::CreateDeploymentOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
642
668
|
#
|
643
669
|
# * {Types::CreateDeploymentOutput#deployment_id #deployment_id} => String
|
@@ -679,6 +705,7 @@ module Aws::CodeDeploy
|
|
679
705
|
# events: ["DEPLOYMENT_FAILURE"], # accepts DEPLOYMENT_FAILURE, DEPLOYMENT_STOP_ON_ALARM, DEPLOYMENT_STOP_ON_REQUEST
|
680
706
|
# },
|
681
707
|
# update_outdated_instances_only: false,
|
708
|
+
# file_exists_behavior: "DISALLOW", # accepts DISALLOW, OVERWRITE, RETAIN
|
682
709
|
# })
|
683
710
|
#
|
684
711
|
# @example Response structure
|
@@ -768,7 +795,7 @@ module Aws::CodeDeploy
|
|
768
795
|
# the deployment group.
|
769
796
|
#
|
770
797
|
# For more information about the predefined deployment configurations in
|
771
|
-
# AWS CodeDeploy, see
|
798
|
+
# AWS CodeDeploy, see [Working with Deployment Groups in AWS
|
772
799
|
# CodeDeploy][1] in the AWS CodeDeploy User Guide.
|
773
800
|
#
|
774
801
|
#
|
@@ -776,10 +803,12 @@ module Aws::CodeDeploy
|
|
776
803
|
# [1]: http://docs.aws.amazon.com/codedeploy/latest/userguide/deployment-configurations.html
|
777
804
|
#
|
778
805
|
# @option params [Array<Types::EC2TagFilter>] :ec2_tag_filters
|
779
|
-
# The Amazon EC2 tags on which to filter.
|
806
|
+
# The Amazon EC2 tags on which to filter. The deployment group will
|
807
|
+
# include EC2 instances with any of the specified tags.
|
780
808
|
#
|
781
809
|
# @option params [Array<Types::TagFilter>] :on_premises_instance_tag_filters
|
782
|
-
# The on-premises instance tags on which to filter.
|
810
|
+
# The on-premises instance tags on which to filter. The deployment group
|
811
|
+
# will include on-premises instances with any of the specified tags.
|
783
812
|
#
|
784
813
|
# @option params [Array<String>] :auto_scaling_groups
|
785
814
|
# A list of associated Auto Scaling groups.
|
@@ -806,7 +835,7 @@ module Aws::CodeDeploy
|
|
806
835
|
# a deployment group is created.
|
807
836
|
#
|
808
837
|
# @option params [Types::DeploymentStyle] :deployment_style
|
809
|
-
# Information about the type of deployment,
|
838
|
+
# Information about the type of deployment, in-place or blue/green, that
|
810
839
|
# you want to run and whether to route deployment traffic behind a load
|
811
840
|
# balancer.
|
812
841
|
#
|
@@ -815,7 +844,7 @@ module Aws::CodeDeploy
|
|
815
844
|
# group.
|
816
845
|
#
|
817
846
|
# @option params [Types::LoadBalancerInfo] :load_balancer_info
|
818
|
-
# Information about the load balancer used in a
|
847
|
+
# Information about the load balancer used in a deployment.
|
819
848
|
#
|
820
849
|
# @return [Types::CreateDeploymentGroupOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
821
850
|
#
|
@@ -1127,6 +1156,14 @@ module Aws::CodeDeploy
|
|
1127
1156
|
# resp.deployment_info.deployment_group_name #=> String
|
1128
1157
|
# resp.deployment_info.deployment_config_name #=> String
|
1129
1158
|
# resp.deployment_info.deployment_id #=> String
|
1159
|
+
# resp.deployment_info.previous_revision.revision_type #=> String, one of "S3", "GitHub"
|
1160
|
+
# resp.deployment_info.previous_revision.s3_location.bucket #=> String
|
1161
|
+
# resp.deployment_info.previous_revision.s3_location.key #=> String
|
1162
|
+
# resp.deployment_info.previous_revision.s3_location.bundle_type #=> String, one of "tar", "tgz", "zip"
|
1163
|
+
# resp.deployment_info.previous_revision.s3_location.version #=> String
|
1164
|
+
# resp.deployment_info.previous_revision.s3_location.e_tag #=> String
|
1165
|
+
# resp.deployment_info.previous_revision.git_hub_location.repository #=> String
|
1166
|
+
# resp.deployment_info.previous_revision.git_hub_location.commit_id #=> String
|
1130
1167
|
# resp.deployment_info.revision.revision_type #=> String, one of "S3", "GitHub"
|
1131
1168
|
# resp.deployment_info.revision.s3_location.bucket #=> String
|
1132
1169
|
# resp.deployment_info.revision.s3_location.key #=> String
|
@@ -1174,6 +1211,7 @@ module Aws::CodeDeploy
|
|
1174
1211
|
# resp.deployment_info.load_balancer_info.elb_info_list #=> Array
|
1175
1212
|
# resp.deployment_info.load_balancer_info.elb_info_list[0].name #=> String
|
1176
1213
|
# resp.deployment_info.additional_deployment_status_info #=> String
|
1214
|
+
# resp.deployment_info.file_exists_behavior #=> String, one of "DISALLOW", "OVERWRITE", "RETAIN"
|
1177
1215
|
#
|
1178
1216
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeployment AWS API Documentation
|
1179
1217
|
#
|
@@ -2021,7 +2059,7 @@ module Aws::CodeDeploy
|
|
2021
2059
|
# changed when a deployment group is updated.
|
2022
2060
|
#
|
2023
2061
|
# @option params [Types::DeploymentStyle] :deployment_style
|
2024
|
-
# Information about the type of deployment, either
|
2062
|
+
# Information about the type of deployment, either in-place or
|
2025
2063
|
# blue/green, you want to run and whether to route deployment traffic
|
2026
2064
|
# behind a load balancer.
|
2027
2065
|
#
|
@@ -2030,7 +2068,7 @@ module Aws::CodeDeploy
|
|
2030
2068
|
# group.
|
2031
2069
|
#
|
2032
2070
|
# @option params [Types::LoadBalancerInfo] :load_balancer_info
|
2033
|
-
# Information about the load balancer used in a
|
2071
|
+
# Information about the load balancer used in a deployment.
|
2034
2072
|
#
|
2035
2073
|
# @return [Types::UpdateDeploymentGroupOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2036
2074
|
#
|
@@ -2133,7 +2171,7 @@ module Aws::CodeDeploy
|
|
2133
2171
|
params: params,
|
2134
2172
|
config: config)
|
2135
2173
|
context[:gem_name] = 'aws-sdk-codedeploy'
|
2136
|
-
context[:gem_version] = '1.0.0.
|
2174
|
+
context[:gem_version] = '1.0.0.rc7'
|
2137
2175
|
Seahorse::Client::Request.new(handlers, context)
|
2138
2176
|
end
|
2139
2177
|
|
@@ -120,6 +120,7 @@ module Aws::CodeDeploy
|
|
120
120
|
ErrorCode = Shapes::StringShape.new(name: 'ErrorCode')
|
121
121
|
ErrorInformation = Shapes::StructureShape.new(name: 'ErrorInformation')
|
122
122
|
ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
|
123
|
+
FileExistsBehavior = Shapes::StringShape.new(name: 'FileExistsBehavior')
|
123
124
|
GenericRevisionInfo = Shapes::StructureShape.new(name: 'GenericRevisionInfo')
|
124
125
|
GetApplicationInput = Shapes::StructureShape.new(name: 'GetApplicationInput')
|
125
126
|
GetApplicationOutput = Shapes::StructureShape.new(name: 'GetApplicationOutput')
|
@@ -175,9 +176,11 @@ module Aws::CodeDeploy
|
|
175
176
|
InvalidDeploymentConfigNameException = Shapes::StructureShape.new(name: 'InvalidDeploymentConfigNameException')
|
176
177
|
InvalidDeploymentGroupNameException = Shapes::StructureShape.new(name: 'InvalidDeploymentGroupNameException')
|
177
178
|
InvalidDeploymentIdException = Shapes::StructureShape.new(name: 'InvalidDeploymentIdException')
|
179
|
+
InvalidDeploymentInstanceTypeException = Shapes::StructureShape.new(name: 'InvalidDeploymentInstanceTypeException')
|
178
180
|
InvalidDeploymentStatusException = Shapes::StructureShape.new(name: 'InvalidDeploymentStatusException')
|
179
181
|
InvalidDeploymentStyleException = Shapes::StructureShape.new(name: 'InvalidDeploymentStyleException')
|
180
182
|
InvalidEC2TagException = Shapes::StructureShape.new(name: 'InvalidEC2TagException')
|
183
|
+
InvalidFileExistsBehaviorException = Shapes::StructureShape.new(name: 'InvalidFileExistsBehaviorException')
|
181
184
|
InvalidIamSessionArnException = Shapes::StructureShape.new(name: 'InvalidIamSessionArnException')
|
182
185
|
InvalidIamUserArnException = Shapes::StructureShape.new(name: 'InvalidIamUserArnException')
|
183
186
|
InvalidInstanceNameException = Shapes::StructureShape.new(name: 'InvalidInstanceNameException')
|
@@ -411,6 +414,7 @@ module Aws::CodeDeploy
|
|
411
414
|
CreateDeploymentInput.add_member(:target_instances, Shapes::ShapeRef.new(shape: TargetInstances, location_name: "targetInstances"))
|
412
415
|
CreateDeploymentInput.add_member(:auto_rollback_configuration, Shapes::ShapeRef.new(shape: AutoRollbackConfiguration, location_name: "autoRollbackConfiguration"))
|
413
416
|
CreateDeploymentInput.add_member(:update_outdated_instances_only, Shapes::ShapeRef.new(shape: Boolean, location_name: "updateOutdatedInstancesOnly"))
|
417
|
+
CreateDeploymentInput.add_member(:file_exists_behavior, Shapes::ShapeRef.new(shape: FileExistsBehavior, location_name: "fileExistsBehavior"))
|
414
418
|
CreateDeploymentInput.struct_class = Types::CreateDeploymentInput
|
415
419
|
|
416
420
|
CreateDeploymentOutput.add_member(:deployment_id, Shapes::ShapeRef.new(shape: DeploymentId, location_name: "deploymentId"))
|
@@ -462,6 +466,7 @@ module Aws::CodeDeploy
|
|
462
466
|
DeploymentInfo.add_member(:deployment_group_name, Shapes::ShapeRef.new(shape: DeploymentGroupName, location_name: "deploymentGroupName"))
|
463
467
|
DeploymentInfo.add_member(:deployment_config_name, Shapes::ShapeRef.new(shape: DeploymentConfigName, location_name: "deploymentConfigName"))
|
464
468
|
DeploymentInfo.add_member(:deployment_id, Shapes::ShapeRef.new(shape: DeploymentId, location_name: "deploymentId"))
|
469
|
+
DeploymentInfo.add_member(:previous_revision, Shapes::ShapeRef.new(shape: RevisionLocation, location_name: "previousRevision"))
|
465
470
|
DeploymentInfo.add_member(:revision, Shapes::ShapeRef.new(shape: RevisionLocation, location_name: "revision"))
|
466
471
|
DeploymentInfo.add_member(:status, Shapes::ShapeRef.new(shape: DeploymentStatus, location_name: "status"))
|
467
472
|
DeploymentInfo.add_member(:error_information, Shapes::ShapeRef.new(shape: ErrorInformation, location_name: "errorInformation"))
|
@@ -481,6 +486,7 @@ module Aws::CodeDeploy
|
|
481
486
|
DeploymentInfo.add_member(:blue_green_deployment_configuration, Shapes::ShapeRef.new(shape: BlueGreenDeploymentConfiguration, location_name: "blueGreenDeploymentConfiguration"))
|
482
487
|
DeploymentInfo.add_member(:load_balancer_info, Shapes::ShapeRef.new(shape: LoadBalancerInfo, location_name: "loadBalancerInfo"))
|
483
488
|
DeploymentInfo.add_member(:additional_deployment_status_info, Shapes::ShapeRef.new(shape: AdditionalDeploymentStatusInfo, location_name: "additionalDeploymentStatusInfo"))
|
489
|
+
DeploymentInfo.add_member(:file_exists_behavior, Shapes::ShapeRef.new(shape: FileExistsBehavior, location_name: "fileExistsBehavior"))
|
484
490
|
DeploymentInfo.struct_class = Types::DeploymentInfo
|
485
491
|
|
486
492
|
DeploymentOverview.add_member(:pending, Shapes::ShapeRef.new(shape: InstanceCount, location_name: "Pending"))
|
@@ -959,6 +965,7 @@ module Aws::CodeDeploy
|
|
959
965
|
o.errors << Shapes::ShapeRef.new(shape: InvalidTargetInstancesException)
|
960
966
|
o.errors << Shapes::ShapeRef.new(shape: InvalidAutoRollbackConfigException)
|
961
967
|
o.errors << Shapes::ShapeRef.new(shape: InvalidLoadBalancerInfoException)
|
968
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidFileExistsBehaviorException)
|
962
969
|
end)
|
963
970
|
|
964
971
|
api.add_operation(:create_deployment_config, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1217,6 +1224,7 @@ module Aws::CodeDeploy
|
|
1217
1224
|
o.errors << Shapes::ShapeRef.new(shape: InvalidDeploymentIdException)
|
1218
1225
|
o.errors << Shapes::ShapeRef.new(shape: InvalidInstanceStatusException)
|
1219
1226
|
o.errors << Shapes::ShapeRef.new(shape: InvalidInstanceTypeException)
|
1227
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidDeploymentInstanceTypeException)
|
1220
1228
|
o[:pager] = Aws::Pager.new(
|
1221
1229
|
tokens: {
|
1222
1230
|
"next_token" => "next_token"
|
@@ -726,7 +726,7 @@ module Aws::CodeDeploy
|
|
726
726
|
# the deployment or the deployment group.
|
727
727
|
#
|
728
728
|
# For more information about the predefined deployment configurations
|
729
|
-
# in AWS CodeDeploy, see
|
729
|
+
# in AWS CodeDeploy, see [Working with Deployment Groups in AWS
|
730
730
|
# CodeDeploy][1] in the AWS CodeDeploy User Guide.
|
731
731
|
#
|
732
732
|
#
|
@@ -735,11 +735,14 @@ module Aws::CodeDeploy
|
|
735
735
|
# @return [String]
|
736
736
|
#
|
737
737
|
# @!attribute [rw] ec2_tag_filters
|
738
|
-
# The Amazon EC2 tags on which to filter.
|
738
|
+
# The Amazon EC2 tags on which to filter. The deployment group will
|
739
|
+
# include EC2 instances with any of the specified tags.
|
739
740
|
# @return [Array<Types::EC2TagFilter>]
|
740
741
|
#
|
741
742
|
# @!attribute [rw] on_premises_instance_tag_filters
|
742
|
-
# The on-premises instance tags on which to filter.
|
743
|
+
# The on-premises instance tags on which to filter. The deployment
|
744
|
+
# group will include on-premises instances with any of the specified
|
745
|
+
# tags.
|
743
746
|
# @return [Array<Types::TagFilter>]
|
744
747
|
#
|
745
748
|
# @!attribute [rw] auto_scaling_groups
|
@@ -772,7 +775,7 @@ module Aws::CodeDeploy
|
|
772
775
|
# @return [Types::AutoRollbackConfiguration]
|
773
776
|
#
|
774
777
|
# @!attribute [rw] deployment_style
|
775
|
-
# Information about the type of deployment,
|
778
|
+
# Information about the type of deployment, in-place or blue/green,
|
776
779
|
# that you want to run and whether to route deployment traffic behind
|
777
780
|
# a load balancer.
|
778
781
|
# @return [Types::DeploymentStyle]
|
@@ -783,7 +786,7 @@ module Aws::CodeDeploy
|
|
783
786
|
# @return [Types::BlueGreenDeploymentConfiguration]
|
784
787
|
#
|
785
788
|
# @!attribute [rw] load_balancer_info
|
786
|
-
# Information about the load balancer used in a
|
789
|
+
# Information about the load balancer used in a deployment.
|
787
790
|
# @return [Types::LoadBalancerInfo]
|
788
791
|
#
|
789
792
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateDeploymentGroupInput AWS API Documentation
|
@@ -858,6 +861,7 @@ module Aws::CodeDeploy
|
|
858
861
|
# events: ["DEPLOYMENT_FAILURE"], # accepts DEPLOYMENT_FAILURE, DEPLOYMENT_STOP_ON_ALARM, DEPLOYMENT_STOP_ON_REQUEST
|
859
862
|
# },
|
860
863
|
# update_outdated_instances_only: false,
|
864
|
+
# file_exists_behavior: "DISALLOW", # accepts DISALLOW, OVERWRITE, RETAIN
|
861
865
|
# }
|
862
866
|
#
|
863
867
|
# @!attribute [rw] application_name
|
@@ -915,6 +919,24 @@ module Aws::CodeDeploy
|
|
915
919
|
# that are not running the latest application revision.
|
916
920
|
# @return [Boolean]
|
917
921
|
#
|
922
|
+
# @!attribute [rw] file_exists_behavior
|
923
|
+
# Information about how AWS CodeDeploy handles files that already
|
924
|
+
# exist in a deployment target location but weren't part of the
|
925
|
+
# previous successful deployment.
|
926
|
+
#
|
927
|
+
# The fileExistsBehavior parameter takes any of the following values:
|
928
|
+
#
|
929
|
+
# * DISALLOW: The deployment fails. This is also the default behavior
|
930
|
+
# if no option is specified.
|
931
|
+
#
|
932
|
+
# * OVERWRITE: The version of the file from the application revision
|
933
|
+
# currently being deployed replaces the version already on the
|
934
|
+
# instance.
|
935
|
+
#
|
936
|
+
# * RETAIN: The version of the file already on the instance is kept
|
937
|
+
# and used as part of the new deployment.
|
938
|
+
# @return [String]
|
939
|
+
#
|
918
940
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateDeploymentInput AWS API Documentation
|
919
941
|
#
|
920
942
|
class CreateDeploymentInput < Struct.new(
|
@@ -926,7 +948,8 @@ module Aws::CodeDeploy
|
|
926
948
|
:ignore_application_stop_failures,
|
927
949
|
:target_instances,
|
928
950
|
:auto_rollback_configuration,
|
929
|
-
:update_outdated_instances_only
|
951
|
+
:update_outdated_instances_only,
|
952
|
+
:file_exists_behavior)
|
930
953
|
include Aws::Structure
|
931
954
|
end
|
932
955
|
|
@@ -1114,7 +1137,7 @@ module Aws::CodeDeploy
|
|
1114
1137
|
# @return [Types::AutoRollbackConfiguration]
|
1115
1138
|
#
|
1116
1139
|
# @!attribute [rw] deployment_style
|
1117
|
-
# Information about the type of deployment, either
|
1140
|
+
# Information about the type of deployment, either in-place or
|
1118
1141
|
# blue/green, you want to run and whether to route deployment traffic
|
1119
1142
|
# behind a load balancer.
|
1120
1143
|
# @return [Types::DeploymentStyle]
|
@@ -1125,8 +1148,7 @@ module Aws::CodeDeploy
|
|
1125
1148
|
# @return [Types::BlueGreenDeploymentConfiguration]
|
1126
1149
|
#
|
1127
1150
|
# @!attribute [rw] load_balancer_info
|
1128
|
-
# Information about the load balancer to use in a
|
1129
|
-
# deployment.
|
1151
|
+
# Information about the load balancer to use in a deployment.
|
1130
1152
|
# @return [Types::LoadBalancerInfo]
|
1131
1153
|
#
|
1132
1154
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeploymentGroupInfo AWS API Documentation
|
@@ -1168,6 +1190,11 @@ module Aws::CodeDeploy
|
|
1168
1190
|
# The deployment ID.
|
1169
1191
|
# @return [String]
|
1170
1192
|
#
|
1193
|
+
# @!attribute [rw] previous_revision
|
1194
|
+
# Information about the application revision that was deployed to the
|
1195
|
+
# deployment group before the most recent successful deployment.
|
1196
|
+
# @return [Types::RevisionLocation]
|
1197
|
+
#
|
1171
1198
|
# @!attribute [rw] revision
|
1172
1199
|
# Information about the location of stored application artifacts and
|
1173
1200
|
# the service from which to retrieve them.
|
@@ -1246,7 +1273,7 @@ module Aws::CodeDeploy
|
|
1246
1273
|
# @return [Types::RollbackInfo]
|
1247
1274
|
#
|
1248
1275
|
# @!attribute [rw] deployment_style
|
1249
|
-
# Information about the type of deployment, either
|
1276
|
+
# Information about the type of deployment, either in-place or
|
1250
1277
|
# blue/green, you want to run and whether to route deployment traffic
|
1251
1278
|
# behind a load balancer.
|
1252
1279
|
# @return [Types::DeploymentStyle]
|
@@ -1268,8 +1295,7 @@ module Aws::CodeDeploy
|
|
1268
1295
|
# @return [Types::BlueGreenDeploymentConfiguration]
|
1269
1296
|
#
|
1270
1297
|
# @!attribute [rw] load_balancer_info
|
1271
|
-
# Information about the load balancer used in
|
1272
|
-
# deployment.
|
1298
|
+
# Information about the load balancer used in the deployment.
|
1273
1299
|
# @return [Types::LoadBalancerInfo]
|
1274
1300
|
#
|
1275
1301
|
# @!attribute [rw] additional_deployment_status_info
|
@@ -1278,6 +1304,22 @@ module Aws::CodeDeploy
|
|
1278
1304
|
# deployment were not terminated.
|
1279
1305
|
# @return [String]
|
1280
1306
|
#
|
1307
|
+
# @!attribute [rw] file_exists_behavior
|
1308
|
+
# Information about how AWS CodeDeploy handles files that already
|
1309
|
+
# exist in a deployment target location but weren't part of the
|
1310
|
+
# previous successful deployment.
|
1311
|
+
#
|
1312
|
+
# * DISALLOW: The deployment fails. This is also the default behavior
|
1313
|
+
# if no option is specified.
|
1314
|
+
#
|
1315
|
+
# * OVERWRITE: The version of the file from the application revision
|
1316
|
+
# currently being deployed replaces the version already on the
|
1317
|
+
# instance.
|
1318
|
+
#
|
1319
|
+
# * RETAIN: The version of the file already on the instance is kept
|
1320
|
+
# and used as part of the new deployment.
|
1321
|
+
# @return [String]
|
1322
|
+
#
|
1281
1323
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeploymentInfo AWS API Documentation
|
1282
1324
|
#
|
1283
1325
|
class DeploymentInfo < Struct.new(
|
@@ -1285,6 +1327,7 @@ module Aws::CodeDeploy
|
|
1285
1327
|
:deployment_group_name,
|
1286
1328
|
:deployment_config_name,
|
1287
1329
|
:deployment_id,
|
1330
|
+
:previous_revision,
|
1288
1331
|
:revision,
|
1289
1332
|
:status,
|
1290
1333
|
:error_information,
|
@@ -1303,7 +1346,8 @@ module Aws::CodeDeploy
|
|
1303
1346
|
:instance_termination_wait_time_started,
|
1304
1347
|
:blue_green_deployment_configuration,
|
1305
1348
|
:load_balancer_info,
|
1306
|
-
:additional_deployment_status_info
|
1349
|
+
:additional_deployment_status_info,
|
1350
|
+
:file_exists_behavior)
|
1307
1351
|
include Aws::Structure
|
1308
1352
|
end
|
1309
1353
|
|
@@ -1387,7 +1431,7 @@ module Aws::CodeDeploy
|
|
1387
1431
|
include Aws::Structure
|
1388
1432
|
end
|
1389
1433
|
|
1390
|
-
# Information about the type of deployment, either
|
1434
|
+
# Information about the type of deployment, either in-place or
|
1391
1435
|
# blue/green, you want to run and whether to route deployment traffic
|
1392
1436
|
# behind a load balancer.
|
1393
1437
|
#
|
@@ -1400,7 +1444,7 @@ module Aws::CodeDeploy
|
|
1400
1444
|
# }
|
1401
1445
|
#
|
1402
1446
|
# @!attribute [rw] deployment_type
|
1403
|
-
# Indicates whether to run
|
1447
|
+
# Indicates whether to run an in-place deployment or a blue/green
|
1404
1448
|
# deployment.
|
1405
1449
|
# @return [String]
|
1406
1450
|
#
|
@@ -1485,7 +1529,7 @@ module Aws::CodeDeploy
|
|
1485
1529
|
include Aws::Structure
|
1486
1530
|
end
|
1487
1531
|
|
1488
|
-
# Information about
|
1532
|
+
# Information about an EC2 tag filter.
|
1489
1533
|
#
|
1490
1534
|
# @note When making an API call, you may pass EC2TagFilter
|
1491
1535
|
# data as a hash:
|
@@ -1524,7 +1568,7 @@ module Aws::CodeDeploy
|
|
1524
1568
|
end
|
1525
1569
|
|
1526
1570
|
# Information about a load balancer in Elastic Load Balancing to use in
|
1527
|
-
# a
|
1571
|
+
# a deployment.
|
1528
1572
|
#
|
1529
1573
|
# @note When making an API call, you may pass ELBInfo
|
1530
1574
|
# data as a hash:
|
@@ -1534,9 +1578,12 @@ module Aws::CodeDeploy
|
|
1534
1578
|
# }
|
1535
1579
|
#
|
1536
1580
|
# @!attribute [rw] name
|
1537
|
-
#
|
1538
|
-
# from original instances to replacement
|
1539
|
-
# deployment.
|
1581
|
+
# For blue/green deployments, the name of the load balancer that will
|
1582
|
+
# be used to route traffic from original instances to replacement
|
1583
|
+
# instances in a blue/green deployment. For in-place deployments, the
|
1584
|
+
# name of the load balancer that instances are deregistered from so
|
1585
|
+
# they are not serving traffic during a deployment, and then
|
1586
|
+
# re-registered with after the deployment completes.
|
1540
1587
|
# @return [String]
|
1541
1588
|
#
|
1542
1589
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ELBInfo AWS API Documentation
|
@@ -2609,7 +2656,7 @@ module Aws::CodeDeploy
|
|
2609
2656
|
include Aws::Structure
|
2610
2657
|
end
|
2611
2658
|
|
2612
|
-
# Information about the load balancer used in a
|
2659
|
+
# Information about the load balancer used in a deployment.
|
2613
2660
|
#
|
2614
2661
|
# @note When making an API call, you may pass LoadBalancerInfo
|
2615
2662
|
# data as a hash:
|
@@ -2624,7 +2671,7 @@ module Aws::CodeDeploy
|
|
2624
2671
|
#
|
2625
2672
|
# @!attribute [rw] elb_info_list
|
2626
2673
|
# An array containing information about the load balancer in Elastic
|
2627
|
-
# Load Balancing to use in a
|
2674
|
+
# Load Balancing to use in a deployment.
|
2628
2675
|
# @return [Array<Types::ELBInfo>]
|
2629
2676
|
#
|
2630
2677
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/LoadBalancerInfo AWS API Documentation
|
@@ -2678,6 +2725,13 @@ module Aws::CodeDeploy
|
|
2678
2725
|
# succeeds.
|
2679
2726
|
#
|
2680
2727
|
# </note>
|
2728
|
+
#
|
2729
|
+
# For more information, see [AWS CodeDeploy Instance Health][1] in the
|
2730
|
+
# *AWS CodeDeploy User Guide*.
|
2731
|
+
#
|
2732
|
+
#
|
2733
|
+
#
|
2734
|
+
# [1]: http://docs.aws.amazon.com/codedeploy/latest/userguide/instances-health.html
|
2681
2735
|
# @return [String]
|
2682
2736
|
#
|
2683
2737
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/MinimumHealthyHosts AWS API Documentation
|
@@ -3349,7 +3403,7 @@ module Aws::CodeDeploy
|
|
3349
3403
|
# @return [Types::AutoRollbackConfiguration]
|
3350
3404
|
#
|
3351
3405
|
# @!attribute [rw] deployment_style
|
3352
|
-
# Information about the type of deployment, either
|
3406
|
+
# Information about the type of deployment, either in-place or
|
3353
3407
|
# blue/green, you want to run and whether to route deployment traffic
|
3354
3408
|
# behind a load balancer.
|
3355
3409
|
# @return [Types::DeploymentStyle]
|
@@ -3360,7 +3414,7 @@ module Aws::CodeDeploy
|
|
3360
3414
|
# @return [Types::BlueGreenDeploymentConfiguration]
|
3361
3415
|
#
|
3362
3416
|
# @!attribute [rw] load_balancer_info
|
3363
|
-
# Information about the load balancer used in a
|
3417
|
+
# Information about the load balancer used in a deployment.
|
3364
3418
|
# @return [Types::LoadBalancerInfo]
|
3365
3419
|
#
|
3366
3420
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/UpdateDeploymentGroupInput AWS API Documentation
|
metadata
CHANGED
@@ -1,29 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-codedeploy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0.
|
4
|
+
version: 1.0.0.rc7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-05-
|
11
|
+
date: 2017-05-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 3.0.0.
|
19
|
+
version: 3.0.0.rc12
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 3.0.0.
|
26
|
+
version: 3.0.0.rc12
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: aws-sigv4
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|