@aws-sdk/client-mgn 3.33.0 → 3.36.1
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.
- package/CHANGELOG.md +47 -0
- package/{dist/cjs → dist-cjs}/Mgn.js +1 -5
- package/{dist/cjs → dist-cjs}/MgnClient.js +8 -17
- package/{dist/cjs → dist-cjs}/commands/ChangeServerLifeCycleStateCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/CreateReplicationConfigurationTemplateCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DeleteJobCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DeleteReplicationConfigurationTemplateCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DeleteSourceServerCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DescribeJobLogItemsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DescribeJobsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DescribeReplicationConfigurationTemplatesCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DescribeSourceServersCommand.js +2 -27
- package/dist-cjs/commands/DisconnectFromServiceCommand.js +36 -0
- package/dist-cjs/commands/FinalizeCutoverCommand.js +36 -0
- package/{dist/cjs → dist-cjs}/commands/GetLaunchConfigurationCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/GetReplicationConfigurationCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/InitializeServiceCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListTagsForResourceCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/MarkAsArchivedCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/RetryDataReplicationCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/StartCutoverCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/StartTestCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/TagResourceCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/TerminateTargetInstancesCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/UntagResourceCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/UpdateLaunchConfigurationCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/UpdateReplicationConfigurationCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/UpdateReplicationConfigurationTemplateCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/endpoints.js +0 -1
- package/{dist/cjs → dist-cjs}/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/models_0.js +0 -238
- package/{dist/cjs → dist-cjs}/pagination/DescribeJobLogItemsPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/DescribeJobsPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/DescribeReplicationConfigurationTemplatesPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/DescribeSourceServersPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
- package/{dist/cjs → dist-cjs}/protocols/Aws_restJson1.js +22 -28
- package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +1 -5
- package/{dist/cjs → dist-cjs}/runtimeConfig.js +1 -5
- package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -4
- package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -5
- package/{dist/es → dist-es}/Mgn.js +2 -6
- package/{dist/es → dist-es}/MgnClient.js +2 -11
- package/{dist/es → dist-es}/commands/ChangeServerLifeCycleStateCommand.js +4 -30
- package/{dist/es → dist-es}/commands/CreateReplicationConfigurationTemplateCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DeleteJobCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DeleteReplicationConfigurationTemplateCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DeleteSourceServerCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DescribeJobLogItemsCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DescribeJobsCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DescribeReplicationConfigurationTemplatesCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DescribeSourceServersCommand.js +4 -30
- package/dist-es/commands/DisconnectFromServiceCommand.js +39 -0
- package/{dist/es → dist-es}/commands/FinalizeCutoverCommand.js +4 -30
- package/{dist/es → dist-es}/commands/GetLaunchConfigurationCommand.js +4 -30
- package/{dist/es → dist-es}/commands/GetReplicationConfigurationCommand.js +4 -30
- package/{dist/es → dist-es}/commands/InitializeServiceCommand.js +4 -30
- package/{dist/es → dist-es}/commands/ListTagsForResourceCommand.js +4 -30
- package/{dist/es → dist-es}/commands/MarkAsArchivedCommand.js +4 -30
- package/{dist/es → dist-es}/commands/RetryDataReplicationCommand.js +4 -30
- package/{dist/es → dist-es}/commands/StartCutoverCommand.js +4 -30
- package/{dist/es → dist-es}/commands/StartTestCommand.js +4 -30
- package/{dist/es → dist-es}/commands/TagResourceCommand.js +4 -30
- package/{dist/es → dist-es}/commands/TerminateTargetInstancesCommand.js +4 -30
- package/{dist/es → dist-es}/commands/UntagResourceCommand.js +4 -30
- package/{dist/es → dist-es}/commands/UpdateLaunchConfigurationCommand.js +4 -30
- package/{dist/es → dist-es}/commands/UpdateReplicationConfigurationCommand.js +4 -30
- package/{dist/es → dist-es}/commands/UpdateReplicationConfigurationTemplateCommand.js +4 -30
- package/{dist/es → dist-es}/endpoints.js +1 -2
- package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
- package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
- package/{dist/es → dist-es}/models/models_0.js +0 -238
- package/{dist/es → dist-es}/pagination/DescribeJobLogItemsPaginator.js +17 -30
- package/{dist/es → dist-es}/pagination/DescribeJobsPaginator.js +17 -30
- package/{dist/es → dist-es}/pagination/DescribeReplicationConfigurationTemplatesPaginator.js +17 -30
- package/{dist/es → dist-es}/pagination/DescribeSourceServersPaginator.js +17 -30
- package/dist-es/pagination/Interfaces.js +1 -0
- package/{dist/es → dist-es}/protocols/Aws_restJson1.js +550 -556
- package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -5
- package/{dist/es → dist-es}/runtimeConfig.js +1 -5
- package/{dist/es → dist-es}/runtimeConfig.native.js +0 -4
- package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -5
- package/{dist/types → dist-types}/Mgn.d.ts +2 -2
- package/{dist/types → dist-types}/MgnClient.d.ts +8 -8
- package/{dist/types → dist-types}/commands/ChangeServerLifeCycleStateCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateReplicationConfigurationTemplateCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteJobCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteReplicationConfigurationTemplateCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteSourceServerCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeJobLogItemsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeJobsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeReplicationConfigurationTemplatesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeSourceServersCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DisconnectFromServiceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/FinalizeCutoverCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetLaunchConfigurationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetReplicationConfigurationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/InitializeServiceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListTagsForResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/MarkAsArchivedCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/RetryDataReplicationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/StartCutoverCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/StartTestCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/TagResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/TerminateTargetInstancesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UntagResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UpdateLaunchConfigurationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UpdateReplicationConfigurationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UpdateReplicationConfigurationTemplateCommand.d.ts +2 -2
- package/{dist/types → dist-types}/endpoints.d.ts +0 -0
- package/{index.ts → dist-types/index.d.ts} +0 -0
- package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
- package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
- package/{dist/types → dist-types}/pagination/DescribeJobLogItemsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/DescribeJobsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/DescribeReplicationConfigurationTemplatesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/DescribeSourceServersPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/protocols/Aws_restJson1.d.ts +2 -2
- package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.d.ts +1 -1
- package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/Mgn.d.ts +28 -80
- package/{dist/types → dist-types}/ts3.4/MgnClient.d.ts +32 -97
- package/dist-types/ts3.4/commands/ChangeServerLifeCycleStateCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/CreateReplicationConfigurationTemplateCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/DeleteJobCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/DeleteReplicationConfigurationTemplateCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/DeleteSourceServerCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/DescribeJobLogItemsCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/DescribeJobsCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/DescribeReplicationConfigurationTemplatesCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/DescribeSourceServersCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/DisconnectFromServiceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/FinalizeCutoverCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/GetLaunchConfigurationCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/GetReplicationConfigurationCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/InitializeServiceCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/ListTagsForResourceCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/MarkAsArchivedCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/RetryDataReplicationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/StartCutoverCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/StartTestCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/TerminateTargetInstancesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/UpdateLaunchConfigurationCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/UpdateReplicationConfigurationCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/UpdateReplicationConfigurationTemplateCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/models_0.d.ts +361 -1083
- package/{dist/types → dist-types}/ts3.4/pagination/DescribeJobLogItemsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/DescribeJobsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/DescribeReplicationConfigurationTemplatesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/DescribeSourceServersPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/protocols/Aws_restJson1.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +2 -4
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +52 -49
- package/Mgn.ts +0 -904
- package/MgnClient.ts +0 -355
- package/commands/ChangeServerLifeCycleStateCommand.ts +0 -97
- package/commands/CreateReplicationConfigurationTemplateCommand.ts +0 -103
- package/commands/DeleteJobCommand.ts +0 -90
- package/commands/DeleteReplicationConfigurationTemplateCommand.ts +0 -106
- package/commands/DeleteSourceServerCommand.ts +0 -94
- package/commands/DescribeJobLogItemsCommand.ts +0 -94
- package/commands/DescribeJobsCommand.ts +0 -94
- package/commands/DescribeReplicationConfigurationTemplatesCommand.ts +0 -109
- package/commands/DescribeSourceServersCommand.ts +0 -94
- package/commands/DisconnectFromServiceCommand.ts +0 -94
- package/commands/FinalizeCutoverCommand.ts +0 -94
- package/commands/GetLaunchConfigurationCommand.ts +0 -94
- package/commands/GetReplicationConfigurationCommand.ts +0 -97
- package/commands/InitializeServiceCommand.ts +0 -94
- package/commands/ListTagsForResourceCommand.ts +0 -94
- package/commands/MarkAsArchivedCommand.ts +0 -94
- package/commands/RetryDataReplicationCommand.ts +0 -94
- package/commands/StartCutoverCommand.ts +0 -94
- package/commands/StartTestCommand.ts +0 -90
- package/commands/TagResourceCommand.ts +0 -94
- package/commands/TerminateTargetInstancesCommand.ts +0 -94
- package/commands/UntagResourceCommand.ts +0 -94
- package/commands/UpdateLaunchConfigurationCommand.ts +0 -97
- package/commands/UpdateReplicationConfigurationCommand.ts +0 -100
- package/commands/UpdateReplicationConfigurationTemplateCommand.ts +0 -103
- package/dist/cjs/Mgn.js.map +0 -1
- package/dist/cjs/MgnClient.js.map +0 -1
- package/dist/cjs/commands/ChangeServerLifeCycleStateCommand.js.map +0 -1
- package/dist/cjs/commands/CreateReplicationConfigurationTemplateCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteJobCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteReplicationConfigurationTemplateCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteSourceServerCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeJobLogItemsCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeJobsCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeReplicationConfigurationTemplatesCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeSourceServersCommand.js.map +0 -1
- package/dist/cjs/commands/DisconnectFromServiceCommand.js +0 -61
- package/dist/cjs/commands/DisconnectFromServiceCommand.js.map +0 -1
- package/dist/cjs/commands/FinalizeCutoverCommand.js +0 -61
- package/dist/cjs/commands/FinalizeCutoverCommand.js.map +0 -1
- package/dist/cjs/commands/GetLaunchConfigurationCommand.js.map +0 -1
- package/dist/cjs/commands/GetReplicationConfigurationCommand.js.map +0 -1
- package/dist/cjs/commands/InitializeServiceCommand.js.map +0 -1
- package/dist/cjs/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist/cjs/commands/MarkAsArchivedCommand.js.map +0 -1
- package/dist/cjs/commands/RetryDataReplicationCommand.js.map +0 -1
- package/dist/cjs/commands/StartCutoverCommand.js.map +0 -1
- package/dist/cjs/commands/StartTestCommand.js.map +0 -1
- package/dist/cjs/commands/TagResourceCommand.js.map +0 -1
- package/dist/cjs/commands/TerminateTargetInstancesCommand.js.map +0 -1
- package/dist/cjs/commands/UntagResourceCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateLaunchConfigurationCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateReplicationConfigurationCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateReplicationConfigurationTemplateCommand.js.map +0 -1
- package/dist/cjs/endpoints.js.map +0 -1
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/models/index.js.map +0 -1
- package/dist/cjs/models/models_0.js.map +0 -1
- package/dist/cjs/package.json +0 -91
- package/dist/cjs/pagination/DescribeJobLogItemsPaginator.js.map +0 -1
- package/dist/cjs/pagination/DescribeJobsPaginator.js.map +0 -1
- package/dist/cjs/pagination/DescribeReplicationConfigurationTemplatesPaginator.js.map +0 -1
- package/dist/cjs/pagination/DescribeSourceServersPaginator.js.map +0 -1
- package/dist/cjs/pagination/Interfaces.js.map +0 -1
- package/dist/cjs/protocols/Aws_restJson1.js.map +0 -1
- package/dist/cjs/runtimeConfig.browser.js.map +0 -1
- package/dist/cjs/runtimeConfig.js.map +0 -1
- package/dist/cjs/runtimeConfig.native.js.map +0 -1
- package/dist/cjs/runtimeConfig.shared.js.map +0 -1
- package/dist/es/Mgn.js.map +0 -1
- package/dist/es/MgnClient.js.map +0 -1
- package/dist/es/commands/ChangeServerLifeCycleStateCommand.js.map +0 -1
- package/dist/es/commands/CreateReplicationConfigurationTemplateCommand.js.map +0 -1
- package/dist/es/commands/DeleteJobCommand.js.map +0 -1
- package/dist/es/commands/DeleteReplicationConfigurationTemplateCommand.js.map +0 -1
- package/dist/es/commands/DeleteSourceServerCommand.js.map +0 -1
- package/dist/es/commands/DescribeJobLogItemsCommand.js.map +0 -1
- package/dist/es/commands/DescribeJobsCommand.js.map +0 -1
- package/dist/es/commands/DescribeReplicationConfigurationTemplatesCommand.js.map +0 -1
- package/dist/es/commands/DescribeSourceServersCommand.js.map +0 -1
- package/dist/es/commands/DisconnectFromServiceCommand.js +0 -65
- package/dist/es/commands/DisconnectFromServiceCommand.js.map +0 -1
- package/dist/es/commands/FinalizeCutoverCommand.js.map +0 -1
- package/dist/es/commands/GetLaunchConfigurationCommand.js.map +0 -1
- package/dist/es/commands/GetReplicationConfigurationCommand.js.map +0 -1
- package/dist/es/commands/InitializeServiceCommand.js.map +0 -1
- package/dist/es/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist/es/commands/MarkAsArchivedCommand.js.map +0 -1
- package/dist/es/commands/RetryDataReplicationCommand.js.map +0 -1
- package/dist/es/commands/StartCutoverCommand.js.map +0 -1
- package/dist/es/commands/StartTestCommand.js.map +0 -1
- package/dist/es/commands/TagResourceCommand.js.map +0 -1
- package/dist/es/commands/TerminateTargetInstancesCommand.js.map +0 -1
- package/dist/es/commands/UntagResourceCommand.js.map +0 -1
- package/dist/es/commands/UpdateLaunchConfigurationCommand.js.map +0 -1
- package/dist/es/commands/UpdateReplicationConfigurationCommand.js.map +0 -1
- package/dist/es/commands/UpdateReplicationConfigurationTemplateCommand.js.map +0 -1
- package/dist/es/endpoints.js.map +0 -1
- package/dist/es/index.js +0 -34
- package/dist/es/index.js.map +0 -1
- package/dist/es/models/index.js +0 -2
- package/dist/es/models/index.js.map +0 -1
- package/dist/es/models/models_0.js.map +0 -1
- package/dist/es/package.json +0 -91
- package/dist/es/pagination/DescribeJobLogItemsPaginator.js.map +0 -1
- package/dist/es/pagination/DescribeJobsPaginator.js.map +0 -1
- package/dist/es/pagination/DescribeReplicationConfigurationTemplatesPaginator.js.map +0 -1
- package/dist/es/pagination/DescribeSourceServersPaginator.js.map +0 -1
- package/dist/es/pagination/Interfaces.js +0 -2
- package/dist/es/pagination/Interfaces.js.map +0 -1
- package/dist/es/protocols/Aws_restJson1.js.map +0 -1
- package/dist/es/runtimeConfig.browser.js.map +0 -1
- package/dist/es/runtimeConfig.js.map +0 -1
- package/dist/es/runtimeConfig.native.js.map +0 -1
- package/dist/es/runtimeConfig.shared.js.map +0 -1
- package/dist/types/ts3.4/commands/ChangeServerLifeCycleStateCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DeleteJobCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DescribeJobsCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DisconnectFromServiceCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/FinalizeCutoverCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/MarkAsArchivedCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/RetryDataReplicationCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/StartCutoverCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/StartTestCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/TagResourceCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/TerminateTargetInstancesCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/UntagResourceCommand.d.ts +0 -35
- package/endpoints.ts +0 -57
- package/jest.config.js +0 -4
- package/models/models_0.ts +0 -2416
- package/pagination/DescribeJobLogItemsPaginator.ts +0 -58
- package/pagination/DescribeJobsPaginator.ts +0 -58
- package/pagination/DescribeReplicationConfigurationTemplatesPaginator.ts +0 -58
- package/pagination/DescribeSourceServersPaginator.ts +0 -58
- package/pagination/Interfaces.ts +0 -7
- package/protocols/Aws_restJson1.ts +0 -4171
- package/runtimeConfig.browser.ts +0 -40
- package/runtimeConfig.native.ts +0 -16
- package/runtimeConfig.shared.ts +0 -16
- package/runtimeConfig.ts +0 -45
- package/tsconfig.es.json +0 -12
- package/tsconfig.json +0 -32
package/Mgn.ts
DELETED
|
@@ -1,904 +0,0 @@
|
|
|
1
|
-
import { MgnClient } from "./MgnClient";
|
|
2
|
-
import {
|
|
3
|
-
ChangeServerLifeCycleStateCommand,
|
|
4
|
-
ChangeServerLifeCycleStateCommandInput,
|
|
5
|
-
ChangeServerLifeCycleStateCommandOutput,
|
|
6
|
-
} from "./commands/ChangeServerLifeCycleStateCommand";
|
|
7
|
-
import {
|
|
8
|
-
CreateReplicationConfigurationTemplateCommand,
|
|
9
|
-
CreateReplicationConfigurationTemplateCommandInput,
|
|
10
|
-
CreateReplicationConfigurationTemplateCommandOutput,
|
|
11
|
-
} from "./commands/CreateReplicationConfigurationTemplateCommand";
|
|
12
|
-
import { DeleteJobCommand, DeleteJobCommandInput, DeleteJobCommandOutput } from "./commands/DeleteJobCommand";
|
|
13
|
-
import {
|
|
14
|
-
DeleteReplicationConfigurationTemplateCommand,
|
|
15
|
-
DeleteReplicationConfigurationTemplateCommandInput,
|
|
16
|
-
DeleteReplicationConfigurationTemplateCommandOutput,
|
|
17
|
-
} from "./commands/DeleteReplicationConfigurationTemplateCommand";
|
|
18
|
-
import {
|
|
19
|
-
DeleteSourceServerCommand,
|
|
20
|
-
DeleteSourceServerCommandInput,
|
|
21
|
-
DeleteSourceServerCommandOutput,
|
|
22
|
-
} from "./commands/DeleteSourceServerCommand";
|
|
23
|
-
import {
|
|
24
|
-
DescribeJobLogItemsCommand,
|
|
25
|
-
DescribeJobLogItemsCommandInput,
|
|
26
|
-
DescribeJobLogItemsCommandOutput,
|
|
27
|
-
} from "./commands/DescribeJobLogItemsCommand";
|
|
28
|
-
import {
|
|
29
|
-
DescribeJobsCommand,
|
|
30
|
-
DescribeJobsCommandInput,
|
|
31
|
-
DescribeJobsCommandOutput,
|
|
32
|
-
} from "./commands/DescribeJobsCommand";
|
|
33
|
-
import {
|
|
34
|
-
DescribeReplicationConfigurationTemplatesCommand,
|
|
35
|
-
DescribeReplicationConfigurationTemplatesCommandInput,
|
|
36
|
-
DescribeReplicationConfigurationTemplatesCommandOutput,
|
|
37
|
-
} from "./commands/DescribeReplicationConfigurationTemplatesCommand";
|
|
38
|
-
import {
|
|
39
|
-
DescribeSourceServersCommand,
|
|
40
|
-
DescribeSourceServersCommandInput,
|
|
41
|
-
DescribeSourceServersCommandOutput,
|
|
42
|
-
} from "./commands/DescribeSourceServersCommand";
|
|
43
|
-
import {
|
|
44
|
-
DisconnectFromServiceCommand,
|
|
45
|
-
DisconnectFromServiceCommandInput,
|
|
46
|
-
DisconnectFromServiceCommandOutput,
|
|
47
|
-
} from "./commands/DisconnectFromServiceCommand";
|
|
48
|
-
import {
|
|
49
|
-
FinalizeCutoverCommand,
|
|
50
|
-
FinalizeCutoverCommandInput,
|
|
51
|
-
FinalizeCutoverCommandOutput,
|
|
52
|
-
} from "./commands/FinalizeCutoverCommand";
|
|
53
|
-
import {
|
|
54
|
-
GetLaunchConfigurationCommand,
|
|
55
|
-
GetLaunchConfigurationCommandInput,
|
|
56
|
-
GetLaunchConfigurationCommandOutput,
|
|
57
|
-
} from "./commands/GetLaunchConfigurationCommand";
|
|
58
|
-
import {
|
|
59
|
-
GetReplicationConfigurationCommand,
|
|
60
|
-
GetReplicationConfigurationCommandInput,
|
|
61
|
-
GetReplicationConfigurationCommandOutput,
|
|
62
|
-
} from "./commands/GetReplicationConfigurationCommand";
|
|
63
|
-
import {
|
|
64
|
-
InitializeServiceCommand,
|
|
65
|
-
InitializeServiceCommandInput,
|
|
66
|
-
InitializeServiceCommandOutput,
|
|
67
|
-
} from "./commands/InitializeServiceCommand";
|
|
68
|
-
import {
|
|
69
|
-
ListTagsForResourceCommand,
|
|
70
|
-
ListTagsForResourceCommandInput,
|
|
71
|
-
ListTagsForResourceCommandOutput,
|
|
72
|
-
} from "./commands/ListTagsForResourceCommand";
|
|
73
|
-
import {
|
|
74
|
-
MarkAsArchivedCommand,
|
|
75
|
-
MarkAsArchivedCommandInput,
|
|
76
|
-
MarkAsArchivedCommandOutput,
|
|
77
|
-
} from "./commands/MarkAsArchivedCommand";
|
|
78
|
-
import {
|
|
79
|
-
RetryDataReplicationCommand,
|
|
80
|
-
RetryDataReplicationCommandInput,
|
|
81
|
-
RetryDataReplicationCommandOutput,
|
|
82
|
-
} from "./commands/RetryDataReplicationCommand";
|
|
83
|
-
import {
|
|
84
|
-
StartCutoverCommand,
|
|
85
|
-
StartCutoverCommandInput,
|
|
86
|
-
StartCutoverCommandOutput,
|
|
87
|
-
} from "./commands/StartCutoverCommand";
|
|
88
|
-
import { StartTestCommand, StartTestCommandInput, StartTestCommandOutput } from "./commands/StartTestCommand";
|
|
89
|
-
import { TagResourceCommand, TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
90
|
-
import {
|
|
91
|
-
TerminateTargetInstancesCommand,
|
|
92
|
-
TerminateTargetInstancesCommandInput,
|
|
93
|
-
TerminateTargetInstancesCommandOutput,
|
|
94
|
-
} from "./commands/TerminateTargetInstancesCommand";
|
|
95
|
-
import {
|
|
96
|
-
UntagResourceCommand,
|
|
97
|
-
UntagResourceCommandInput,
|
|
98
|
-
UntagResourceCommandOutput,
|
|
99
|
-
} from "./commands/UntagResourceCommand";
|
|
100
|
-
import {
|
|
101
|
-
UpdateLaunchConfigurationCommand,
|
|
102
|
-
UpdateLaunchConfigurationCommandInput,
|
|
103
|
-
UpdateLaunchConfigurationCommandOutput,
|
|
104
|
-
} from "./commands/UpdateLaunchConfigurationCommand";
|
|
105
|
-
import {
|
|
106
|
-
UpdateReplicationConfigurationCommand,
|
|
107
|
-
UpdateReplicationConfigurationCommandInput,
|
|
108
|
-
UpdateReplicationConfigurationCommandOutput,
|
|
109
|
-
} from "./commands/UpdateReplicationConfigurationCommand";
|
|
110
|
-
import {
|
|
111
|
-
UpdateReplicationConfigurationTemplateCommand,
|
|
112
|
-
UpdateReplicationConfigurationTemplateCommandInput,
|
|
113
|
-
UpdateReplicationConfigurationTemplateCommandOutput,
|
|
114
|
-
} from "./commands/UpdateReplicationConfigurationTemplateCommand";
|
|
115
|
-
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
116
|
-
|
|
117
|
-
/**
|
|
118
|
-
* <p>The Application Migration Service service.</p>
|
|
119
|
-
*/
|
|
120
|
-
export class Mgn extends MgnClient {
|
|
121
|
-
/**
|
|
122
|
-
* <p>Allows the user to set the SourceServer.LifeCycle.state property for specific Source Server IDs to one of the following: READY_FOR_TEST or READY_FOR_CUTOVER. This command only works if the Source Server is already launchable (dataReplicationInfo.lagDuration is not null.)</p>
|
|
123
|
-
*/
|
|
124
|
-
public changeServerLifeCycleState(
|
|
125
|
-
args: ChangeServerLifeCycleStateCommandInput,
|
|
126
|
-
options?: __HttpHandlerOptions
|
|
127
|
-
): Promise<ChangeServerLifeCycleStateCommandOutput>;
|
|
128
|
-
public changeServerLifeCycleState(
|
|
129
|
-
args: ChangeServerLifeCycleStateCommandInput,
|
|
130
|
-
cb: (err: any, data?: ChangeServerLifeCycleStateCommandOutput) => void
|
|
131
|
-
): void;
|
|
132
|
-
public changeServerLifeCycleState(
|
|
133
|
-
args: ChangeServerLifeCycleStateCommandInput,
|
|
134
|
-
options: __HttpHandlerOptions,
|
|
135
|
-
cb: (err: any, data?: ChangeServerLifeCycleStateCommandOutput) => void
|
|
136
|
-
): void;
|
|
137
|
-
public changeServerLifeCycleState(
|
|
138
|
-
args: ChangeServerLifeCycleStateCommandInput,
|
|
139
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ChangeServerLifeCycleStateCommandOutput) => void),
|
|
140
|
-
cb?: (err: any, data?: ChangeServerLifeCycleStateCommandOutput) => void
|
|
141
|
-
): Promise<ChangeServerLifeCycleStateCommandOutput> | void {
|
|
142
|
-
const command = new ChangeServerLifeCycleStateCommand(args);
|
|
143
|
-
if (typeof optionsOrCb === "function") {
|
|
144
|
-
this.send(command, optionsOrCb);
|
|
145
|
-
} else if (typeof cb === "function") {
|
|
146
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
147
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
148
|
-
} else {
|
|
149
|
-
return this.send(command, optionsOrCb);
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
/**
|
|
154
|
-
* <p>Creates a new ReplicationConfigurationTemplate.</p>
|
|
155
|
-
*/
|
|
156
|
-
public createReplicationConfigurationTemplate(
|
|
157
|
-
args: CreateReplicationConfigurationTemplateCommandInput,
|
|
158
|
-
options?: __HttpHandlerOptions
|
|
159
|
-
): Promise<CreateReplicationConfigurationTemplateCommandOutput>;
|
|
160
|
-
public createReplicationConfigurationTemplate(
|
|
161
|
-
args: CreateReplicationConfigurationTemplateCommandInput,
|
|
162
|
-
cb: (err: any, data?: CreateReplicationConfigurationTemplateCommandOutput) => void
|
|
163
|
-
): void;
|
|
164
|
-
public createReplicationConfigurationTemplate(
|
|
165
|
-
args: CreateReplicationConfigurationTemplateCommandInput,
|
|
166
|
-
options: __HttpHandlerOptions,
|
|
167
|
-
cb: (err: any, data?: CreateReplicationConfigurationTemplateCommandOutput) => void
|
|
168
|
-
): void;
|
|
169
|
-
public createReplicationConfigurationTemplate(
|
|
170
|
-
args: CreateReplicationConfigurationTemplateCommandInput,
|
|
171
|
-
optionsOrCb?:
|
|
172
|
-
| __HttpHandlerOptions
|
|
173
|
-
| ((err: any, data?: CreateReplicationConfigurationTemplateCommandOutput) => void),
|
|
174
|
-
cb?: (err: any, data?: CreateReplicationConfigurationTemplateCommandOutput) => void
|
|
175
|
-
): Promise<CreateReplicationConfigurationTemplateCommandOutput> | void {
|
|
176
|
-
const command = new CreateReplicationConfigurationTemplateCommand(args);
|
|
177
|
-
if (typeof optionsOrCb === "function") {
|
|
178
|
-
this.send(command, optionsOrCb);
|
|
179
|
-
} else if (typeof cb === "function") {
|
|
180
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
181
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
182
|
-
} else {
|
|
183
|
-
return this.send(command, optionsOrCb);
|
|
184
|
-
}
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
/**
|
|
188
|
-
* <p>Deletes a single Job by ID.</p>
|
|
189
|
-
*/
|
|
190
|
-
public deleteJob(args: DeleteJobCommandInput, options?: __HttpHandlerOptions): Promise<DeleteJobCommandOutput>;
|
|
191
|
-
public deleteJob(args: DeleteJobCommandInput, cb: (err: any, data?: DeleteJobCommandOutput) => void): void;
|
|
192
|
-
public deleteJob(
|
|
193
|
-
args: DeleteJobCommandInput,
|
|
194
|
-
options: __HttpHandlerOptions,
|
|
195
|
-
cb: (err: any, data?: DeleteJobCommandOutput) => void
|
|
196
|
-
): void;
|
|
197
|
-
public deleteJob(
|
|
198
|
-
args: DeleteJobCommandInput,
|
|
199
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteJobCommandOutput) => void),
|
|
200
|
-
cb?: (err: any, data?: DeleteJobCommandOutput) => void
|
|
201
|
-
): Promise<DeleteJobCommandOutput> | void {
|
|
202
|
-
const command = new DeleteJobCommand(args);
|
|
203
|
-
if (typeof optionsOrCb === "function") {
|
|
204
|
-
this.send(command, optionsOrCb);
|
|
205
|
-
} else if (typeof cb === "function") {
|
|
206
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
207
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
208
|
-
} else {
|
|
209
|
-
return this.send(command, optionsOrCb);
|
|
210
|
-
}
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
/**
|
|
214
|
-
* <p>Deletes a single Replication Configuration Template by ID</p>
|
|
215
|
-
*/
|
|
216
|
-
public deleteReplicationConfigurationTemplate(
|
|
217
|
-
args: DeleteReplicationConfigurationTemplateCommandInput,
|
|
218
|
-
options?: __HttpHandlerOptions
|
|
219
|
-
): Promise<DeleteReplicationConfigurationTemplateCommandOutput>;
|
|
220
|
-
public deleteReplicationConfigurationTemplate(
|
|
221
|
-
args: DeleteReplicationConfigurationTemplateCommandInput,
|
|
222
|
-
cb: (err: any, data?: DeleteReplicationConfigurationTemplateCommandOutput) => void
|
|
223
|
-
): void;
|
|
224
|
-
public deleteReplicationConfigurationTemplate(
|
|
225
|
-
args: DeleteReplicationConfigurationTemplateCommandInput,
|
|
226
|
-
options: __HttpHandlerOptions,
|
|
227
|
-
cb: (err: any, data?: DeleteReplicationConfigurationTemplateCommandOutput) => void
|
|
228
|
-
): void;
|
|
229
|
-
public deleteReplicationConfigurationTemplate(
|
|
230
|
-
args: DeleteReplicationConfigurationTemplateCommandInput,
|
|
231
|
-
optionsOrCb?:
|
|
232
|
-
| __HttpHandlerOptions
|
|
233
|
-
| ((err: any, data?: DeleteReplicationConfigurationTemplateCommandOutput) => void),
|
|
234
|
-
cb?: (err: any, data?: DeleteReplicationConfigurationTemplateCommandOutput) => void
|
|
235
|
-
): Promise<DeleteReplicationConfigurationTemplateCommandOutput> | void {
|
|
236
|
-
const command = new DeleteReplicationConfigurationTemplateCommand(args);
|
|
237
|
-
if (typeof optionsOrCb === "function") {
|
|
238
|
-
this.send(command, optionsOrCb);
|
|
239
|
-
} else if (typeof cb === "function") {
|
|
240
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
241
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
242
|
-
} else {
|
|
243
|
-
return this.send(command, optionsOrCb);
|
|
244
|
-
}
|
|
245
|
-
}
|
|
246
|
-
|
|
247
|
-
/**
|
|
248
|
-
* <p>Deletes a single source server by ID.</p>
|
|
249
|
-
*/
|
|
250
|
-
public deleteSourceServer(
|
|
251
|
-
args: DeleteSourceServerCommandInput,
|
|
252
|
-
options?: __HttpHandlerOptions
|
|
253
|
-
): Promise<DeleteSourceServerCommandOutput>;
|
|
254
|
-
public deleteSourceServer(
|
|
255
|
-
args: DeleteSourceServerCommandInput,
|
|
256
|
-
cb: (err: any, data?: DeleteSourceServerCommandOutput) => void
|
|
257
|
-
): void;
|
|
258
|
-
public deleteSourceServer(
|
|
259
|
-
args: DeleteSourceServerCommandInput,
|
|
260
|
-
options: __HttpHandlerOptions,
|
|
261
|
-
cb: (err: any, data?: DeleteSourceServerCommandOutput) => void
|
|
262
|
-
): void;
|
|
263
|
-
public deleteSourceServer(
|
|
264
|
-
args: DeleteSourceServerCommandInput,
|
|
265
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteSourceServerCommandOutput) => void),
|
|
266
|
-
cb?: (err: any, data?: DeleteSourceServerCommandOutput) => void
|
|
267
|
-
): Promise<DeleteSourceServerCommandOutput> | void {
|
|
268
|
-
const command = new DeleteSourceServerCommand(args);
|
|
269
|
-
if (typeof optionsOrCb === "function") {
|
|
270
|
-
this.send(command, optionsOrCb);
|
|
271
|
-
} else if (typeof cb === "function") {
|
|
272
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
273
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
274
|
-
} else {
|
|
275
|
-
return this.send(command, optionsOrCb);
|
|
276
|
-
}
|
|
277
|
-
}
|
|
278
|
-
|
|
279
|
-
/**
|
|
280
|
-
* <p>Retrieves detailed Job log with paging.</p>
|
|
281
|
-
*/
|
|
282
|
-
public describeJobLogItems(
|
|
283
|
-
args: DescribeJobLogItemsCommandInput,
|
|
284
|
-
options?: __HttpHandlerOptions
|
|
285
|
-
): Promise<DescribeJobLogItemsCommandOutput>;
|
|
286
|
-
public describeJobLogItems(
|
|
287
|
-
args: DescribeJobLogItemsCommandInput,
|
|
288
|
-
cb: (err: any, data?: DescribeJobLogItemsCommandOutput) => void
|
|
289
|
-
): void;
|
|
290
|
-
public describeJobLogItems(
|
|
291
|
-
args: DescribeJobLogItemsCommandInput,
|
|
292
|
-
options: __HttpHandlerOptions,
|
|
293
|
-
cb: (err: any, data?: DescribeJobLogItemsCommandOutput) => void
|
|
294
|
-
): void;
|
|
295
|
-
public describeJobLogItems(
|
|
296
|
-
args: DescribeJobLogItemsCommandInput,
|
|
297
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeJobLogItemsCommandOutput) => void),
|
|
298
|
-
cb?: (err: any, data?: DescribeJobLogItemsCommandOutput) => void
|
|
299
|
-
): Promise<DescribeJobLogItemsCommandOutput> | void {
|
|
300
|
-
const command = new DescribeJobLogItemsCommand(args);
|
|
301
|
-
if (typeof optionsOrCb === "function") {
|
|
302
|
-
this.send(command, optionsOrCb);
|
|
303
|
-
} else if (typeof cb === "function") {
|
|
304
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
305
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
306
|
-
} else {
|
|
307
|
-
return this.send(command, optionsOrCb);
|
|
308
|
-
}
|
|
309
|
-
}
|
|
310
|
-
|
|
311
|
-
/**
|
|
312
|
-
* <p>Returns a list of Jobs. Use the JobsID and fromDate and toData filters to limit which jobs are returned. The response is sorted by creationDataTime - latest date first. Jobs are normaly created by the StartTest, StartCutover, and TerminateTargetInstances APIs. Jobs are also created by DiagnosticLaunch and TerminateDiagnosticInstances, which are APIs available only to *Support* and only used in response to relevant support tickets.</p>
|
|
313
|
-
*/
|
|
314
|
-
public describeJobs(
|
|
315
|
-
args: DescribeJobsCommandInput,
|
|
316
|
-
options?: __HttpHandlerOptions
|
|
317
|
-
): Promise<DescribeJobsCommandOutput>;
|
|
318
|
-
public describeJobs(args: DescribeJobsCommandInput, cb: (err: any, data?: DescribeJobsCommandOutput) => void): void;
|
|
319
|
-
public describeJobs(
|
|
320
|
-
args: DescribeJobsCommandInput,
|
|
321
|
-
options: __HttpHandlerOptions,
|
|
322
|
-
cb: (err: any, data?: DescribeJobsCommandOutput) => void
|
|
323
|
-
): void;
|
|
324
|
-
public describeJobs(
|
|
325
|
-
args: DescribeJobsCommandInput,
|
|
326
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeJobsCommandOutput) => void),
|
|
327
|
-
cb?: (err: any, data?: DescribeJobsCommandOutput) => void
|
|
328
|
-
): Promise<DescribeJobsCommandOutput> | void {
|
|
329
|
-
const command = new DescribeJobsCommand(args);
|
|
330
|
-
if (typeof optionsOrCb === "function") {
|
|
331
|
-
this.send(command, optionsOrCb);
|
|
332
|
-
} else if (typeof cb === "function") {
|
|
333
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
334
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
335
|
-
} else {
|
|
336
|
-
return this.send(command, optionsOrCb);
|
|
337
|
-
}
|
|
338
|
-
}
|
|
339
|
-
|
|
340
|
-
/**
|
|
341
|
-
* <p>Lists all ReplicationConfigurationTemplates, filtered by Source Server IDs.</p>
|
|
342
|
-
*/
|
|
343
|
-
public describeReplicationConfigurationTemplates(
|
|
344
|
-
args: DescribeReplicationConfigurationTemplatesCommandInput,
|
|
345
|
-
options?: __HttpHandlerOptions
|
|
346
|
-
): Promise<DescribeReplicationConfigurationTemplatesCommandOutput>;
|
|
347
|
-
public describeReplicationConfigurationTemplates(
|
|
348
|
-
args: DescribeReplicationConfigurationTemplatesCommandInput,
|
|
349
|
-
cb: (err: any, data?: DescribeReplicationConfigurationTemplatesCommandOutput) => void
|
|
350
|
-
): void;
|
|
351
|
-
public describeReplicationConfigurationTemplates(
|
|
352
|
-
args: DescribeReplicationConfigurationTemplatesCommandInput,
|
|
353
|
-
options: __HttpHandlerOptions,
|
|
354
|
-
cb: (err: any, data?: DescribeReplicationConfigurationTemplatesCommandOutput) => void
|
|
355
|
-
): void;
|
|
356
|
-
public describeReplicationConfigurationTemplates(
|
|
357
|
-
args: DescribeReplicationConfigurationTemplatesCommandInput,
|
|
358
|
-
optionsOrCb?:
|
|
359
|
-
| __HttpHandlerOptions
|
|
360
|
-
| ((err: any, data?: DescribeReplicationConfigurationTemplatesCommandOutput) => void),
|
|
361
|
-
cb?: (err: any, data?: DescribeReplicationConfigurationTemplatesCommandOutput) => void
|
|
362
|
-
): Promise<DescribeReplicationConfigurationTemplatesCommandOutput> | void {
|
|
363
|
-
const command = new DescribeReplicationConfigurationTemplatesCommand(args);
|
|
364
|
-
if (typeof optionsOrCb === "function") {
|
|
365
|
-
this.send(command, optionsOrCb);
|
|
366
|
-
} else if (typeof cb === "function") {
|
|
367
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
368
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
369
|
-
} else {
|
|
370
|
-
return this.send(command, optionsOrCb);
|
|
371
|
-
}
|
|
372
|
-
}
|
|
373
|
-
|
|
374
|
-
/**
|
|
375
|
-
* <p>Retrieves all SourceServers or multiple SourceServers by ID.</p>
|
|
376
|
-
*/
|
|
377
|
-
public describeSourceServers(
|
|
378
|
-
args: DescribeSourceServersCommandInput,
|
|
379
|
-
options?: __HttpHandlerOptions
|
|
380
|
-
): Promise<DescribeSourceServersCommandOutput>;
|
|
381
|
-
public describeSourceServers(
|
|
382
|
-
args: DescribeSourceServersCommandInput,
|
|
383
|
-
cb: (err: any, data?: DescribeSourceServersCommandOutput) => void
|
|
384
|
-
): void;
|
|
385
|
-
public describeSourceServers(
|
|
386
|
-
args: DescribeSourceServersCommandInput,
|
|
387
|
-
options: __HttpHandlerOptions,
|
|
388
|
-
cb: (err: any, data?: DescribeSourceServersCommandOutput) => void
|
|
389
|
-
): void;
|
|
390
|
-
public describeSourceServers(
|
|
391
|
-
args: DescribeSourceServersCommandInput,
|
|
392
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeSourceServersCommandOutput) => void),
|
|
393
|
-
cb?: (err: any, data?: DescribeSourceServersCommandOutput) => void
|
|
394
|
-
): Promise<DescribeSourceServersCommandOutput> | void {
|
|
395
|
-
const command = new DescribeSourceServersCommand(args);
|
|
396
|
-
if (typeof optionsOrCb === "function") {
|
|
397
|
-
this.send(command, optionsOrCb);
|
|
398
|
-
} else if (typeof cb === "function") {
|
|
399
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
400
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
401
|
-
} else {
|
|
402
|
-
return this.send(command, optionsOrCb);
|
|
403
|
-
}
|
|
404
|
-
}
|
|
405
|
-
|
|
406
|
-
/**
|
|
407
|
-
* <p>Disconnects specific Source Servers from Application Migration Service. Data replication is stopped immediately. All AWS resources created by Application Migration Service for enabling the replication of these source servers will be terminated / deleted within 90 minutes. Launched Test or Cutover instances will NOT be terminated. If the agent on the source server has not been prevented from communciating with the Application Migration Service service, then it will receive a command to uninstall itself (within approximately 10 minutes). The following properties of the SourceServer will be changed immediately: dataReplicationInfo.dataReplicationState will be set to DISCONNECTED; The totalStorageBytes property for each of dataReplicationInfo.replicatedDisks will be set to zero; dataReplicationInfo.lagDuration and dataReplicationInfo.lagDurationwill be nullified.</p>
|
|
408
|
-
*/
|
|
409
|
-
public disconnectFromService(
|
|
410
|
-
args: DisconnectFromServiceCommandInput,
|
|
411
|
-
options?: __HttpHandlerOptions
|
|
412
|
-
): Promise<DisconnectFromServiceCommandOutput>;
|
|
413
|
-
public disconnectFromService(
|
|
414
|
-
args: DisconnectFromServiceCommandInput,
|
|
415
|
-
cb: (err: any, data?: DisconnectFromServiceCommandOutput) => void
|
|
416
|
-
): void;
|
|
417
|
-
public disconnectFromService(
|
|
418
|
-
args: DisconnectFromServiceCommandInput,
|
|
419
|
-
options: __HttpHandlerOptions,
|
|
420
|
-
cb: (err: any, data?: DisconnectFromServiceCommandOutput) => void
|
|
421
|
-
): void;
|
|
422
|
-
public disconnectFromService(
|
|
423
|
-
args: DisconnectFromServiceCommandInput,
|
|
424
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DisconnectFromServiceCommandOutput) => void),
|
|
425
|
-
cb?: (err: any, data?: DisconnectFromServiceCommandOutput) => void
|
|
426
|
-
): Promise<DisconnectFromServiceCommandOutput> | void {
|
|
427
|
-
const command = new DisconnectFromServiceCommand(args);
|
|
428
|
-
if (typeof optionsOrCb === "function") {
|
|
429
|
-
this.send(command, optionsOrCb);
|
|
430
|
-
} else if (typeof cb === "function") {
|
|
431
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
432
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
433
|
-
} else {
|
|
434
|
-
return this.send(command, optionsOrCb);
|
|
435
|
-
}
|
|
436
|
-
}
|
|
437
|
-
|
|
438
|
-
/**
|
|
439
|
-
* <p>Finalizes the cutover immediately for specific Source Servers. All AWS resources created by Application Migration Service for enabling the replication of these source servers will be terminated / deleted within 90 minutes. Launched Test or Cutover instances will NOT be terminated. The AWS Replication Agent will receive a command to uninstall itself (within 10 minutes). The following properties of the SourceServer will be changed immediately: dataReplicationInfo.dataReplicationState will be to DISCONNECTED; The SourceServer.lifeCycle.state will be changed to CUTOVER; The totalStorageBytes property fo each of dataReplicationInfo.replicatedDisks will be set to zero; dataReplicationInfo.lagDuration and dataReplicationInfo.lagDurationwill be nullified.</p>
|
|
440
|
-
*/
|
|
441
|
-
public finalizeCutover(
|
|
442
|
-
args: FinalizeCutoverCommandInput,
|
|
443
|
-
options?: __HttpHandlerOptions
|
|
444
|
-
): Promise<FinalizeCutoverCommandOutput>;
|
|
445
|
-
public finalizeCutover(
|
|
446
|
-
args: FinalizeCutoverCommandInput,
|
|
447
|
-
cb: (err: any, data?: FinalizeCutoverCommandOutput) => void
|
|
448
|
-
): void;
|
|
449
|
-
public finalizeCutover(
|
|
450
|
-
args: FinalizeCutoverCommandInput,
|
|
451
|
-
options: __HttpHandlerOptions,
|
|
452
|
-
cb: (err: any, data?: FinalizeCutoverCommandOutput) => void
|
|
453
|
-
): void;
|
|
454
|
-
public finalizeCutover(
|
|
455
|
-
args: FinalizeCutoverCommandInput,
|
|
456
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: FinalizeCutoverCommandOutput) => void),
|
|
457
|
-
cb?: (err: any, data?: FinalizeCutoverCommandOutput) => void
|
|
458
|
-
): Promise<FinalizeCutoverCommandOutput> | void {
|
|
459
|
-
const command = new FinalizeCutoverCommand(args);
|
|
460
|
-
if (typeof optionsOrCb === "function") {
|
|
461
|
-
this.send(command, optionsOrCb);
|
|
462
|
-
} else if (typeof cb === "function") {
|
|
463
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
464
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
465
|
-
} else {
|
|
466
|
-
return this.send(command, optionsOrCb);
|
|
467
|
-
}
|
|
468
|
-
}
|
|
469
|
-
|
|
470
|
-
/**
|
|
471
|
-
* <p>Lists all LaunchConfigurations available, filtered by Source Server IDs.</p>
|
|
472
|
-
*/
|
|
473
|
-
public getLaunchConfiguration(
|
|
474
|
-
args: GetLaunchConfigurationCommandInput,
|
|
475
|
-
options?: __HttpHandlerOptions
|
|
476
|
-
): Promise<GetLaunchConfigurationCommandOutput>;
|
|
477
|
-
public getLaunchConfiguration(
|
|
478
|
-
args: GetLaunchConfigurationCommandInput,
|
|
479
|
-
cb: (err: any, data?: GetLaunchConfigurationCommandOutput) => void
|
|
480
|
-
): void;
|
|
481
|
-
public getLaunchConfiguration(
|
|
482
|
-
args: GetLaunchConfigurationCommandInput,
|
|
483
|
-
options: __HttpHandlerOptions,
|
|
484
|
-
cb: (err: any, data?: GetLaunchConfigurationCommandOutput) => void
|
|
485
|
-
): void;
|
|
486
|
-
public getLaunchConfiguration(
|
|
487
|
-
args: GetLaunchConfigurationCommandInput,
|
|
488
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetLaunchConfigurationCommandOutput) => void),
|
|
489
|
-
cb?: (err: any, data?: GetLaunchConfigurationCommandOutput) => void
|
|
490
|
-
): Promise<GetLaunchConfigurationCommandOutput> | void {
|
|
491
|
-
const command = new GetLaunchConfigurationCommand(args);
|
|
492
|
-
if (typeof optionsOrCb === "function") {
|
|
493
|
-
this.send(command, optionsOrCb);
|
|
494
|
-
} else if (typeof cb === "function") {
|
|
495
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
496
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
497
|
-
} else {
|
|
498
|
-
return this.send(command, optionsOrCb);
|
|
499
|
-
}
|
|
500
|
-
}
|
|
501
|
-
|
|
502
|
-
/**
|
|
503
|
-
* <p>Lists all ReplicationConfigurations, filtered by Source Server ID.</p>
|
|
504
|
-
*/
|
|
505
|
-
public getReplicationConfiguration(
|
|
506
|
-
args: GetReplicationConfigurationCommandInput,
|
|
507
|
-
options?: __HttpHandlerOptions
|
|
508
|
-
): Promise<GetReplicationConfigurationCommandOutput>;
|
|
509
|
-
public getReplicationConfiguration(
|
|
510
|
-
args: GetReplicationConfigurationCommandInput,
|
|
511
|
-
cb: (err: any, data?: GetReplicationConfigurationCommandOutput) => void
|
|
512
|
-
): void;
|
|
513
|
-
public getReplicationConfiguration(
|
|
514
|
-
args: GetReplicationConfigurationCommandInput,
|
|
515
|
-
options: __HttpHandlerOptions,
|
|
516
|
-
cb: (err: any, data?: GetReplicationConfigurationCommandOutput) => void
|
|
517
|
-
): void;
|
|
518
|
-
public getReplicationConfiguration(
|
|
519
|
-
args: GetReplicationConfigurationCommandInput,
|
|
520
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetReplicationConfigurationCommandOutput) => void),
|
|
521
|
-
cb?: (err: any, data?: GetReplicationConfigurationCommandOutput) => void
|
|
522
|
-
): Promise<GetReplicationConfigurationCommandOutput> | void {
|
|
523
|
-
const command = new GetReplicationConfigurationCommand(args);
|
|
524
|
-
if (typeof optionsOrCb === "function") {
|
|
525
|
-
this.send(command, optionsOrCb);
|
|
526
|
-
} else if (typeof cb === "function") {
|
|
527
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
528
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
529
|
-
} else {
|
|
530
|
-
return this.send(command, optionsOrCb);
|
|
531
|
-
}
|
|
532
|
-
}
|
|
533
|
-
|
|
534
|
-
/**
|
|
535
|
-
* <p>Initialize Application Migration Service.</p>
|
|
536
|
-
*/
|
|
537
|
-
public initializeService(
|
|
538
|
-
args: InitializeServiceCommandInput,
|
|
539
|
-
options?: __HttpHandlerOptions
|
|
540
|
-
): Promise<InitializeServiceCommandOutput>;
|
|
541
|
-
public initializeService(
|
|
542
|
-
args: InitializeServiceCommandInput,
|
|
543
|
-
cb: (err: any, data?: InitializeServiceCommandOutput) => void
|
|
544
|
-
): void;
|
|
545
|
-
public initializeService(
|
|
546
|
-
args: InitializeServiceCommandInput,
|
|
547
|
-
options: __HttpHandlerOptions,
|
|
548
|
-
cb: (err: any, data?: InitializeServiceCommandOutput) => void
|
|
549
|
-
): void;
|
|
550
|
-
public initializeService(
|
|
551
|
-
args: InitializeServiceCommandInput,
|
|
552
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: InitializeServiceCommandOutput) => void),
|
|
553
|
-
cb?: (err: any, data?: InitializeServiceCommandOutput) => void
|
|
554
|
-
): Promise<InitializeServiceCommandOutput> | void {
|
|
555
|
-
const command = new InitializeServiceCommand(args);
|
|
556
|
-
if (typeof optionsOrCb === "function") {
|
|
557
|
-
this.send(command, optionsOrCb);
|
|
558
|
-
} else if (typeof cb === "function") {
|
|
559
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
560
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
561
|
-
} else {
|
|
562
|
-
return this.send(command, optionsOrCb);
|
|
563
|
-
}
|
|
564
|
-
}
|
|
565
|
-
|
|
566
|
-
/**
|
|
567
|
-
* <p>List all tags for your Application Migration Service resources.</p>
|
|
568
|
-
*/
|
|
569
|
-
public listTagsForResource(
|
|
570
|
-
args: ListTagsForResourceCommandInput,
|
|
571
|
-
options?: __HttpHandlerOptions
|
|
572
|
-
): Promise<ListTagsForResourceCommandOutput>;
|
|
573
|
-
public listTagsForResource(
|
|
574
|
-
args: ListTagsForResourceCommandInput,
|
|
575
|
-
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
576
|
-
): void;
|
|
577
|
-
public listTagsForResource(
|
|
578
|
-
args: ListTagsForResourceCommandInput,
|
|
579
|
-
options: __HttpHandlerOptions,
|
|
580
|
-
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
581
|
-
): void;
|
|
582
|
-
public listTagsForResource(
|
|
583
|
-
args: ListTagsForResourceCommandInput,
|
|
584
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListTagsForResourceCommandOutput) => void),
|
|
585
|
-
cb?: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
586
|
-
): Promise<ListTagsForResourceCommandOutput> | void {
|
|
587
|
-
const command = new ListTagsForResourceCommand(args);
|
|
588
|
-
if (typeof optionsOrCb === "function") {
|
|
589
|
-
this.send(command, optionsOrCb);
|
|
590
|
-
} else if (typeof cb === "function") {
|
|
591
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
592
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
593
|
-
} else {
|
|
594
|
-
return this.send(command, optionsOrCb);
|
|
595
|
-
}
|
|
596
|
-
}
|
|
597
|
-
|
|
598
|
-
/**
|
|
599
|
-
* <p>Archives specific Source Servers by setting the SourceServer.isArchived property to true for specified SourceServers by ID. This command only works for SourceServers with a lifecycle.state which equals DISCONNECTED or CUTOVER.</p>
|
|
600
|
-
*/
|
|
601
|
-
public markAsArchived(
|
|
602
|
-
args: MarkAsArchivedCommandInput,
|
|
603
|
-
options?: __HttpHandlerOptions
|
|
604
|
-
): Promise<MarkAsArchivedCommandOutput>;
|
|
605
|
-
public markAsArchived(
|
|
606
|
-
args: MarkAsArchivedCommandInput,
|
|
607
|
-
cb: (err: any, data?: MarkAsArchivedCommandOutput) => void
|
|
608
|
-
): void;
|
|
609
|
-
public markAsArchived(
|
|
610
|
-
args: MarkAsArchivedCommandInput,
|
|
611
|
-
options: __HttpHandlerOptions,
|
|
612
|
-
cb: (err: any, data?: MarkAsArchivedCommandOutput) => void
|
|
613
|
-
): void;
|
|
614
|
-
public markAsArchived(
|
|
615
|
-
args: MarkAsArchivedCommandInput,
|
|
616
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: MarkAsArchivedCommandOutput) => void),
|
|
617
|
-
cb?: (err: any, data?: MarkAsArchivedCommandOutput) => void
|
|
618
|
-
): Promise<MarkAsArchivedCommandOutput> | void {
|
|
619
|
-
const command = new MarkAsArchivedCommand(args);
|
|
620
|
-
if (typeof optionsOrCb === "function") {
|
|
621
|
-
this.send(command, optionsOrCb);
|
|
622
|
-
} else if (typeof cb === "function") {
|
|
623
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
624
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
625
|
-
} else {
|
|
626
|
-
return this.send(command, optionsOrCb);
|
|
627
|
-
}
|
|
628
|
-
}
|
|
629
|
-
|
|
630
|
-
/**
|
|
631
|
-
* <p>Causes the data replication initiation sequence to begin immediately upon next Handshake for specified SourceServer IDs, regardless of when the previous initiation started. This command will not work if the SourceServer is not stalled or is in a DISCONNECTED or STOPPED state.</p>
|
|
632
|
-
*/
|
|
633
|
-
public retryDataReplication(
|
|
634
|
-
args: RetryDataReplicationCommandInput,
|
|
635
|
-
options?: __HttpHandlerOptions
|
|
636
|
-
): Promise<RetryDataReplicationCommandOutput>;
|
|
637
|
-
public retryDataReplication(
|
|
638
|
-
args: RetryDataReplicationCommandInput,
|
|
639
|
-
cb: (err: any, data?: RetryDataReplicationCommandOutput) => void
|
|
640
|
-
): void;
|
|
641
|
-
public retryDataReplication(
|
|
642
|
-
args: RetryDataReplicationCommandInput,
|
|
643
|
-
options: __HttpHandlerOptions,
|
|
644
|
-
cb: (err: any, data?: RetryDataReplicationCommandOutput) => void
|
|
645
|
-
): void;
|
|
646
|
-
public retryDataReplication(
|
|
647
|
-
args: RetryDataReplicationCommandInput,
|
|
648
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: RetryDataReplicationCommandOutput) => void),
|
|
649
|
-
cb?: (err: any, data?: RetryDataReplicationCommandOutput) => void
|
|
650
|
-
): Promise<RetryDataReplicationCommandOutput> | void {
|
|
651
|
-
const command = new RetryDataReplicationCommand(args);
|
|
652
|
-
if (typeof optionsOrCb === "function") {
|
|
653
|
-
this.send(command, optionsOrCb);
|
|
654
|
-
} else if (typeof cb === "function") {
|
|
655
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
656
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
657
|
-
} else {
|
|
658
|
-
return this.send(command, optionsOrCb);
|
|
659
|
-
}
|
|
660
|
-
}
|
|
661
|
-
|
|
662
|
-
/**
|
|
663
|
-
* <p>Launches a Cutover Instance for specific Source Servers. This command starts a LAUNCH job whose initiatedBy property is StartCutover and changes the SourceServer.lifeCycle.state property to CUTTING_OVER.</p>
|
|
664
|
-
*/
|
|
665
|
-
public startCutover(
|
|
666
|
-
args: StartCutoverCommandInput,
|
|
667
|
-
options?: __HttpHandlerOptions
|
|
668
|
-
): Promise<StartCutoverCommandOutput>;
|
|
669
|
-
public startCutover(args: StartCutoverCommandInput, cb: (err: any, data?: StartCutoverCommandOutput) => void): void;
|
|
670
|
-
public startCutover(
|
|
671
|
-
args: StartCutoverCommandInput,
|
|
672
|
-
options: __HttpHandlerOptions,
|
|
673
|
-
cb: (err: any, data?: StartCutoverCommandOutput) => void
|
|
674
|
-
): void;
|
|
675
|
-
public startCutover(
|
|
676
|
-
args: StartCutoverCommandInput,
|
|
677
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: StartCutoverCommandOutput) => void),
|
|
678
|
-
cb?: (err: any, data?: StartCutoverCommandOutput) => void
|
|
679
|
-
): Promise<StartCutoverCommandOutput> | void {
|
|
680
|
-
const command = new StartCutoverCommand(args);
|
|
681
|
-
if (typeof optionsOrCb === "function") {
|
|
682
|
-
this.send(command, optionsOrCb);
|
|
683
|
-
} else if (typeof cb === "function") {
|
|
684
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
685
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
686
|
-
} else {
|
|
687
|
-
return this.send(command, optionsOrCb);
|
|
688
|
-
}
|
|
689
|
-
}
|
|
690
|
-
|
|
691
|
-
/**
|
|
692
|
-
* <p>Lauches a Test Instance for specific Source Servers. This command starts a LAUNCH job whose initiatedBy property is StartTest and changes the SourceServer.lifeCycle.state property to TESTING.</p>
|
|
693
|
-
*/
|
|
694
|
-
public startTest(args: StartTestCommandInput, options?: __HttpHandlerOptions): Promise<StartTestCommandOutput>;
|
|
695
|
-
public startTest(args: StartTestCommandInput, cb: (err: any, data?: StartTestCommandOutput) => void): void;
|
|
696
|
-
public startTest(
|
|
697
|
-
args: StartTestCommandInput,
|
|
698
|
-
options: __HttpHandlerOptions,
|
|
699
|
-
cb: (err: any, data?: StartTestCommandOutput) => void
|
|
700
|
-
): void;
|
|
701
|
-
public startTest(
|
|
702
|
-
args: StartTestCommandInput,
|
|
703
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: StartTestCommandOutput) => void),
|
|
704
|
-
cb?: (err: any, data?: StartTestCommandOutput) => void
|
|
705
|
-
): Promise<StartTestCommandOutput> | void {
|
|
706
|
-
const command = new StartTestCommand(args);
|
|
707
|
-
if (typeof optionsOrCb === "function") {
|
|
708
|
-
this.send(command, optionsOrCb);
|
|
709
|
-
} else if (typeof cb === "function") {
|
|
710
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
711
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
712
|
-
} else {
|
|
713
|
-
return this.send(command, optionsOrCb);
|
|
714
|
-
}
|
|
715
|
-
}
|
|
716
|
-
|
|
717
|
-
/**
|
|
718
|
-
* <p>Adds or overwrites only the specified tags for the specified Application Migration Service resource or resources. When you specify an existing tag key, the value is overwritten with the new value. Each resource can have a maximum of 50 tags. Each tag consists of a key and optional value.</p>
|
|
719
|
-
*/
|
|
720
|
-
public tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
721
|
-
public tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
722
|
-
public tagResource(
|
|
723
|
-
args: TagResourceCommandInput,
|
|
724
|
-
options: __HttpHandlerOptions,
|
|
725
|
-
cb: (err: any, data?: TagResourceCommandOutput) => void
|
|
726
|
-
): void;
|
|
727
|
-
public tagResource(
|
|
728
|
-
args: TagResourceCommandInput,
|
|
729
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: TagResourceCommandOutput) => void),
|
|
730
|
-
cb?: (err: any, data?: TagResourceCommandOutput) => void
|
|
731
|
-
): Promise<TagResourceCommandOutput> | void {
|
|
732
|
-
const command = new TagResourceCommand(args);
|
|
733
|
-
if (typeof optionsOrCb === "function") {
|
|
734
|
-
this.send(command, optionsOrCb);
|
|
735
|
-
} else if (typeof cb === "function") {
|
|
736
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
737
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
738
|
-
} else {
|
|
739
|
-
return this.send(command, optionsOrCb);
|
|
740
|
-
}
|
|
741
|
-
}
|
|
742
|
-
|
|
743
|
-
/**
|
|
744
|
-
* <p>Starts a job that terminates specific launched EC2 Test and Cutover instances. This command will not work for any Source Server with a lifecycle.state of TESTING, CUTTING_OVER, or CUTOVER.</p>
|
|
745
|
-
*/
|
|
746
|
-
public terminateTargetInstances(
|
|
747
|
-
args: TerminateTargetInstancesCommandInput,
|
|
748
|
-
options?: __HttpHandlerOptions
|
|
749
|
-
): Promise<TerminateTargetInstancesCommandOutput>;
|
|
750
|
-
public terminateTargetInstances(
|
|
751
|
-
args: TerminateTargetInstancesCommandInput,
|
|
752
|
-
cb: (err: any, data?: TerminateTargetInstancesCommandOutput) => void
|
|
753
|
-
): void;
|
|
754
|
-
public terminateTargetInstances(
|
|
755
|
-
args: TerminateTargetInstancesCommandInput,
|
|
756
|
-
options: __HttpHandlerOptions,
|
|
757
|
-
cb: (err: any, data?: TerminateTargetInstancesCommandOutput) => void
|
|
758
|
-
): void;
|
|
759
|
-
public terminateTargetInstances(
|
|
760
|
-
args: TerminateTargetInstancesCommandInput,
|
|
761
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: TerminateTargetInstancesCommandOutput) => void),
|
|
762
|
-
cb?: (err: any, data?: TerminateTargetInstancesCommandOutput) => void
|
|
763
|
-
): Promise<TerminateTargetInstancesCommandOutput> | void {
|
|
764
|
-
const command = new TerminateTargetInstancesCommand(args);
|
|
765
|
-
if (typeof optionsOrCb === "function") {
|
|
766
|
-
this.send(command, optionsOrCb);
|
|
767
|
-
} else if (typeof cb === "function") {
|
|
768
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
769
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
770
|
-
} else {
|
|
771
|
-
return this.send(command, optionsOrCb);
|
|
772
|
-
}
|
|
773
|
-
}
|
|
774
|
-
|
|
775
|
-
/**
|
|
776
|
-
* <p>Deletes the specified set of tags from the specified set of Application Migration Service resources.</p>
|
|
777
|
-
*/
|
|
778
|
-
public untagResource(
|
|
779
|
-
args: UntagResourceCommandInput,
|
|
780
|
-
options?: __HttpHandlerOptions
|
|
781
|
-
): Promise<UntagResourceCommandOutput>;
|
|
782
|
-
public untagResource(
|
|
783
|
-
args: UntagResourceCommandInput,
|
|
784
|
-
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
785
|
-
): void;
|
|
786
|
-
public untagResource(
|
|
787
|
-
args: UntagResourceCommandInput,
|
|
788
|
-
options: __HttpHandlerOptions,
|
|
789
|
-
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
790
|
-
): void;
|
|
791
|
-
public untagResource(
|
|
792
|
-
args: UntagResourceCommandInput,
|
|
793
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UntagResourceCommandOutput) => void),
|
|
794
|
-
cb?: (err: any, data?: UntagResourceCommandOutput) => void
|
|
795
|
-
): Promise<UntagResourceCommandOutput> | void {
|
|
796
|
-
const command = new UntagResourceCommand(args);
|
|
797
|
-
if (typeof optionsOrCb === "function") {
|
|
798
|
-
this.send(command, optionsOrCb);
|
|
799
|
-
} else if (typeof cb === "function") {
|
|
800
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
801
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
802
|
-
} else {
|
|
803
|
-
return this.send(command, optionsOrCb);
|
|
804
|
-
}
|
|
805
|
-
}
|
|
806
|
-
|
|
807
|
-
/**
|
|
808
|
-
* <p>Updates multiple LaunchConfigurations by Source Server ID.</p>
|
|
809
|
-
*/
|
|
810
|
-
public updateLaunchConfiguration(
|
|
811
|
-
args: UpdateLaunchConfigurationCommandInput,
|
|
812
|
-
options?: __HttpHandlerOptions
|
|
813
|
-
): Promise<UpdateLaunchConfigurationCommandOutput>;
|
|
814
|
-
public updateLaunchConfiguration(
|
|
815
|
-
args: UpdateLaunchConfigurationCommandInput,
|
|
816
|
-
cb: (err: any, data?: UpdateLaunchConfigurationCommandOutput) => void
|
|
817
|
-
): void;
|
|
818
|
-
public updateLaunchConfiguration(
|
|
819
|
-
args: UpdateLaunchConfigurationCommandInput,
|
|
820
|
-
options: __HttpHandlerOptions,
|
|
821
|
-
cb: (err: any, data?: UpdateLaunchConfigurationCommandOutput) => void
|
|
822
|
-
): void;
|
|
823
|
-
public updateLaunchConfiguration(
|
|
824
|
-
args: UpdateLaunchConfigurationCommandInput,
|
|
825
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateLaunchConfigurationCommandOutput) => void),
|
|
826
|
-
cb?: (err: any, data?: UpdateLaunchConfigurationCommandOutput) => void
|
|
827
|
-
): Promise<UpdateLaunchConfigurationCommandOutput> | void {
|
|
828
|
-
const command = new UpdateLaunchConfigurationCommand(args);
|
|
829
|
-
if (typeof optionsOrCb === "function") {
|
|
830
|
-
this.send(command, optionsOrCb);
|
|
831
|
-
} else if (typeof cb === "function") {
|
|
832
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
833
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
834
|
-
} else {
|
|
835
|
-
return this.send(command, optionsOrCb);
|
|
836
|
-
}
|
|
837
|
-
}
|
|
838
|
-
|
|
839
|
-
/**
|
|
840
|
-
* <p>Allows you to update multiple ReplicationConfigurations by Source Server ID.</p>
|
|
841
|
-
*/
|
|
842
|
-
public updateReplicationConfiguration(
|
|
843
|
-
args: UpdateReplicationConfigurationCommandInput,
|
|
844
|
-
options?: __HttpHandlerOptions
|
|
845
|
-
): Promise<UpdateReplicationConfigurationCommandOutput>;
|
|
846
|
-
public updateReplicationConfiguration(
|
|
847
|
-
args: UpdateReplicationConfigurationCommandInput,
|
|
848
|
-
cb: (err: any, data?: UpdateReplicationConfigurationCommandOutput) => void
|
|
849
|
-
): void;
|
|
850
|
-
public updateReplicationConfiguration(
|
|
851
|
-
args: UpdateReplicationConfigurationCommandInput,
|
|
852
|
-
options: __HttpHandlerOptions,
|
|
853
|
-
cb: (err: any, data?: UpdateReplicationConfigurationCommandOutput) => void
|
|
854
|
-
): void;
|
|
855
|
-
public updateReplicationConfiguration(
|
|
856
|
-
args: UpdateReplicationConfigurationCommandInput,
|
|
857
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateReplicationConfigurationCommandOutput) => void),
|
|
858
|
-
cb?: (err: any, data?: UpdateReplicationConfigurationCommandOutput) => void
|
|
859
|
-
): Promise<UpdateReplicationConfigurationCommandOutput> | void {
|
|
860
|
-
const command = new UpdateReplicationConfigurationCommand(args);
|
|
861
|
-
if (typeof optionsOrCb === "function") {
|
|
862
|
-
this.send(command, optionsOrCb);
|
|
863
|
-
} else if (typeof cb === "function") {
|
|
864
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
865
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
866
|
-
} else {
|
|
867
|
-
return this.send(command, optionsOrCb);
|
|
868
|
-
}
|
|
869
|
-
}
|
|
870
|
-
|
|
871
|
-
/**
|
|
872
|
-
* <p>Updates multiple ReplicationConfigurationTemplates by ID.</p>
|
|
873
|
-
*/
|
|
874
|
-
public updateReplicationConfigurationTemplate(
|
|
875
|
-
args: UpdateReplicationConfigurationTemplateCommandInput,
|
|
876
|
-
options?: __HttpHandlerOptions
|
|
877
|
-
): Promise<UpdateReplicationConfigurationTemplateCommandOutput>;
|
|
878
|
-
public updateReplicationConfigurationTemplate(
|
|
879
|
-
args: UpdateReplicationConfigurationTemplateCommandInput,
|
|
880
|
-
cb: (err: any, data?: UpdateReplicationConfigurationTemplateCommandOutput) => void
|
|
881
|
-
): void;
|
|
882
|
-
public updateReplicationConfigurationTemplate(
|
|
883
|
-
args: UpdateReplicationConfigurationTemplateCommandInput,
|
|
884
|
-
options: __HttpHandlerOptions,
|
|
885
|
-
cb: (err: any, data?: UpdateReplicationConfigurationTemplateCommandOutput) => void
|
|
886
|
-
): void;
|
|
887
|
-
public updateReplicationConfigurationTemplate(
|
|
888
|
-
args: UpdateReplicationConfigurationTemplateCommandInput,
|
|
889
|
-
optionsOrCb?:
|
|
890
|
-
| __HttpHandlerOptions
|
|
891
|
-
| ((err: any, data?: UpdateReplicationConfigurationTemplateCommandOutput) => void),
|
|
892
|
-
cb?: (err: any, data?: UpdateReplicationConfigurationTemplateCommandOutput) => void
|
|
893
|
-
): Promise<UpdateReplicationConfigurationTemplateCommandOutput> | void {
|
|
894
|
-
const command = new UpdateReplicationConfigurationTemplateCommand(args);
|
|
895
|
-
if (typeof optionsOrCb === "function") {
|
|
896
|
-
this.send(command, optionsOrCb);
|
|
897
|
-
} else if (typeof cb === "function") {
|
|
898
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
899
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
900
|
-
} else {
|
|
901
|
-
return this.send(command, optionsOrCb);
|
|
902
|
-
}
|
|
903
|
-
}
|
|
904
|
-
}
|