- Navigation GuideYou are on a Command (operation) page with structural examples. Use the navigation breadcrumb if you would like to return to the Client landing page.
InitializeServiceCommand
Initialize Application Migration Service.
Example Syntax
Use a bare-bones client and the command you need to make an API call.
import { MgnClient, InitializeServiceCommand } from "@aws-sdk/client-mgn"; // ES Modules import
// const { MgnClient, InitializeServiceCommand } = require("@aws-sdk/client-mgn"); // CommonJS import
const client = new MgnClient(config);
const input = {};
const command = new InitializeServiceCommand(input);
const response = await client.send(command);
// {};
InitializeServiceCommand Input
See InitializeServiceCommandInput for more details
InitializeServiceCommandInput extends InitializeServiceRequest
InitializeServiceCommand Output
See InitializeServiceCommandOutput for details
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|---|---|
$metadata Required | ResponseMetadata | Metadata pertaining to this request. |
Throws
Name | Fault | Details |
---|
Name | Fault | Details |
---|---|---|
AccessDeniedException | client | Operating denied due to a file permission or access check error. |
ValidationException | client | Validate exception. |
MgnServiceException | Base exception class for all service exceptions from Mgn service. |