aws-sdk-launchwizard 1.5.0 → 1.6.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5ca22691f0a97e2a45a56d6169d7dce2d84c271d51173d2ae67b0a63903890bf
4
- data.tar.gz: 1c1c4a0044eec2ef188eaf12dc4d7635a5abf21b3b7c247a690f02016f03a229
3
+ metadata.gz: 3d0f41d0fd8d581a1a1c617af5f5f7e42b87b5102de64037cf6ac9ce8935f674
4
+ data.tar.gz: f94fe478ec1e695a5040f365604aeb12b71f928caabbf06df299b0442a1affe6
5
5
  SHA512:
6
- metadata.gz: 1103efe933cfcca1b45457c1d4642a6e6bceeb15332da05bf170fa6e7803b1c9875fdc8ffdd5f9b956f390c107255573299217497df14d162c33c0c2480c1749
7
- data.tar.gz: e3688c24d9fd921f3c724d03ff99cb27d8d66fe05a7b7826dc412a7ce34b910878c31d7e2d706a1207dee7f875bbd07082daa5b0615ba821ccc0e8135c5fb922
6
+ metadata.gz: 4770c37470d6546113c0b116febb2d7fb05ce685b03d49f66c9dcd6db9cc5c9ca360fe9b3a3d2bdd430cc32ae5009df596773d77b8e3d3f370640b516807e408
7
+ data.tar.gz: 19bc5bcbb54202d6a01777e6f6dd607d80316da96c8c5bfdea562be7ee546aa79890835d4bb3684d4edce9615aebef610f5ce7dbcbdcd62c1f47c2796a8f8468
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.6.0 (2024-05-31)
5
+ ------------------
6
+
7
+ * Feature - This release adds support for describing workload deployment specifications, deploying additional workload types, and managing tags for Launch Wizard resources with API operations.
8
+
4
9
  1.5.0 (2024-05-13)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.5.0
1
+ 1.6.0
@@ -436,22 +436,29 @@ module Aws::LaunchWizard
436
436
  # The name of the deployment.
437
437
  #
438
438
  # @option params [required, Hash<String,String>] :specifications
439
- # The settings specified for the deployment. For more information on the
440
- # specifications required for creating a deployment, see [Workload
441
- # specifications][1].
439
+ # The settings specified for the deployment. These settings define how
440
+ # to deploy and configure your resources created by the deployment. For
441
+ # more information about the specifications required for creating a
442
+ # deployment for a SAP workload, see [SAP deployment specifications][1].
443
+ # To retrieve the specifications required to create a deployment for
444
+ # other workloads, use the [ `GetWorkloadDeploymentPattern` ][2]
445
+ # operation.
442
446
  #
443
447
  #
444
448
  #
445
- # [1]: https://docs.aws.amazon.com/launchwizard/latest/APIReference/launch-wizard-specifications.html
449
+ # [1]: https://docs.aws.amazon.com/launchwizard/latest/APIReference/launch-wizard-specifications-sap.html
450
+ # [2]: https://docs.aws.amazon.com/launchwizard/latest/APIReference/API_GetWorkloadDeploymentPattern.html
451
+ #
452
+ # @option params [Hash<String,String>] :tags
453
+ # The tags to add to the deployment.
446
454
  #
447
455
  # @option params [required, String] :workload_name
448
- # The name of the workload. You can use the [
449
- # `ListWorkloadDeploymentPatterns` ][1] operation to discover supported
450
- # values for this parameter.
456
+ # The name of the workload. You can use the [ `ListWorkloads` ][1]
457
+ # operation to discover supported values for this parameter.
451
458
  #
452
459
  #
453
460
  #
454
- # [1]: https://docs.aws.amazon.com/launchwizard/latest/APIReference/API_ListWorkloadDeploymentPatterns.html
461
+ # [1]: https://docs.aws.amazon.com/launchwizard/latest/APIReference/API_ListWorkloads.html
455
462
  #
456
463
  # @return [Types::CreateDeploymentOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
457
464
  #
@@ -466,6 +473,9 @@ module Aws::LaunchWizard
466
473
  # specifications: { # required
467
474
  # "KeyString" => "ValueString",
468
475
  # },
476
+ # tags: {
477
+ # "TagKey" => "TagValue",
478
+ # },
469
479
  # workload_name: "WorkloadName", # required
470
480
  # })
471
481
  #
@@ -531,6 +541,7 @@ module Aws::LaunchWizard
531
541
  #
532
542
  # resp.deployment.created_at #=> Time
533
543
  # resp.deployment.deleted_at #=> Time
544
+ # resp.deployment.deployment_arn #=> String
534
545
  # resp.deployment.id #=> String
535
546
  # resp.deployment.name #=> String
536
547
  # resp.deployment.pattern_name #=> String
@@ -538,6 +549,8 @@ module Aws::LaunchWizard
538
549
  # resp.deployment.specifications #=> Hash
539
550
  # resp.deployment.specifications["KeyString"] #=> String
540
551
  # resp.deployment.status #=> String, one of "COMPLETED", "CREATING", "DELETE_IN_PROGRESS", "DELETE_INITIATING", "DELETE_FAILED", "DELETED", "FAILED", "IN_PROGRESS", "VALIDATING"
552
+ # resp.deployment.tags #=> Hash
553
+ # resp.deployment.tags["TagKey"] #=> String
541
554
  # resp.deployment.workload_name #=> String
542
555
  #
543
556
  # @see http://docs.aws.amazon.com/goto/WebAPI/launch-wizard-2018-05-10/GetDeployment AWS API Documentation
@@ -583,6 +596,63 @@ module Aws::LaunchWizard
583
596
  req.send_request(options)
584
597
  end
585
598
 
599
+ # Returns details for a given workload and deployment pattern, including
600
+ # the available specifications. You can use the [ListWorkloads][1]
601
+ # operation to discover the available workload names and the
602
+ # [ListWorkloadDeploymentPatterns][2] operation to discover the
603
+ # available deployment pattern names of a given workload.
604
+ #
605
+ #
606
+ #
607
+ # [1]: https://docs.aws.amazon.com/launchwizard/latest/APIReference/API_ListWorkloads.html
608
+ # [2]: https://docs.aws.amazon.com/launchwizard/latest/APIReference/API_ListWorkloadDeploymentPatterns.html
609
+ #
610
+ # @option params [required, String] :deployment_pattern_name
611
+ # The name of the deployment pattern.
612
+ #
613
+ # @option params [required, String] :workload_name
614
+ # The name of the workload.
615
+ #
616
+ # @return [Types::GetWorkloadDeploymentPatternOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
617
+ #
618
+ # * {Types::GetWorkloadDeploymentPatternOutput#workload_deployment_pattern #workload_deployment_pattern} => Types::WorkloadDeploymentPatternData
619
+ #
620
+ # @example Request syntax with placeholder values
621
+ #
622
+ # resp = client.get_workload_deployment_pattern({
623
+ # deployment_pattern_name: "DeploymentPatternName", # required
624
+ # workload_name: "WorkloadName", # required
625
+ # })
626
+ #
627
+ # @example Response structure
628
+ #
629
+ # resp.workload_deployment_pattern.deployment_pattern_name #=> String
630
+ # resp.workload_deployment_pattern.description #=> String
631
+ # resp.workload_deployment_pattern.display_name #=> String
632
+ # resp.workload_deployment_pattern.specifications #=> Array
633
+ # resp.workload_deployment_pattern.specifications[0].allowed_values #=> Array
634
+ # resp.workload_deployment_pattern.specifications[0].allowed_values[0] #=> String
635
+ # resp.workload_deployment_pattern.specifications[0].conditionals #=> Array
636
+ # resp.workload_deployment_pattern.specifications[0].conditionals[0].comparator #=> String
637
+ # resp.workload_deployment_pattern.specifications[0].conditionals[0].name #=> String
638
+ # resp.workload_deployment_pattern.specifications[0].conditionals[0].value #=> String
639
+ # resp.workload_deployment_pattern.specifications[0].description #=> String
640
+ # resp.workload_deployment_pattern.specifications[0].name #=> String
641
+ # resp.workload_deployment_pattern.specifications[0].required #=> String
642
+ # resp.workload_deployment_pattern.status #=> String, one of "ACTIVE", "INACTIVE", "DISABLED", "DELETED"
643
+ # resp.workload_deployment_pattern.status_message #=> String
644
+ # resp.workload_deployment_pattern.workload_name #=> String
645
+ # resp.workload_deployment_pattern.workload_version_name #=> String
646
+ #
647
+ # @see http://docs.aws.amazon.com/goto/WebAPI/launch-wizard-2018-05-10/GetWorkloadDeploymentPattern AWS API Documentation
648
+ #
649
+ # @overload get_workload_deployment_pattern(params = {})
650
+ # @param [Hash] params ({})
651
+ def get_workload_deployment_pattern(params = {}, options = {})
652
+ req = build_request(:get_workload_deployment_pattern, params)
653
+ req.send_request(options)
654
+ end
655
+
586
656
  # Lists the events of a deployment.
