aws-sdk-launchwizard 1.32.0 → 1.34.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/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-launchwizard/client.rb +689 -56
- data/lib/aws-sdk-launchwizard/client_api.rb +138 -33
- data/lib/aws-sdk-launchwizard/types.rb +406 -155
- data/lib/aws-sdk-launchwizard/waiters.rb +15 -0
- data/lib/aws-sdk-launchwizard.rb +2 -1
- data/sig/client.rbs +57 -10
- data/sig/types.rbs +96 -34
- metadata +6 -5
|
@@ -480,6 +480,14 @@ module Aws::LaunchWizard
|
|
|
480
480
|
# this operation are not available in the Launch Wizard console to use
|
|
481
481
|
# the `Clone deployment` action on.
|
|
482
482
|
#
|
|
483
|
+
# @option params [required, String] :workload_name
|
|
484
|
+
# The name of the workload. You can use the [ `ListWorkloads` ][1]
|
|
485
|
+
# operation to discover supported values for this parameter.
|
|
486
|
+
#
|
|
487
|
+
#
|
|
488
|
+
#
|
|
489
|
+
# [1]: https://docs.aws.amazon.com/launchwizard/latest/APIReference/API_ListWorkloads.html
|
|
490
|
+
#
|
|
483
491
|
# @option params [required, String] :deployment_pattern_name
|
|
484
492
|
# The name of the deployment pattern supported by a given workload. You
|
|
485
493
|
# can use the [ `ListWorkloadDeploymentPatterns` ][1] operation to
|
|
@@ -489,12 +497,6 @@ module Aws::LaunchWizard
|
|
|
489
497
|
#
|
|
490
498
|
# [1]: https://docs.aws.amazon.com/launchwizard/latest/APIReference/API_ListWorkloadDeploymentPatterns.html
|
|
491
499
|
#
|
|
492
|
-
# @option params [Boolean] :dry_run
|
|
493
|
-
# Checks whether you have the required permissions for the action,
|
|
494
|
-
# without actually making the request, and provides an error response.
|
|
495
|
-
# If you have the required permissions, the error response is
|
|
496
|
-
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
|
497
|
-
#
|
|
498
500
|
# @option params [required, String] :name
|
|
499
501
|
# The name of the deployment.
|
|
500
502
|
#
|
|
@@ -512,34 +514,91 @@ module Aws::LaunchWizard
|
|
|
512
514
|
# [1]: https://docs.aws.amazon.com/launchwizard/latest/APIReference/launch-wizard-specifications-sap.html
|
|
513
515
|
# [2]: https://docs.aws.amazon.com/launchwizard/latest/APIReference/API_GetWorkloadDeploymentPattern.html
|
|
514
516
|
#
|
|
517
|
+
# @option params [Boolean] :dry_run
|
|
518
|
+
# Checks whether you have the required permissions for the action,
|
|
519
|
+
# without actually making the request, and provides an error response.
|
|
520
|
+
# If you have the required permissions, the error response is
|
|
521
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
|
522
|
+
#
|
|
515
523
|
# @option params [Hash<String,String>] :tags
|
|
516
524
|
# The tags to add to the deployment.
|
|
517
525
|
#
|
|
518
|
-
# @
|
|
519
|
-
# The name of the workload. You can use the [ `ListWorkloads` ][1]
|
|
520
|
-
# operation to discover supported values for this parameter.
|
|
526
|
+
# @return [Types::CreateDeploymentOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
521
527
|
#
|
|
528
|
+
# * {Types::CreateDeploymentOutput#deployment_id #deployment_id} => String
|
|
522
529
|
#
|
|
523
530
|
#
|
|
524
|
-
#
|
|
531
|
+
# @example Example: Deploy a given workload with given settings.
|
|
525
532
|
#
|
|
526
|
-
#
|
|
533
|
+
# resp = client.create_deployment({
|
|
534
|
+
# name: "TestDeployment1",
|
|
535
|
+
# deployment_pattern_name: "SapHanaSingle",
|
|
536
|
+
# dry_run: false,
|
|
537
|
+
# specifications: {
|
|
538
|
+
# "CreateSecurityGroup" => "No",
|
|
539
|
+
# "DisableDeploymentRollback" => "Yes",
|
|
540
|
+
# "EnableEbsVolumeEncryption" => "Yes",
|
|
541
|
+
# "KeyPairName" => "keyName",
|
|
542
|
+
# "ProxyServerAddress" => "http://xyz.abc.com:8080",
|
|
543
|
+
# "SapSysGroupId" => "5003",
|
|
544
|
+
# "SapVirtualIPOptIn" => "No",
|
|
545
|
+
# "SaveDeploymentArtifacts" => "No",
|
|
546
|
+
# "SnsTopicArn" => "arn:aws:sns:us-east-1:111111222222:snsNameUsEast1.fifo",
|
|
547
|
+
# "Timezone" => "Pacific/Wake",
|
|
548
|
+
# "VpcId" => "vpc-1234566",
|
|
549
|
+
# },
|
|
550
|
+
# workload_name: "SAP",
|
|
551
|
+
# })
|
|
527
552
|
#
|
|
528
|
-
#
|
|
553
|
+
# resp.to_h outputs the following:
|
|
554
|
+
# {
|
|
555
|
+
# deployment_id: "4c1b59c1-659c-467f-b6e9-6ef6f9d28e1d",
|
|
556
|
+
# }
|
|
557
|
+
#
|
|
558
|
+
# @example Example: Deploy a given workload with given settings and passing tags for Launch Wizard deployment resource.
|
|
559
|
+
#
|
|
560
|
+
# resp = client.create_deployment({
|
|
561
|
+
# name: "TestDeployment2",
|
|
562
|
+
# deployment_pattern_name: "SapHanaSingle",
|
|
563
|
+
# dry_run: false,
|
|
564
|
+
# specifications: {
|
|
565
|
+
# "CreateSecurityGroup" => "No",
|
|
566
|
+
# "DisableDeploymentRollback" => "Yes",
|
|
567
|
+
# "EnableEbsVolumeEncryption" => "Yes",
|
|
568
|
+
# "KeyPairName" => "keyName",
|
|
569
|
+
# "ProxyServerAddress" => "http://xyz.abc.com:8080",
|
|
570
|
+
# "SapSysGroupId" => "5003",
|
|
571
|
+
# "SapVirtualIPOptIn" => "No",
|
|
572
|
+
# "SaveDeploymentArtifacts" => "No",
|
|
573
|
+
# "SnsTopicArn" => "arn:aws:sns:us-east-1:111111222222:snsNameUsEast1.fifo",
|
|
574
|
+
# "Timezone" => "Pacific/Wake",
|
|
575
|
+
# "VpcId" => "vpc-1234566",
|
|
576
|
+
# },
|
|
577
|
+
# tags: {
|
|
578
|
+
# "key1" => "val1",
|
|
579
|
+
# "key2" => "val2",
|
|
580
|
+
# },
|
|
581
|
+
# workload_name: "SAP",
|
|
582
|
+
# })
|
|
583
|
+
#
|
|
584
|
+
# resp.to_h outputs the following:
|
|
585
|
+
# {
|
|
586
|
+
# deployment_id: "1111111-1111-1111-1111-111111111111",
|
|
587
|
+
# }
|
|
529
588
|
#
|
|
530
589
|
# @example Request syntax with placeholder values
|
|
531
590
|
#
|
|
532
591
|
# resp = client.create_deployment({
|
|
592
|
+
# workload_name: "WorkloadName", # required
|
|
533
593
|
# deployment_pattern_name: "DeploymentPatternName", # required
|
|
534
|
-
# dry_run: false,
|
|
535
594
|
# name: "DeploymentName", # required
|
|
536
595
|
# specifications: { # required
|
|
537
596
|
# "KeyString" => "ValueString",
|
|
538
597
|
# },
|
|
598
|
+
# dry_run: false,
|
|
539
599
|
# tags: {
|
|
540
600
|
# "TagKey" => "TagValue",
|
|
541
601
|
# },
|
|
542
|
-
# workload_name: "WorkloadName", # required
|
|
543
602
|
# })
|
|
544
603
|
#
|
|
545
604
|
# @example Response structure
|
|
@@ -565,6 +624,19 @@ module Aws::LaunchWizard
|
|
|
565
624
|
# * {Types::DeleteDeploymentOutput#status #status} => String
|
|
566
625
|
# * {Types::DeleteDeploymentOutput#status_reason #status_reason} => String
|
|
567
626
|
#
|
|
627
|
+
#
|
|
628
|
+
# @example Example: Delete a deployment.
|
|
629
|
+
#
|
|
630
|
+
# resp = client.delete_deployment({
|
|
631
|
+
# deployment_id: "4c1b59c1-659c-467f-b6e9-6ef6f9d28e1d",
|
|
632
|
+
# })
|
|
633
|
+
#
|
|
634
|
+
# resp.to_h outputs the following:
|
|
635
|
+
# {
|
|
636
|
+
# status: "DELETED",
|
|
637
|
+
# status_reason: "Finished processing DeleteApp request",
|
|
638
|
+
# }
|
|
639
|
+
#
|
|
568
640
|
# @example Request syntax with placeholder values
|
|
569
641
|
#
|
|
570
642
|
# resp = client.delete_deployment({
|
|
@@ -573,7 +645,7 @@ module Aws::LaunchWizard
|
|
|
573
645
|
#
|
|
574
646
|
# @example Response structure
|
|
575
647
|
#
|
|
576
|
-
# resp.status #=> String, one of "COMPLETED", "CREATING", "DELETE_IN_PROGRESS", "DELETE_INITIATING", "DELETE_FAILED", "DELETED", "FAILED", "IN_PROGRESS", "VALIDATING"
|
|
648
|
+
# resp.status #=> String, one of "COMPLETED", "CREATING", "DELETE_IN_PROGRESS", "DELETE_INITIATING", "DELETE_FAILED", "DELETED", "FAILED", "IN_PROGRESS", "VALIDATING", "UPDATE_IN_PROGRESS", "UPDATE_COMPLETED", "UPDATE_FAILED", "UPDATE_ROLLBACK_COMPLETED", "UPDATE_ROLLBACK_FAILED"
|
|
577
649
|
# resp.status_reason #=> String
|
|
578
650
|
#
|
|
579
651
|
# @see http://docs.aws.amazon.com/goto/WebAPI/launch-wizard-2018-05-10/DeleteDeployment AWS API Documentation
|
|
@@ -594,6 +666,41 @@ module Aws::LaunchWizard
|
|
|
594
666
|
#
|
|
595
667
|
# * {Types::GetDeploymentOutput#deployment #deployment} => Types::DeploymentData
|
|
596
668
|
#
|
|
669
|
+
#
|
|
670
|
+
# @example Example: Get details about a given deployment.
|
|
671
|
+
#
|
|
672
|
+
# resp = client.get_deployment({
|
|
673
|
+
# deployment_id: "1111111-1111-1111-1111-111111111111",
|
|
674
|
+
# })
|
|
675
|
+
#
|
|
676
|
+
# resp.to_h outputs the following:
|
|
677
|
+
# {
|
|
678
|
+
# deployment: {
|
|
679
|
+
# name: "SapHanaSingleForTest",
|
|
680
|
+
# created_at: Time.parse("2023-04-24T13:10:09.857Z"),
|
|
681
|
+
# deployment_arn: "arn:aws:launchwizard:us-east-1:123456789012:deployment/1111111-1111-1111-1111-111111111111",
|
|
682
|
+
# id: "1111111-1111-1111-1111-111111111111",
|
|
683
|
+
# specifications: {
|
|
684
|
+
# "DisableDeploymentRollback" => "true",
|
|
685
|
+
# "Encryption" => "Yes",
|
|
686
|
+
# "KeyName" => "testLinuxInstance",
|
|
687
|
+
# "SAPTZ" => "America/Vancouver",
|
|
688
|
+
# "VPCID" => "vpc-1234567",
|
|
689
|
+
# "applicationName" => "SapHanaSingleForTest",
|
|
690
|
+
# "deploymentScenario" => "SapHanaSingle",
|
|
691
|
+
# "environmentType" => "production",
|
|
692
|
+
# "saveArtifactsS3Uri" => "s3://testbucket",
|
|
693
|
+
# "saveDeploymentArtifacts" => "Yes",
|
|
694
|
+
# },
|
|
695
|
+
# status: "FAILED",
|
|
696
|
+
# tags: {
|
|
697
|
+
# "key1" => "val1",
|
|
698
|
+
# "key2" => "val2",
|
|
699
|
+
# },
|
|
700
|
+
# workload_name: "SapHanaSingle",
|
|
701
|
+
# },
|
|
702
|
+
# }
|
|
703
|
+
#
|
|
597
704
|
# @example Request syntax with placeholder values
|
|
598
705
|
#
|
|
599
706
|
# resp = client.get_deployment({
|
|
@@ -602,19 +709,20 @@ module Aws::LaunchWizard
|
|
|
602
709
|
#
|
|
603
710
|
# @example Response structure
|
|
604
711
|
#
|
|
605
|
-
# resp.deployment.created_at #=> Time
|
|
606
|
-
# resp.deployment.deleted_at #=> Time
|
|
607
|
-
# resp.deployment.deployment_arn #=> String
|
|
608
|
-
# resp.deployment.id #=> String
|
|
609
712
|
# resp.deployment.name #=> String
|
|
713
|
+
# resp.deployment.id #=> String
|
|
714
|
+
# resp.deployment.workload_name #=> String
|
|
610
715
|
# resp.deployment.pattern_name #=> String
|
|
611
|
-
# resp.deployment.
|
|
716
|
+
# resp.deployment.status #=> String, one of "COMPLETED", "CREATING", "DELETE_IN_PROGRESS", "DELETE_INITIATING", "DELETE_FAILED", "DELETED", "FAILED", "IN_PROGRESS", "VALIDATING", "UPDATE_IN_PROGRESS", "UPDATE_COMPLETED", "UPDATE_FAILED", "UPDATE_ROLLBACK_COMPLETED", "UPDATE_ROLLBACK_FAILED"
|
|
717
|
+
# resp.deployment.created_at #=> Time
|
|
718
|
+
# resp.deployment.modified_at #=> Time
|
|
612
719
|
# resp.deployment.specifications #=> Hash
|
|
613
720
|
# resp.deployment.specifications["KeyString"] #=> String
|
|
614
|
-
# resp.deployment.
|
|
721
|
+
# resp.deployment.resource_group #=> String
|
|
722
|
+
# resp.deployment.deleted_at #=> Time
|
|
615
723
|
# resp.deployment.tags #=> Hash
|
|
616
724
|
# resp.deployment.tags["TagKey"] #=> String
|
|
617
|
-
# resp.deployment.
|
|
725
|
+
# resp.deployment.deployment_arn #=> String
|
|
618
726
|
#
|
|
619
727
|
# @see http://docs.aws.amazon.com/goto/WebAPI/launch-wizard-2018-05-10/GetDeployment AWS API Documentation
|
|
620
728
|
#
|
|
@@ -625,6 +733,57 @@ module Aws::LaunchWizard
|
|
|
625
733
|
req.send_request(options)
|
|
626
734
|
end
|
|
627
735
|
|
|
736
|
+
# Returns information about a deployment pattern version.
|
|
737
|
+
#
|
|
738
|
+
# @option params [required, String] :workload_name
|
|
739
|
+
# The name of the workload. You can use the [ `ListWorkloads` ][1]
|
|
740
|
+
# operation to discover supported values for this parameter.
|
|
741
|
+
#
|
|
742
|
+
#
|
|
743
|
+
#
|
|
744
|
+
# [1]: https://docs.aws.amazon.com/launchwizard/latest/APIReference/API_ListWorkloads.html
|
|
745
|
+
#
|
|
746
|
+
# @option params [required, String] :deployment_pattern_name
|
|
747
|
+
# The name of the deployment pattern. You can use the [
|
|
748
|
+
# `ListWorkloadDeploymentPatterns` ][1] operation to discover supported
|
|
749
|
+
# values for this parameter.
|
|
750
|
+
#
|
|
751
|
+
#
|
|
752
|
+
#
|
|
753
|
+
# [1]: https://docs.aws.amazon.com/launchwizard/latest/APIReference/API_ListWorkloadDeploymentPatterns.html
|
|
754
|
+
#
|
|
755
|
+
# @option params [required, String] :deployment_pattern_version_name
|
|
756
|
+
# The name of the deployment pattern version.
|
|
757
|
+
#
|
|
758
|
+
# @return [Types::GetDeploymentPatternVersionOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
759
|
+
#
|
|
760
|
+
# * {Types::GetDeploymentPatternVersionOutput#deployment_pattern_version #deployment_pattern_version} => Types::DeploymentPatternVersionDataSummary
|
|
761
|
+
#
|
|
762
|
+
# @example Request syntax with placeholder values
|
|
763
|
+
#
|
|
764
|
+
# resp = client.get_deployment_pattern_version({
|
|
765
|
+
# workload_name: "WorkloadName", # required
|
|
766
|
+
# deployment_pattern_name: "DeploymentPatternName", # required
|
|
767
|
+
# deployment_pattern_version_name: "DeploymentPatternVersionName", # required
|
|
768
|
+
# })
|
|
769
|
+
#
|
|
770
|
+
# @example Response structure
|
|
771
|
+
#
|
|
772
|
+
# resp.deployment_pattern_version.deployment_pattern_version_name #=> String
|
|
773
|
+
# resp.deployment_pattern_version.description #=> String
|
|
774
|
+
# resp.deployment_pattern_version.documentation_url #=> String
|
|
775
|
+
# resp.deployment_pattern_version.workload_name #=> String
|
|
776
|
+
# resp.deployment_pattern_version.deployment_pattern_name #=> String
|
|
777
|
+
#
|
|
778
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/launch-wizard-2018-05-10/GetDeploymentPatternVersion AWS API Documentation
|
|
779
|
+
#
|
|
780
|
+
# @overload get_deployment_pattern_version(params = {})
|
|
781
|
+
# @param [Hash] params ({})
|
|
782
|
+
def get_deployment_pattern_version(params = {}, options = {})
|
|
783
|
+
req = build_request(:get_deployment_pattern_version, params)
|
|
784
|
+
req.send_request(options)
|
|
785
|
+
end
|
|
786
|
+
|
|
628
787
|
# Returns information about a workload.
|
|
629
788
|
#
|
|
630
789
|
# @option params [required, String] :workload_name
|
|
@@ -634,6 +793,25 @@ module Aws::LaunchWizard
|
|
|
634
793
|
#
|
|
635
794
|
# * {Types::GetWorkloadOutput#workload #workload} => Types::WorkloadData
|
|
636
795
|
#
|
|
796
|
+
#
|
|
797
|
+
# @example Example: Get details about a specific workload.
|
|
798
|
+
#
|
|
799
|
+
# resp = client.get_workload({
|
|
800
|
+
# workload_name: "SAP",
|
|
801
|
+
# })
|
|
802
|
+
#
|
|
803
|
+
# resp.to_h outputs the following:
|
|
804
|
+
# {
|
|
805
|
+
# workload: {
|
|
806
|
+
# documentation_url: "https://docs.aws.amazon.com/launchwizard/latest/userguide/launch-wizard-sap.html",
|
|
807
|
+
# description: "Workload Description",
|
|
808
|
+
# display_name: "SAP",
|
|
809
|
+
# icon_url: "https://aws-lw-workload-assets-test-us-east-1.s3.amazonaws.com/amazon/SAP/icon.png?X-Amz-Security-Token=IQoJb3JpZ2luX2VjEAUaCXVzLWVhc3QtMSJHMEUCIC4l3GCH4o%2Bgq3pJzcD1YJmtrmyNCoEgG2RIayjDWf9kAiEAnMK5nYixaZLuF1s1UVoNd7xIbDrOQ8EAbhcZWexMp9cq7wIIrf%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FARAEGgw1ODI1NTgxMjEyMDYiDHxMN%2BZ8CoPORzvo4yrDAtkVZlBVxLwnFmwHw005vo13LOUUbyajEpp3HNh%2BaBL8K2DLx7Kzi0UPPD6z8pL1eiFLHAQ9zZgVc7pLVQjBKOdcw1GmIADDepqYEb%2B8zLi7zwWP1JT72YbT6ZXSoWpb5NCqcyAvdK47b0Ae586s6VkWzoeJ65jR%2FgbJMhRpFpqVSP2XI6Rf6yA3%2BkQyUCk3RdyF4ljIL8Nf5nIFb%2BOMK2PZ8aJX85l1j7UpJE1rfNb1PitVcQz3KlW5xkiXfcWRKeVhgHRyuCEL3FY0DyPFdqe3NxcA0%2FzPgBq6Y9B41kM6af5u2kQRfQOjWejDpzpG7w40eaIKAYnhBkjIA9550geSLB7O%2FuAPQLI9fI2lVowIBUKsKVOr0%2FFGIzW3WM7%2BbEx%2FZ0mDkP1IhcpZdP7owC77K8O%2BXDgBCabAy48K3ndi%2BQKQMPXjz6YGOp4Bbgv9mVc3sE4KvXZv1skhnOYcOKGdCncIKLne0W%2BgO3URxyDQiyO2FhM3OekXDH83CNCyDVIpkgpWkvgXDSaZiD5mj0T9iqEeJzfh6uQvX1dRN%2BxI1eV0M7HKY2e7F%2BKNjeLhzKgKpSpDqFIUSjLeBlLLyQCNKuUiO3DMiy3rB89aX4b9wyC8au0SfGb72YyNLXjh6M1whcj1VNGePyw%3D&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20230809T202649Z&X-Amz-SignedHeaders=host&X-Amz-Expires=3600&X-Amz-Credential=ASIAYPIZLPT3GGDNTHTI%2F20230809%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Signature=6a37e41e47208b426a5e7d32392d0815388cd0231187652204836943c37ad86a",
|
|
810
|
+
# status: "ACTIVE",
|
|
811
|
+
# workload_name: "SAP",
|
|
812
|
+
# },
|
|
813
|
+
# }
|
|
814
|
+
#
|
|
637
815
|
# @example Request syntax with placeholder values
|
|
638
816
|
#
|
|
639
817
|
# resp = client.get_workload({
|
|
@@ -642,13 +820,13 @@ module Aws::LaunchWizard
|
|
|
642
820
|
#
|
|
643
821
|
# @example Response structure
|
|
644
822
|
#
|
|
645
|
-
# resp.workload.
|
|
823
|
+
# resp.workload.workload_name #=> String
|
|
646
824
|
# resp.workload.display_name #=> String
|
|
825
|
+
# resp.workload.status #=> String, one of "ACTIVE", "INACTIVE", "DISABLED", "DELETED"
|
|
826
|
+
# resp.workload.description #=> String
|
|
647
827
|
# resp.workload.documentation_url #=> String
|
|
648
828
|
# resp.workload.icon_url #=> String
|
|
649
|
-
# resp.workload.status #=> String, one of "ACTIVE", "INACTIVE", "DISABLED", "DELETED"
|
|
650
829
|
# resp.workload.status_message #=> String
|
|
651
|
-
# resp.workload.workload_name #=> String
|
|
652
830
|
#
|
|
653
831
|
# @see http://docs.aws.amazon.com/goto/WebAPI/launch-wizard-2018-05-10/GetWorkload AWS API Documentation
|
|
654
832
|
#
|
|
@@ -670,42 +848,80 @@ module Aws::LaunchWizard
|
|
|
670
848
|
# [1]: https://docs.aws.amazon.com/launchwizard/latest/APIReference/API_ListWorkloads.html
|
|
671
849
|
# [2]: https://docs.aws.amazon.com/launchwizard/latest/APIReference/API_ListWorkloadDeploymentPatterns.html
|
|
672
850
|
#
|
|
673
|
-
# @option params [required, String] :deployment_pattern_name
|
|
674
|
-
# The name of the deployment pattern.
|
|
675
|
-
#
|
|
676
851
|
# @option params [required, String] :workload_name
|
|
677
852
|
# The name of the workload.
|
|
678
853
|
#
|
|
854
|
+
# @option params [required, String] :deployment_pattern_name
|
|
855
|
+
# The name of the deployment pattern.
|
|
856
|
+
#
|
|
679
857
|
# @return [Types::GetWorkloadDeploymentPatternOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
680
858
|
#
|
|
681
859
|
# * {Types::GetWorkloadDeploymentPatternOutput#workload_deployment_pattern #workload_deployment_pattern} => Types::WorkloadDeploymentPatternData
|
|
682
860
|
#
|
|
861
|
+
#
|
|
862
|
+
# @example Example: Get details about a specific Workload deployment pattern
|
|
863
|
+
#
|
|
864
|
+
# resp = client.get_workload_deployment_pattern({
|
|
865
|
+
# deployment_pattern_name: "adSelfManagedNewVpc",
|
|
866
|
+
# workload_name: "MicrosoftActiveDirectory",
|
|
867
|
+
# })
|
|
868
|
+
#
|
|
869
|
+
# resp.to_h outputs the following:
|
|
870
|
+
# {
|
|
871
|
+
# workload_deployment_pattern: {
|
|
872
|
+
# deployment_pattern_name: "adSelfManagedNewVpc",
|
|
873
|
+
# deployment_pattern_version_name: "2024-03-19-14-00-09",
|
|
874
|
+
# description: "Builds a new AWS environment (VPC and other components), and deploys AD DS into this new VPC.",
|
|
875
|
+
# display_name: "Self-managed AD - new VPC",
|
|
876
|
+
# specifications: [
|
|
877
|
+
# {
|
|
878
|
+
# name: "NumberOfAZs",
|
|
879
|
+
# required: "Yes",
|
|
880
|
+
# description: "Number of Availability Zones to use in the VPC.",
|
|
881
|
+
# },
|
|
882
|
+
# {
|
|
883
|
+
# name: "AvailabilityZones",
|
|
884
|
+
# required: "Yes",
|
|
885
|
+
# description: "List of Availability Zones (AZs) to use for the subnets in the VPC.",
|
|
886
|
+
# },
|
|
887
|
+
# {
|
|
888
|
+
# name: "VPCCIDR",
|
|
889
|
+
# required: "Yes",
|
|
890
|
+
# description: "CIDR block for the VPC.",
|
|
891
|
+
# },
|
|
892
|
+
# ],
|
|
893
|
+
# status: "ACTIVE",
|
|
894
|
+
# workload_name: "MicrosoftActiveDirectory",
|
|
895
|
+
# },
|
|
896
|
+
# }
|
|
897
|
+
#
|
|
683
898
|
# @example Request syntax with placeholder values
|
|
684
899
|
#
|
|
685
900
|
# resp = client.get_workload_deployment_pattern({
|
|
686
|
-
# deployment_pattern_name: "DeploymentPatternName", # required
|
|
687
901
|
# workload_name: "WorkloadName", # required
|
|
902
|
+
# deployment_pattern_name: "DeploymentPatternName", # required
|
|
688
903
|
# })
|
|
689
904
|
#
|
|
690
905
|
# @example Response structure
|
|
691
906
|
#
|
|
907
|
+
# resp.workload_deployment_pattern.workload_name #=> String
|
|
692
908
|
# resp.workload_deployment_pattern.deployment_pattern_name #=> String
|
|
693
|
-
# resp.workload_deployment_pattern.
|
|
909
|
+
# resp.workload_deployment_pattern.workload_version_name #=> String
|
|
910
|
+
# resp.workload_deployment_pattern.deployment_pattern_version_name #=> String
|
|
694
911
|
# resp.workload_deployment_pattern.display_name #=> String
|
|
912
|
+
# resp.workload_deployment_pattern.description #=> String
|
|
913
|
+
# resp.workload_deployment_pattern.status #=> String, one of "ACTIVE", "INACTIVE", "DISABLED", "DELETED"
|
|
914
|
+
# resp.workload_deployment_pattern.status_message #=> String
|
|
695
915
|
# resp.workload_deployment_pattern.specifications #=> Array
|
|
916
|
+
# resp.workload_deployment_pattern.specifications[0].name #=> String
|
|
917
|
+
# resp.workload_deployment_pattern.specifications[0].description #=> String
|
|
696
918
|
# resp.workload_deployment_pattern.specifications[0].allowed_values #=> Array
|
|
697
919
|
# resp.workload_deployment_pattern.specifications[0].allowed_values[0] #=> String
|
|
920
|
+
# resp.workload_deployment_pattern.specifications[0].required #=> String
|
|
698
921
|
# resp.workload_deployment_pattern.specifications[0].conditionals #=> Array
|
|
699
|
-
# resp.workload_deployment_pattern.specifications[0].conditionals[0].comparator #=> String
|
|
700
922
|
# resp.workload_deployment_pattern.specifications[0].conditionals[0].name #=> String
|
|
701
923
|
# resp.workload_deployment_pattern.specifications[0].conditionals[0].value #=> String
|
|
702
|
-
# resp.workload_deployment_pattern.specifications[0].
|
|
703
|
-
# resp.workload_deployment_pattern.specifications[0].name #=> String
|
|
704
|
-
# resp.workload_deployment_pattern.specifications[0].required #=> String
|
|
705
|
-
# resp.workload_deployment_pattern.status #=> String, one of "ACTIVE", "INACTIVE", "DISABLED", "DELETED"
|
|
706
|
-
# resp.workload_deployment_pattern.status_message #=> String
|
|
707
|
-
# resp.workload_deployment_pattern.workload_name #=> String
|
|
708
|
-
# resp.workload_deployment_pattern.workload_version_name #=> String
|
|
924
|
+
# resp.workload_deployment_pattern.specifications[0].conditionals[0].comparator #=> String
|
|
709
925
|
#
|
|
710
926
|
# @see http://docs.aws.amazon.com/goto/WebAPI/launch-wizard-2018-05-10/GetWorkloadDeploymentPattern AWS API Documentation
|
|
711
927
|
#
|
|
@@ -737,6 +953,33 @@ module Aws::LaunchWizard
|
|
|
737
953
|
#
|
|
738
954
|
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
739
955
|
#
|
|
956
|
+
#
|
|
957
|
+
# @example Example: List all actions taken during a deployment.
|
|
958
|
+
#
|
|
959
|
+
# resp = client.list_deployment_events({
|
|
960
|
+
# deployment_id: "4c1b59c1-659c-467f-b6e9-6ef6f9d28e1d",
|
|
961
|
+
# })
|
|
962
|
+
#
|
|
963
|
+
# resp.to_h outputs the following:
|
|
964
|
+
# {
|
|
965
|
+
# deployment_events: [
|
|
966
|
+
# {
|
|
967
|
+
# name: "Create secure parameter",
|
|
968
|
+
# description: "Creates a new secure parameter",
|
|
969
|
+
# status: "COMPLETED",
|
|
970
|
+
# status_reason: "",
|
|
971
|
+
# timestamp: Time.parse("2023-04-24T13:10:39.123Z"),
|
|
972
|
+
# },
|
|
973
|
+
# {
|
|
974
|
+
# name: "Create resource group",
|
|
975
|
+
# description: "Creates a resource group with all the application resources",
|
|
976
|
+
# status: "COMPLETED",
|
|
977
|
+
# status_reason: "",
|
|
978
|
+
# timestamp: Time.parse("2023-04-24T13:10:42.238Z"),
|
|
979
|
+
# },
|
|
980
|
+
# ],
|
|
981
|
+
# }
|
|
982
|
+
#
|
|
740
983
|
# @example Request syntax with placeholder values
|
|
741
984
|
#
|
|
742
985
|
# resp = client.list_deployment_events({
|
|
@@ -748,8 +991,8 @@ module Aws::LaunchWizard
|
|
|
748
991
|
# @example Response structure
|
|
749
992
|
#
|
|
750
993
|
# resp.deployment_events #=> Array
|
|
751
|
-
# resp.deployment_events[0].description #=> String
|
|
752
994
|
# resp.deployment_events[0].name #=> String
|
|
995
|
+
# resp.deployment_events[0].description #=> String
|
|
753
996
|
# resp.deployment_events[0].status #=> String, one of "CANCELED", "CANCELING", "COMPLETED", "CREATED", "FAILED", "IN_PROGRESS", "PENDING", "TIMED_OUT"
|
|
754
997
|
# resp.deployment_events[0].status_reason #=> String
|
|
755
998
|
# resp.deployment_events[0].timestamp #=> Time
|
|
@@ -764,6 +1007,130 @@ module Aws::LaunchWizard
|
|
|
764
1007
|
req.send_request(options)
|
|
765
1008
|
end
|
|
766
1009
|
|
|
1010
|
+
# Lists the deployment pattern versions.
|
|
1011
|
+
#
|
|
1012
|
+
# @option params [required, String] :workload_name
|
|
1013
|
+
# The name of the workload. You can use the [ `ListWorkloads` ][1]
|
|
1014
|
+
# operation to discover supported values for this parameter.
|
|
1015
|
+
#
|
|
1016
|
+
#
|
|
1017
|
+
#
|
|
1018
|
+
# [1]: https://docs.aws.amazon.com/launchwizard/latest/APIReference/API_ListWorkloads.html
|
|
1019
|
+
#
|
|
1020
|
+
# @option params [required, String] :deployment_pattern_name
|
|
1021
|
+
# The name of the deployment pattern. You can use the [
|
|
1022
|
+
# `ListWorkloadDeploymentPatterns` ][1] operation to discover supported
|
|
1023
|
+
# values for this parameter.
|
|
1024
|
+
#
|
|
1025
|
+
#
|
|
1026
|
+
#
|
|
1027
|
+
# [1]: https://docs.aws.amazon.com/launchwizard/latest/APIReference/API_ListWorkloadDeploymentPatterns.html
|
|
1028
|
+
#
|
|
1029
|
+
# @option params [Integer] :max_results
|
|
1030
|
+
# The maximum number of deployment pattern versions to list.
|
|
1031
|
+
#
|
|
1032
|
+
# @option params [String] :next_token
|
|
1033
|
+
# The token for the next set of results.
|
|
1034
|
+
#
|
|
1035
|
+
# @option params [Array<Types::DeploymentPatternVersionFilter>] :filters
|
|
1036
|
+
# Filters to apply when listing deployment pattern versions.
|
|
1037
|
+
#
|
|
1038
|
+
# @return [Types::ListDeploymentPatternVersionsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1039
|
+
#
|
|
1040
|
+
# * {Types::ListDeploymentPatternVersionsOutput#deployment_pattern_versions #deployment_pattern_versions} => Array<Types::DeploymentPatternVersionDataSummary>
|
|
1041
|
+
# * {Types::ListDeploymentPatternVersionsOutput#next_token #next_token} => String
|
|
1042
|
+
#
|
|
1043
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
1044
|
+
#
|
|
1045
|
+
#
|
|
1046
|
+
# @example Example: List all visible versions for the given workload and deployment pattern.
|
|
1047
|
+
#
|
|
1048
|
+
# resp = client.list_deployment_pattern_versions({
|
|
1049
|
+
# deployment_pattern_name: "default",
|
|
1050
|
+
# workload_name: "security-automations-for-aws-waf",
|
|
1051
|
+
# })
|
|
1052
|
+
#
|
|
1053
|
+
# resp.to_h outputs the following:
|
|
1054
|
+
# {
|
|
1055
|
+
# deployment_pattern_versions: [
|
|
1056
|
+
# {
|
|
1057
|
+
# deployment_pattern_name: "default",
|
|
1058
|
+
# deployment_pattern_version_name: "4.0.6",
|
|
1059
|
+
# workload_name: "security-automations-for-aws-waf",
|
|
1060
|
+
# },
|
|
1061
|
+
# {
|
|
1062
|
+
# deployment_pattern_name: "default",
|
|
1063
|
+
# deployment_pattern_version_name: "3.2.5",
|
|
1064
|
+
# workload_name: "security-automations-for-aws-waf",
|
|
1065
|
+
# },
|
|
1066
|
+
# {
|
|
1067
|
+
# deployment_pattern_name: "default",
|
|
1068
|
+
# deployment_pattern_version_name: "3.1.0",
|
|
1069
|
+
# workload_name: "security-automations-for-aws-waf",
|
|
1070
|
+
# },
|
|
1071
|
+
# ],
|
|
1072
|
+
# }
|
|
1073
|
+
#
|
|
1074
|
+
# @example Example: List filtered versions for the given workload and deployment pattern.
|
|
1075
|
+
#
|
|
1076
|
+
# resp = client.list_deployment_pattern_versions({
|
|
1077
|
+
# deployment_pattern_name: "default",
|
|
1078
|
+
# filters: [
|
|
1079
|
+
# {
|
|
1080
|
+
# name: "updateFromVersion",
|
|
1081
|
+
# values: [
|
|
1082
|
+
# "4.0.2",
|
|
1083
|
+
# ],
|
|
1084
|
+
# },
|
|
1085
|
+
# ],
|
|
1086
|
+
# workload_name: "security-automations-for-aws-waf",
|
|
1087
|
+
# })
|
|
1088
|
+
#
|
|
1089
|
+
# resp.to_h outputs the following:
|
|
1090
|
+
# {
|
|
1091
|
+
# deployment_pattern_versions: [
|
|
1092
|
+
# {
|
|
1093
|
+
# deployment_pattern_name: "default",
|
|
1094
|
+
# deployment_pattern_version_name: "4.0.6",
|
|
1095
|
+
# workload_name: "security-automations-for-aws-waf",
|
|
1096
|
+
# },
|
|
1097
|
+
# ],
|
|
1098
|
+
# }
|
|
1099
|
+
#
|
|
1100
|
+
# @example Request syntax with placeholder values
|
|
1101
|
+
#
|
|
1102
|
+
# resp = client.list_deployment_pattern_versions({
|
|
1103
|
+
# workload_name: "WorkloadName", # required
|
|
1104
|
+
# deployment_pattern_name: "DeploymentPatternName", # required
|
|
1105
|
+
# max_results: 1,
|
|
1106
|
+
# next_token: "NextToken",
|
|
1107
|
+
# filters: [
|
|
1108
|
+
# {
|
|
1109
|
+
# name: "updateFromVersion", # required, accepts updateFromVersion
|
|
1110
|
+
# values: ["DeploymentPatternVersionFilterValuesMemberString"], # required
|
|
1111
|
+
# },
|
|
1112
|
+
# ],
|
|
1113
|
+
# })
|
|
1114
|
+
#
|
|
1115
|
+
# @example Response structure
|
|
1116
|
+
#
|
|
1117
|
+
# resp.deployment_pattern_versions #=> Array
|
|
1118
|
+
# resp.deployment_pattern_versions[0].deployment_pattern_version_name #=> String
|
|
1119
|
+
# resp.deployment_pattern_versions[0].description #=> String
|
|
1120
|
+
# resp.deployment_pattern_versions[0].documentation_url #=> String
|
|
1121
|
+
# resp.deployment_pattern_versions[0].workload_name #=> String
|
|
1122
|
+
# resp.deployment_pattern_versions[0].deployment_pattern_name #=> String
|
|
1123
|
+
# resp.next_token #=> String
|
|
1124
|
+
#
|
|
1125
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/launch-wizard-2018-05-10/ListDeploymentPatternVersions AWS API Documentation
|
|
1126
|
+
#
|
|
1127
|
+
# @overload list_deployment_pattern_versions(params = {})
|
|
1128
|
+
# @param [Hash] params ({})
|
|
1129
|
+
def list_deployment_pattern_versions(params = {}, options = {})
|
|
1130
|
+
req = build_request(:list_deployment_pattern_versions, params)
|
|
1131
|
+
req.send_request(options)
|
|
1132
|
+
end
|
|
1133
|
+
|
|
767
1134
|
# Lists the deployments that have been created.
|
|
768
1135
|
#
|
|
769
1136
|
# @option params [Array<Types::DeploymentFilter>] :filters
|
|
@@ -791,6 +1158,34 @@ module Aws::LaunchWizard
|
|
|
791
1158
|
#
|
|
792
1159
|
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
793
1160
|
#
|
|
1161
|
+
#
|
|
1162
|
+
# @example Example: List deployments in the account with filters.
|
|
1163
|
+
#
|
|
1164
|
+
# resp = client.list_deployments({
|
|
1165
|
+
# filters: [
|
|
1166
|
+
# {
|
|
1167
|
+
# name: "DEPLOYMENT_STATUS",
|
|
1168
|
+
# values: [
|
|
1169
|
+
# "IN_PROGRESS",
|
|
1170
|
+
# ],
|
|
1171
|
+
# },
|
|
1172
|
+
# ],
|
|
1173
|
+
# })
|
|
1174
|
+
#
|
|
1175
|
+
# resp.to_h outputs the following:
|
|
1176
|
+
# {
|
|
1177
|
+
# deployments: [
|
|
1178
|
+
# {
|
|
1179
|
+
# name: "SapHanaSingleForTest",
|
|
1180
|
+
# created_at: Time.parse("2023-04-24T13:10:09.857Z"),
|
|
1181
|
+
# id: "4c1b59c1-659c-467f-b6e9-6ef6f9d28e1d",
|
|
1182
|
+
# pattern_name: "SapHanaSingle",
|
|
1183
|
+
# status: "IN_PROGRESS",
|
|
1184
|
+
# workload_name: "SAP",
|
|
1185
|
+
# },
|
|
1186
|
+
# ],
|
|
1187
|
+
# }
|
|
1188
|
+
#
|
|
794
1189
|
# @example Request syntax with placeholder values
|
|
795
1190
|
#
|
|
796
1191
|
# resp = client.list_deployments({
|
|
@@ -807,12 +1202,13 @@ module Aws::LaunchWizard
|
|
|
807
1202
|
# @example Response structure
|
|
808
1203
|
#
|
|
809
1204
|
# resp.deployments #=> Array
|
|
810
|
-
# resp.deployments[0].created_at #=> Time
|
|
811
|
-
# resp.deployments[0].id #=> String
|
|
812
1205
|
# resp.deployments[0].name #=> String
|
|
813
|
-
# resp.deployments[0].
|
|
814
|
-
# resp.deployments[0].status #=> String, one of "COMPLETED", "CREATING", "DELETE_IN_PROGRESS", "DELETE_INITIATING", "DELETE_FAILED", "DELETED", "FAILED", "IN_PROGRESS", "VALIDATING"
|
|
1206
|
+
# resp.deployments[0].id #=> String
|
|
815
1207
|
# resp.deployments[0].workload_name #=> String
|
|
1208
|
+
# resp.deployments[0].pattern_name #=> String
|
|
1209
|
+
# resp.deployments[0].status #=> String, one of "COMPLETED", "CREATING", "DELETE_IN_PROGRESS", "DELETE_INITIATING", "DELETE_FAILED", "DELETED", "FAILED", "IN_PROGRESS", "VALIDATING", "UPDATE_IN_PROGRESS", "UPDATE_COMPLETED", "UPDATE_FAILED", "UPDATE_ROLLBACK_COMPLETED", "UPDATE_ROLLBACK_FAILED"
|
|
1210
|
+
# resp.deployments[0].created_at #=> Time
|
|
1211
|
+
# resp.deployments[0].modified_at #=> Time
|
|
816
1212
|
# resp.next_token #=> String
|
|
817
1213
|
#
|
|
818
1214
|
# @see http://docs.aws.amazon.com/goto/WebAPI/launch-wizard-2018-05-10/ListDeployments AWS API Documentation
|
|
@@ -833,6 +1229,21 @@ module Aws::LaunchWizard
|
|
|
833
1229
|
#
|
|
834
1230
|
# * {Types::ListTagsForResourceOutput#tags #tags} => Hash<String,String>
|
|
835
1231
|
#
|
|
1232
|
+
#
|
|
1233
|
+
# @example Example: Listing tags on a Launch Wizard deployment resource.
|
|
1234
|
+
#
|
|
1235
|
+
# resp = client.list_tags_for_resource({
|
|
1236
|
+
# resource_arn: "arn:aws:launchwizard:us-east-1:123456789012:deployment/11111111-1111-1111-1111-111111111111",
|
|
1237
|
+
# })
|
|
1238
|
+
#
|
|
1239
|
+
# resp.to_h outputs the following:
|
|
1240
|
+
# {
|
|
1241
|
+
# tags: {
|
|
1242
|
+
# "key1" => "value1",
|
|
1243
|
+
# "key2" => "value2",
|
|
1244
|
+
# },
|
|
1245
|
+
# }
|
|
1246
|
+
#
|
|
836
1247
|
# @example Request syntax with placeholder values
|
|
837
1248
|
#
|
|
838
1249
|
# resp = client.list_tags_for_resource({
|
|
@@ -861,6 +1272,9 @@ module Aws::LaunchWizard
|
|
|
861
1272
|
#
|
|
862
1273
|
# [1]: https://docs.aws.amazon.com/launchwizard/latest/APIReference/API_ListWorkloads.html
|
|
863
1274
|
#
|
|
1275
|
+
# @option params [required, String] :workload_name
|
|
1276
|
+
# The name of the workload.
|
|
1277
|
+
#
|
|
864
1278
|
# @option params [Integer] :max_results
|
|
865
1279
|
# The maximum number of items to return for this request. To get the
|
|
866
1280
|
# next page of items, make another request with the token returned in
|
|
@@ -870,35 +1284,62 @@ module Aws::LaunchWizard
|
|
|
870
1284
|
# The token returned from a previous paginated request. Pagination
|
|
871
1285
|
# continues from the end of the items returned by the previous request.
|
|
872
1286
|
#
|
|
873
|
-
# @option params [required, String] :workload_name
|
|
874
|
-
# The name of the workload.
|
|
875
|
-
#
|
|
876
1287
|
# @return [Types::ListWorkloadDeploymentPatternsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
877
1288
|
#
|
|
878
|
-
# * {Types::ListWorkloadDeploymentPatternsOutput#next_token #next_token} => String
|
|
879
1289
|
# * {Types::ListWorkloadDeploymentPatternsOutput#workload_deployment_patterns #workload_deployment_patterns} => Array<Types::WorkloadDeploymentPatternDataSummary>
|
|
1290
|
+
# * {Types::ListWorkloadDeploymentPatternsOutput#next_token #next_token} => String
|
|
880
1291
|
#
|
|
881
1292
|
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
882
1293
|
#
|
|
1294
|
+
#
|
|
1295
|
+
# @example Example: List all available workloads supported by AWS Launch Wizard.
|
|
1296
|
+
#
|
|
1297
|
+
# resp = client.list_workload_deployment_patterns({
|
|
1298
|
+
# workload_name: "SAP",
|
|
1299
|
+
# })
|
|
1300
|
+
#
|
|
1301
|
+
# resp.to_h outputs the following:
|
|
1302
|
+
# {
|
|
1303
|
+
# workload_deployment_patterns: [
|
|
1304
|
+
# {
|
|
1305
|
+
# deployment_pattern_name: "SapHanaHA",
|
|
1306
|
+
# deployment_pattern_version_name: "2023-08-02-01-00-00",
|
|
1307
|
+
# description: "Deployment Option Description",
|
|
1308
|
+
# display_name: "Deployment Option Display Name",
|
|
1309
|
+
# status: "ACTIVE",
|
|
1310
|
+
# workload_name: "SAP",
|
|
1311
|
+
# },
|
|
1312
|
+
# {
|
|
1313
|
+
# deployment_pattern_name: "SapHanaMulti",
|
|
1314
|
+
# deployment_pattern_version_name: "2023-08-02-01-00-00",
|
|
1315
|
+
# description: "Deployment Option Description",
|
|
1316
|
+
# display_name: "Deployment Option Display Name",
|
|
1317
|
+
# status: "ACTIVE",
|
|
1318
|
+
# workload_name: "SAP",
|
|
1319
|
+
# },
|
|
1320
|
+
# ],
|
|
1321
|
+
# }
|
|
1322
|
+
#
|
|
883
1323
|
# @example Request syntax with placeholder values
|
|
884
1324
|
#
|
|
885
1325
|
# resp = client.list_workload_deployment_patterns({
|
|
1326
|
+
# workload_name: "WorkloadName", # required
|
|
886
1327
|
# max_results: 1,
|
|
887
1328
|
# next_token: "NextToken",
|
|
888
|
-
# workload_name: "WorkloadName", # required
|
|
889
1329
|
# })
|
|
890
1330
|
#
|
|
891
1331
|
# @example Response structure
|
|
892
1332
|
#
|
|
893
|
-
# resp.next_token #=> String
|
|
894
1333
|
# resp.workload_deployment_patterns #=> Array
|
|
1334
|
+
# resp.workload_deployment_patterns[0].workload_name #=> String
|
|
895
1335
|
# resp.workload_deployment_patterns[0].deployment_pattern_name #=> String
|
|
896
|
-
# resp.workload_deployment_patterns[0].
|
|
1336
|
+
# resp.workload_deployment_patterns[0].workload_version_name #=> String
|
|
1337
|
+
# resp.workload_deployment_patterns[0].deployment_pattern_version_name #=> String
|
|
897
1338
|
# resp.workload_deployment_patterns[0].display_name #=> String
|
|
1339
|
+
# resp.workload_deployment_patterns[0].description #=> String
|
|
898
1340
|
# resp.workload_deployment_patterns[0].status #=> String, one of "ACTIVE", "INACTIVE", "DISABLED", "DELETED"
|
|
899
1341
|
# resp.workload_deployment_patterns[0].status_message #=> String
|
|
900
|
-
# resp.
|
|
901
|
-
# resp.workload_deployment_patterns[0].workload_version_name #=> String
|
|
1342
|
+
# resp.next_token #=> String
|
|
902
1343
|
#
|
|
903
1344
|
# @see http://docs.aws.amazon.com/goto/WebAPI/launch-wizard-2018-05-10/ListWorkloadDeploymentPatterns AWS API Documentation
|
|
904
1345
|
#
|
|
@@ -928,11 +1369,33 @@ module Aws::LaunchWizard
|
|
|
928
1369
|
#
|
|
929
1370
|
# @return [Types::ListWorkloadsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
930
1371
|
#
|
|
931
|
-
# * {Types::ListWorkloadsOutput#next_token #next_token} => String
|
|
932
1372
|
# * {Types::ListWorkloadsOutput#workloads #workloads} => Array<Types::WorkloadDataSummary>
|
|
1373
|
+
# * {Types::ListWorkloadsOutput#next_token #next_token} => String
|
|
933
1374
|
#
|
|
934
1375
|
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
935
1376
|
#
|
|
1377
|
+
#
|
|
1378
|
+
# @example Example: List all available workloads supported by AWS Launch Wizard.
|
|
1379
|
+
#
|
|
1380
|
+
# resp = client.list_workloads({
|
|
1381
|
+
# })
|
|
1382
|
+
#
|
|
1383
|
+
# resp.to_h outputs the following:
|
|
1384
|
+
# {
|
|
1385
|
+
# workloads: [
|
|
1386
|
+
# {
|
|
1387
|
+
# display_name: "SAP",
|
|
1388
|
+
# status: "ACTIVE",
|
|
1389
|
+
# workload_name: "SAP",
|
|
1390
|
+
# },
|
|
1391
|
+
# {
|
|
1392
|
+
# display_name: "MS SQL Server",
|
|
1393
|
+
# status: "ACTIVE",
|
|
1394
|
+
# workload_name: "SQL",
|
|
1395
|
+
# },
|
|
1396
|
+
# ],
|
|
1397
|
+
# }
|
|
1398
|
+
#
|
|
936
1399
|
# @example Request syntax with placeholder values
|
|
937
1400
|
#
|
|
938
1401
|
# resp = client.list_workloads({
|
|
@@ -942,10 +1405,11 @@ module Aws::LaunchWizard
|
|
|
942
1405
|
#
|
|
943
1406
|
# @example Response structure
|
|
944
1407
|
#
|
|
945
|
-
# resp.next_token #=> String
|
|
946
1408
|
# resp.workloads #=> Array
|
|
947
|
-
# resp.workloads[0].display_name #=> String
|
|
948
1409
|
# resp.workloads[0].workload_name #=> String
|
|
1410
|
+
# resp.workloads[0].display_name #=> String
|
|
1411
|
+
# resp.workloads[0].status #=> String, one of "ACTIVE", "INACTIVE", "DISABLED", "DELETED"
|
|
1412
|
+
# resp.next_token #=> String
|
|
949
1413
|
#
|
|
950
1414
|
# @see http://docs.aws.amazon.com/goto/WebAPI/launch-wizard-2018-05-10/ListWorkloads AWS API Documentation
|
|
951
1415
|
#
|
|
@@ -966,6 +1430,21 @@ module Aws::LaunchWizard
|
|
|
966
1430
|
#
|
|
967
1431
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
968
1432
|
#
|
|
1433
|
+
#
|
|
1434
|
+
# @example Example: Adding tags to a Launch Wizard deployment resource.
|
|
1435
|
+
#
|
|
1436
|
+
# resp = client.tag_resource({
|
|
1437
|
+
# resource_arn: "arn:aws:launchwizard:us-east-1:123456789012:deployment/11111111-1111-1111-1111-111111111111",
|
|
1438
|
+
# tags: {
|
|
1439
|
+
# "key1" => "value1",
|
|
1440
|
+
# "key2" => "value2",
|
|
1441
|
+
# },
|
|
1442
|
+
# })
|
|
1443
|
+
#
|
|
1444
|
+
# resp.to_h outputs the following:
|
|
1445
|
+
# {
|
|
1446
|
+
# }
|
|
1447
|
+
#
|
|
969
1448
|
# @example Request syntax with placeholder values
|
|
970
1449
|
#
|
|
971
1450
|
# resp = client.tag_resource({
|
|
@@ -994,6 +1473,21 @@ module Aws::LaunchWizard
|
|
|
994
1473
|
#
|
|
995
1474
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
996
1475
|
#
|
|
1476
|
+
#
|
|
1477
|
+
# @example Example: Removing tags on a Launch Wizard deployment resource.
|
|
1478
|
+
#
|
|
1479
|
+
# resp = client.untag_resource({
|
|
1480
|
+
# resource_arn: "arn:aws:launchwizard:us-east-1:123456789012:deployment/11111111-1111-1111-1111-111111111111",
|
|
1481
|
+
# tag_keys: [
|
|
1482
|
+
# "key1",
|
|
1483
|
+
# "key2",
|
|
1484
|
+
# ],
|
|
1485
|
+
# })
|
|
1486
|
+
#
|
|
1487
|
+
# resp.to_h outputs the following:
|
|
1488
|
+
# {
|
|
1489
|
+
# }
|
|
1490
|
+
#
|
|
997
1491
|
# @example Request syntax with placeholder values
|
|
998
1492
|
#
|
|
999
1493
|
# resp = client.untag_resource({
|
|
@@ -1010,6 +1504,145 @@ module Aws::LaunchWizard
|
|
|
1010
1504
|
req.send_request(options)
|
|
1011
1505
|
end
|
|
1012
1506
|
|
|
1507
|
+
# Updates a deployment.
|
|
1508
|
+
#
|
|
1509
|
+
# @option params [required, String] :deployment_id
|
|
1510
|
+
# The ID of the deployment.
|
|
1511
|
+
#
|
|
1512
|
+
# @option params [required, Hash<String,String>] :specifications
|
|
1513
|
+
# The settings specified for the deployment. These settings define how
|
|
1514
|
+
# to deploy and configure your resources created by the deployment. For
|
|
1515
|
+
# more information about the specifications required for creating a
|
|
1516
|
+
# deployment for a SAP workload, see [SAP deployment specifications][1].
|
|
1517
|
+
# To retrieve the specifications required to create a deployment for
|
|
1518
|
+
# other workloads, use the [ `GetWorkloadDeploymentPattern` ][2]
|
|
1519
|
+
# operation.
|
|
1520
|
+
#
|
|
1521
|
+
#
|
|
1522
|
+
#
|
|
1523
|
+
# [1]: https://docs.aws.amazon.com/launchwizard/latest/APIReference/launch-wizard-specifications-sap.html
|
|
1524
|
+
# [2]: https://docs.aws.amazon.com/launchwizard/latest/APIReference/API_GetWorkloadDeploymentPattern.html
|
|
1525
|
+
#
|
|
1526
|
+
# @option params [String] :workload_version_name
|
|
1527
|
+
# The name of the workload version.
|
|
1528
|
+
#
|
|
1529
|
+
# @option params [String] :deployment_pattern_version_name
|
|
1530
|
+
# The name of the deployment pattern version.
|
|
1531
|
+
#
|
|
1532
|
+
# @option params [Boolean] :dry_run
|
|
1533
|
+
# Checks whether you have the required permissions for the action,
|
|
1534
|
+
# without actually making the request, and provides an error response.
|
|
1535
|
+
# If you have the required permissions, the error response is
|
|
1536
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
|
1537
|
+
#
|
|
1538
|
+
# @option params [Boolean] :force
|
|
1539
|
+
# Forces the update even if validation warnings are present.
|
|
1540
|
+
#
|
|
1541
|
+
# @return [Types::UpdateDeploymentOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1542
|
+
#
|
|
1543
|
+
# * {Types::UpdateDeploymentOutput#deployment #deployment} => Types::DeploymentDataSummary
|
|
1544
|
+
#
|
|
1545
|
+
#
|
|
1546
|
+
# @example Example: Edit deployment specifications.
|
|
1547
|
+
#
|
|
1548
|
+
# resp = client.update_deployment({
|
|
1549
|
+
# deployment_id: "4c1b59c1-659c-467f-b6e9-6ef6f9d28e1d",
|
|
1550
|
+
# dry_run: false,
|
|
1551
|
+
# specifications: {
|
|
1552
|
+
# "CreateSecurityGroup" => "No",
|
|
1553
|
+
# "DeploymentArtifactsS3Uri" => "aws-bucket-name",
|
|
1554
|
+
# "DisableDeploymentRollback" => "No",
|
|
1555
|
+
# "EnableEbsVolumeEncryption" => "No",
|
|
1556
|
+
# "KeyPairName" => "keyName",
|
|
1557
|
+
# "ProxyServerAddress" => "http://mno.abc.com:8080",
|
|
1558
|
+
# "SapSysGroupId" => "5003",
|
|
1559
|
+
# "SapVirtualIPOptIn" => "No",
|
|
1560
|
+
# "SaveDeploymentArtifacts" => "Yes",
|
|
1561
|
+
# "SnsTopicArn" => "arn:aws:sns:us-east-1:111111222222:snsNameUsEast1.fifo",
|
|
1562
|
+
# "Timezone" => "Pacific/Wake",
|
|
1563
|
+
# "VpcId" => "vpc-1234567",
|
|
1564
|
+
# },
|
|
1565
|
+
# })
|
|
1566
|
+
#
|
|
1567
|
+
# resp.to_h outputs the following:
|
|
1568
|
+
# {
|
|
1569
|
+
# deployment: {
|
|
1570
|
+
# name: "TestDeployment1",
|
|
1571
|
+
# created_at: Time.parse(1736286728468),
|
|
1572
|
+
# id: "4c1b59c1-659c-467f-b6e9-6ef6f9d28e1d",
|
|
1573
|
+
# pattern_name: "SapHanaSingle",
|
|
1574
|
+
# status: "UPDATE_IN_PROGRESS",
|
|
1575
|
+
# workload_name: "SAP",
|
|
1576
|
+
# },
|
|
1577
|
+
# }
|
|
1578
|
+
#
|
|
1579
|
+
# @example Example: Update deployment version.
|
|
1580
|
+
#
|
|
1581
|
+
# resp = client.update_deployment({
|
|
1582
|
+
# deployment_id: "4c1b59c1-659c-467f-b6e9-6ef6f9d28e1d",
|
|
1583
|
+
# deployment_pattern_version_name: "2.0.0",
|
|
1584
|
+
# dry_run: false,
|
|
1585
|
+
# specifications: {
|
|
1586
|
+
# "CreateSecurityGroup" => "No",
|
|
1587
|
+
# "DeploymentArtifactsS3Uri" => "aws-bucket-name",
|
|
1588
|
+
# "DisableDeploymentRollback" => "No",
|
|
1589
|
+
# "EnableEbsVolumeEncryption" => "No",
|
|
1590
|
+
# "KeyPairName" => "keyName",
|
|
1591
|
+
# "NewParameter" => "Allow",
|
|
1592
|
+
# "ProxyServerAddress" => "http://mno.abc.com:8080",
|
|
1593
|
+
# "SapSysGroupId" => "5003",
|
|
1594
|
+
# "SapVirtualIPOptIn" => "No",
|
|
1595
|
+
# "SaveDeploymentArtifacts" => "Yes",
|
|
1596
|
+
# "SnsTopicArn" => "arn:aws:sns:us-east-1:111111222222:snsNameUsEast1.fifo",
|
|
1597
|
+
# "Timezone" => "Pacific/Wake",
|
|
1598
|
+
# "VpcId" => "vpc-1234567",
|
|
1599
|
+
# },
|
|
1600
|
+
# })
|
|
1601
|
+
#
|
|
1602
|
+
# resp.to_h outputs the following:
|
|
1603
|
+
# {
|
|
1604
|
+
# deployment: {
|
|
1605
|
+
# name: "TestDeployment1",
|
|
1606
|
+
# created_at: Time.parse(1736286728468),
|
|
1607
|
+
# id: "4c1b59c1-659c-467f-b6e9-6ef6f9d28e1d",
|
|
1608
|
+
# pattern_name: "SapHanaSingle",
|
|
1609
|
+
# status: "UPDATE_IN_PROGRESS",
|
|
1610
|
+
# workload_name: "SAP",
|
|
1611
|
+
# },
|
|
1612
|
+
# }
|
|
1613
|
+
#
|
|
1614
|
+
# @example Request syntax with placeholder values
|
|
1615
|
+
#
|
|
1616
|
+
# resp = client.update_deployment({
|
|
1617
|
+
# deployment_id: "DeploymentId", # required
|
|
1618
|
+
# specifications: { # required
|
|
1619
|
+
# "KeyString" => "ValueString",
|
|
1620
|
+
# },
|
|
1621
|
+
# workload_version_name: "WorkloadVersionName",
|
|
1622
|
+
# deployment_pattern_version_name: "DeploymentPatternVersionName",
|
|
1623
|
+
# dry_run: false,
|
|
1624
|
+
# force: false,
|
|
1625
|
+
# })
|
|
1626
|
+
#
|
|
1627
|
+
# @example Response structure
|
|
1628
|
+
#
|
|
1629
|
+
# resp.deployment.name #=> String
|
|
1630
|
+
# resp.deployment.id #=> String
|
|
1631
|
+
# resp.deployment.workload_name #=> String
|
|
1632
|
+
# resp.deployment.pattern_name #=> String
|
|
1633
|
+
# resp.deployment.status #=> String, one of "COMPLETED", "CREATING", "DELETE_IN_PROGRESS", "DELETE_INITIATING", "DELETE_FAILED", "DELETED", "FAILED", "IN_PROGRESS", "VALIDATING", "UPDATE_IN_PROGRESS", "UPDATE_COMPLETED", "UPDATE_FAILED", "UPDATE_ROLLBACK_COMPLETED", "UPDATE_ROLLBACK_FAILED"
|
|
1634
|
+
# resp.deployment.created_at #=> Time
|
|
1635
|
+
# resp.deployment.modified_at #=> Time
|
|
1636
|
+
#
|
|
1637
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/launch-wizard-2018-05-10/UpdateDeployment AWS API Documentation
|
|
1638
|
+
#
|
|
1639
|
+
# @overload update_deployment(params = {})
|
|
1640
|
+
# @param [Hash] params ({})
|
|
1641
|
+
def update_deployment(params = {}, options = {})
|
|
1642
|
+
req = build_request(:update_deployment, params)
|
|
1643
|
+
req.send_request(options)
|
|
1644
|
+
end
|
|
1645
|
+
|
|
1013
1646
|
# @!endgroup
|
|
1014
1647
|
|
|
1015
1648
|
# @param params ({})
|
|
@@ -1028,7 +1661,7 @@ module Aws::LaunchWizard
|
|
|
1028
1661
|
tracer: tracer
|
|
1029
1662
|
)
|
|
1030
1663
|
context[:gem_name] = 'aws-sdk-launchwizard'
|
|
1031
|
-
context[:gem_version] = '1.
|
|
1664
|
+
context[:gem_version] = '1.34.0'
|
|
1032
1665
|
Seahorse::Client::Request.new(handlers, context)
|
|
1033
1666
|
end
|
|
1034
1667
|
|