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

Parameter
Type
Description
$metadata
Required
ResponseMetadata
Metadata pertaining to this request.

Throws

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.