587
657
  #
588
658
  # @option params [required, String] :deployment_id
@@ -636,9 +706,11 @@ module Aws::LaunchWizard
636
706
  # @option params [Array<Types::DeploymentFilter>] :filters
637
707
  # Filters to scope the results. The following filters are supported:
638
708
  #
639
- # * `WORKLOAD_NAME`
709
+ # * `WORKLOAD_NAME` - The name used in deployments.
640
710
  #
641
- # * `DEPLOYMENT_STATUS`
711
+ # * `DEPLOYMENT_STATUS` - `COMPLETED` \| `CREATING` \|
712
+ # `DELETE_IN_PROGRESS` \| `DELETE_INITIATING` \| `DELETE_FAILED` \|
713
+ # `DELETED` \| `FAILED` \| `IN_PROGRESS` \| `VALIDATING`
642
714
  #
643
715
  # @option params [Integer] :max_results
644
716
  # The maximum number of items to return for this request. To get the
@@ -689,7 +761,42 @@ module Aws::LaunchWizard
689
761
  req.send_request(options)
690
762
  end
691
763
 
692
- # Lists the workload deployment patterns.
764
+ # Lists the tags associated with a specified resource.
765
+ #
766
+ # @option params [required, String] :resource_arn
767
+ # The Amazon Resource Name (ARN) of the resource.
768
+ #
769
+ # @return [Types::ListTagsForResourceOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
770
+ #
771
+ # * {Types::ListTagsForResourceOutput#tags #tags} => Hash&lt;String,String&gt;
772
+ #
773
+ # @example Request syntax with placeholder values
774
+ #
775
+ # resp = client.list_tags_for_resource({
776
+ # resource_arn: "String", # required
777
+ # })
778
+ #
779
+ # @example Response structure
780
+ #
781
+ # resp.tags #=> Hash
782
+ # resp.tags["TagKey"] #=> String
783
+ #
784
+ # @see http://docs.aws.amazon.com/goto/WebAPI/launch-wizard-2018-05-10/ListTagsForResource AWS API Documentation
785
+ #
786
+ # @overload list_tags_for_resource(params = {})
787
+ # @param [Hash] params ({})
788
+ def list_tags_for_resource(params = {}, options = {})
789
+ req = build_request(:list_tags_for_resource, params)
790
+ req.send_request(options)
791
+ end
792
+
793
+ # Lists the workload deployment patterns for a given workload name. You
794
+ # can use the [ListWorkloads][1] operation to discover the available
795
+ # workload names.
796
+ #
797
+ #
798
+ #
799
+ # [1]: https://docs.aws.amazon.com/launchwizard/latest/APIReference/API_ListWorkloads.html
693
800
  #
694
801
  # @option params [Integer] :max_results
695
802
  # The maximum number of items to return for this request. To get the
@@ -739,7 +846,13 @@ module Aws::LaunchWizard
739
846
  req.send_request(options)
740
847
  end
741
848
 
742
- # Lists the workloads.
849
+ # Lists the available workload names. You can use the
850
+ # [ListWorkloadDeploymentPatterns][1] operation to discover the
851
+ # available deployment patterns for a given workload.
852
+ #
853
+ #
854
+ #
855
+ # [1]: https://docs.aws.amazon.com/launchwizard/latest/APIReference/API_ListWorkloadDeploymentPatterns.html
743
856
  #
744
857
  # @option params [Integer] :max_results
745
858
  # The maximum number of items to return for this request. To get the
@@ -780,6 +893,60 @@ module Aws::LaunchWizard
780
893
  req.send_request(options)
781
894
  end
782
895
 
896
+ # Adds the specified tags to the given resource.
897
+ #
898
+ # @option params [required, String] :resource_arn
899
+ # The Amazon Resource Name (ARN) of the resource.
900
+ #
901
+ # @option params [required, Hash<String,String>] :tags
902
+ # One or more tags to attach to the resource.
903
+ #
904
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
905
+ #
906
+ # @example Request syntax with placeholder values
907
+ #
908
+ # resp = client.tag_resource({
909
+ # resource_arn: "String", # required
910
+ # tags: { # required
911
+ # "TagKey" => "TagValue",
912
+ # },
913
+ # })
914
+ #
915
+ # @see http://docs.aws.amazon.com/goto/WebAPI/launch-wizard-2018-05-10/TagResource AWS API Documentation
916
+ #
917
+ # @overload tag_resource(params = {})
918
+ # @param [Hash] params ({})
919
+ def tag_resource(params = {}, options = {})
920
+ req = build_request(:tag_resource, params)
921
+ req.send_request(options)
922
+ end
923
+
924
+ # Removes the specified tags from the given resource.
925
+ #
926
+ # @option params [required, String] :resource_arn
927
+ # The Amazon Resource Name (ARN) of the resource.
928
+ #
929
+ # @option params [required, Array<String>] :tag_keys
930
+ # Keys identifying the tags to remove.
931
+ #
932
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
933
+ #
934
+ # @example Request syntax with placeholder values
935
+ #
936
+ # resp = client.untag_resource({
937
+ # resource_arn: "String", # required
938
+ # tag_keys: ["TagKey"], # required
939
+ # })
940
+ #
941
+ # @see http://docs.aws.amazon.com/goto/WebAPI/launch-wizard-2018-05-10/UntagResource AWS API Documentation
942
+ #
943
+ # @overload untag_resource(params = {})
944
+ # @param [Hash] params ({})
945
+ def untag_resource(params = {}, options = {})
946
+ req = build_request(:untag_resource, params)
947
+ req.send_request(options)
948
+ end
949
+
783
950
  # @!endgroup
784
951
 
785
952
  # @param params ({})
@@ -793,7 +960,7 @@ module Aws::LaunchWizard
793
960
  params: params,
794
961
  config: config)
795
962
  context[:gem_name] = 'aws-sdk-launchwizard'
796
- context[:gem_version] = '1.5.0'
963
+ context[:gem_version] = '1.6.0'
797
964
  Seahorse::Client::Request.new(handlers, context)
798
965
  end
799
966
 
@@ -13,11 +13,13 @@ module Aws::LaunchWizard
13
13
 
14
14
  include Seahorse::Model
15
15
 
16
+ AllowedValues = Shapes::ListShape.new(name: 'AllowedValues')
16
17
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
17
18
  CreateDeploymentInput = Shapes::StructureShape.new(name: 'CreateDeploymentInput')
18
19
  CreateDeploymentOutput = Shapes::StructureShape.new(name: 'CreateDeploymentOutput')
19
20
  DeleteDeploymentInput = Shapes::StructureShape.new(name: 'DeleteDeploymentInput')
20
21
  DeleteDeploymentOutput = Shapes::StructureShape.new(name: 'DeleteDeploymentOutput')
22
+ DeploymentConditionalField = Shapes::StructureShape.new(name: 'DeploymentConditionalField')
21
23
  DeploymentData = Shapes::StructureShape.new(name: 'DeploymentData')
