@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
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { MgnClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MgnClient";
|
|
2
|
-
import { DisconnectFromServiceRequest, SourceServer } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1DisconnectFromServiceCommand,
|
|
5
|
-
serializeAws_restJson1DisconnectFromServiceCommand,
|
|
6
|
-
} from "../protocols/Aws_restJson1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface DisconnectFromServiceCommandInput extends DisconnectFromServiceRequest {}
|
|
21
|
-
export interface DisconnectFromServiceCommandOutput extends SourceServer, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <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>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { MgnClient, DisconnectFromServiceCommand } from "@aws-sdk/client-mgn"; // ES Modules import
|
|
29
|
-
* // const { MgnClient, DisconnectFromServiceCommand } = require("@aws-sdk/client-mgn"); // CommonJS import
|
|
30
|
-
* const client = new MgnClient(config);
|
|
31
|
-
* const command = new DisconnectFromServiceCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link DisconnectFromServiceCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link DisconnectFromServiceCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link MgnClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class DisconnectFromServiceCommand extends $Command<
|
|
41
|
-
DisconnectFromServiceCommandInput,
|
|
42
|
-
DisconnectFromServiceCommandOutput,
|
|
43
|
-
MgnClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: DisconnectFromServiceCommandInput) {
|
|
49
|
-
// Start section: command_constructor
|
|
50
|
-
super();
|
|
51
|
-
// End section: command_constructor
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* @internal
|
|
56
|
-
*/
|
|
57
|
-
resolveMiddleware(
|
|
58
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
59
|
-
configuration: MgnClientResolvedConfig,
|
|
60
|
-
options?: __HttpHandlerOptions
|
|
61
|
-
): Handler<DisconnectFromServiceCommandInput, DisconnectFromServiceCommandOutput> {
|
|
62
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
63
|
-
|
|
64
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
65
|
-
|
|
66
|
-
const { logger } = configuration;
|
|
67
|
-
const clientName = "MgnClient";
|
|
68
|
-
const commandName = "DisconnectFromServiceCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: DisconnectFromServiceRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: SourceServer.filterSensitiveLog,
|
|
75
|
-
};
|
|
76
|
-
const { requestHandler } = configuration;
|
|
77
|
-
return stack.resolve(
|
|
78
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
79
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
80
|
-
handlerExecutionContext
|
|
81
|
-
);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
private serialize(input: DisconnectFromServiceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_restJson1DisconnectFromServiceCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DisconnectFromServiceCommandOutput> {
|
|
89
|
-
return deserializeAws_restJson1DisconnectFromServiceCommand(output, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Start section: command_body_extra
|
|
93
|
-
// End section: command_body_extra
|
|
94
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { MgnClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MgnClient";
|
|
2
|
-
import { FinalizeCutoverRequest, SourceServer } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1FinalizeCutoverCommand,
|
|
5
|
-
serializeAws_restJson1FinalizeCutoverCommand,
|
|
6
|
-
} from "../protocols/Aws_restJson1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface FinalizeCutoverCommandInput extends FinalizeCutoverRequest {}
|
|
21
|
-
export interface FinalizeCutoverCommandOutput extends SourceServer, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <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>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { MgnClient, FinalizeCutoverCommand } from "@aws-sdk/client-mgn"; // ES Modules import
|
|
29
|
-
* // const { MgnClient, FinalizeCutoverCommand } = require("@aws-sdk/client-mgn"); // CommonJS import
|
|
30
|
-
* const client = new MgnClient(config);
|
|
31
|
-
* const command = new FinalizeCutoverCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link FinalizeCutoverCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link FinalizeCutoverCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link MgnClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class FinalizeCutoverCommand extends $Command<
|
|
41
|
-
FinalizeCutoverCommandInput,
|
|
42
|
-
FinalizeCutoverCommandOutput,
|
|
43
|
-
MgnClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: FinalizeCutoverCommandInput) {
|
|
49
|
-
// Start section: command_constructor
|
|
50
|
-
super();
|
|
51
|
-
// End section: command_constructor
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* @internal
|
|
56
|
-
*/
|
|
57
|
-
resolveMiddleware(
|
|
58
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
59
|
-
configuration: MgnClientResolvedConfig,
|
|
60
|
-
options?: __HttpHandlerOptions
|
|
61
|
-
): Handler<FinalizeCutoverCommandInput, FinalizeCutoverCommandOutput> {
|
|
62
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
63
|
-
|
|
64
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
65
|
-
|
|
66
|
-
const { logger } = configuration;
|
|
67
|
-
const clientName = "MgnClient";
|
|
68
|
-
const commandName = "FinalizeCutoverCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: FinalizeCutoverRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: SourceServer.filterSensitiveLog,
|
|
75
|
-
};
|
|
76
|
-
const { requestHandler } = configuration;
|
|
77
|
-
return stack.resolve(
|
|
78
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
79
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
80
|
-
handlerExecutionContext
|
|
81
|
-
);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
private serialize(input: FinalizeCutoverCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_restJson1FinalizeCutoverCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<FinalizeCutoverCommandOutput> {
|
|
89
|
-
return deserializeAws_restJson1FinalizeCutoverCommand(output, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Start section: command_body_extra
|
|
93
|
-
// End section: command_body_extra
|
|
94
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { MgnClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MgnClient";
|
|
2
|
-
import { GetLaunchConfigurationRequest, LaunchConfiguration } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1GetLaunchConfigurationCommand,
|
|
5
|
-
serializeAws_restJson1GetLaunchConfigurationCommand,
|
|
6
|
-
} from "../protocols/Aws_restJson1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface GetLaunchConfigurationCommandInput extends GetLaunchConfigurationRequest {}
|
|
21
|
-
export interface GetLaunchConfigurationCommandOutput extends LaunchConfiguration, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Lists all LaunchConfigurations available, filtered by Source Server IDs.</p>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { MgnClient, GetLaunchConfigurationCommand } from "@aws-sdk/client-mgn"; // ES Modules import
|
|
29
|
-
* // const { MgnClient, GetLaunchConfigurationCommand } = require("@aws-sdk/client-mgn"); // CommonJS import
|
|
30
|
-
* const client = new MgnClient(config);
|
|
31
|
-
* const command = new GetLaunchConfigurationCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link GetLaunchConfigurationCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link GetLaunchConfigurationCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link MgnClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class GetLaunchConfigurationCommand extends $Command<
|
|
41
|
-
GetLaunchConfigurationCommandInput,
|
|
42
|
-
GetLaunchConfigurationCommandOutput,
|
|
43
|
-
MgnClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: GetLaunchConfigurationCommandInput) {
|
|
49
|
-
// Start section: command_constructor
|
|
50
|
-
super();
|
|
51
|
-
// End section: command_constructor
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* @internal
|
|
56
|
-
*/
|
|
57
|
-
resolveMiddleware(
|
|
58
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
59
|
-
configuration: MgnClientResolvedConfig,
|
|
60
|
-
options?: __HttpHandlerOptions
|
|
61
|
-
): Handler<GetLaunchConfigurationCommandInput, GetLaunchConfigurationCommandOutput> {
|
|
62
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
63
|
-
|
|
64
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
65
|
-
|
|
66
|
-
const { logger } = configuration;
|
|
67
|
-
const clientName = "MgnClient";
|
|
68
|
-
const commandName = "GetLaunchConfigurationCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: GetLaunchConfigurationRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: LaunchConfiguration.filterSensitiveLog,
|
|
75
|
-
};
|
|
76
|
-
const { requestHandler } = configuration;
|
|
77
|
-
return stack.resolve(
|
|
78
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
79
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
80
|
-
handlerExecutionContext
|
|
81
|
-
);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
private serialize(input: GetLaunchConfigurationCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_restJson1GetLaunchConfigurationCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetLaunchConfigurationCommandOutput> {
|
|
89
|
-
return deserializeAws_restJson1GetLaunchConfigurationCommand(output, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Start section: command_body_extra
|
|
93
|
-
// End section: command_body_extra
|
|
94
|
-
}
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
import { MgnClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MgnClient";
|
|
2
|
-
import { GetReplicationConfigurationRequest, ReplicationConfiguration } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1GetReplicationConfigurationCommand,
|
|
5
|
-
serializeAws_restJson1GetReplicationConfigurationCommand,
|
|
6
|
-
} from "../protocols/Aws_restJson1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface GetReplicationConfigurationCommandInput extends GetReplicationConfigurationRequest {}
|
|
21
|
-
export interface GetReplicationConfigurationCommandOutput extends ReplicationConfiguration, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Lists all ReplicationConfigurations, filtered by Source Server ID.</p>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { MgnClient, GetReplicationConfigurationCommand } from "@aws-sdk/client-mgn"; // ES Modules import
|
|
29
|
-
* // const { MgnClient, GetReplicationConfigurationCommand } = require("@aws-sdk/client-mgn"); // CommonJS import
|
|
30
|
-
* const client = new MgnClient(config);
|
|
31
|
-
* const command = new GetReplicationConfigurationCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link GetReplicationConfigurationCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link GetReplicationConfigurationCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link MgnClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class GetReplicationConfigurationCommand extends $Command<
|
|
41
|
-
GetReplicationConfigurationCommandInput,
|
|
42
|
-
GetReplicationConfigurationCommandOutput,
|
|
43
|
-
MgnClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: GetReplicationConfigurationCommandInput) {
|
|
49
|
-
// Start section: command_constructor
|
|
50
|
-
super();
|
|
51
|
-
// End section: command_constructor
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* @internal
|
|
56
|
-
*/
|
|
57
|
-
resolveMiddleware(
|
|
58
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
59
|
-
configuration: MgnClientResolvedConfig,
|
|
60
|
-
options?: __HttpHandlerOptions
|
|
61
|
-
): Handler<GetReplicationConfigurationCommandInput, GetReplicationConfigurationCommandOutput> {
|
|
62
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
63
|
-
|
|
64
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
65
|
-
|
|
66
|
-
const { logger } = configuration;
|
|
67
|
-
const clientName = "MgnClient";
|
|
68
|
-
const commandName = "GetReplicationConfigurationCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: GetReplicationConfigurationRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: ReplicationConfiguration.filterSensitiveLog,
|
|
75
|
-
};
|
|
76
|
-
const { requestHandler } = configuration;
|
|
77
|
-
return stack.resolve(
|
|
78
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
79
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
80
|
-
handlerExecutionContext
|
|
81
|
-
);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
private serialize(input: GetReplicationConfigurationCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_restJson1GetReplicationConfigurationCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(
|
|
89
|
-
output: __HttpResponse,
|
|
90
|
-
context: __SerdeContext
|
|
91
|
-
): Promise<GetReplicationConfigurationCommandOutput> {
|
|
92
|
-
return deserializeAws_restJson1GetReplicationConfigurationCommand(output, context);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
// Start section: command_body_extra
|
|
96
|
-
// End section: command_body_extra
|
|
97
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { MgnClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MgnClient";
|
|
2
|
-
import { InitializeServiceRequest, InitializeServiceResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1InitializeServiceCommand,
|
|
5
|
-
serializeAws_restJson1InitializeServiceCommand,
|
|
6
|
-
} from "../protocols/Aws_restJson1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface InitializeServiceCommandInput extends InitializeServiceRequest {}
|
|
21
|
-
export interface InitializeServiceCommandOutput extends InitializeServiceResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Initialize Application Migration Service.</p>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { MgnClient, InitializeServiceCommand } from "@aws-sdk/client-mgn"; // ES Modules import
|
|
29
|
-
* // const { MgnClient, InitializeServiceCommand } = require("@aws-sdk/client-mgn"); // CommonJS import
|
|
30
|
-
* const client = new MgnClient(config);
|
|
31
|
-
* const command = new InitializeServiceCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link InitializeServiceCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link InitializeServiceCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link MgnClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class InitializeServiceCommand extends $Command<
|
|
41
|
-
InitializeServiceCommandInput,
|
|
42
|
-
InitializeServiceCommandOutput,
|
|
43
|
-
MgnClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: InitializeServiceCommandInput) {
|
|
49
|
-
// Start section: command_constructor
|
|
50
|
-
super();
|
|
51
|
-
// End section: command_constructor
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* @internal
|
|
56
|
-
*/
|
|
57
|
-
resolveMiddleware(
|
|
58
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
59
|
-
configuration: MgnClientResolvedConfig,
|
|
60
|
-
options?: __HttpHandlerOptions
|
|
61
|
-
): Handler<InitializeServiceCommandInput, InitializeServiceCommandOutput> {
|
|
62
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
63
|
-
|
|
64
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
65
|
-
|
|
66
|
-
const { logger } = configuration;
|
|
67
|
-
const clientName = "MgnClient";
|
|
68
|
-
const commandName = "InitializeServiceCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: InitializeServiceRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: InitializeServiceResponse.filterSensitiveLog,
|
|
75
|
-
};
|
|
76
|
-
const { requestHandler } = configuration;
|
|
77
|
-
return stack.resolve(
|
|
78
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
79
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
80
|
-
handlerExecutionContext
|
|
81
|
-
);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
private serialize(input: InitializeServiceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_restJson1InitializeServiceCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<InitializeServiceCommandOutput> {
|
|
89
|
-
return deserializeAws_restJson1InitializeServiceCommand(output, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Start section: command_body_extra
|
|
93
|
-
// End section: command_body_extra
|
|
94
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { MgnClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MgnClient";
|
|
2
|
-
import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1ListTagsForResourceCommand,
|
|
5
|
-
serializeAws_restJson1ListTagsForResourceCommand,
|
|
6
|
-
} from "../protocols/Aws_restJson1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequest {}
|
|
21
|
-
export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>List all tags for your Application Migration Service resources.</p>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { MgnClient, ListTagsForResourceCommand } from "@aws-sdk/client-mgn"; // ES Modules import
|
|
29
|
-
* // const { MgnClient, ListTagsForResourceCommand } = require("@aws-sdk/client-mgn"); // CommonJS import
|
|
30
|
-
* const client = new MgnClient(config);
|
|
31
|
-
* const command = new ListTagsForResourceCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link MgnClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class ListTagsForResourceCommand extends $Command<
|
|
41
|
-
ListTagsForResourceCommandInput,
|
|
42
|
-
ListTagsForResourceCommandOutput,
|
|
43
|
-
MgnClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: ListTagsForResourceCommandInput) {
|
|
49
|
-
// Start section: command_constructor
|
|
50
|
-
super();
|
|
51
|
-
// End section: command_constructor
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* @internal
|
|
56
|
-
*/
|
|
57
|
-
resolveMiddleware(
|
|
58
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
59
|
-
configuration: MgnClientResolvedConfig,
|
|
60
|
-
options?: __HttpHandlerOptions
|
|
61
|
-
): Handler<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput> {
|
|
62
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
63
|
-
|
|
64
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
65
|
-
|
|
66
|
-
const { logger } = configuration;
|
|
67
|
-
const clientName = "MgnClient";
|
|
68
|
-
const commandName = "ListTagsForResourceCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: ListTagsForResourceRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: ListTagsForResourceResponse.filterSensitiveLog,
|
|
75
|
-
};
|
|
76
|
-
const { requestHandler } = configuration;
|
|
77
|
-
return stack.resolve(
|
|
78
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
79
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
80
|
-
handlerExecutionContext
|
|
81
|
-
);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
private serialize(input: ListTagsForResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_restJson1ListTagsForResourceCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListTagsForResourceCommandOutput> {
|
|
89
|
-
return deserializeAws_restJson1ListTagsForResourceCommand(output, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Start section: command_body_extra
|
|
93
|
-
// End section: command_body_extra
|
|
94
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { MgnClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MgnClient";
|
|
2
|
-
import { MarkAsArchivedRequest, SourceServer } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1MarkAsArchivedCommand,
|
|
5
|
-
serializeAws_restJson1MarkAsArchivedCommand,
|
|
6
|
-
} from "../protocols/Aws_restJson1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface MarkAsArchivedCommandInput extends MarkAsArchivedRequest {}
|
|
21
|
-
export interface MarkAsArchivedCommandOutput extends SourceServer, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <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>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { MgnClient, MarkAsArchivedCommand } from "@aws-sdk/client-mgn"; // ES Modules import
|
|
29
|
-
* // const { MgnClient, MarkAsArchivedCommand } = require("@aws-sdk/client-mgn"); // CommonJS import
|
|
30
|
-
* const client = new MgnClient(config);
|
|
31
|
-
* const command = new MarkAsArchivedCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link MarkAsArchivedCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link MarkAsArchivedCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link MgnClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class MarkAsArchivedCommand extends $Command<
|
|
41
|
-
MarkAsArchivedCommandInput,
|
|
42
|
-
MarkAsArchivedCommandOutput,
|
|
43
|
-
MgnClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: MarkAsArchivedCommandInput) {
|
|
49
|
-
// Start section: command_constructor
|
|
50
|
-
super();
|
|
51
|
-
// End section: command_constructor
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* @internal
|
|
56
|
-
*/
|
|
57
|
-
resolveMiddleware(
|
|
58
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
59
|
-
configuration: MgnClientResolvedConfig,
|
|
60
|
-
options?: __HttpHandlerOptions
|
|
61
|
-
): Handler<MarkAsArchivedCommandInput, MarkAsArchivedCommandOutput> {
|
|
62
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
63
|
-
|
|
64
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
65
|
-
|
|
66
|
-
const { logger } = configuration;
|
|
67
|
-
const clientName = "MgnClient";
|
|
68
|
-
const commandName = "MarkAsArchivedCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: MarkAsArchivedRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: SourceServer.filterSensitiveLog,
|
|
75
|
-
};
|
|
76
|
-
const { requestHandler } = configuration;
|
|
77
|
-
return stack.resolve(
|
|
78
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
79
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
80
|
-
handlerExecutionContext
|
|
81
|
-
);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
private serialize(input: MarkAsArchivedCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_restJson1MarkAsArchivedCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<MarkAsArchivedCommandOutput> {
|
|
89
|
-
return deserializeAws_restJson1MarkAsArchivedCommand(output, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Start section: command_body_extra
|
|
93
|
-
// End section: command_body_extra
|
|
94
|
-
}
|