aws-sdk-codedeploy 1.0.0 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/aws-sdk-codedeploy.rb +1 -1
- data/lib/aws-sdk-codedeploy/client.rb +152 -35
- data/lib/aws-sdk-codedeploy/client_api.rb +93 -4
- data/lib/aws-sdk-codedeploy/types.rb +306 -25
- metadata +5 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7ba2319d893317c39b520a7f87f981b5fc0ef708
|
4
|
+
data.tar.gz: 1032b3c5fb59fa8512af189707ea1a4f8d3df7cf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 16147e1fe2427aaba6d8ce98244a6ccba9f53af47c0ad5ec3fe4dee92a7604cd938798dabfd83f9e74fabfbd38e4c58c020c6dd279a73b41f24419903dbda274
|
7
|
+
data.tar.gz: 0887aef10afcdaebd830e0fabcb0cc7cc5ef7d0019552d7ad4a6ce745d1e26f9b3c6bc5117e1b9888266ad1037796210064cea3c6bafab67b2629cfeba648595
|
data/lib/aws-sdk-codedeploy.rb
CHANGED
@@ -211,11 +211,11 @@ module Aws::CodeDeploy
|
|
211
211
|
# application_name: "ApplicationName", # required
|
212
212
|
# revisions: [ # required
|
213
213
|
# {
|
214
|
-
# revision_type: "S3", # accepts S3, GitHub
|
214
|
+
# revision_type: "S3", # accepts S3, GitHub, String
|
215
215
|
# s3_location: {
|
216
216
|
# bucket: "S3Bucket",
|
217
217
|
# key: "S3Key",
|
218
|
-
# bundle_type: "tar", # accepts tar, tgz, zip
|
218
|
+
# bundle_type: "tar", # accepts tar, tgz, zip, YAML, JSON
|
219
219
|
# version: "VersionId",
|
220
220
|
# e_tag: "ETag",
|
221
221
|
# },
|
@@ -223,6 +223,10 @@ module Aws::CodeDeploy
|
|
223
223
|
# repository: "Repository",
|
224
224
|
# commit_id: "CommitId",
|
225
225
|
# },
|
226
|
+
# string: {
|
227
|
+
# content: "RawStringContent",
|
228
|
+
# sha256: "RawStringSha256",
|
229
|
+
# },
|
226
230
|
# },
|
227
231
|
# ],
|
228
232
|
# })
|
@@ -232,14 +236,16 @@ module Aws::CodeDeploy
|
|
232
236
|
# resp.application_name #=> String
|
233
237
|
# resp.error_message #=> String
|
234
238
|
# resp.revisions #=> Array
|
235
|
-
# resp.revisions[0].revision_location.revision_type #=> String, one of "S3", "GitHub"
|
239
|
+
# resp.revisions[0].revision_location.revision_type #=> String, one of "S3", "GitHub", "String"
|
236
240
|
# resp.revisions[0].revision_location.s3_location.bucket #=> String
|
237
241
|
# resp.revisions[0].revision_location.s3_location.key #=> String
|
238
|
-
# resp.revisions[0].revision_location.s3_location.bundle_type #=> String, one of "tar", "tgz", "zip"
|
242
|
+
# resp.revisions[0].revision_location.s3_location.bundle_type #=> String, one of "tar", "tgz", "zip", "YAML", "JSON"
|
239
243
|
# resp.revisions[0].revision_location.s3_location.version #=> String
|
240
244
|
# resp.revisions[0].revision_location.s3_location.e_tag #=> String
|
241
245
|
# resp.revisions[0].revision_location.git_hub_location.repository #=> String
|
242
246
|
# resp.revisions[0].revision_location.git_hub_location.commit_id #=> String
|
247
|
+
# resp.revisions[0].revision_location.string.content #=> String
|
248
|
+
# resp.revisions[0].revision_location.string.sha256 #=> String
|
243
249
|
# resp.revisions[0].generic_revision_info.description #=> String
|
244
250
|
# resp.revisions[0].generic_revision_info.deployment_groups #=> Array
|
245
251
|
# resp.revisions[0].generic_revision_info.deployment_groups[0] #=> String
|
@@ -258,7 +264,7 @@ module Aws::CodeDeploy
|
|
258
264
|
|
259
265
|
# Gets information about one or more applications.
|
260
266
|
#
|
261
|
-
# @option params [Array<String>] :application_names
|
267
|
+
# @option params [required, Array<String>] :application_names
|
262
268
|
# A list of application names separated by spaces.
|
263
269
|
#
|
264
270
|
# @return [Types::BatchGetApplicationsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -268,7 +274,7 @@ module Aws::CodeDeploy
|
|
268
274
|
# @example Request syntax with placeholder values
|
269
275
|
#
|
270
276
|
# resp = client.batch_get_applications({
|
271
|
-
# application_names: ["ApplicationName"],
|
277
|
+
# application_names: ["ApplicationName"], # required
|
272
278
|
# })
|
273
279
|
#
|
274
280
|
# @example Response structure
|
@@ -279,6 +285,7 @@ module Aws::CodeDeploy
|
|
279
285
|
# resp.applications_info[0].create_time #=> Time
|
280
286
|
# resp.applications_info[0].linked_to_git_hub #=> Boolean
|
281
287
|
# resp.applications_info[0].git_hub_account_name #=> String
|
288
|
+
# resp.applications_info[0].compute_platform #=> String, one of "Server", "Lambda"
|
282
289
|
#
|
283
290
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetApplications AWS API Documentation
|
284
291
|
#
|
@@ -329,14 +336,16 @@ module Aws::CodeDeploy
|
|
329
336
|
# resp.deployment_groups_info[0].auto_scaling_groups[0].name #=> String
|
330
337
|
# resp.deployment_groups_info[0].auto_scaling_groups[0].hook #=> String
|
331
338
|
# resp.deployment_groups_info[0].service_role_arn #=> String
|
332
|
-
# resp.deployment_groups_info[0].target_revision.revision_type #=> String, one of "S3", "GitHub"
|
339
|
+
# resp.deployment_groups_info[0].target_revision.revision_type #=> String, one of "S3", "GitHub", "String"
|
333
340
|
# resp.deployment_groups_info[0].target_revision.s3_location.bucket #=> String
|
334
341
|
# resp.deployment_groups_info[0].target_revision.s3_location.key #=> String
|
335
|
-
# resp.deployment_groups_info[0].target_revision.s3_location.bundle_type #=> String, one of "tar", "tgz", "zip"
|
342
|
+
# resp.deployment_groups_info[0].target_revision.s3_location.bundle_type #=> String, one of "tar", "tgz", "zip", "YAML", "JSON"
|
336
343
|
# resp.deployment_groups_info[0].target_revision.s3_location.version #=> String
|
337
344
|
# resp.deployment_groups_info[0].target_revision.s3_location.e_tag #=> String
|
338
345
|
# resp.deployment_groups_info[0].target_revision.git_hub_location.repository #=> String
|
339
346
|
# resp.deployment_groups_info[0].target_revision.git_hub_location.commit_id #=> String
|
347
|
+
# resp.deployment_groups_info[0].target_revision.string.content #=> String
|
348
|
+
# resp.deployment_groups_info[0].target_revision.string.sha256 #=> String
|
340
349
|
# resp.deployment_groups_info[0].trigger_configurations #=> Array
|
341
350
|
# resp.deployment_groups_info[0].trigger_configurations[0].trigger_name #=> String
|
342
351
|
# resp.deployment_groups_info[0].trigger_configurations[0].trigger_target_arn #=> String
|
@@ -378,6 +387,7 @@ module Aws::CodeDeploy
|
|
378
387
|
# resp.deployment_groups_info[0].on_premises_tag_set.on_premises_tag_set_list[0][0].key #=> String
|
379
388
|
# resp.deployment_groups_info[0].on_premises_tag_set.on_premises_tag_set_list[0][0].value #=> String
|
380
389
|
# resp.deployment_groups_info[0].on_premises_tag_set.on_premises_tag_set_list[0][0].type #=> String, one of "KEY_ONLY", "VALUE_ONLY", "KEY_AND_VALUE"
|
390
|
+
# resp.deployment_groups_info[0].compute_platform #=> String, one of "Server", "Lambda"
|
381
391
|
# resp.error_message #=> String
|
382
392
|
#
|
383
393
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetDeploymentGroups AWS API Documentation
|
@@ -440,7 +450,7 @@ module Aws::CodeDeploy
|
|
440
450
|
|
441
451
|
# Gets information about one or more deployments.
|
442
452
|
#
|
443
|
-
# @option params [Array<String>] :deployment_ids
|
453
|
+
# @option params [required, Array<String>] :deployment_ids
|
444
454
|
# A list of deployment IDs, separated by spaces.
|
445
455
|
#
|
446
456
|
# @return [Types::BatchGetDeploymentsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -450,7 +460,7 @@ module Aws::CodeDeploy
|
|
450
460
|
# @example Request syntax with placeholder values
|
451
461
|
#
|
452
462
|
# resp = client.batch_get_deployments({
|
453
|
-
# deployment_ids: ["DeploymentId"],
|
463
|
+
# deployment_ids: ["DeploymentId"], # required
|
454
464
|
# })
|
455
465
|
#
|
456
466
|
# @example Response structure
|
@@ -460,24 +470,28 @@ module Aws::CodeDeploy
|
|
460
470
|
# resp.deployments_info[0].deployment_group_name #=> String
|
461
471
|
# resp.deployments_info[0].deployment_config_name #=> String
|
462
472
|
# resp.deployments_info[0].deployment_id #=> String
|
463
|
-
# resp.deployments_info[0].previous_revision.revision_type #=> String, one of "S3", "GitHub"
|
473
|
+
# resp.deployments_info[0].previous_revision.revision_type #=> String, one of "S3", "GitHub", "String"
|
464
474
|
# resp.deployments_info[0].previous_revision.s3_location.bucket #=> String
|
465
475
|
# resp.deployments_info[0].previous_revision.s3_location.key #=> String
|
466
|
-
# resp.deployments_info[0].previous_revision.s3_location.bundle_type #=> String, one of "tar", "tgz", "zip"
|
476
|
+
# resp.deployments_info[0].previous_revision.s3_location.bundle_type #=> String, one of "tar", "tgz", "zip", "YAML", "JSON"
|
467
477
|
# resp.deployments_info[0].previous_revision.s3_location.version #=> String
|
468
478
|
# resp.deployments_info[0].previous_revision.s3_location.e_tag #=> String
|
469
479
|
# resp.deployments_info[0].previous_revision.git_hub_location.repository #=> String
|
470
480
|
# resp.deployments_info[0].previous_revision.git_hub_location.commit_id #=> String
|
471
|
-
# resp.deployments_info[0].
|
481
|
+
# resp.deployments_info[0].previous_revision.string.content #=> String
|
482
|
+
# resp.deployments_info[0].previous_revision.string.sha256 #=> String
|
483
|
+
# resp.deployments_info[0].revision.revision_type #=> String, one of "S3", "GitHub", "String"
|
472
484
|
# resp.deployments_info[0].revision.s3_location.bucket #=> String
|
473
485
|
# resp.deployments_info[0].revision.s3_location.key #=> String
|
474
|
-
# resp.deployments_info[0].revision.s3_location.bundle_type #=> String, one of "tar", "tgz", "zip"
|
486
|
+
# resp.deployments_info[0].revision.s3_location.bundle_type #=> String, one of "tar", "tgz", "zip", "YAML", "JSON"
|
475
487
|
# resp.deployments_info[0].revision.s3_location.version #=> String
|
476
488
|
# resp.deployments_info[0].revision.s3_location.e_tag #=> String
|
477
489
|
# resp.deployments_info[0].revision.git_hub_location.repository #=> String
|
478
490
|
# resp.deployments_info[0].revision.git_hub_location.commit_id #=> String
|
491
|
+
# resp.deployments_info[0].revision.string.content #=> String
|
492
|
+
# resp.deployments_info[0].revision.string.sha256 #=> String
|
479
493
|
# resp.deployments_info[0].status #=> String, one of "Created", "Queued", "InProgress", "Succeeded", "Failed", "Stopped", "Ready"
|
480
|
-
# 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"
|
494
|
+
# 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", "MISSING_BLUE_GREEN_DEPLOYMENT_CONFIGURATION", "MISSING_ELB_INFORMATION", "MISSING_GITHUB_TOKEN", "ELASTIC_LOAD_BALANCING_INVALID", "ELB_INVALID_INSTANCE", "INVALID_LAMBDA_CONFIGURATION", "INVALID_LAMBDA_FUNCTION", "HOOK_EXECUTION_FAILURE"
|
481
495
|
# resp.deployments_info[0].error_information.message #=> String
|
482
496
|
# resp.deployments_info[0].create_time #=> Time
|
483
497
|
# resp.deployments_info[0].start_time #=> Time
|
@@ -523,6 +537,9 @@ module Aws::CodeDeploy
|
|
523
537
|
# resp.deployments_info[0].load_balancer_info.target_group_info_list[0].name #=> String
|
524
538
|
# resp.deployments_info[0].additional_deployment_status_info #=> String
|
525
539
|
# resp.deployments_info[0].file_exists_behavior #=> String, one of "DISALLOW", "OVERWRITE", "RETAIN"
|
540
|
+
# resp.deployments_info[0].deployment_status_messages #=> Array
|
541
|
+
# resp.deployments_info[0].deployment_status_messages[0] #=> String
|
542
|
+
# resp.deployments_info[0].compute_platform #=> String, one of "Server", "Lambda"
|
526
543
|
#
|
527
544
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetDeployments AWS API Documentation
|
528
545
|
#
|
@@ -535,7 +552,7 @@ module Aws::CodeDeploy
|
|
535
552
|
|
536
553
|
# Gets information about one or more on-premises instances.
|
537
554
|
#
|
538
|
-
# @option params [Array<String>] :instance_names
|
555
|
+
# @option params [required, Array<String>] :instance_names
|
539
556
|
# The names of the on-premises instances about which to get information.
|
540
557
|
#
|
541
558
|
# @return [Types::BatchGetOnPremisesInstancesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -545,7 +562,7 @@ module Aws::CodeDeploy
|
|
545
562
|
# @example Request syntax with placeholder values
|
546
563
|
#
|
547
564
|
# resp = client.batch_get_on_premises_instances({
|
548
|
-
# instance_names: ["InstanceName"],
|
565
|
+
# instance_names: ["InstanceName"], # required
|
549
566
|
# })
|
550
567
|
#
|
551
568
|
# @example Response structure
|
@@ -604,6 +621,10 @@ module Aws::CodeDeploy
|
|
604
621
|
# The name of the application. This name must be unique with the
|
605
622
|
# applicable IAM user or AWS account.
|
606
623
|
#
|
624
|
+
# @option params [String] :compute_platform
|
625
|
+
# The destination platform type for the deployment `Lambda` or
|
626
|
+
# `Server`).
|
627
|
+
#
|
607
628
|
# @return [Types::CreateApplicationOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
608
629
|
#
|
609
630
|
# * {Types::CreateApplicationOutput#application_id #application_id} => String
|
@@ -612,6 +633,7 @@ module Aws::CodeDeploy
|
|
612
633
|
#
|
613
634
|
# resp = client.create_application({
|
614
635
|
# application_name: "ApplicationName", # required
|
636
|
+
# compute_platform: "Server", # accepts Server, Lambda
|
615
637
|
# })
|
616
638
|
#
|
617
639
|
# @example Response structure
|
@@ -702,11 +724,11 @@ module Aws::CodeDeploy
|
|
702
724
|
# application_name: "ApplicationName", # required
|
703
725
|
# deployment_group_name: "DeploymentGroupName",
|
704
726
|
# revision: {
|
705
|
-
# revision_type: "S3", # accepts S3, GitHub
|
727
|
+
# revision_type: "S3", # accepts S3, GitHub, String
|
706
728
|
# s3_location: {
|
707
729
|
# bucket: "S3Bucket",
|
708
730
|
# key: "S3Key",
|
709
|
-
# bundle_type: "tar", # accepts tar, tgz, zip
|
731
|
+
# bundle_type: "tar", # accepts tar, tgz, zip, YAML, JSON
|
710
732
|
# version: "VersionId",
|
711
733
|
# e_tag: "ETag",
|
712
734
|
# },
|
@@ -714,6 +736,10 @@ module Aws::CodeDeploy
|
|
714
736
|
# repository: "Repository",
|
715
737
|
# commit_id: "CommitId",
|
716
738
|
# },
|
739
|
+
# string: {
|
740
|
+
# content: "RawStringContent",
|
741
|
+
# sha256: "RawStringSha256",
|
742
|
+
# },
|
717
743
|
# },
|
718
744
|
# deployment_config_name: "DeploymentConfigName",
|
719
745
|
# description: "Description",
|
@@ -786,6 +812,14 @@ module Aws::CodeDeploy
|
|
786
812
|
# For example, to set a minimum of 95% healthy instance, specify a type
|
787
813
|
# of FLEET\_PERCENT and a value of 95.
|
788
814
|
#
|
815
|
+
# @option params [Types::TrafficRoutingConfig] :traffic_routing_config
|
816
|
+
# The configuration specifying how the deployment traffic will be
|
817
|
+
# routed.
|
818
|
+
#
|
819
|
+
# @option params [String] :compute_platform
|
820
|
+
# The destination platform type for the deployment (`Lambda` or
|
821
|
+
# `Server`>).
|
822
|
+
#
|
789
823
|
# @return [Types::CreateDeploymentConfigOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
790
824
|
#
|
791
825
|
# * {Types::CreateDeploymentConfigOutput#deployment_config_id #deployment_config_id} => String
|
@@ -798,6 +832,18 @@ module Aws::CodeDeploy
|
|
798
832
|
# value: 1,
|
799
833
|
# type: "HOST_COUNT", # accepts HOST_COUNT, FLEET_PERCENT
|
800
834
|
# },
|
835
|
+
# traffic_routing_config: {
|
836
|
+
# type: "TimeBasedCanary", # accepts TimeBasedCanary, TimeBasedLinear, AllAtOnce
|
837
|
+
# time_based_canary: {
|
838
|
+
# canary_percentage: 1,
|
839
|
+
# canary_interval: 1,
|
840
|
+
# },
|
841
|
+
# time_based_linear: {
|
842
|
+
# linear_percentage: 1,
|
843
|
+
# linear_interval: 1,
|
844
|
+
# },
|
845
|
+
# },
|
846
|
+
# compute_platform: "Server", # accepts Server, Lambda
|
801
847
|
# })
|
802
848
|
#
|
803
849
|
# @example Response structure
|
@@ -1142,6 +1188,7 @@ module Aws::CodeDeploy
|
|
1142
1188
|
# resp.application.create_time #=> Time
|
1143
1189
|
# resp.application.linked_to_git_hub #=> Boolean
|
1144
1190
|
# resp.application.git_hub_account_name #=> String
|
1191
|
+
# resp.application.compute_platform #=> String, one of "Server", "Lambda"
|
1145
1192
|
#
|
1146
1193
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetApplication AWS API Documentation
|
1147
1194
|
#
|
@@ -1172,11 +1219,11 @@ module Aws::CodeDeploy
|
|
1172
1219
|
# resp = client.get_application_revision({
|
1173
1220
|
# application_name: "ApplicationName", # required
|
1174
1221
|
# revision: { # required
|
1175
|
-
# revision_type: "S3", # accepts S3, GitHub
|
1222
|
+
# revision_type: "S3", # accepts S3, GitHub, String
|
1176
1223
|
# s3_location: {
|
1177
1224
|
# bucket: "S3Bucket",
|
1178
1225
|
# key: "S3Key",
|
1179
|
-
# bundle_type: "tar", # accepts tar, tgz, zip
|
1226
|
+
# bundle_type: "tar", # accepts tar, tgz, zip, YAML, JSON
|
1180
1227
|
# version: "VersionId",
|
1181
1228
|
# e_tag: "ETag",
|
1182
1229
|
# },
|
@@ -1184,20 +1231,26 @@ module Aws::CodeDeploy
|
|
1184
1231
|
# repository: "Repository",
|
1185
1232
|
# commit_id: "CommitId",
|
1186
1233
|
# },
|
1234
|
+
# string: {
|
1235
|
+
# content: "RawStringContent",
|
1236
|
+
# sha256: "RawStringSha256",
|
1237
|
+
# },
|
1187
1238
|
# },
|
1188
1239
|
# })
|
1189
1240
|
#
|
1190
1241
|
# @example Response structure
|
1191
1242
|
#
|
1192
1243
|
# resp.application_name #=> String
|
1193
|
-
# resp.revision.revision_type #=> String, one of "S3", "GitHub"
|
1244
|
+
# resp.revision.revision_type #=> String, one of "S3", "GitHub", "String"
|
1194
1245
|
# resp.revision.s3_location.bucket #=> String
|
1195
1246
|
# resp.revision.s3_location.key #=> String
|
1196
|
-
# resp.revision.s3_location.bundle_type #=> String, one of "tar", "tgz", "zip"
|
1247
|
+
# resp.revision.s3_location.bundle_type #=> String, one of "tar", "tgz", "zip", "YAML", "JSON"
|
1197
1248
|
# resp.revision.s3_location.version #=> String
|
1198
1249
|
# resp.revision.s3_location.e_tag #=> String
|
1199
1250
|
# resp.revision.git_hub_location.repository #=> String
|
1200
1251
|
# resp.revision.git_hub_location.commit_id #=> String
|
1252
|
+
# resp.revision.string.content #=> String
|
1253
|
+
# resp.revision.string.sha256 #=> String
|
1201
1254
|
# resp.revision_info.description #=> String
|
1202
1255
|
# resp.revision_info.deployment_groups #=> Array
|
1203
1256
|
# resp.revision_info.deployment_groups[0] #=> String
|
@@ -1236,24 +1289,28 @@ module Aws::CodeDeploy
|
|
1236
1289
|
# resp.deployment_info.deployment_group_name #=> String
|
1237
1290
|
# resp.deployment_info.deployment_config_name #=> String
|
1238
1291
|
# resp.deployment_info.deployment_id #=> String
|
1239
|
-
# resp.deployment_info.previous_revision.revision_type #=> String, one of "S3", "GitHub"
|
1292
|
+
# resp.deployment_info.previous_revision.revision_type #=> String, one of "S3", "GitHub", "String"
|
1240
1293
|
# resp.deployment_info.previous_revision.s3_location.bucket #=> String
|
1241
1294
|
# resp.deployment_info.previous_revision.s3_location.key #=> String
|
1242
|
-
# resp.deployment_info.previous_revision.s3_location.bundle_type #=> String, one of "tar", "tgz", "zip"
|
1295
|
+
# resp.deployment_info.previous_revision.s3_location.bundle_type #=> String, one of "tar", "tgz", "zip", "YAML", "JSON"
|
1243
1296
|
# resp.deployment_info.previous_revision.s3_location.version #=> String
|
1244
1297
|
# resp.deployment_info.previous_revision.s3_location.e_tag #=> String
|
1245
1298
|
# resp.deployment_info.previous_revision.git_hub_location.repository #=> String
|
1246
1299
|
# resp.deployment_info.previous_revision.git_hub_location.commit_id #=> String
|
1247
|
-
# resp.deployment_info.
|
1300
|
+
# resp.deployment_info.previous_revision.string.content #=> String
|
1301
|
+
# resp.deployment_info.previous_revision.string.sha256 #=> String
|
1302
|
+
# resp.deployment_info.revision.revision_type #=> String, one of "S3", "GitHub", "String"
|
1248
1303
|
# resp.deployment_info.revision.s3_location.bucket #=> String
|
1249
1304
|
# resp.deployment_info.revision.s3_location.key #=> String
|
1250
|
-
# resp.deployment_info.revision.s3_location.bundle_type #=> String, one of "tar", "tgz", "zip"
|
1305
|
+
# resp.deployment_info.revision.s3_location.bundle_type #=> String, one of "tar", "tgz", "zip", "YAML", "JSON"
|
1251
1306
|
# resp.deployment_info.revision.s3_location.version #=> String
|
1252
1307
|
# resp.deployment_info.revision.s3_location.e_tag #=> String
|
1253
1308
|
# resp.deployment_info.revision.git_hub_location.repository #=> String
|
1254
1309
|
# resp.deployment_info.revision.git_hub_location.commit_id #=> String
|
1310
|
+
# resp.deployment_info.revision.string.content #=> String
|
1311
|
+
# resp.deployment_info.revision.string.sha256 #=> String
|
1255
1312
|
# resp.deployment_info.status #=> String, one of "Created", "Queued", "InProgress", "Succeeded", "Failed", "Stopped", "Ready"
|
1256
|
-
# 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"
|
1313
|
+
# 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", "MISSING_BLUE_GREEN_DEPLOYMENT_CONFIGURATION", "MISSING_ELB_INFORMATION", "MISSING_GITHUB_TOKEN", "ELASTIC_LOAD_BALANCING_INVALID", "ELB_INVALID_INSTANCE", "INVALID_LAMBDA_CONFIGURATION", "INVALID_LAMBDA_FUNCTION", "HOOK_EXECUTION_FAILURE"
|
1257
1314
|
# resp.deployment_info.error_information.message #=> String
|
1258
1315
|
# resp.deployment_info.create_time #=> Time
|
1259
1316
|
# resp.deployment_info.start_time #=> Time
|
@@ -1299,6 +1356,9 @@ module Aws::CodeDeploy
|
|
1299
1356
|
# resp.deployment_info.load_balancer_info.target_group_info_list[0].name #=> String
|
1300
1357
|
# resp.deployment_info.additional_deployment_status_info #=> String
|
1301
1358
|
# resp.deployment_info.file_exists_behavior #=> String, one of "DISALLOW", "OVERWRITE", "RETAIN"
|
1359
|
+
# resp.deployment_info.deployment_status_messages #=> Array
|
1360
|
+
# resp.deployment_info.deployment_status_messages[0] #=> String
|
1361
|
+
# resp.deployment_info.compute_platform #=> String, one of "Server", "Lambda"
|
1302
1362
|
#
|
1303
1363
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeployment AWS API Documentation
|
1304
1364
|
#
|
@@ -1332,6 +1392,12 @@ module Aws::CodeDeploy
|
|
1332
1392
|
# resp.deployment_config_info.minimum_healthy_hosts.value #=> Integer
|
1333
1393
|
# resp.deployment_config_info.minimum_healthy_hosts.type #=> String, one of "HOST_COUNT", "FLEET_PERCENT"
|
1334
1394
|
# resp.deployment_config_info.create_time #=> Time
|
1395
|
+
# resp.deployment_config_info.compute_platform #=> String, one of "Server", "Lambda"
|
1396
|
+
# resp.deployment_config_info.traffic_routing_config.type #=> String, one of "TimeBasedCanary", "TimeBasedLinear", "AllAtOnce"
|
1397
|
+
# resp.deployment_config_info.traffic_routing_config.time_based_canary.canary_percentage #=> Integer
|
1398
|
+
# resp.deployment_config_info.traffic_routing_config.time_based_canary.canary_interval #=> Integer
|
1399
|
+
# resp.deployment_config_info.traffic_routing_config.time_based_linear.linear_percentage #=> Integer
|
1400
|
+
# resp.deployment_config_info.traffic_routing_config.time_based_linear.linear_interval #=> Integer
|
1335
1401
|
#
|
1336
1402
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeploymentConfig AWS API Documentation
|
1337
1403
|
#
|
@@ -1381,14 +1447,16 @@ module Aws::CodeDeploy
|
|
1381
1447
|
# resp.deployment_group_info.auto_scaling_groups[0].name #=> String
|
1382
1448
|
# resp.deployment_group_info.auto_scaling_groups[0].hook #=> String
|
1383
1449
|
# resp.deployment_group_info.service_role_arn #=> String
|
1384
|
-
# resp.deployment_group_info.target_revision.revision_type #=> String, one of "S3", "GitHub"
|
1450
|
+
# resp.deployment_group_info.target_revision.revision_type #=> String, one of "S3", "GitHub", "String"
|
1385
1451
|
# resp.deployment_group_info.target_revision.s3_location.bucket #=> String
|
1386
1452
|
# resp.deployment_group_info.target_revision.s3_location.key #=> String
|
1387
|
-
# resp.deployment_group_info.target_revision.s3_location.bundle_type #=> String, one of "tar", "tgz", "zip"
|
1453
|
+
# resp.deployment_group_info.target_revision.s3_location.bundle_type #=> String, one of "tar", "tgz", "zip", "YAML", "JSON"
|
1388
1454
|
# resp.deployment_group_info.target_revision.s3_location.version #=> String
|
1389
1455
|
# resp.deployment_group_info.target_revision.s3_location.e_tag #=> String
|
1390
1456
|
# resp.deployment_group_info.target_revision.git_hub_location.repository #=> String
|
1391
1457
|
# resp.deployment_group_info.target_revision.git_hub_location.commit_id #=> String
|
1458
|
+
# resp.deployment_group_info.target_revision.string.content #=> String
|
1459
|
+
# resp.deployment_group_info.target_revision.string.sha256 #=> String
|
1392
1460
|
# resp.deployment_group_info.trigger_configurations #=> Array
|
1393
1461
|
# resp.deployment_group_info.trigger_configurations[0].trigger_name #=> String
|
1394
1462
|
# resp.deployment_group_info.trigger_configurations[0].trigger_target_arn #=> String
|
@@ -1430,6 +1498,7 @@ module Aws::CodeDeploy
|
|
1430
1498
|
# resp.deployment_group_info.on_premises_tag_set.on_premises_tag_set_list[0][0].key #=> String
|
1431
1499
|
# resp.deployment_group_info.on_premises_tag_set.on_premises_tag_set_list[0][0].value #=> String
|
1432
1500
|
# resp.deployment_group_info.on_premises_tag_set.on_premises_tag_set_list[0][0].type #=> String, one of "KEY_ONLY", "VALUE_ONLY", "KEY_AND_VALUE"
|
1501
|
+
# resp.deployment_group_info.compute_platform #=> String, one of "Server", "Lambda"
|
1433
1502
|
#
|
1434
1503
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeploymentGroup AWS API Documentation
|
1435
1504
|
#
|
@@ -1599,14 +1668,16 @@ module Aws::CodeDeploy
|
|
1599
1668
|
# @example Response structure
|
1600
1669
|
#
|
1601
1670
|
# resp.revisions #=> Array
|
1602
|
-
# resp.revisions[0].revision_type #=> String, one of "S3", "GitHub"
|
1671
|
+
# resp.revisions[0].revision_type #=> String, one of "S3", "GitHub", "String"
|
1603
1672
|
# resp.revisions[0].s3_location.bucket #=> String
|
1604
1673
|
# resp.revisions[0].s3_location.key #=> String
|
1605
|
-
# resp.revisions[0].s3_location.bundle_type #=> String, one of "tar", "tgz", "zip"
|
1674
|
+
# resp.revisions[0].s3_location.bundle_type #=> String, one of "tar", "tgz", "zip", "YAML", "JSON"
|
1606
1675
|
# resp.revisions[0].s3_location.version #=> String
|
1607
1676
|
# resp.revisions[0].s3_location.e_tag #=> String
|
1608
1677
|
# resp.revisions[0].git_hub_location.repository #=> String
|
1609
1678
|
# resp.revisions[0].git_hub_location.commit_id #=> String
|
1679
|
+
# resp.revisions[0].string.content #=> String
|
1680
|
+
# resp.revisions[0].string.sha256 #=> String
|
1610
1681
|
# resp.next_token #=> String
|
1611
1682
|
#
|
1612
1683
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListApplicationRevisions AWS API Documentation
|
@@ -1947,6 +2018,48 @@ module Aws::CodeDeploy
|
|
1947
2018
|
req.send_request(options)
|
1948
2019
|
end
|
1949
2020
|
|
2021
|
+
# Sets the result of a Lambda validation function. The function
|
2022
|
+
# validates one or both lifecycle events (`BeforeAllowTraffic` and
|
2023
|
+
# `AfterAllowTraffic`) and returns `Succeeded` or `Failed`.
|
2024
|
+
#
|
2025
|
+
# @option params [String] :deployment_id
|
2026
|
+
# The ID of the deployment. Pass this ID to a Lambda function that
|
2027
|
+
# validates a deployment lifecycle event.
|
2028
|
+
#
|
2029
|
+
# @option params [String] :lifecycle_event_hook_execution_id
|
2030
|
+
# The execution ID of a deployment's lifecycle hook. A deployment
|
2031
|
+
# lifecycle hook is specified in the `hooks` section of the AppSpec
|
2032
|
+
# file.
|
2033
|
+
#
|
2034
|
+
# @option params [String] :status
|
2035
|
+
# The result of a Lambda function that validates a deployment lifecycle
|
2036
|
+
# event (`Succeeded` or `Failed`).
|
2037
|
+
#
|
2038
|
+
# @return [Types::PutLifecycleEventHookExecutionStatusOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2039
|
+
#
|
2040
|
+
# * {Types::PutLifecycleEventHookExecutionStatusOutput#lifecycle_event_hook_execution_id #lifecycle_event_hook_execution_id} => String
|
2041
|
+
#
|
2042
|
+
# @example Request syntax with placeholder values
|
2043
|
+
#
|
2044
|
+
# resp = client.put_lifecycle_event_hook_execution_status({
|
2045
|
+
# deployment_id: "DeploymentId",
|
2046
|
+
# lifecycle_event_hook_execution_id: "LifecycleEventHookExecutionId",
|
2047
|
+
# status: "Pending", # accepts Pending, InProgress, Succeeded, Failed, Skipped, Unknown
|
2048
|
+
# })
|
2049
|
+
#
|
2050
|
+
# @example Response structure
|
2051
|
+
#
|
2052
|
+
# resp.lifecycle_event_hook_execution_id #=> String
|
2053
|
+
#
|
2054
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/PutLifecycleEventHookExecutionStatus AWS API Documentation
|
2055
|
+
#
|
2056
|
+
# @overload put_lifecycle_event_hook_execution_status(params = {})
|
2057
|
+
# @param [Hash] params ({})
|
2058
|
+
def put_lifecycle_event_hook_execution_status(params = {}, options = {})
|
2059
|
+
req = build_request(:put_lifecycle_event_hook_execution_status, params)
|
2060
|
+
req.send_request(options)
|
2061
|
+
end
|
2062
|
+
|
1950
2063
|
# Registers with AWS CodeDeploy a revision for the specified
|
1951
2064
|
# application.
|
1952
2065
|
#
|
@@ -1969,11 +2082,11 @@ module Aws::CodeDeploy
|
|
1969
2082
|
# application_name: "ApplicationName", # required
|
1970
2083
|
# description: "Description",
|
1971
2084
|
# revision: { # required
|
1972
|
-
# revision_type: "S3", # accepts S3, GitHub
|
2085
|
+
# revision_type: "S3", # accepts S3, GitHub, String
|
1973
2086
|
# s3_location: {
|
1974
2087
|
# bucket: "S3Bucket",
|
1975
2088
|
# key: "S3Key",
|
1976
|
-
# bundle_type: "tar", # accepts tar, tgz, zip
|
2089
|
+
# bundle_type: "tar", # accepts tar, tgz, zip, YAML, JSON
|
1977
2090
|
# version: "VersionId",
|
1978
2091
|
# e_tag: "ETag",
|
1979
2092
|
# },
|
@@ -1981,6 +2094,10 @@ module Aws::CodeDeploy
|
|
1981
2094
|
# repository: "Repository",
|
1982
2095
|
# commit_id: "CommitId",
|
1983
2096
|
# },
|
2097
|
+
# string: {
|
2098
|
+
# content: "RawStringContent",
|
2099
|
+
# sha256: "RawStringSha256",
|
2100
|
+
# },
|
1984
2101
|
# },
|
1985
2102
|
# })
|
1986
2103
|
#
|
@@ -2347,7 +2464,7 @@ module Aws::CodeDeploy
|
|
2347
2464
|
params: params,
|
2348
2465
|
config: config)
|
2349
2466
|
context[:gem_name] = 'aws-sdk-codedeploy'
|
2350
|
-
context[:gem_version] = '1.
|
2467
|
+
context[:gem_version] = '1.1.0'
|
2351
2468
|
Seahorse::Client::Request.new(handlers, context)
|
2352
2469
|
end
|
2353
2470
|
|