22
24
  DeploymentDataSummary = Shapes::StructureShape.new(name: 'DeploymentDataSummary')
23
25
  DeploymentDataSummaryList = Shapes::ListShape.new(name: 'DeploymentDataSummaryList')
@@ -32,10 +34,14 @@ module Aws::LaunchWizard
32
34
  DeploymentName = Shapes::StringShape.new(name: 'DeploymentName')
33
35
  DeploymentPatternName = Shapes::StringShape.new(name: 'DeploymentPatternName')
34
36
  DeploymentSpecifications = Shapes::MapShape.new(name: 'DeploymentSpecifications')
37
+ DeploymentSpecificationsData = Shapes::ListShape.new(name: 'DeploymentSpecificationsData')
38
+ DeploymentSpecificationsField = Shapes::StructureShape.new(name: 'DeploymentSpecificationsField')
35
39
  DeploymentStatus = Shapes::StringShape.new(name: 'DeploymentStatus')
36
40
  EventStatus = Shapes::StringShape.new(name: 'EventStatus')
37
41
  GetDeploymentInput = Shapes::StructureShape.new(name: 'GetDeploymentInput')
38
42
  GetDeploymentOutput = Shapes::StructureShape.new(name: 'GetDeploymentOutput')
43
+ GetWorkloadDeploymentPatternInput = Shapes::StructureShape.new(name: 'GetWorkloadDeploymentPatternInput')
44
+ GetWorkloadDeploymentPatternOutput = Shapes::StructureShape.new(name: 'GetWorkloadDeploymentPatternOutput')
39
45
  GetWorkloadInput = Shapes::StructureShape.new(name: 'GetWorkloadInput')
40
46
  GetWorkloadOutput = Shapes::StructureShape.new(name: 'GetWorkloadOutput')
41
47
  InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
@@ -44,6 +50,8 @@ module Aws::LaunchWizard
44
50
  ListDeploymentEventsOutput = Shapes::StructureShape.new(name: 'ListDeploymentEventsOutput')
45
51
  ListDeploymentsInput = Shapes::StructureShape.new(name: 'ListDeploymentsInput')
46
52
  ListDeploymentsOutput = Shapes::StructureShape.new(name: 'ListDeploymentsOutput')
53
+ ListTagsForResourceInput = Shapes::StructureShape.new(name: 'ListTagsForResourceInput')
54
+ ListTagsForResourceOutput = Shapes::StructureShape.new(name: 'ListTagsForResourceOutput')
47
55
  ListWorkloadDeploymentPatternsInput = Shapes::StructureShape.new(name: 'ListWorkloadDeploymentPatternsInput')
48
56
  ListWorkloadDeploymentPatternsOutput = Shapes::StructureShape.new(name: 'ListWorkloadDeploymentPatternsOutput')
49
57
  ListWorkloadsInput = Shapes::StructureShape.new(name: 'ListWorkloadsInput')
@@ -55,13 +63,23 @@ module Aws::LaunchWizard
55
63
  NextToken = Shapes::StringShape.new(name: 'NextToken')
56
64
  ResourceLimitException = Shapes::StructureShape.new(name: 'ResourceLimitException')
57
65
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
66
+ SpecificationsConditionalData = Shapes::ListShape.new(name: 'SpecificationsConditionalData')
58
67
  String = Shapes::StringShape.new(name: 'String')
68
+ TagKey = Shapes::StringShape.new(name: 'TagKey')
69
+ TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
70
+ TagResourceInput = Shapes::StructureShape.new(name: 'TagResourceInput')
71
+ TagResourceOutput = Shapes::StructureShape.new(name: 'TagResourceOutput')
72
+ TagValue = Shapes::StringShape.new(name: 'TagValue')
73
+ Tags = Shapes::MapShape.new(name: 'Tags')
59
74
  Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
75
+ UntagResourceInput = Shapes::StructureShape.new(name: 'UntagResourceInput')
76
+ UntagResourceOutput = Shapes::StructureShape.new(name: 'UntagResourceOutput')
60
77
  ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
61
78
  ValueString = Shapes::StringShape.new(name: 'ValueString')
62
79
  WorkloadData = Shapes::StructureShape.new(name: 'WorkloadData')
63
80
  WorkloadDataSummary = Shapes::StructureShape.new(name: 'WorkloadDataSummary')
64
81
  WorkloadDataSummaryList = Shapes::ListShape.new(name: 'WorkloadDataSummaryList')
82
+ WorkloadDeploymentPatternData = Shapes::StructureShape.new(name: 'WorkloadDeploymentPatternData')
65
83
  WorkloadDeploymentPatternDataSummary = Shapes::StructureShape.new(name: 'WorkloadDeploymentPatternDataSummary')
66
84
  WorkloadDeploymentPatternDataSummaryList = Shapes::ListShape.new(name: 'WorkloadDeploymentPatternDataSummaryList')
67
85
  WorkloadDeploymentPatternStatus = Shapes::StringShape.new(name: 'WorkloadDeploymentPatternStatus')
@@ -69,10 +87,13 @@ module Aws::LaunchWizard
69
87
  WorkloadStatus = Shapes::StringShape.new(name: 'WorkloadStatus')
70
88
  WorkloadVersionName = Shapes::StringShape.new(name: 'WorkloadVersionName')
71
89
 
90
+ AllowedValues.member = Shapes::ShapeRef.new(shape: ValueString)
91
+
72
92
  CreateDeploymentInput.add_member(:deployment_pattern_name, Shapes::ShapeRef.new(shape: DeploymentPatternName, required: true, location_name: "deploymentPatternName"))
73
93
  CreateDeploymentInput.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
74
94
  CreateDeploymentInput.add_member(:name, Shapes::ShapeRef.new(shape: DeploymentName, required: true, location_name: "name"))
75
95
  CreateDeploymentInput.add_member(:specifications, Shapes::ShapeRef.new(shape: DeploymentSpecifications, required: true, location_name: "specifications"))
96
+ CreateDeploymentInput.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
76
97
  CreateDeploymentInput.add_member(:workload_name, Shapes::ShapeRef.new(shape: WorkloadName, required: true, location_name: "workloadName"))
77
98
  CreateDeploymentInput.struct_class = Types::CreateDeploymentInput
78
99
 
@@ -86,14 +107,21 @@ module Aws::LaunchWizard
86
107
  DeleteDeploymentOutput.add_member(:status_reason, Shapes::ShapeRef.new(shape: String, location_name: "statusReason"))
87
108
  DeleteDeploymentOutput.struct_class = Types::DeleteDeploymentOutput
88
109
 
110
+ DeploymentConditionalField.add_member(:comparator, Shapes::ShapeRef.new(shape: String, location_name: "comparator"))
111
+ DeploymentConditionalField.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
112
+ DeploymentConditionalField.add_member(:value, Shapes::ShapeRef.new(shape: String, location_name: "value"))
113
+ DeploymentConditionalField.struct_class = Types::DeploymentConditionalField
114
+
89
115
  DeploymentData.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdAt"))
90
116
  DeploymentData.add_member(:deleted_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "deletedAt"))
117
+ DeploymentData.add_member(:deployment_arn, Shapes::ShapeRef.new(shape: String, location_name: "deploymentArn"))
91
118
  DeploymentData.add_member(:id, Shapes::ShapeRef.new(shape: DeploymentId, location_name: "id"))
92
119
  DeploymentData.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
93
120
  DeploymentData.add_member(:pattern_name, Shapes::ShapeRef.new(shape: DeploymentPatternName, location_name: "patternName"))
94
121
  DeploymentData.add_member(:resource_group, Shapes::ShapeRef.new(shape: String, location_name: "resourceGroup"))
95
122
  DeploymentData.add_member(:specifications, Shapes::ShapeRef.new(shape: DeploymentSpecifications, location_name: "specifications"))
