aws-sdk-drs 1.20.0 → 1.22.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-drs/client.rb +311 -1
- data/lib/aws-sdk-drs/client_api.rb +164 -0
- data/lib/aws-sdk-drs/endpoints.rb +42 -0
- data/lib/aws-sdk-drs/plugins/endpoints.rb +6 -0
- data/lib/aws-sdk-drs/types.rb +375 -0
- data/lib/aws-sdk-drs.rb +1 -1
- metadata +4 -4
@@ -51,6 +51,8 @@ module Aws::Drs
|
|
51
51
|
DataReplicationState = Shapes::StringShape.new(name: 'DataReplicationState')
|
52
52
|
DeleteJobRequest = Shapes::StructureShape.new(name: 'DeleteJobRequest')
|
53
53
|
DeleteJobResponse = Shapes::StructureShape.new(name: 'DeleteJobResponse')
|
54
|
+
DeleteLaunchActionRequest = Shapes::StructureShape.new(name: 'DeleteLaunchActionRequest')
|
55
|
+
DeleteLaunchActionResponse = Shapes::StructureShape.new(name: 'DeleteLaunchActionResponse')
|
54
56
|
DeleteLaunchConfigurationTemplateRequest = Shapes::StructureShape.new(name: 'DeleteLaunchConfigurationTemplateRequest')
|
55
57
|
DeleteLaunchConfigurationTemplateResponse = Shapes::StructureShape.new(name: 'DeleteLaunchConfigurationTemplateResponse')
|
56
58
|
DeleteRecoveryInstanceRequest = Shapes::StructureShape.new(name: 'DeleteRecoveryInstanceRequest')
|
@@ -102,6 +104,7 @@ module Aws::Drs
|
|
102
104
|
FailbackLaunchType = Shapes::StringShape.new(name: 'FailbackLaunchType')
|
103
105
|
FailbackReplicationError = Shapes::StringShape.new(name: 'FailbackReplicationError')
|
104
106
|
FailbackState = Shapes::StringShape.new(name: 'FailbackState')
|
107
|
+
FailureReason = Shapes::StringShape.new(name: 'FailureReason')
|
105
108
|
GetFailbackReplicationConfigurationRequest = Shapes::StructureShape.new(name: 'GetFailbackReplicationConfigurationRequest')
|
106
109
|
GetFailbackReplicationConfigurationResponse = Shapes::StructureShape.new(name: 'GetFailbackReplicationConfigurationResponse')
|
107
110
|
GetLaunchConfigurationRequest = Shapes::StructureShape.new(name: 'GetLaunchConfigurationRequest')
|
@@ -126,6 +129,28 @@ module Aws::Drs
|
|
126
129
|
LargeBoundedString = Shapes::StringShape.new(name: 'LargeBoundedString')
|
127
130
|
LastLaunchResult = Shapes::StringShape.new(name: 'LastLaunchResult')
|
128
131
|
LastLaunchType = Shapes::StringShape.new(name: 'LastLaunchType')
|
132
|
+
LaunchAction = Shapes::StructureShape.new(name: 'LaunchAction')
|
133
|
+
LaunchActionCategory = Shapes::StringShape.new(name: 'LaunchActionCategory')
|
134
|
+
LaunchActionDescription = Shapes::StringShape.new(name: 'LaunchActionDescription')
|
135
|
+
LaunchActionId = Shapes::StringShape.new(name: 'LaunchActionId')
|
136
|
+
LaunchActionIds = Shapes::ListShape.new(name: 'LaunchActionIds')
|
137
|
+
LaunchActionName = Shapes::StringShape.new(name: 'LaunchActionName')
|
138
|
+
LaunchActionOrder = Shapes::IntegerShape.new(name: 'LaunchActionOrder')
|
139
|
+
LaunchActionParameter = Shapes::StructureShape.new(name: 'LaunchActionParameter')
|
140
|
+
LaunchActionParameterName = Shapes::StringShape.new(name: 'LaunchActionParameterName')
|
141
|
+
LaunchActionParameterType = Shapes::StringShape.new(name: 'LaunchActionParameterType')
|
142
|
+
LaunchActionParameterValue = Shapes::StringShape.new(name: 'LaunchActionParameterValue')
|
143
|
+
LaunchActionParameters = Shapes::MapShape.new(name: 'LaunchActionParameters')
|
144
|
+
LaunchActionResourceId = Shapes::StringShape.new(name: 'LaunchActionResourceId')
|
145
|
+
LaunchActionRun = Shapes::StructureShape.new(name: 'LaunchActionRun')
|
146
|
+
LaunchActionRunId = Shapes::StringShape.new(name: 'LaunchActionRunId')
|
147
|
+
LaunchActionRunStatus = Shapes::StringShape.new(name: 'LaunchActionRunStatus')
|
148
|
+
LaunchActionRuns = Shapes::ListShape.new(name: 'LaunchActionRuns')
|
149
|
+
LaunchActionType = Shapes::StringShape.new(name: 'LaunchActionType')
|
150
|
+
LaunchActionVersion = Shapes::StringShape.new(name: 'LaunchActionVersion')
|
151
|
+
LaunchActions = Shapes::ListShape.new(name: 'LaunchActions')
|
152
|
+
LaunchActionsRequestFilters = Shapes::StructureShape.new(name: 'LaunchActionsRequestFilters')
|
153
|
+
LaunchActionsStatus = Shapes::StructureShape.new(name: 'LaunchActionsStatus')
|
129
154
|
LaunchConfiguration = Shapes::StructureShape.new(name: 'LaunchConfiguration')
|
130
155
|
LaunchConfigurationTemplate = Shapes::StructureShape.new(name: 'LaunchConfigurationTemplate')
|
131
156
|
LaunchConfigurationTemplateID = Shapes::StringShape.new(name: 'LaunchConfigurationTemplateID')
|
@@ -139,6 +164,8 @@ module Aws::Drs
|
|
139
164
|
LifeCycleLastLaunchInitiated = Shapes::StructureShape.new(name: 'LifeCycleLastLaunchInitiated')
|
140
165
|
ListExtensibleSourceServersRequest = Shapes::StructureShape.new(name: 'ListExtensibleSourceServersRequest')
|
141
166
|
ListExtensibleSourceServersResponse = Shapes::StructureShape.new(name: 'ListExtensibleSourceServersResponse')
|
167
|
+
ListLaunchActionsRequest = Shapes::StructureShape.new(name: 'ListLaunchActionsRequest')
|
168
|
+
ListLaunchActionsResponse = Shapes::StructureShape.new(name: 'ListLaunchActionsResponse')
|
142
169
|
ListStagingAccountsRequest = Shapes::StructureShape.new(name: 'ListStagingAccountsRequest')
|
143
170
|
ListStagingAccountsRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListStagingAccountsRequestMaxResultsInteger')
|
144
171
|
ListStagingAccountsResponse = Shapes::StructureShape.new(name: 'ListStagingAccountsResponse')
|
@@ -160,6 +187,8 @@ module Aws::Drs
|
|
160
187
|
ParticipatingServer = Shapes::StructureShape.new(name: 'ParticipatingServer')
|
161
188
|
ParticipatingServers = Shapes::ListShape.new(name: 'ParticipatingServers')
|
162
189
|
PositiveInteger = Shapes::IntegerShape.new(name: 'PositiveInteger')
|
190
|
+
PutLaunchActionRequest = Shapes::StructureShape.new(name: 'PutLaunchActionRequest')
|
191
|
+
PutLaunchActionResponse = Shapes::StructureShape.new(name: 'PutLaunchActionResponse')
|
163
192
|
RecoveryInstance = Shapes::StructureShape.new(name: 'RecoveryInstance')
|
164
193
|
RecoveryInstanceDataReplicationError = Shapes::StructureShape.new(name: 'RecoveryInstanceDataReplicationError')
|
165
194
|
RecoveryInstanceDataReplicationInfo = Shapes::StructureShape.new(name: 'RecoveryInstanceDataReplicationInfo')
|
@@ -217,6 +246,7 @@ module Aws::Drs
|
|
217
246
|
SourceServerID = Shapes::StringShape.new(name: 'SourceServerID')
|
218
247
|
SourceServerIDs = Shapes::ListShape.new(name: 'SourceServerIDs')
|
219
248
|
SourceServersList = Shapes::ListShape.new(name: 'SourceServersList')
|
249
|
+
SsmDocumentName = Shapes::StringShape.new(name: 'SsmDocumentName')
|
220
250
|
StagingArea = Shapes::StructureShape.new(name: 'StagingArea')
|
221
251
|
StagingSourceServer = Shapes::StructureShape.new(name: 'StagingSourceServer')
|
222
252
|
StagingSourceServersList = Shapes::ListShape.new(name: 'StagingSourceServersList')
|
@@ -320,6 +350,7 @@ module Aws::Drs
|
|
320
350
|
CreateLaunchConfigurationTemplateRequest.add_member(:export_bucket_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "exportBucketArn"))
|
321
351
|
CreateLaunchConfigurationTemplateRequest.add_member(:launch_disposition, Shapes::ShapeRef.new(shape: LaunchDisposition, location_name: "launchDisposition"))
|
322
352
|
CreateLaunchConfigurationTemplateRequest.add_member(:licensing, Shapes::ShapeRef.new(shape: Licensing, location_name: "licensing"))
|
353
|
+
CreateLaunchConfigurationTemplateRequest.add_member(:post_launch_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "postLaunchEnabled"))
|
323
354
|
CreateLaunchConfigurationTemplateRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagsMap, location_name: "tags"))
|
324
355
|
CreateLaunchConfigurationTemplateRequest.add_member(:target_instance_type_right_sizing_method, Shapes::ShapeRef.new(shape: TargetInstanceTypeRightSizingMethod, location_name: "targetInstanceTypeRightSizingMethod"))
|
325
356
|
CreateLaunchConfigurationTemplateRequest.struct_class = Types::CreateLaunchConfigurationTemplateRequest
|
@@ -391,6 +422,12 @@ module Aws::Drs
|
|
391
422
|
|
392
423
|
DeleteJobResponse.struct_class = Types::DeleteJobResponse
|
393
424
|
|
425
|
+
DeleteLaunchActionRequest.add_member(:action_id, Shapes::ShapeRef.new(shape: LaunchActionId, required: true, location_name: "actionId"))
|
426
|
+
DeleteLaunchActionRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: LaunchActionResourceId, required: true, location_name: "resourceId"))
|
427
|
+
DeleteLaunchActionRequest.struct_class = Types::DeleteLaunchActionRequest
|
428
|
+
|
429
|
+
DeleteLaunchActionResponse.struct_class = Types::DeleteLaunchActionResponse
|
430
|
+
|
394
431
|
DeleteLaunchConfigurationTemplateRequest.add_member(:launch_configuration_template_id, Shapes::ShapeRef.new(shape: LaunchConfigurationTemplateID, required: true, location_name: "launchConfigurationTemplateID"))
|
395
432
|
DeleteLaunchConfigurationTemplateRequest.struct_class = Types::DeleteLaunchConfigurationTemplateRequest
|
396
433
|
|
@@ -605,12 +642,52 @@ module Aws::Drs
|
|
605
642
|
|
606
643
|
JobsList.member = Shapes::ShapeRef.new(shape: Job)
|
607
644
|
|
645
|
+
LaunchAction.add_member(:action_code, Shapes::ShapeRef.new(shape: SsmDocumentName, location_name: "actionCode"))
|
646
|
+
LaunchAction.add_member(:action_id, Shapes::ShapeRef.new(shape: LaunchActionId, location_name: "actionId"))
|
647
|
+
LaunchAction.add_member(:action_version, Shapes::ShapeRef.new(shape: LaunchActionVersion, location_name: "actionVersion"))
|
648
|
+
LaunchAction.add_member(:active, Shapes::ShapeRef.new(shape: Boolean, location_name: "active"))
|
649
|
+
LaunchAction.add_member(:category, Shapes::ShapeRef.new(shape: LaunchActionCategory, location_name: "category"))
|
650
|
+
LaunchAction.add_member(:description, Shapes::ShapeRef.new(shape: LaunchActionDescription, location_name: "description"))
|
651
|
+
LaunchAction.add_member(:name, Shapes::ShapeRef.new(shape: LaunchActionName, location_name: "name"))
|
652
|
+
LaunchAction.add_member(:optional, Shapes::ShapeRef.new(shape: Boolean, location_name: "optional"))
|
653
|
+
LaunchAction.add_member(:order, Shapes::ShapeRef.new(shape: LaunchActionOrder, location_name: "order"))
|
654
|
+
LaunchAction.add_member(:parameters, Shapes::ShapeRef.new(shape: LaunchActionParameters, location_name: "parameters"))
|
655
|
+
LaunchAction.add_member(:type, Shapes::ShapeRef.new(shape: LaunchActionType, location_name: "type"))
|
656
|
+
LaunchAction.struct_class = Types::LaunchAction
|
657
|
+
|
658
|
+
LaunchActionIds.member = Shapes::ShapeRef.new(shape: LaunchActionId)
|
659
|
+
|
660
|
+
LaunchActionParameter.add_member(:type, Shapes::ShapeRef.new(shape: LaunchActionParameterType, location_name: "type"))
|
661
|
+
LaunchActionParameter.add_member(:value, Shapes::ShapeRef.new(shape: LaunchActionParameterValue, location_name: "value"))
|
662
|
+
LaunchActionParameter.struct_class = Types::LaunchActionParameter
|
663
|
+
|
664
|
+
LaunchActionParameters.key = Shapes::ShapeRef.new(shape: LaunchActionParameterName)
|
665
|
+
LaunchActionParameters.value = Shapes::ShapeRef.new(shape: LaunchActionParameter)
|
666
|
+
|
667
|
+
LaunchActionRun.add_member(:action, Shapes::ShapeRef.new(shape: LaunchAction, location_name: "action"))
|
668
|
+
LaunchActionRun.add_member(:failure_reason, Shapes::ShapeRef.new(shape: FailureReason, location_name: "failureReason"))
|
669
|
+
LaunchActionRun.add_member(:run_id, Shapes::ShapeRef.new(shape: LaunchActionRunId, location_name: "runId"))
|
670
|
+
LaunchActionRun.add_member(:status, Shapes::ShapeRef.new(shape: LaunchActionRunStatus, location_name: "status"))
|
671
|
+
LaunchActionRun.struct_class = Types::LaunchActionRun
|
672
|
+
|
673
|
+
LaunchActionRuns.member = Shapes::ShapeRef.new(shape: LaunchActionRun)
|
674
|
+
|
675
|
+
LaunchActions.member = Shapes::ShapeRef.new(shape: LaunchAction)
|
676
|
+
|
677
|
+
LaunchActionsRequestFilters.add_member(:action_ids, Shapes::ShapeRef.new(shape: LaunchActionIds, location_name: "actionIds"))
|
678
|
+
LaunchActionsRequestFilters.struct_class = Types::LaunchActionsRequestFilters
|
679
|
+
|
680
|
+
LaunchActionsStatus.add_member(:runs, Shapes::ShapeRef.new(shape: LaunchActionRuns, location_name: "runs"))
|
681
|
+
LaunchActionsStatus.add_member(:ssm_agent_discovery_datetime, Shapes::ShapeRef.new(shape: ISO8601DatetimeString, location_name: "ssmAgentDiscoveryDatetime"))
|
682
|
+
LaunchActionsStatus.struct_class = Types::LaunchActionsStatus
|
683
|
+
|
608
684
|
LaunchConfiguration.add_member(:copy_private_ip, Shapes::ShapeRef.new(shape: Boolean, location_name: "copyPrivateIp"))
|
609
685
|
LaunchConfiguration.add_member(:copy_tags, Shapes::ShapeRef.new(shape: Boolean, location_name: "copyTags"))
|
610
686
|
LaunchConfiguration.add_member(:ec2_launch_template_id, Shapes::ShapeRef.new(shape: BoundedString, location_name: "ec2LaunchTemplateID"))
|
611
687
|
LaunchConfiguration.add_member(:launch_disposition, Shapes::ShapeRef.new(shape: LaunchDisposition, location_name: "launchDisposition"))
|
612
688
|
LaunchConfiguration.add_member(:licensing, Shapes::ShapeRef.new(shape: Licensing, location_name: "licensing"))
|
613
689
|
LaunchConfiguration.add_member(:name, Shapes::ShapeRef.new(shape: SmallBoundedString, location_name: "name"))
|
690
|
+
LaunchConfiguration.add_member(:post_launch_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "postLaunchEnabled"))
|
614
691
|
LaunchConfiguration.add_member(:source_server_id, Shapes::ShapeRef.new(shape: SourceServerID, location_name: "sourceServerID"))
|
615
692
|
LaunchConfiguration.add_member(:target_instance_type_right_sizing_method, Shapes::ShapeRef.new(shape: TargetInstanceTypeRightSizingMethod, location_name: "targetInstanceTypeRightSizingMethod"))
|
616
693
|
LaunchConfiguration.struct_class = Types::LaunchConfiguration
|
@@ -622,6 +699,7 @@ module Aws::Drs
|
|
622
699
|
LaunchConfigurationTemplate.add_member(:launch_configuration_template_id, Shapes::ShapeRef.new(shape: LaunchConfigurationTemplateID, location_name: "launchConfigurationTemplateID"))
|
623
700
|
LaunchConfigurationTemplate.add_member(:launch_disposition, Shapes::ShapeRef.new(shape: LaunchDisposition, location_name: "launchDisposition"))
|
624
701
|
LaunchConfigurationTemplate.add_member(:licensing, Shapes::ShapeRef.new(shape: Licensing, location_name: "licensing"))
|
702
|
+
LaunchConfigurationTemplate.add_member(:post_launch_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "postLaunchEnabled"))
|
625
703
|
LaunchConfigurationTemplate.add_member(:tags, Shapes::ShapeRef.new(shape: TagsMap, location_name: "tags"))
|
626
704
|
LaunchConfigurationTemplate.add_member(:target_instance_type_right_sizing_method, Shapes::ShapeRef.new(shape: TargetInstanceTypeRightSizingMethod, location_name: "targetInstanceTypeRightSizingMethod"))
|
627
705
|
LaunchConfigurationTemplate.struct_class = Types::LaunchConfigurationTemplate
|
@@ -658,6 +736,16 @@ module Aws::Drs
|
|
658
736
|
ListExtensibleSourceServersResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
|
659
737
|
ListExtensibleSourceServersResponse.struct_class = Types::ListExtensibleSourceServersResponse
|
660
738
|
|
739
|
+
ListLaunchActionsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: LaunchActionsRequestFilters, location_name: "filters"))
|
740
|
+
ListLaunchActionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResultsType, location_name: "maxResults"))
|
741
|
+
ListLaunchActionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
|
742
|
+
ListLaunchActionsRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: LaunchActionResourceId, required: true, location_name: "resourceId"))
|
743
|
+
ListLaunchActionsRequest.struct_class = Types::ListLaunchActionsRequest
|
744
|
+
|
745
|
+
ListLaunchActionsResponse.add_member(:items, Shapes::ShapeRef.new(shape: LaunchActions, location_name: "items"))
|
746
|
+
ListLaunchActionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
|
747
|
+
ListLaunchActionsResponse.struct_class = Types::ListLaunchActionsResponse
|
748
|
+
|
661
749
|
ListStagingAccountsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListStagingAccountsRequestMaxResultsInteger, location: "querystring", location_name: "maxResults"))
|
662
750
|
ListStagingAccountsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "nextToken"))
|
663
751
|
ListStagingAccountsRequest.struct_class = Types::ListStagingAccountsRequest
|
@@ -703,6 +791,7 @@ module Aws::Drs
|
|
703
791
|
|
704
792
|
ParticipatingResources.member = Shapes::ShapeRef.new(shape: ParticipatingResource)
|
705
793
|
|
794
|
+
ParticipatingServer.add_member(:launch_actions_status, Shapes::ShapeRef.new(shape: LaunchActionsStatus, location_name: "launchActionsStatus"))
|
706
795
|
ParticipatingServer.add_member(:launch_status, Shapes::ShapeRef.new(shape: LaunchStatus, location_name: "launchStatus"))
|
707
796
|
ParticipatingServer.add_member(:recovery_instance_id, Shapes::ShapeRef.new(shape: RecoveryInstanceID, location_name: "recoveryInstanceID"))
|
708
797
|
ParticipatingServer.add_member(:source_server_id, Shapes::ShapeRef.new(shape: SourceServerID, location_name: "sourceServerID"))
|
@@ -710,6 +799,33 @@ module Aws::Drs
|
|
710
799
|
|
711
800
|
ParticipatingServers.member = Shapes::ShapeRef.new(shape: ParticipatingServer)
|
712
801
|
|
802
|
+
PutLaunchActionRequest.add_member(:action_code, Shapes::ShapeRef.new(shape: SsmDocumentName, required: true, location_name: "actionCode"))
|
803
|
+
PutLaunchActionRequest.add_member(:action_id, Shapes::ShapeRef.new(shape: LaunchActionId, required: true, location_name: "actionId"))
|
804
|
+
PutLaunchActionRequest.add_member(:action_version, Shapes::ShapeRef.new(shape: LaunchActionVersion, required: true, location_name: "actionVersion"))
|
805
|
+
PutLaunchActionRequest.add_member(:active, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "active"))
|
806
|
+
PutLaunchActionRequest.add_member(:category, Shapes::ShapeRef.new(shape: LaunchActionCategory, required: true, location_name: "category"))
|
807
|
+
PutLaunchActionRequest.add_member(:description, Shapes::ShapeRef.new(shape: LaunchActionDescription, location_name: "description"))
|
808
|
+
PutLaunchActionRequest.add_member(:name, Shapes::ShapeRef.new(shape: LaunchActionName, required: true, location_name: "name"))
|
809
|
+
PutLaunchActionRequest.add_member(:optional, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "optional"))
|
810
|
+
PutLaunchActionRequest.add_member(:order, Shapes::ShapeRef.new(shape: LaunchActionOrder, required: true, location_name: "order"))
|
811
|
+
PutLaunchActionRequest.add_member(:parameters, Shapes::ShapeRef.new(shape: LaunchActionParameters, location_name: "parameters"))
|
812
|
+
PutLaunchActionRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: LaunchActionResourceId, required: true, location_name: "resourceId"))
|
813
|
+
PutLaunchActionRequest.struct_class = Types::PutLaunchActionRequest
|
814
|
+
|
815
|
+
PutLaunchActionResponse.add_member(:action_code, Shapes::ShapeRef.new(shape: SsmDocumentName, location_name: "actionCode"))
|
816
|
+
PutLaunchActionResponse.add_member(:action_id, Shapes::ShapeRef.new(shape: LaunchActionId, location_name: "actionId"))
|
817
|
+
PutLaunchActionResponse.add_member(:action_version, Shapes::ShapeRef.new(shape: LaunchActionVersion, location_name: "actionVersion"))
|
818
|
+
PutLaunchActionResponse.add_member(:active, Shapes::ShapeRef.new(shape: Boolean, location_name: "active"))
|
819
|
+
PutLaunchActionResponse.add_member(:category, Shapes::ShapeRef.new(shape: LaunchActionCategory, location_name: "category"))
|
820
|
+
PutLaunchActionResponse.add_member(:description, Shapes::ShapeRef.new(shape: LaunchActionDescription, location_name: "description"))
|
821
|
+
PutLaunchActionResponse.add_member(:name, Shapes::ShapeRef.new(shape: LaunchActionName, location_name: "name"))
|
822
|
+
PutLaunchActionResponse.add_member(:optional, Shapes::ShapeRef.new(shape: Boolean, location_name: "optional"))
|
823
|
+
PutLaunchActionResponse.add_member(:order, Shapes::ShapeRef.new(shape: LaunchActionOrder, location_name: "order"))
|
824
|
+
PutLaunchActionResponse.add_member(:parameters, Shapes::ShapeRef.new(shape: LaunchActionParameters, location_name: "parameters"))
|
825
|
+
PutLaunchActionResponse.add_member(:resource_id, Shapes::ShapeRef.new(shape: LaunchActionResourceId, location_name: "resourceId"))
|
826
|
+
PutLaunchActionResponse.add_member(:type, Shapes::ShapeRef.new(shape: LaunchActionType, location_name: "type"))
|
827
|
+
PutLaunchActionResponse.struct_class = Types::PutLaunchActionResponse
|
828
|
+
|
713
829
|
RecoveryInstance.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "arn"))
|
714
830
|
RecoveryInstance.add_member(:data_replication_info, Shapes::ShapeRef.new(shape: RecoveryInstanceDataReplicationInfo, location_name: "dataReplicationInfo"))
|
715
831
|
RecoveryInstance.add_member(:ec2_instance_id, Shapes::ShapeRef.new(shape: EC2InstanceID, location_name: "ec2InstanceID"))
|
@@ -1054,6 +1170,7 @@ module Aws::Drs
|
|
1054
1170
|
UpdateLaunchConfigurationRequest.add_member(:launch_disposition, Shapes::ShapeRef.new(shape: LaunchDisposition, location_name: "launchDisposition"))
|
1055
1171
|
UpdateLaunchConfigurationRequest.add_member(:licensing, Shapes::ShapeRef.new(shape: Licensing, location_name: "licensing"))
|
1056
1172
|
UpdateLaunchConfigurationRequest.add_member(:name, Shapes::ShapeRef.new(shape: SmallBoundedString, location_name: "name"))
|
1173
|
+
UpdateLaunchConfigurationRequest.add_member(:post_launch_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "postLaunchEnabled"))
|
1057
1174
|
UpdateLaunchConfigurationRequest.add_member(:source_server_id, Shapes::ShapeRef.new(shape: SourceServerID, required: true, location_name: "sourceServerID"))
|
1058
1175
|
UpdateLaunchConfigurationRequest.add_member(:target_instance_type_right_sizing_method, Shapes::ShapeRef.new(shape: TargetInstanceTypeRightSizingMethod, location_name: "targetInstanceTypeRightSizingMethod"))
|
1059
1176
|
UpdateLaunchConfigurationRequest.struct_class = Types::UpdateLaunchConfigurationRequest
|
@@ -1064,6 +1181,7 @@ module Aws::Drs
|
|
1064
1181
|
UpdateLaunchConfigurationTemplateRequest.add_member(:launch_configuration_template_id, Shapes::ShapeRef.new(shape: LaunchConfigurationTemplateID, required: true, location_name: "launchConfigurationTemplateID"))
|
1065
1182
|
UpdateLaunchConfigurationTemplateRequest.add_member(:launch_disposition, Shapes::ShapeRef.new(shape: LaunchDisposition, location_name: "launchDisposition"))
|
1066
1183
|
UpdateLaunchConfigurationTemplateRequest.add_member(:licensing, Shapes::ShapeRef.new(shape: Licensing, location_name: "licensing"))
|
1184
|
+
UpdateLaunchConfigurationTemplateRequest.add_member(:post_launch_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "postLaunchEnabled"))
|
1067
1185
|
UpdateLaunchConfigurationTemplateRequest.add_member(:target_instance_type_right_sizing_method, Shapes::ShapeRef.new(shape: TargetInstanceTypeRightSizingMethod, location_name: "targetInstanceTypeRightSizingMethod"))
|
1068
1186
|
UpdateLaunchConfigurationTemplateRequest.struct_class = Types::UpdateLaunchConfigurationTemplateRequest
|
1069
1187
|
|
@@ -1230,6 +1348,19 @@ module Aws::Drs
|
|
1230
1348
|
o.errors << Shapes::ShapeRef.new(shape: UninitializedAccountException)
|
1231
1349
|
end)
|
1232
1350
|
|
1351
|
+
api.add_operation(:delete_launch_action, Seahorse::Model::Operation.new.tap do |o|
|
1352
|
+
o.name = "DeleteLaunchAction"
|
1353
|
+
o.http_method = "POST"
|
1354
|
+
o.http_request_uri = "/DeleteLaunchAction"
|
1355
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteLaunchActionRequest)
|
1356
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteLaunchActionResponse)
|
1357
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1358
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1359
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1360
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1361
|
+
o.errors << Shapes::ShapeRef.new(shape: UninitializedAccountException)
|
1362
|
+
end)
|
1363
|
+
|
1233
1364
|
api.add_operation(:delete_launch_configuration_template, Seahorse::Model::Operation.new.tap do |o|
|
1234
1365
|
o.name = "DeleteLaunchConfigurationTemplate"
|
1235
1366
|
o.http_method = "POST"
|
@@ -1551,6 +1682,25 @@ module Aws::Drs
|
|
1551
1682
|
)
|
1552
1683
|
end)
|
1553
1684
|
|
1685
|
+
api.add_operation(:list_launch_actions, Seahorse::Model::Operation.new.tap do |o|
|
1686
|
+
o.name = "ListLaunchActions"
|
1687
|
+
o.http_method = "POST"
|
1688
|
+
o.http_request_uri = "/ListLaunchActions"
|
1689
|
+
o.input = Shapes::ShapeRef.new(shape: ListLaunchActionsRequest)
|
1690
|
+
o.output = Shapes::ShapeRef.new(shape: ListLaunchActionsResponse)
|
1691
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1692
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1693
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
1694
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1695
|
+
o.errors << Shapes::ShapeRef.new(shape: UninitializedAccountException)
|
1696
|
+
o[:pager] = Aws::Pager.new(
|
1697
|
+
limit_key: "max_results",
|
1698
|
+
tokens: {
|
1699
|
+
"next_token" => "next_token"
|
1700
|
+
}
|
1701
|
+
)
|
1702
|
+
end)
|
1703
|
+
|
1554
1704
|
api.add_operation(:list_staging_accounts, Seahorse::Model::Operation.new.tap do |o|
|
1555
1705
|
o.name = "ListStagingAccounts"
|
1556
1706
|
o.http_method = "GET"
|
@@ -1583,6 +1733,20 @@ module Aws::Drs
|
|
1583
1733
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1584
1734
|
end)
|
1585
1735
|
|
1736
|
+
api.add_operation(:put_launch_action, Seahorse::Model::Operation.new.tap do |o|
|
1737
|
+
o.name = "PutLaunchAction"
|
1738
|
+
o.http_method = "POST"
|
1739
|
+
o.http_request_uri = "/PutLaunchAction"
|
1740
|
+
o.input = Shapes::ShapeRef.new(shape: PutLaunchActionRequest)
|
1741
|
+
o.output = Shapes::ShapeRef.new(shape: PutLaunchActionResponse)
|
1742
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1743
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1744
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1745
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1746
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1747
|
+
o.errors << Shapes::ShapeRef.new(shape: UninitializedAccountException)
|
1748
|
+
end)
|
1749
|
+
|
1586
1750
|
api.add_operation(:retry_data_replication, Seahorse::Model::Operation.new.tap do |o|
|
1587
1751
|
o.name = "RetryDataReplication"
|
1588
1752
|
o.http_method = "POST"
|
@@ -96,6 +96,20 @@ module Aws::Drs
|
|
96
96
|
end
|
97
97
|
end
|
98
98
|
|
99
|
+
class DeleteLaunchAction
|
100
|
+
def self.build(context)
|
101
|
+
unless context.config.regional_endpoint
|
102
|
+
endpoint = context.config.endpoint.to_s
|
103
|
+
end
|
104
|
+
Aws::Drs::EndpointParameters.new(
|
105
|
+
region: context.config.region,
|
106
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
107
|
+
use_fips: context.config.use_fips_endpoint,
|
108
|
+
endpoint: endpoint,
|
109
|
+
)
|
110
|
+
end
|
111
|
+
end
|
112
|
+
|
99
113
|
class DeleteLaunchConfigurationTemplate
|
100
114
|
def self.build(context)
|
101
115
|
unless context.config.regional_endpoint
|
@@ -390,6 +404,20 @@ module Aws::Drs
|
|
390
404
|
end
|
391
405
|
end
|
392
406
|
|
407
|
+
class ListLaunchActions
|
408
|
+
def self.build(context)
|
409
|
+
unless context.config.regional_endpoint
|
410
|
+
endpoint = context.config.endpoint.to_s
|
411
|
+
end
|
412
|
+
Aws::Drs::EndpointParameters.new(
|
413
|
+
region: context.config.region,
|
414
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
415
|
+
use_fips: context.config.use_fips_endpoint,
|
416
|
+
endpoint: endpoint,
|
417
|
+
)
|
418
|
+
end
|
419
|
+
end
|
420
|
+
|
393
421
|
class ListStagingAccounts
|
394
422
|
def self.build(context)
|
395
423
|
unless context.config.regional_endpoint
|
@@ -418,6 +446,20 @@ module Aws::Drs
|
|
418
446
|
end
|
419
447
|
end
|
420
448
|
|
449
|
+
class PutLaunchAction
|
450
|
+
def self.build(context)
|
451
|
+
unless context.config.regional_endpoint
|
452
|
+
endpoint = context.config.endpoint.to_s
|
453
|
+
end
|
454
|
+
Aws::Drs::EndpointParameters.new(
|
455
|
+
region: context.config.region,
|
456
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
457
|
+
use_fips: context.config.use_fips_endpoint,
|
458
|
+
endpoint: endpoint,
|
459
|
+
)
|
460
|
+
end
|
461
|
+
end
|
462
|
+
|
421
463
|
class RetryDataReplication
|
422
464
|
def self.build(context)
|
423
465
|
unless context.config.regional_endpoint
|
@@ -68,6 +68,8 @@ module Aws::Drs
|
|
68
68
|
Aws::Drs::Endpoints::CreateSourceNetwork.build(context)
|
69
69
|
when :delete_job
|
70
70
|
Aws::Drs::Endpoints::DeleteJob.build(context)
|
71
|
+
when :delete_launch_action
|
72
|
+
Aws::Drs::Endpoints::DeleteLaunchAction.build(context)
|
71
73
|
when :delete_launch_configuration_template
|
72
74
|
Aws::Drs::Endpoints::DeleteLaunchConfigurationTemplate.build(context)
|
73
75
|
when :delete_recovery_instance
|
@@ -110,10 +112,14 @@ module Aws::Drs
|
|
110
112
|
Aws::Drs::Endpoints::InitializeService.build(context)
|
111
113
|
when :list_extensible_source_servers
|
112
114
|
Aws::Drs::Endpoints::ListExtensibleSourceServers.build(context)
|
115
|
+
when :list_launch_actions
|
116
|
+
Aws::Drs::Endpoints::ListLaunchActions.build(context)
|
113
117
|
when :list_staging_accounts
|
114
118
|
Aws::Drs::Endpoints::ListStagingAccounts.build(context)
|
115
119
|
when :list_tags_for_resource
|
116
120
|
Aws::Drs::Endpoints::ListTagsForResource.build(context)
|
121
|
+
when :put_launch_action
|
122
|
+
Aws::Drs::Endpoints::PutLaunchAction.build(context)
|
117
123
|
when :retry_data_replication
|
118
124
|
Aws::Drs::Endpoints::RetryDataReplication.build(context)
|
119
125
|
when :reverse_replication
|