96
123
  DeploymentData.add_member(:status, Shapes::ShapeRef.new(shape: DeploymentStatus, location_name: "status"))
124
+ DeploymentData.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
97
125
  DeploymentData.add_member(:workload_name, Shapes::ShapeRef.new(shape: WorkloadName, location_name: "workloadName"))
98
126
  DeploymentData.struct_class = Types::DeploymentData
99
127
 
@@ -127,12 +155,28 @@ module Aws::LaunchWizard
127
155
  DeploymentSpecifications.key = Shapes::ShapeRef.new(shape: KeyString)
128
156
  DeploymentSpecifications.value = Shapes::ShapeRef.new(shape: ValueString)
129
157
 
158
+ DeploymentSpecificationsData.member = Shapes::ShapeRef.new(shape: DeploymentSpecificationsField)
159
+
160
+ DeploymentSpecificationsField.add_member(:allowed_values, Shapes::ShapeRef.new(shape: AllowedValues, location_name: "allowedValues"))
161
+ DeploymentSpecificationsField.add_member(:conditionals, Shapes::ShapeRef.new(shape: SpecificationsConditionalData, location_name: "conditionals"))
162
+ DeploymentSpecificationsField.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
163
+ DeploymentSpecificationsField.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
164
+ DeploymentSpecificationsField.add_member(:required, Shapes::ShapeRef.new(shape: String, location_name: "required"))
165
+ DeploymentSpecificationsField.struct_class = Types::DeploymentSpecificationsField
166
+
130
167
  GetDeploymentInput.add_member(:deployment_id, Shapes::ShapeRef.new(shape: DeploymentId, required: true, location_name: "deploymentId"))
131
168
  GetDeploymentInput.struct_class = Types::GetDeploymentInput
132
169
 
133
170
  GetDeploymentOutput.add_member(:deployment, Shapes::ShapeRef.new(shape: DeploymentData, location_name: "deployment"))
134
171
  GetDeploymentOutput.struct_class = Types::GetDeploymentOutput
135
172
 
173
+ GetWorkloadDeploymentPatternInput.add_member(:deployment_pattern_name, Shapes::ShapeRef.new(shape: DeploymentPatternName, required: true, location_name: "deploymentPatternName"))
174
+ GetWorkloadDeploymentPatternInput.add_member(:workload_name, Shapes::ShapeRef.new(shape: WorkloadName, required: true, location_name: "workloadName"))
175
+ GetWorkloadDeploymentPatternInput.struct_class = Types::GetWorkloadDeploymentPatternInput
176
+
177
+ GetWorkloadDeploymentPatternOutput.add_member(:workload_deployment_pattern, Shapes::ShapeRef.new(shape: WorkloadDeploymentPatternData, location_name: "workloadDeploymentPattern"))
178
+ GetWorkloadDeploymentPatternOutput.struct_class = Types::GetWorkloadDeploymentPatternOutput
179
+
136
180
  GetWorkloadInput.add_member(:workload_name, Shapes::ShapeRef.new(shape: WorkloadName, required: true, location_name: "workloadName"))
137
181
  GetWorkloadInput.struct_class = Types::GetWorkloadInput
138
182
 
@@ -160,6 +204,12 @@ module Aws::LaunchWizard
160
204
  ListDeploymentsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
161
205
  ListDeploymentsOutput.struct_class = Types::ListDeploymentsOutput
162
206
 
207
+ ListTagsForResourceInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "resourceArn"))
208
+ ListTagsForResourceInput.struct_class = Types::ListTagsForResourceInput
209
+
210
+ ListTagsForResourceOutput.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
211
+ ListTagsForResourceOutput.struct_class = Types::ListTagsForResourceOutput
212
+
163
213
  ListWorkloadDeploymentPatternsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxWorkloadDeploymentPatternResults, location_name: "maxResults"))
164
214
  ListWorkloadDeploymentPatternsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
165
215
  ListWorkloadDeploymentPatternsInput.add_member(:workload_name, Shapes::ShapeRef.new(shape: WorkloadName, required: true, location_name: "workloadName"))
@@ -183,6 +233,25 @@ module Aws::LaunchWizard
183
233
  ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
184
234
  ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
185
235
 
236
+ SpecificationsConditionalData.member = Shapes::ShapeRef.new(shape: DeploymentConditionalField)
237
+
238
+ TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
239
+
240
+ TagResourceInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "resourceArn"))
241
+ TagResourceInput.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, required: true, location_name: "tags"))
242
+ TagResourceInput.struct_class = Types::TagResourceInput
243
+
244
+ TagResourceOutput.struct_class = Types::TagResourceOutput
245
+
246
+ Tags.key = Shapes::ShapeRef.new(shape: TagKey)
247
+ Tags.value = Shapes::ShapeRef.new(shape: TagValue)
248
+
249
+ UntagResourceInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "resourceArn"))
250
+ UntagResourceInput.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location: "querystring", location_name: "tagKeys"))
251
+ UntagResourceInput.struct_class = Types::UntagResourceInput
252
+
253
+ UntagResourceOutput.struct_class = Types::UntagResourceOutput
254
+
186
255
  ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
187
256
  ValidationException.struct_class = Types::ValidationException
188
257
 
@@ -201,6 +270,16 @@ module Aws::LaunchWizard
201
270
 
202
271
  WorkloadDataSummaryList.member = Shapes::ShapeRef.new(shape: WorkloadDataSummary)
203
272
 
273
+ WorkloadDeploymentPatternData.add_member(:deployment_pattern_name, Shapes::ShapeRef.new(shape: DeploymentPatternName, location_name: "deploymentPatternName"))
274
+ WorkloadDeploymentPatternData.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
275
+ WorkloadDeploymentPatternData.add_member(:display_name, Shapes::ShapeRef.new(shape: String, location_name: "displayName"))
276
+ WorkloadDeploymentPatternData.add_member(:specifications, Shapes::ShapeRef.new(shape: DeploymentSpecificationsData, location_name: "specifications"))
277
+ WorkloadDeploymentPatternData.add_member(:status, Shapes::ShapeRef.new(shape: WorkloadDeploymentPatternStatus, location_name: "status"))
278
+ WorkloadDeploymentPatternData.add_member(:status_message, Shapes::ShapeRef.new(shape: String, location_name: "statusMessage"))
279
+ WorkloadDeploymentPatternData.add_member(:workload_name, Shapes::ShapeRef.new(shape: WorkloadName, location_name: "workloadName"))
280
+ WorkloadDeploymentPatternData.add_member(:workload_version_name, Shapes::ShapeRef.new(shape: WorkloadVersionName, location_name: "workloadVersionName"))
281
+ WorkloadDeploymentPatternData.struct_class = Types::WorkloadDeploymentPatternData
282
+
204
283
  WorkloadDeploymentPatternDataSummary.add_member(:deployment_pattern_name, Shapes::ShapeRef.new(shape: DeploymentPatternName, location_name: "deploymentPatternName"))
205
284
  WorkloadDeploymentPatternDataSummary.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
206
285
  WorkloadDeploymentPatternDataSummary.add_member(:display_name, Shapes::ShapeRef.new(shape: String, location_name: "displayName"))
@@ -223,6 +302,7 @@ module Aws::LaunchWizard
223
302
  "endpointPrefix" => "launchwizard",
224
303
  "jsonVersion" => "1.1",
225
304
  "protocol" => "rest-json",
305
+ "protocols" => ["rest-json"],
226
306
  "serviceFullName" => "AWS Launch Wizard",
227
307
  "serviceId" => "Launch Wizard",
228
308
  "signatureVersion" => "v4",
@@ -248,6 +328,7 @@ module Aws::LaunchWizard
248
328
  o.http_request_uri = "/deleteDeployment"
249
329
  o.input = Shapes::ShapeRef.new(shape: DeleteDeploymentInput)
250
330
  o.output = Shapes::ShapeRef.new(shape: DeleteDeploymentOutput)
331
+ o.errors << Shapes::ShapeRef.new(shape: ResourceLimitException)
251
332
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
252
333
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
253
334
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
@@ -275,6 +356,17 @@ module Aws::LaunchWizard
275
356
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
276
357
  end)
277
358
 
359
+ api.add_operation(:get_workload_deployment_pattern, Seahorse::Model::Operation.new.tap do |o|
360
+ o.name = "GetWorkloadDeploymentPattern"
361
+ o.http_method = "POST"
362
+ o.http_request_uri = "/getWorkloadDeploymentPattern"
363
+ o.input = Shapes::ShapeRef.new(shape: GetWorkloadDeploymentPatternInput)
364
+ o.output = Shapes::ShapeRef.new(shape: GetWorkloadDeploymentPatternOutput)
365
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
366
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
367
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
368
+ end)
369
+
278
370
  api.add_operation(:list_deployment_events, Seahorse::Model::Operation.new.tap do |o|
279
371
  o.name = "ListDeploymentEvents"
280
372
  o.http_method = "POST"
@@ -308,6 +400,17 @@ module Aws::LaunchWizard
308
400
  )
309
401
  end)
310
402
 
403
+ api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
404
+ o.name = "ListTagsForResource"
405
+ o.http_method = "GET"
406
+ o.http_request_uri = "/tags/{resourceArn}"
407
+ o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceInput)
408
+ o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceOutput)
409
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
410
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
411
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
412
+ end)
413
+
311
414
  api.add_operation(:list_workload_deployment_patterns, Seahorse::Model::Operation.new.tap do |o|
312
415
  o.name = "ListWorkloadDeploymentPatterns"
313
416
  o.http_method = "POST"
@@ -340,6 +443,28 @@ module Aws::LaunchWizard
340
443
  }
341
444
  )
342
445
  end)
446
+
447
+ api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
448
+ o.name = "TagResource"
449
+ o.http_method = "POST"
450
+ o.http_request_uri = "/tags/{resourceArn}"
451
+ o.input = Shapes::ShapeRef.new(shape: TagResourceInput)
452
+ o.output = Shapes::ShapeRef.new(shape: TagResourceOutput)
453
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
454
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
455
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
456
+ end)
457
+
458
+ api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
459
+ o.name = "UntagResource"
460
+ o.http_method = "DELETE"
461
+ o.http_request_uri = "/tags/{resourceArn}"
462
+ o.input = Shapes::ShapeRef.new(shape: UntagResourceInput)
463
+ o.output = Shapes::ShapeRef.new(shape: UntagResourceOutput)
464
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
465
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
466
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
467
+ end)
343
468
  end
344
469
 
345
470
  end
@@ -68,6 +68,20 @@ module Aws::LaunchWizard
68
68
  end
69
69
  end
70
70
 
71
+ class GetWorkloadDeploymentPattern
72
+ def self.build(context)
73
+ unless context.config.regional_endpoint
74
+ endpoint = context.config.endpoint.to_s
75
+ end
76
+ Aws::LaunchWizard::EndpointParameters.new(
77
+ region: context.config.region,
78
+ use_dual_stack: context.config.use_dualstack_endpoint,
79
+ use_fips: context.config.use_fips_endpoint,
80
+ endpoint: endpoint,
81
+ )
82
+ end
83
+ end
84
+
71
85
  class ListDeploymentEvents
72
86
  def self.build(context)
73
87
  unless context.config.regional_endpoint
@@ -96,6 +110,20 @@ module Aws::LaunchWizard
96
110
  end
97
111
  end
98
112
 
113
+ class ListTagsForResource
114
+ def self.build(context)
115
+ unless context.config.regional_endpoint
116
+ endpoint = context.config.endpoint.to_s
117
+ end
118
+ Aws::LaunchWizard::EndpointParameters.new(
119
+ region: context.config.region,
120
+ use_dual_stack: context.config.use_dualstack_endpoint,
121
+ use_fips: context.config.use_fips_endpoint,
122
+ endpoint: endpoint,
123
+ )
124
+ end
125
+ end
126
+
99
127
  class ListWorkloadDeploymentPatterns
100
128
  def self.build(context)
101
129
  unless context.config.regional_endpoint
@@ -124,5 +152,33 @@ module Aws::LaunchWizard
124
152
  end
125
153
  end
126
154
 
155
+ class TagResource
156
+ def self.build(context)
157
+ unless context.config.regional_endpoint
158
+ endpoint = context.config.endpoint.to_s
159
+ end
160
+ Aws::LaunchWizard::EndpointParameters.new(
161
+ region: context.config.region,
162
+ use_dual_stack: context.config.use_dualstack_endpoint,
163
+ use_fips: context.config.use_fips_endpoint,
164
+ endpoint: endpoint,
165
+ )
166
+ end
167
+ end
168
+
169
+ class UntagResource
170
+ def self.build(context)
171
+ unless context.config.regional_endpoint
172
+ endpoint = context.config.endpoint.to_s
173
+ end
174
+ Aws::LaunchWizard::EndpointParameters.new(
175
+ region: context.config.region,
176
+ use_dual_stack: context.config.use_dualstack_endpoint,
177
+ use_fips: context.config.use_fips_endpoint,
178
+ endpoint: endpoint,
179
+ )
180
+ end
181
+ end
182
+
127
183
  end
128
184
  end
@@ -66,14 +66,22 @@ module Aws::LaunchWizard
66
66
  Aws::LaunchWizard::Endpoints::GetDeployment.build(context)
67
67
  when :get_workload
68
68
  Aws::LaunchWizard::Endpoints::GetWorkload.build(context)
69
+ when :get_workload_deployment_pattern
70
+ Aws::LaunchWizard::Endpoints::GetWorkloadDeploymentPattern.build(context)
69
71
  when :list_deployment_events
70
72
  Aws::LaunchWizard::Endpoints::ListDeploymentEvents.build(context)
71
73
  when :list_deployments
72
74
  Aws::LaunchWizard::Endpoints::ListDeployments.build(context)
75
+ when :list_tags_for_resource
76
+ Aws::LaunchWizard::Endpoints::ListTagsForResource.build(context)
73
77
  when :list_workload_deployment_patterns
74
78
  Aws::LaunchWizard::Endpoints::ListWorkloadDeploymentPatterns.build(context)
75
79
  when :list_workloads
76
80
  Aws::LaunchWizard::Endpoints::ListWorkloads.build(context)
81
+ when :tag_resource
82
+ Aws::LaunchWizard::Endpoints::TagResource.build(context)
83
+ when :untag_resource
84
+ Aws::LaunchWizard::Endpoints::UntagResource.build(context)
77
85
  end
78
86
  end
79
87
  end
@@ -32,23 +32,31 @@ module Aws::LaunchWizard
32
32
  # @return [String]
33
33
  #
34
34
  # @!attribute [rw] specifications
35
- # The settings specified for the deployment. For more information on
36
- # the specifications required for creating a deployment, see [Workload
37
- # specifications][1].
35
+ # The settings specified for the deployment. These settings define how
36
+ # to deploy and configure your resources created by the deployment.
37
+ # For more information about the specifications required for creating
38
+ # a deployment for a SAP workload, see [SAP deployment
39
+ # specifications][1]. To retrieve the specifications required to
40
+ # create a deployment for other workloads, use the [
41
+ # `GetWorkloadDeploymentPattern` ][2] operation.
38
42
  #
39
43
  #
40
44
  #
41
- # [1]: https://docs.aws.amazon.com/launchwizard/latest/APIReference/launch-wizard-specifications.html
45
+ # [1]: https://docs.aws.amazon.com/launchwizard/latest/APIReference/launch-wizard-specifications-sap.html
46
+ # [2]: https://docs.aws.amazon.com/launchwizard/latest/APIReference/API_GetWorkloadDeploymentPattern.html
47
+ # @return [Hash<String,String>]
48
+ #
49
+ # @!attribute [rw] tags
50
+ # The tags to add to the deployment.
42
51
  # @return [Hash<String,String>]
43
52
  #
44
53
  # @!attribute [rw] workload_name
45
- # The name of the workload. You can use the [
46
- # `ListWorkloadDeploymentPatterns` ][1] operation to discover
47
- # supported values for this parameter.
54
+ # The name of the workload. You can use the [ `ListWorkloads` ][1]
55
+ # operation to discover supported values for this parameter.
48
56
  #
49
57
  #
50
58
  #
51
- # [1]: https://docs.aws.amazon.com/launchwizard/latest/APIReference/API_ListWorkloadDeploymentPatterns.html
59
+ # [1]: https://docs.aws.amazon.com/launchwizard/latest/APIReference/API_ListWorkloads.html
52
60
  # @return [String]
53
61
  #
54
62
  # @see http://docs.aws.amazon.com/goto/WebAPI/launch-wizard-2018-05-10/CreateDeploymentInput AWS API Documentation
@@ -58,6 +66,7 @@ module Aws::LaunchWizard
58
66
  :dry_run,
59
67
  :name,
60
68
  :specifications,
69
+ :tags,
61
70
  :workload_name)
62
71
  SENSITIVE = [:specifications]
63
72
  include Aws::Structure
@@ -104,6 +113,33 @@ module Aws::LaunchWizard
104
113
  include Aws::Structure
105
114
  end
106
115
 
116
+ # A field that details a condition of the specifications for a
117
+ # deployment.
118
+ #
119
+ # @!attribute [rw] comparator
120
+ # The comparator of the condition.
121
+ #
122
+ # Valid values: `Equal | NotEqual`
123
+ # @return [String]
124
+ #
125
+ # @!attribute [rw] name
126
+ # The name of the deployment condition.
127
+ # @return [String]
128
+ #
129
+ # @!attribute [rw] value
130
+ # The value of the condition.
131
+ # @return [String]
132
+ #
133
+ # @see http://docs.aws.amazon.com/goto/WebAPI/launch-wizard-2018-05-10/DeploymentConditionalField AWS API Documentation
134
+ #
135
+ class DeploymentConditionalField < Struct.new(
136
+ :comparator,
137
+ :name,
138
+ :value)
139
+ SENSITIVE = []
140
+ include Aws::Structure
141
+ end
142
+
107
143
  # The data associated with a deployment.
108
144
  #
109
145
  # @!attribute [rw] created_at
@@ -114,6 +150,10 @@ module Aws::LaunchWizard
114
150
  # The time the deployment was deleted.
115
151
  # @return [Time]
116
152
  #
153
+ # @!attribute [rw] deployment_arn
154
+ # The Amazon Resource Name (ARN) of the deployment.
155
+ # @return [String]
156
+ #
117
157
  # @!attribute [rw] id
118
158
  # The ID of the deployment.
119
159
  # @return [String]
@@ -131,19 +171,28 @@ module Aws::LaunchWizard
131
171
  # @return [String]
132
172
  #
133
173
  # @!attribute [rw] specifications
134
- # The specifications of the deployment. For more information on
135
- # specifications for each deployment, see [Workload
136
- # specifications][1].
174
+ # The settings specified for the deployment. These settings define how
175
+ # to deploy and configure your resources created by the deployment.
176
+ # For more information about the specifications required for creating
177
+ # a deployment for a SAP workload, see [SAP deployment
178
+ # specifications][1]. To retrieve the specifications required to
179
+ # create a deployment for other workloads, use the [
180
+ # `GetWorkloadDeploymentPattern` ][2] operation.
137
181
  #
138
182
  #
139
183
  #
140
- # [1]: https://docs.aws.amazon.com/launchwizard/latest/APIReference/launch-wizard-specifications.html
184
+ # [1]: https://docs.aws.amazon.com/launchwizard/latest/APIReference/launch-wizard-specifications-sap.html
185
+ # [2]: https://docs.aws.amazon.com/launchwizard/latest/APIReference/API_GetWorkloadDeploymentPattern.html
141
186
  # @return [Hash<String,String>]
142
187
  #
143
188
  # @!attribute [rw] status
144
189
  # The status of the deployment.
145
190
  # @return [String]
146
191
  #
192
+ # @!attribute [rw] tags
193
+ # Information about the tags attached to a deployment.
194
+ # @return [Hash<String,String>]
195
+ #
147
196
  # @!attribute [rw] workload_name
148
197
  # The name of the workload.
149
198
  # @return [String]
@@ -153,12 +202,14 @@ module Aws::LaunchWizard
153
202
  class DeploymentData < Struct.new(
154
203
  :created_at,
155
204
  :deleted_at,
205
+ :deployment_arn,
156
206
  :id,
157
207
  :name,
158
208
  :pattern_name,
159
209
  :resource_group,
160
210
  :specifications,
161
211
  :status,
212
+ :tags,
162
213
  :workload_name)
163
214
  SENSITIVE = [:specifications]
164
215
  include Aws::Structure
@@ -261,6 +312,40 @@ module Aws::LaunchWizard
261
312
  include Aws::Structure
262
313
  end
263
314
 
315
+ # A field that details a specification of a deployment pattern.
316
+ #
317
+ # @!attribute [rw] allowed_values
318
+ # The allowed values of the deployment specification.
319
+ # @return [Array<String>]
320
+ #
321
+ # @!attribute [rw] conditionals
322
+ # The conditionals used for the deployment specification.
323
+ # @return [Array<Types::DeploymentConditionalField>]
324
+ #
325
+ # @!attribute [rw] description
326
+ # The description of the deployment specification.
327
+ # @return [String]
328
+ #
329
+ # @!attribute [rw] name
330
+ # The name of the deployment specification.
331
+ # @return [String]
332
+ #
333
+ # @!attribute [rw] required
334
+ # Indicates if the deployment specification is required.
335
+ # @return [String]
336
+ #
337
+ # @see http://docs.aws.amazon.com/goto/WebAPI/launch-wizard-2018-05-10/DeploymentSpecificationsField AWS API Documentation
338
+ #
339
+ class DeploymentSpecificationsField < Struct.new(
340
+ :allowed_values,
341
+ :conditionals,
342
+ :description,
343
+ :name,
344
+ :required)
345
+ SENSITIVE = []
346
+ include Aws::Structure
347
+ end
348
+
264
349
  # @!attribute [rw] deployment_id
265
350
  # The ID of the deployment.
266
351
  # @return [String]
@@ -285,6 +370,35 @@ module Aws::LaunchWizard
285
370
  include Aws::Structure
286
371
  end
287
372
 
373
+ # @!attribute [rw] deployment_pattern_name
374
+ # The name of the deployment pattern.
375
+ # @return [String]
376
+ #
377
+ # @!attribute [rw] workload_name
378
+ # The name of the workload.
379
+ # @return [String]
380
+ #
381
+ # @see http://docs.aws.amazon.com/goto/WebAPI/launch-wizard-2018-05-10/GetWorkloadDeploymentPatternInput AWS API Documentation
382
+ #
383
+ class GetWorkloadDeploymentPatternInput < Struct.new(
384
+ :deployment_pattern_name,
385
+ :workload_name)
386
+ SENSITIVE = []
387
+ include Aws::Structure
388
+ end
389
+
390
+ # @!attribute [rw] workload_deployment_pattern
391
+ # Details about the workload deployment pattern.
392
+ # @return [Types::WorkloadDeploymentPatternData]
393
+ #
394
+ # @see http://docs.aws.amazon.com/goto/WebAPI/launch-wizard-2018-05-10/GetWorkloadDeploymentPatternOutput AWS API Documentation
395
+ #
396
+ class GetWorkloadDeploymentPatternOutput < Struct.new(
397
+ :workload_deployment_pattern)
398
+ SENSITIVE = []
399
+ include Aws::Structure
400
+ end
401
+
288
402
  # @!attribute [rw] workload_name
289
403
  # The name of the workload.
290
404
  # @return [String]
@@ -375,9 +489,11 @@ module Aws::LaunchWizard
375
489
  # @!attribute [rw] filters
376
490
  # Filters to scope the results. The following filters are supported:
377
491
  #
378
- # * `WORKLOAD_NAME`
492
+ # * `WORKLOAD_NAME` - The name used in deployments.
379
493
  #
380
- # * `DEPLOYMENT_STATUS`
494
+ # * `DEPLOYMENT_STATUS` - `COMPLETED` \| `CREATING` \|
495
+ # `DELETE_IN_PROGRESS` \| `DELETE_INITIATING` \| `DELETE_FAILED` \|
496
+ # `DELETED` \| `FAILED` \| `IN_PROGRESS` \| `VALIDATING`
381
497
  # @return [Array<Types::DeploymentFilter>]
382
498
  #
383
499
  # @!attribute [rw] max_results
@@ -420,6 +536,30 @@ module Aws::LaunchWizard
420
536
  include Aws::Structure
421
537
  end
422
538
 
539
+ # @!attribute [rw] resource_arn
540
+ # The Amazon Resource Name (ARN) of the resource.
541
+ # @return [String]
542
+ #
543
+ # @see http://docs.aws.amazon.com/goto/WebAPI/launch-wizard-2018-05-10/ListTagsForResourceInput AWS API Documentation
544
+ #
545
+ class ListTagsForResourceInput < Struct.new(
546
+ :resource_arn)
547
+ SENSITIVE = []
548
+ include Aws::Structure
549
+ end
550
+
551
+ # @!attribute [rw] tags
552
+ # Information about the tags.
553
+ # @return [Hash<String,String>]
554
+ #
555
+ # @see http://docs.aws.amazon.com/goto/WebAPI/launch-wizard-2018-05-10/ListTagsForResourceOutput AWS API Documentation
556
+ #
557
+ class ListTagsForResourceOutput < Struct.new(
558
+ :tags)
559
+ SENSITIVE = []
560
+ include Aws::Structure
561
+ end
562
+
423
563
  # @!attribute [rw] max_results
424
564
  # The maximum number of items to return for this request. To get the
425
565
  # next page of items, make another request with the token returned in
@@ -530,6 +670,48 @@ module Aws::LaunchWizard
530
670
  include Aws::Structure
531
671
  end
532
672
 
673
+ # @!attribute [rw] resource_arn
674
+ # The Amazon Resource Name (ARN) of the resource.
675
+ # @return [String]
676
+ #
677
+ # @!attribute [rw] tags
678
+ # One or more tags to attach to the resource.
679
+ # @return [Hash<String,String>]
680
+ #
681
+ # @see http://docs.aws.amazon.com/goto/WebAPI/launch-wizard-2018-05-10/TagResourceInput AWS API Documentation
682
+ #
683
+ class TagResourceInput < Struct.new(
684
+ :resource_arn,
685
+ :tags)
686
+ SENSITIVE = []
687
+ include Aws::Structure
688
+ end
689
+
690
+ # @see http://docs.aws.amazon.com/goto/WebAPI/launch-wizard-2018-05-10/TagResourceOutput AWS API Documentation
691
+ #
692
+ class TagResourceOutput < Aws::EmptyStructure; end
693
+
694
+ # @!attribute [rw] resource_arn
695
+ # The Amazon Resource Name (ARN) of the resource.
696
+ # @return [String]
697
+ #
698
+ # @!attribute [rw] tag_keys
699
+ # Keys identifying the tags to remove.
700
+ # @return [Array<String>]
701
+ #
702
+ # @see http://docs.aws.amazon.com/goto/WebAPI/launch-wizard-2018-05-10/UntagResourceInput AWS API Documentation
703
+ #
704
+ class UntagResourceInput < Struct.new(
705
+ :resource_arn,
706
+ :tag_keys)
707
+ SENSITIVE = []
708
+ include Aws::Structure
709
+ end
710
+
711
+ # @see http://docs.aws.amazon.com/goto/WebAPI/launch-wizard-2018-05-10/UntagResourceOutput AWS API Documentation
712
+ #
713
+ class UntagResourceOutput < Aws::EmptyStructure; end
714
+
533
715
  # The input fails to satisfy the constraints specified by an Amazon Web
534
716
  # Services service.
535
717
  #
@@ -607,6 +789,66 @@ module Aws::LaunchWizard
607
789
  include Aws::Structure
608
790
  end
609
791
 
792
+ # The data that details a workload deployment pattern.
793
+ #
794
+ # @!attribute [rw] deployment_pattern_name
795
+ # The name of the deployment pattern.
796
+ # @return [String]
797
+ #
798
+ # @!attribute [rw] description
799
+ # The description of the deployment pattern.
800
+ # @return [String]
801
+ #
802
+ # @!attribute [rw] display_name
803
+ # The display name of the deployment pattern.
804
+ # @return [String]
805
+ #
806
+ # @!attribute [rw] specifications
807
+ # The settings specified for the deployment. These settings define how
808
+ # to deploy and configure your resources created by the deployment.
809
+ # For more information about the specifications required for creating
810
+ # a deployment for a SAP workload, see [SAP deployment
811
+ # specifications][1]. To retrieve the specifications required to
812
+ # create a deployment for other workloads, use the [
813
+ # `GetWorkloadDeploymentPattern` ][2] operation.
814
+ #
815
+ #
816
+ #
817
+ # [1]: https://docs.aws.amazon.com/launchwizard/latest/APIReference/launch-wizard-specifications-sap.html
818
+ # [2]: https://docs.aws.amazon.com/launchwizard/latest/APIReference/API_GetWorkloadDeploymentPattern.html
819
+ # @return [Array<Types::DeploymentSpecificationsField>]
820
+ #
821
+ # @!attribute [rw] status
822
+ # The status of the deployment pattern.
823
+ # @return [String]
824
+ #
825
+ # @!attribute [rw] status_message
826
+ # The status message of the deployment pattern.
827
+ # @return [String]
828
+ #
829
+ # @!attribute [rw] workload_name
830
+ # The workload name of the deployment pattern.
831
+ # @return [String]
832
+ #
833
+ # @!attribute [rw] workload_version_name
834
+ # The workload version name of the deployment pattern.
835
+ # @return [String]
836
+ #
837
+ # @see http://docs.aws.amazon.com/goto/WebAPI/launch-wizard-2018-05-10/WorkloadDeploymentPatternData AWS API Documentation
838
+ #
839
+ class WorkloadDeploymentPatternData < Struct.new(
840
+ :deployment_pattern_name,
841
+ :description,
842
+ :display_name,
843
+ :specifications,
844
+ :status,
845
+ :status_message,
846
+ :workload_name,
847
+ :workload_version_name)
848
+ SENSITIVE = []
849
+ include Aws::Structure
850
+ end
851
+
610
852
  # Describes a workload deployment pattern.
611
853
  #
612
854
  # @!attribute [rw] deployment_pattern_name
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-launchwizard/customizations'
52
52
  # @!group service
53
53
  module Aws::LaunchWizard
54
54
 
55
- GEM_VERSION = '1.5.0'
55
+ GEM_VERSION = '1.6.0'
56
56
 
57
57
  end
data/sig/client.rbs CHANGED
@@ -82,6 +82,7 @@ module Aws
82
82
  ?dry_run: bool,
83
83
  name: ::String,
84
84
  specifications: Hash[::String, ::String],
85
+ ?tags: Hash[::String, ::String],
85
86
  workload_name: ::String
86
87
  ) -> _CreateDeploymentResponseSuccess
87
88
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateDeploymentResponseSuccess
@@ -117,6 +118,17 @@ module Aws
117
118
  ) -> _GetWorkloadResponseSuccess
118
119
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetWorkloadResponseSuccess
119
120
 
121
+ interface _GetWorkloadDeploymentPatternResponseSuccess
122
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetWorkloadDeploymentPatternOutput]
123
+ def workload_deployment_pattern: () -> Types::WorkloadDeploymentPatternData
124
+ end
125
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LaunchWizard/Client.html#get_workload_deployment_pattern-instance_method
126
+ def get_workload_deployment_pattern: (
127
+ deployment_pattern_name: ::String,
128
+ workload_name: ::String
129
+ ) -> _GetWorkloadDeploymentPatternResponseSuccess
130
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetWorkloadDeploymentPatternResponseSuccess
131
+
120
132
  interface _ListDeploymentEventsResponseSuccess
121
133
  include ::Seahorse::Client::_ResponseSuccess[Types::ListDeploymentEventsOutput]
122
134
  def deployment_events: () -> ::Array[Types::DeploymentEventDataSummary]
@@ -148,6 +160,16 @@ module Aws
148
160
  ) -> _ListDeploymentsResponseSuccess
149
161
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDeploymentsResponseSuccess
150
162
 
163
+ interface _ListTagsForResourceResponseSuccess
164
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceOutput]
165
+ def tags: () -> ::Hash[::String, ::String]
166
+ end
167
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LaunchWizard/Client.html#list_tags_for_resource-instance_method
168
+ def list_tags_for_resource: (
169
+ resource_arn: ::String
170
+ ) -> _ListTagsForResourceResponseSuccess
171
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
172
+
151
173
  interface _ListWorkloadDeploymentPatternsResponseSuccess
152
174
  include ::Seahorse::Client::_ResponseSuccess[Types::ListWorkloadDeploymentPatternsOutput]
153
175
  def next_token: () -> ::String
@@ -172,6 +194,26 @@ module Aws
172
194
  ?next_token: ::String
173
195
  ) -> _ListWorkloadsResponseSuccess
174
196
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListWorkloadsResponseSuccess
197
+
198
+ interface _TagResourceResponseSuccess
199
+ include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceOutput]
200
+ end
201
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LaunchWizard/Client.html#tag_resource-instance_method
202
+ def tag_resource: (
203
+ resource_arn: ::String,
204
+ tags: Hash[::String, ::String]
205
+ ) -> _TagResourceResponseSuccess
206
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
207
+
208
+ interface _UntagResourceResponseSuccess
209
+ include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceOutput]
210
+ end
211
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LaunchWizard/Client.html#untag_resource-instance_method
212
+ def untag_resource: (
213
+ resource_arn: ::String,
214
+ tag_keys: Array[::String]
215
+ ) -> _UntagResourceResponseSuccess
216
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
175
217
  end
176
218
  end
177
219
  end
data/sig/types.rbs CHANGED
@@ -13,6 +13,7 @@ module Aws::LaunchWizard
13
13
  attr_accessor dry_run: bool
14
14
  attr_accessor name: ::String
15
15
  attr_accessor specifications: ::Hash[::String, ::String]
16
+ attr_accessor tags: ::Hash[::String, ::String]
16
17
  attr_accessor workload_name: ::String
17
18
  SENSITIVE: [:specifications]
18
19
  end
@@ -33,15 +34,24 @@ module Aws::LaunchWizard
33
34
  SENSITIVE: []
34
35
  end
35
36
 
37
+ class DeploymentConditionalField
38
+ attr_accessor comparator: ::String
39
+ attr_accessor name: ::String
40
+ attr_accessor value: ::String
41
+ SENSITIVE: []
42
+ end
43
+
36
44
  class DeploymentData
37
45
  attr_accessor created_at: ::Time
38
46
  attr_accessor deleted_at: ::Time
47
+ attr_accessor deployment_arn: ::String
39
48
  attr_accessor id: ::String
40
49
  attr_accessor name: ::String
41
50
  attr_accessor pattern_name: ::String
42
51
  attr_accessor resource_group: ::String
43
52
  attr_accessor specifications: ::Hash[::String, ::String]
44
53
  attr_accessor status: ("COMPLETED" | "CREATING" | "DELETE_IN_PROGRESS" | "DELETE_INITIATING" | "DELETE_FAILED" | "DELETED" | "FAILED" | "IN_PROGRESS" | "VALIDATING")
54
+ attr_accessor tags: ::Hash[::String, ::String]
45
55
  attr_accessor workload_name: ::String
46
56
  SENSITIVE: [:specifications]
47
57
  end
@@ -71,6 +81,15 @@ module Aws::LaunchWizard
71
81
  SENSITIVE: []
72
82
  end
73
83
 
84
+ class DeploymentSpecificationsField
85
+ attr_accessor allowed_values: ::Array[::String]
86
+ attr_accessor conditionals: ::Array[Types::DeploymentConditionalField]
87
+ attr_accessor description: ::String
88
+ attr_accessor name: ::String
89
+ attr_accessor required: ::String
90
+ SENSITIVE: []
91
+ end
92
+
74
93
  class GetDeploymentInput
75
94
  attr_accessor deployment_id: ::String
76
95
  SENSITIVE: []
@@ -81,6 +100,17 @@ module Aws::LaunchWizard
81
100
  SENSITIVE: []
82
101
  end
83
102
 
103
+ class GetWorkloadDeploymentPatternInput
104
+ attr_accessor deployment_pattern_name: ::String
105
+ attr_accessor workload_name: ::String
106
+ SENSITIVE: []
107
+ end
108
+
109
+ class GetWorkloadDeploymentPatternOutput
110
+ attr_accessor workload_deployment_pattern: Types::WorkloadDeploymentPatternData
111
+ SENSITIVE: []
112
+ end
113
+
84
114
  class GetWorkloadInput
85
115
  attr_accessor workload_name: ::String
86
116
  SENSITIVE: []
@@ -122,6 +152,16 @@ module Aws::LaunchWizard
122
152
  SENSITIVE: []
123
153
  end
124
154
 
155
+ class ListTagsForResourceInput
156
+ attr_accessor resource_arn: ::String
157
+ SENSITIVE: []
158
+ end
159
+
160
+ class ListTagsForResourceOutput
161
+ attr_accessor tags: ::Hash[::String, ::String]
162
+ SENSITIVE: []
163
+ end
164
+
125
165
  class ListWorkloadDeploymentPatternsInput
126
166
  attr_accessor max_results: ::Integer
127
167
  attr_accessor next_token: ::String
@@ -157,6 +197,24 @@ module Aws::LaunchWizard
157
197
  SENSITIVE: []
158
198
  end
159
199
 
200
+ class TagResourceInput
201
+ attr_accessor resource_arn: ::String
202
+ attr_accessor tags: ::Hash[::String, ::String]
203
+ SENSITIVE: []
204
+ end
205
+
206
+ class TagResourceOutput < Aws::EmptyStructure
207
+ end
208
+
209
+ class UntagResourceInput
210
+ attr_accessor resource_arn: ::String
211
+ attr_accessor tag_keys: ::Array[::String]
212
+ SENSITIVE: []
213
+ end
214
+
215
+ class UntagResourceOutput < Aws::EmptyStructure
216
+ end
217
+
160
218
  class ValidationException
161
219
  attr_accessor message: ::String
162
220
  SENSITIVE: []
@@ -179,6 +237,18 @@ module Aws::LaunchWizard
179
237
  SENSITIVE: []
180
238
  end
181
239
 
240
+ class WorkloadDeploymentPatternData
241
+ attr_accessor deployment_pattern_name: ::String
242
+ attr_accessor description: ::String
243
+ attr_accessor display_name: ::String
244
+ attr_accessor specifications: ::Array[Types::DeploymentSpecificationsField]
245
+ attr_accessor status: ("ACTIVE" | "INACTIVE" | "DISABLED" | "DELETED")
246
+ attr_accessor status_message: ::String
247
+ attr_accessor workload_name: ::String
248
+ attr_accessor workload_version_name: ::String
249
+ SENSITIVE: []
250
+ end
251
+
182
252
  class WorkloadDeploymentPatternDataSummary
183
253
  attr_accessor deployment_pattern_name: ::String
184
254
  attr_accessor description: ::String
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-launchwizard
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.0
4
+ version: 1.6.0
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: 2024-05-13 00:00:00.000000000 Z
11
+ date: 2024-05-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core