Application Migration Service

2022/11/28 - Application Migration Service - 22 new13 updated api methods

Changes  This release adds support for Application and Wave management. We also now support custom post-launch actions.

PutSourceServerAction (new) Link ¶

Put source server post migration custom action.

See also: AWS API Documentation

Request Syntax

client.put_source_server_action(
    actionID='string',
    actionName='string',
    active=True|False,
    documentIdentifier='string',
    documentVersion='string',
    mustSucceedForCutover=True|False,
    order=123,
    parameters={
        'string': [
            {
                'parameterName': 'string',
                'parameterType': 'STRING'
            },
        ]
    },
    sourceServerID='string',
    timeoutSeconds=123
)
type actionID:

string

param actionID:

[REQUIRED]

Source server post migration custom action ID.

type actionName:

string

param actionName:

[REQUIRED]

Source server post migration custom action name.

type active:

boolean

param active:

Source server post migration custom action active status.

type documentIdentifier:

string

param documentIdentifier:

[REQUIRED]

Source server post migration custom action document identifier.

type documentVersion:

string

param documentVersion:

Source server post migration custom action document version.

type mustSucceedForCutover:

boolean

param mustSucceedForCutover:

Source server post migration custom action must succeed for cutover.

type order:

integer

param order:

[REQUIRED]

Source server post migration custom action order.

type parameters:

dict

param parameters:

Source server post migration custom action parameters.

  • (string) --

    • (list) --

      • (dict) --

        AWS Systems Manager Parameter Store parameter.

        • parameterName (string) -- [REQUIRED]

          AWS Systems Manager Parameter Store parameter name.

        • parameterType (string) -- [REQUIRED]

          AWS Systems Manager Parameter Store parameter type.

type sourceServerID:

string

param sourceServerID:

[REQUIRED]

Source server ID.

type timeoutSeconds:

integer

param timeoutSeconds:

Source server post migration custom action timeout in seconds.

rtype:

dict

returns:

Response Syntax

{
    'actionID': 'string',
    'actionName': 'string',
    'active': True|False,
    'documentIdentifier': 'string',
    'documentVersion': 'string',
    'mustSucceedForCutover': True|False,
    'order': 123,
    'parameters': {
        'string': [
            {
                'parameterName': 'string',
                'parameterType': 'STRING'
            },
        ]
    },
    'timeoutSeconds': 123
}

Response Structure

  • (dict) --

    • actionID (string) --

      Source server post migration custom action ID.

    • actionName (string) --

      Source server post migration custom action name.

    • active (boolean) --

      Source server post migration custom action active status.

    • documentIdentifier (string) --

      Source server post migration custom action document identifier.

    • documentVersion (string) --

      Source server post migration custom action document version.

    • mustSucceedForCutover (boolean) --

      Source server post migration custom action must succeed for cutover.

    • order (integer) --

      Source server post migration custom action order.

    • parameters (dict) --

      Source server post migration custom action parameters.

      • (string) --

        • (list) --

          • (dict) --

            AWS Systems Manager Parameter Store parameter.

            • parameterName (string) --

              AWS Systems Manager Parameter Store parameter name.

            • parameterType (string) --

              AWS Systems Manager Parameter Store parameter type.

    • timeoutSeconds (integer) --

      Source server post migration custom action timeout in seconds.

AssociateSourceServers (new) Link ¶

Associate source servers to application.

See also: AWS API Documentation

Request Syntax

client.associate_source_servers(
    applicationID='string',
    sourceServerIDs=[
        'string',
    ]
)
type applicationID:

string

param applicationID:

[REQUIRED]

Application ID.

type sourceServerIDs:

list

param sourceServerIDs:

[REQUIRED]

Source server IDs list.

  • (string) --

rtype:

dict

returns:

Response Syntax

{}

Response Structure

  • (dict) --

ListApplications (new) Link ¶

Retrieves all applications or multiple applications by ID.

See also: AWS API Documentation

Request Syntax

client.list_applications(
    filters={
        'applicationIDs': [
            'string',
        ],
        'isArchived': True|False,
        'waveIDs': [
            'string',
        ]
    },
    maxResults=123,
    nextToken='string'
)
type filters:

dict

param filters:

Applications list filters.

  • applicationIDs (list) --

    Filter applications list by application ID.

    • (string) --

  • isArchived (boolean) --

    Filter applications list by archival status.

  • waveIDs (list) --

    Filter applications list by wave ID.

    • (string) --

type maxResults:

integer

param maxResults:

Maximum results to return when listing applications.

type nextToken:

string

param nextToken:

Request next token.

rtype:

dict

returns:

Response Syntax

{
    'items': [
        {
            'applicationAggregatedStatus': {
                'healthStatus': 'HEALTHY'|'LAGGING'|'ERROR',
                'lastUpdateDateTime': 'string',
                'progressStatus': 'NOT_STARTED'|'IN_PROGRESS'|'COMPLETED',
                'totalSourceServers': 123
            },
            'applicationID': 'string',
            'arn': 'string',
            'creationDateTime': 'string',
            'description': 'string',
            'isArchived': True|False,
            'lastModifiedDateTime': 'string',
            'name': 'string',
            'tags': {
                'string': 'string'
            },
            'waveID': 'string'
        },
    ],
    'nextToken': 'string'
}

Response Structure

  • (dict) --

    • items (list) --

      Applications list.

      • (dict) --

        • applicationAggregatedStatus (dict) --

          Application aggregated status.

          • healthStatus (string) --

            Application aggregated status health status.

          • lastUpdateDateTime (string) --

            Application aggregated status last update dateTime.

          • progressStatus (string) --

            Application aggregated status progress status.

          • totalSourceServers (integer) --

            Application aggregated status total source servers amount.

        • applicationID (string) --

          Application ID.

        • arn (string) --

          Application ARN.

        • creationDateTime (string) --

          Application creation dateTime.

        • description (string) --

          Application description.

        • isArchived (boolean) --

          Application archival status.

        • lastModifiedDateTime (string) --

          Application last modified dateTime.

        • name (string) --

          Application name.

        • tags (dict) --

          Application tags.

          • (string) --

            • (string) --

        • waveID (string) --

          Application wave ID.

    • nextToken (string) --

      Response next token.

ListSourceServerActions (new) Link ¶

List source server post migration custom actions.

See also: AWS API Documentation

Request Syntax

client.list_source_server_actions(
    filters={
        'actionIDs': [
            'string',
        ]
    },
    maxResults=123,
    nextToken='string',
    sourceServerID='string'
)
type filters:

dict

param filters:

Filters to apply when listing source server post migration custom actions.

  • actionIDs (list) --

    Action IDs to filter source server post migration custom actions by.

    • (string) --

type maxResults:

integer

param maxResults:

Maximum amount of items to return when listing source server post migration custom actions.

type nextToken:

string

param nextToken:

Next token to use when listing source server post migration custom actions.

type sourceServerID:

string

param sourceServerID:

[REQUIRED]

Source server ID.

rtype:

dict

returns:

Response Syntax

{
    'items': [
        {
            'actionID': 'string',
            'actionName': 'string',
            'active': True|False,
            'documentIdentifier': 'string',
            'documentVersion': 'string',
            'mustSucceedForCutover': True|False,
            'order': 123,
            'parameters': {
                'string': [
                    {
                        'parameterName': 'string',
                        'parameterType': 'STRING'
                    },
                ]
            },
            'timeoutSeconds': 123
        },
    ],
    'nextToken': 'string'
}

Response Structure

  • (dict) --

    • items (list) --

      List of source server post migration custom actions.

      • (dict) --

        • actionID (string) --

          Source server post migration custom action ID.

        • actionName (string) --

          Source server post migration custom action name.

        • active (boolean) --

          Source server post migration custom action active status.

        • documentIdentifier (string) --

          Source server post migration custom action document identifier.

        • documentVersion (string) --

          Source server post migration custom action document version.

        • mustSucceedForCutover (boolean) --

          Source server post migration custom action must succeed for cutover.

        • order (integer) --

          Source server post migration custom action order.

        • parameters (dict) --

          Source server post migration custom action parameters.

          • (string) --

            • (list) --

              • (dict) --

                AWS Systems Manager Parameter Store parameter.

                • parameterName (string) --

                  AWS Systems Manager Parameter Store parameter name.

                • parameterType (string) --

                  AWS Systems Manager Parameter Store parameter type.

        • timeoutSeconds (integer) --

          Source server post migration custom action timeout in seconds.

    • nextToken (string) --

      Next token returned when listing source server post migration custom actions.

RemoveSourceServerAction (new) Link ¶

Remove source server post migration custom action.

See also: AWS API Documentation

Request Syntax

client.remove_source_server_action(
    actionID='string',
    sourceServerID='string'
)
type actionID:

string

param actionID:

[REQUIRED]

Source server post migration custom action ID to remove.

type sourceServerID:

string

param sourceServerID:

[REQUIRED]

Source server ID of the post migration custom action to remove.

rtype:

dict

returns:

Response Syntax

{}

Response Structure

  • (dict) --

ListWaves (new) Link ¶

Retrieves all waves or multiple waves by ID.

See also: AWS API Documentation

Request Syntax

client.list_waves(
    filters={
        'isArchived': True|False,
        'waveIDs': [
            'string',
        ]
    },
    maxResults=123,
    nextToken='string'
)
type filters:

dict

param filters:

Waves list filters.

  • isArchived (boolean) --

    Filter waves list by archival status.

  • waveIDs (list) --

    Filter waves list by wave ID.

    • (string) --

type maxResults:

integer

param maxResults:

Maximum results to return when listing waves.

type nextToken:

string

param nextToken:

Request next token.

rtype:

dict

returns:

Response Syntax

{
    'items': [
        {
            'arn': 'string',
            'creationDateTime': 'string',
            'description': 'string',
            'isArchived': True|False,
            'lastModifiedDateTime': 'string',
            'name': 'string',
            'tags': {
                'string': 'string'
            },
            'waveAggregatedStatus': {
                'healthStatus': 'HEALTHY'|'LAGGING'|'ERROR',
                'lastUpdateDateTime': 'string',
                'progressStatus': 'NOT_STARTED'|'IN_PROGRESS'|'COMPLETED',
                'replicationStartedDateTime': 'string',
                'totalApplications': 123
            },
            'waveID': 'string'
        },
    ],
    'nextToken': 'string'
}

Response Structure

  • (dict) --

    • items (list) --

      Waves list.

      • (dict) --

        • arn (string) --

          Wave ARN.

        • creationDateTime (string) --

          Wave creation dateTime.

        • description (string) --

          Wave description.

        • isArchived (boolean) --

          Wave archival status.

        • lastModifiedDateTime (string) --

          Wave last modified dateTime.

        • name (string) --

          Wave name.

        • tags (dict) --

          Wave tags.

          • (string) --

            • (string) --

        • waveAggregatedStatus (dict) --

          Wave aggregated status.

          • healthStatus (string) --

            Wave aggregated status health status.

          • lastUpdateDateTime (string) --

            Wave aggregated status last update dateTime.

          • progressStatus (string) --

            Wave aggregated status progress status.

          • replicationStartedDateTime (string) --

            DateTime marking when the first source server in the wave started replication.

          • totalApplications (integer) --

            Wave aggregated status total applications amount.

        • waveID (string) --

          Wave ID.

    • nextToken (string) --

      Response next token.

UpdateApplication (new) Link ¶

Update application.

See also: AWS API Documentation

Request Syntax

client.update_application(
    applicationID='string',
    description='string',
    name='string'
)
type applicationID:

string

param applicationID:

[REQUIRED]

Application ID.

type description:

string

param description:

Application description.

type name:

string

param name:

Application name.

rtype:

dict

returns:

Response Syntax

{
    'applicationAggregatedStatus': {
        'healthStatus': 'HEALTHY'|'LAGGING'|'ERROR',
        'lastUpdateDateTime': 'string',
        'progressStatus': 'NOT_STARTED'|'IN_PROGRESS'|'COMPLETED',
        'totalSourceServers': 123
    },
    'applicationID': 'string',
    'arn': 'string',
    'creationDateTime': 'string',
    'description': 'string',
    'isArchived': True|False,
    'lastModifiedDateTime': 'string',
    'name': 'string',
    'tags': {
        'string': 'string'
    },
    'waveID': 'string'
}

Response Structure

  • (dict) --

    • applicationAggregatedStatus (dict) --

      Application aggregated status.

      • healthStatus (string) --

        Application aggregated status health status.

      • lastUpdateDateTime (string) --

        Application aggregated status last update dateTime.

      • progressStatus (string) --

        Application aggregated status progress status.

      • totalSourceServers (integer) --

        Application aggregated status total source servers amount.

    • applicationID (string) --

      Application ID.

    • arn (string) --

      Application ARN.

    • creationDateTime (string) --

      Application creation dateTime.

    • description (string) --

      Application description.

    • isArchived (boolean) --

      Application archival status.

    • lastModifiedDateTime (string) --

      Application last modified dateTime.

    • name (string) --

      Application name.

    • tags (dict) --

      Application tags.

      • (string) --

        • (string) --

    • waveID (string) --

      Application wave ID.

DeleteApplication (new) Link ¶

Delete application.

See also: AWS API Documentation

Request Syntax

client.delete_application(
    applicationID='string'
)
type applicationID:

string

param applicationID:

[REQUIRED]

Application ID.

rtype:

dict

returns:

Response Syntax

{}

Response Structure

  • (dict) --

ListTemplateActions (new) Link ¶

List template post migration custom actions.

See also: AWS API Documentation

Request Syntax

client.list_template_actions(
    filters={
        'actionIDs': [
            'string',
        ]
    },
    launchConfigurationTemplateID='string',
    maxResults=123,
    nextToken='string'
)
type filters:

dict

param filters:

Filters to apply when listing template post migration custom actions.

  • actionIDs (list) --

    Action IDs to filter template post migration custom actions by.

    • (string) --

type launchConfigurationTemplateID:

string

param launchConfigurationTemplateID:

[REQUIRED]

Launch configuration template ID.

type maxResults:

integer

param maxResults:

Maximum amount of items to return when listing template post migration custom actions.

type nextToken:

string

param nextToken:

Next token to use when listing template post migration custom actions.

rtype:

dict

returns:

Response Syntax

{
    'items': [
        {
            'actionID': 'string',
            'actionName': 'string',
            'active': True|False,
            'documentIdentifier': 'string',
            'documentVersion': 'string',
            'mustSucceedForCutover': True|False,
            'operatingSystem': 'string',
            'order': 123,
            'parameters': {
                'string': [
                    {
                        'parameterName': 'string',
                        'parameterType': 'STRING'
                    },
                ]
            },
            'timeoutSeconds': 123
        },
    ],
    'nextToken': 'string'
}

Response Structure

  • (dict) --

    • items (list) --

      List of template post migration custom actions.

      • (dict) --

        • actionID (string) --

          Template post migration custom action ID.

        • actionName (string) --

          Template post migration custom action name.

        • active (boolean) --

          Template post migration custom action active status.

        • documentIdentifier (string) --

          Template post migration custom action document identifier.

        • documentVersion (string) --

          Template post migration custom action document version.

        • mustSucceedForCutover (boolean) --

          Template post migration custom action must succeed for cutover.

        • operatingSystem (string) --

          Operating system eligible for this template post migration custom action.

        • order (integer) --

          Template post migration custom action order.

        • parameters (dict) --

          Template post migration custom action parameters.

          • (string) --

            • (list) --

              • (dict) --

                AWS Systems Manager Parameter Store parameter.

                • parameterName (string) --

                  AWS Systems Manager Parameter Store parameter name.

                • parameterType (string) --

                  AWS Systems Manager Parameter Store parameter type.

        • timeoutSeconds (integer) --

          Template post migration custom action timeout in seconds.

    • nextToken (string) --

      Next token returned when listing template post migration custom actions.

RemoveTemplateAction (new) Link ¶

Remove template post migration custom action.

See also: AWS API Documentation

Request Syntax

client.remove_template_action(
    actionID='string',
    launchConfigurationTemplateID='string'
)
type actionID:

string

param actionID:

[REQUIRED]

Template post migration custom action ID to remove.

type launchConfigurationTemplateID:

string

param launchConfigurationTemplateID:

[REQUIRED]

Launch configuration template ID of the post migration custom action to remove.

rtype:

dict

returns:

Response Syntax

{}

Response Structure

  • (dict) --

DeleteWave (new) Link ¶

Delete wave.

See also: AWS API Documentation

Request Syntax

client.delete_wave(
    waveID='string'
)
type waveID:

string

param waveID:

[REQUIRED]

Wave ID.

rtype:

dict

returns:

Response Syntax

{}

Response Structure

  • (dict) --

DisassociateApplications (new) Link ¶

Disassociate applications from wave.

See also: AWS API Documentation

Request Syntax

client.disassociate_applications(
    applicationIDs=[
        'string',
    ],
    waveID='string'
)
type applicationIDs:

list

param applicationIDs:

[REQUIRED]

Application IDs list.

  • (string) --

type waveID:

string

param waveID:

[REQUIRED]

Wave ID.

rtype:

dict

returns:

Response Syntax

{}

Response Structure

  • (dict) --

ArchiveApplication (new) Link ¶

Archive application.

See also: AWS API Documentation

Request Syntax

client.archive_application(
    applicationID='string'
)
type applicationID:

string

param applicationID:

[REQUIRED]

Application ID.

rtype:

dict

returns:

Response Syntax

{
    'applicationAggregatedStatus': {
        'healthStatus': 'HEALTHY'|'LAGGING'|'ERROR',
        'lastUpdateDateTime': 'string',
        'progressStatus': 'NOT_STARTED'|'IN_PROGRESS'|'COMPLETED',
        'totalSourceServers': 123
    },
    'applicationID': 'string',
    'arn': 'string',
    'creationDateTime': 'string',
    'description': 'string',
    'isArchived': True|False,
    'lastModifiedDateTime': 'string',
    'name': 'string',
    'tags': {
        'string': 'string'
    },
    'waveID': 'string'
}

Response Structure

  • (dict) --

    • applicationAggregatedStatus (dict) --

      Application aggregated status.

      • healthStatus (string) --

        Application aggregated status health status.

      • lastUpdateDateTime (string) --

        Application aggregated status last update dateTime.

      • progressStatus (string) --

        Application aggregated status progress status.

      • totalSourceServers (integer) --

        Application aggregated status total source servers amount.

    • applicationID (string) --

      Application ID.

    • arn (string) --

      Application ARN.

    • creationDateTime (string) --

      Application creation dateTime.

    • description (string) --

      Application description.

    • isArchived (boolean) --

      Application archival status.

    • lastModifiedDateTime (string) --

      Application last modified dateTime.

    • name (string) --

      Application name.

    • tags (dict) --

      Application tags.

      • (string) --

        • (string) --

    • waveID (string) --

      Application wave ID.

UnarchiveWave (new) Link ¶

Unarchive wave.

See also: AWS API Documentation

Request Syntax

client.unarchive_wave(
    waveID='string'
)
type waveID:

string

param waveID:

[REQUIRED]

Wave ID.

rtype:

dict

returns:

Response Syntax

{
    'arn': 'string',
    'creationDateTime': 'string',
    'description': 'string',
    'isArchived': True|False,
    'lastModifiedDateTime': 'string',
    'name': 'string',
    'tags': {
        'string': 'string'
    },
    'waveAggregatedStatus': {
        'healthStatus': 'HEALTHY'|'LAGGING'|'ERROR',
        'lastUpdateDateTime': 'string',
        'progressStatus': 'NOT_STARTED'|'IN_PROGRESS'|'COMPLETED',
        'replicationStartedDateTime': 'string',
        'totalApplications': 123
    },
    'waveID': 'string'
}

Response Structure

  • (dict) --

    • arn (string) --

      Wave ARN.

    • creationDateTime (string) --

      Wave creation dateTime.

    • description (string) --

      Wave description.

    • isArchived (boolean) --

      Wave archival status.

    • lastModifiedDateTime (string) --

      Wave last modified dateTime.

    • name (string) --

      Wave name.

    • tags (dict) --

      Wave tags.

      • (string) --

        • (string) --

    • waveAggregatedStatus (dict) --

      Wave aggregated status.

      • healthStatus (string) --

        Wave aggregated status health status.

      • lastUpdateDateTime (string) --

        Wave aggregated status last update dateTime.

      • progressStatus (string) --

        Wave aggregated status progress status.

      • replicationStartedDateTime (string) --

        DateTime marking when the first source server in the wave started replication.

      • totalApplications (integer) --

        Wave aggregated status total applications amount.

    • waveID (string) --

      Wave ID.

UpdateWave (new) Link ¶

Update wave.

See also: AWS API Documentation

Request Syntax

client.update_wave(
    description='string',
    name='string',
    waveID='string'
)
type description:

string

param description:

Wave description.

type name:

string

param name:

Wave name.

type waveID:

string

param waveID:

[REQUIRED]

Wave ID.

rtype:

dict

returns:

Response Syntax

{
    'arn': 'string',
    'creationDateTime': 'string',
    'description': 'string',
    'isArchived': True|False,
    'lastModifiedDateTime': 'string',
    'name': 'string',
    'tags': {
        'string': 'string'
    },
    'waveAggregatedStatus': {
        'healthStatus': 'HEALTHY'|'LAGGING'|'ERROR',
        'lastUpdateDateTime': 'string',
        'progressStatus': 'NOT_STARTED'|'IN_PROGRESS'|'COMPLETED',
        'replicationStartedDateTime': 'string',
        'totalApplications': 123
    },
    'waveID': 'string'
}

Response Structure

  • (dict) --

    • arn (string) --

      Wave ARN.

    • creationDateTime (string) --

      Wave creation dateTime.

    • description (string) --

      Wave description.

    • isArchived (boolean) --

      Wave archival status.

    • lastModifiedDateTime (string) --

      Wave last modified dateTime.

    • name (string) --

      Wave name.

    • tags (dict) --

      Wave tags.

      • (string) --

        • (string) --

    • waveAggregatedStatus (dict) --

      Wave aggregated status.

      • healthStatus (string) --

        Wave aggregated status health status.

      • lastUpdateDateTime (string) --

        Wave aggregated status last update dateTime.

      • progressStatus (string) --

        Wave aggregated status progress status.

      • replicationStartedDateTime (string) --

        DateTime marking when the first source server in the wave started replication.

      • totalApplications (integer) --

        Wave aggregated status total applications amount.

    • waveID (string) --

      Wave ID.

ArchiveWave (new) Link ¶

Archive wave.

See also: AWS API Documentation

Request Syntax

client.archive_wave(
    waveID='string'
)
type waveID:

string

param waveID:

[REQUIRED]

Wave ID.

rtype:

dict

returns:

Response Syntax

{
    'arn': 'string',
    'creationDateTime': 'string',
    'description': 'string',
    'isArchived': True|False,
    'lastModifiedDateTime': 'string',
    'name': 'string',
    'tags': {
        'string': 'string'
    },
    'waveAggregatedStatus': {
        'healthStatus': 'HEALTHY'|'LAGGING'|'ERROR',
        'lastUpdateDateTime': 'string',
        'progressStatus': 'NOT_STARTED'|'IN_PROGRESS'|'COMPLETED',
        'replicationStartedDateTime': 'string',
        'totalApplications': 123
    },
    'waveID': 'string'
}

Response Structure

  • (dict) --

    • arn (string) --

      Wave ARN.

    • creationDateTime (string) --

      Wave creation dateTime.

    • description (string) --

      Wave description.

    • isArchived (boolean) --

      Wave archival status.

    • lastModifiedDateTime (string) --

      Wave last modified dateTime.

    • name (string) --

      Wave name.

    • tags (dict) --

      Wave tags.

      • (string) --

        • (string) --

    • waveAggregatedStatus (dict) --

      Wave aggregated status.

      • healthStatus (string) --

        Wave aggregated status health status.

      • lastUpdateDateTime (string) --

        Wave aggregated status last update dateTime.

      • progressStatus (string) --

        Wave aggregated status progress status.

      • replicationStartedDateTime (string) --

        DateTime marking when the first source server in the wave started replication.

      • totalApplications (integer) --

        Wave aggregated status total applications amount.

    • waveID (string) --

      Wave ID.

AssociateApplications (new) Link ¶

Associate applications to wave.

See also: AWS API Documentation

Request Syntax

client.associate_applications(
    applicationIDs=[
        'string',
    ],
    waveID='string'
)
type applicationIDs:

list

param applicationIDs:

[REQUIRED]

Application IDs list.

  • (string) --

type waveID:

string

param waveID:

[REQUIRED]

Wave ID.

rtype:

dict

returns:

Response Syntax

{}

Response Structure

  • (dict) --

CreateApplication (new) Link ¶

Create application.

See also: AWS API Documentation

Request Syntax

client.create_application(
    description='string',
    name='string',
    tags={
        'string': 'string'
    }
)
type description:

string

param description:

Application description.

type name:

string

param name:

[REQUIRED]

Application name.

type tags:

dict

param tags:

Application tags.

  • (string) --

    • (string) --

rtype:

dict

returns:

Response Syntax

{
    'applicationAggregatedStatus': {
        'healthStatus': 'HEALTHY'|'LAGGING'|'ERROR',
        'lastUpdateDateTime': 'string',
        'progressStatus': 'NOT_STARTED'|'IN_PROGRESS'|'COMPLETED',
        'totalSourceServers': 123
    },
    'applicationID': 'string',
    'arn': 'string',
    'creationDateTime': 'string',
    'description': 'string',
    'isArchived': True|False,
    'lastModifiedDateTime': 'string',
    'name': 'string',
    'tags': {
        'string': 'string'
    },
    'waveID': 'string'
}

Response Structure

  • (dict) --

    • applicationAggregatedStatus (dict) --

      Application aggregated status.

      • healthStatus (string) --

        Application aggregated status health status.

      • lastUpdateDateTime (string) --

        Application aggregated status last update dateTime.

      • progressStatus (string) --

        Application aggregated status progress status.

      • totalSourceServers (integer) --

        Application aggregated status total source servers amount.

    • applicationID (string) --

      Application ID.

    • arn (string) --

      Application ARN.

    • creationDateTime (string) --

      Application creation dateTime.

    • description (string) --

      Application description.

    • isArchived (boolean) --

      Application archival status.

    • lastModifiedDateTime (string) --

      Application last modified dateTime.

    • name (string) --

      Application name.

    • tags (dict) --

      Application tags.

      • (string) --

        • (string) --

    • waveID (string) --

      Application wave ID.

CreateWave (new) Link ¶

Create wave.

See also: AWS API Documentation

Request Syntax

client.create_wave(
    description='string',
    name='string',
    tags={
        'string': 'string'
    }
)
type description:

string

param description:

Wave description.

type name:

string

param name:

[REQUIRED]

Wave name.

type tags:

dict

param tags:

Wave tags.

  • (string) --

    • (string) --

rtype:

dict

returns:

Response Syntax

{
    'arn': 'string',
    'creationDateTime': 'string',
    'description': 'string',
    'isArchived': True|False,
    'lastModifiedDateTime': 'string',
    'name': 'string',
    'tags': {
        'string': 'string'
    },
    'waveAggregatedStatus': {
        'healthStatus': 'HEALTHY'|'LAGGING'|'ERROR',
        'lastUpdateDateTime': 'string',
        'progressStatus': 'NOT_STARTED'|'IN_PROGRESS'|'COMPLETED',
        'replicationStartedDateTime': 'string',
        'totalApplications': 123
    },
    'waveID': 'string'
}

Response Structure

  • (dict) --

    • arn (string) --

      Wave ARN.

    • creationDateTime (string) --

      Wave creation dateTime.

    • description (string) --

      Wave description.

    • isArchived (boolean) --

      Wave archival status.

    • lastModifiedDateTime (string) --

      Wave last modified dateTime.

    • name (string) --

      Wave name.

    • tags (dict) --

      Wave tags.

      • (string) --

        • (string) --

    • waveAggregatedStatus (dict) --

      Wave aggregated status.

      • healthStatus (string) --

        Wave aggregated status health status.

      • lastUpdateDateTime (string) --

        Wave aggregated status last update dateTime.

      • progressStatus (string) --

        Wave aggregated status progress status.

      • replicationStartedDateTime (string) --

        DateTime marking when the first source server in the wave started replication.

      • totalApplications (integer) --

        Wave aggregated status total applications amount.

    • waveID (string) --

      Wave ID.

DisassociateSourceServers (new) Link ¶

Disassociate source servers from application.

See also: AWS API Documentation

Request Syntax

client.disassociate_source_servers(
    applicationID='string',
    sourceServerIDs=[
        'string',
    ]
)
type applicationID:

string

param applicationID:

[REQUIRED]

Application ID.

type sourceServerIDs:

list

param sourceServerIDs:

[REQUIRED]

Source server IDs list.

  • (string) --

rtype:

dict

returns:

Response Syntax

{}

Response Structure

  • (dict) --

UnarchiveApplication (new) Link ¶

Unarchive application.

See also: AWS API Documentation

Request Syntax

client.unarchive_application(
    applicationID='string'
)
type applicationID:

string

param applicationID:

[REQUIRED]

Application ID.

rtype:

dict

returns:

Response Syntax

{
    'applicationAggregatedStatus': {
        'healthStatus': 'HEALTHY'|'LAGGING'|'ERROR',
        'lastUpdateDateTime': 'string',
        'progressStatus': 'NOT_STARTED'|'IN_PROGRESS'|'COMPLETED',
        'totalSourceServers': 123
    },
    'applicationID': 'string',
    'arn': 'string',
    'creationDateTime': 'string',
    'description': 'string',
    'isArchived': True|False,
    'lastModifiedDateTime': 'string',
    'name': 'string',
    'tags': {
        'string': 'string'
    },
    'waveID': 'string'
}

Response Structure

  • (dict) --

    • applicationAggregatedStatus (dict) --

      Application aggregated status.

      • healthStatus (string) --

        Application aggregated status health status.

      • lastUpdateDateTime (string) --

        Application aggregated status last update dateTime.

      • progressStatus (string) --

        Application aggregated status progress status.

      • totalSourceServers (integer) --

        Application aggregated status total source servers amount.

    • applicationID (string) --

      Application ID.

    • arn (string) --

      Application ARN.

    • creationDateTime (string) --

      Application creation dateTime.

    • description (string) --

      Application description.

    • isArchived (boolean) --

      Application archival status.

    • lastModifiedDateTime (string) --

      Application last modified dateTime.

    • name (string) --

      Application name.

    • tags (dict) --

      Application tags.

      • (string) --

        • (string) --

    • waveID (string) --

      Application wave ID.

PutTemplateAction (new) Link ¶

Put template post migration custom action.

See also: AWS API Documentation

Request Syntax

client.put_template_action(
    actionID='string',
    actionName='string',
    active=True|False,
    documentIdentifier='string',
    documentVersion='string',
    launchConfigurationTemplateID='string',
    mustSucceedForCutover=True|False,
    operatingSystem='string',
    order=123,
    parameters={
        'string': [
            {
                'parameterName': 'string',
                'parameterType': 'STRING'
            },
        ]
    },
    timeoutSeconds=123
)
type actionID:

string

param actionID:

[REQUIRED]

Template post migration custom action ID.

type actionName:

string

param actionName:

[REQUIRED]

Template post migration custom action name.

type active:

boolean

param active:

Template post migration custom action active status.

type documentIdentifier:

string

param documentIdentifier:

[REQUIRED]

Template post migration custom action document identifier.

type documentVersion:

string

param documentVersion:

Template post migration custom action document version.

type launchConfigurationTemplateID:

string

param launchConfigurationTemplateID:

[REQUIRED]

Launch configuration template ID.

type mustSucceedForCutover:

boolean

param mustSucceedForCutover:

Template post migration custom action must succeed for cutover.

type operatingSystem:

string

param operatingSystem:

Operating system eligible for this template post migration custom action.

type order:

integer

param order:

[REQUIRED]

Template post migration custom action order.

type parameters:

dict

param parameters:

Template post migration custom action parameters.

  • (string) --

    • (list) --

      • (dict) --

        AWS Systems Manager Parameter Store parameter.

        • parameterName (string) -- [REQUIRED]

          AWS Systems Manager Parameter Store parameter name.

        • parameterType (string) -- [REQUIRED]

          AWS Systems Manager Parameter Store parameter type.

type timeoutSeconds:

integer

param timeoutSeconds:

Template post migration custom action timeout in seconds.

rtype:

dict

returns:

Response Syntax

{
    'actionID': 'string',
    'actionName': 'string',
    'active': True|False,
    'documentIdentifier': 'string',
    'documentVersion': 'string',
    'mustSucceedForCutover': True|False,
    'operatingSystem': 'string',
    'order': 123,
    'parameters': {
        'string': [
            {
                'parameterName': 'string',
                'parameterType': 'STRING'
            },
        ]
    },
    'timeoutSeconds': 123
}

Response Structure

  • (dict) --

    • actionID (string) --

      Template post migration custom action ID.

    • actionName (string) --

      Template post migration custom action name.

    • active (boolean) --

      Template post migration custom action active status.

    • documentIdentifier (string) --

      Template post migration custom action document identifier.

    • documentVersion (string) --

      Template post migration custom action document version.

    • mustSucceedForCutover (boolean) --

      Template post migration custom action must succeed for cutover.

    • operatingSystem (string) --

      Operating system eligible for this template post migration custom action.

    • order (integer) --

      Template post migration custom action order.

    • parameters (dict) --

      Template post migration custom action parameters.

      • (string) --

        • (list) --

          • (dict) --

            AWS Systems Manager Parameter Store parameter.

            • parameterName (string) --

              AWS Systems Manager Parameter Store parameter name.

            • parameterType (string) --

              AWS Systems Manager Parameter Store parameter type.

    • timeoutSeconds (integer) --

      Template post migration custom action timeout in seconds.

ChangeServerLifeCycleState (updated) Link ¶
Changes (response)
{'applicationID': 'string'}

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.)

See also: AWS API Documentation

Request Syntax

client.change_server_life_cycle_state(
    lifeCycle={
        'state': 'READY_FOR_TEST'|'READY_FOR_CUTOVER'|'CUTOVER'
    },
    sourceServerID='string'
)
type lifeCycle:

dict

param lifeCycle:

[REQUIRED]

The request to change the source server migration lifecycle state.

  • state (string) -- [REQUIRED]

    The request to change the source server migration lifecycle state.

type sourceServerID:

string

param sourceServerID:

[REQUIRED]

The request to change the source server migration lifecycle state by source server ID.

rtype:

dict

returns:

Response Syntax

{
    'applicationID': 'string',
    'arn': 'string',
    'dataReplicationInfo': {
        'dataReplicationError': {
            'error': 'AGENT_NOT_SEEN'|'SNAPSHOTS_FAILURE'|'NOT_CONVERGING'|'UNSTABLE_NETWORK'|'FAILED_TO_CREATE_SECURITY_GROUP'|'FAILED_TO_LAUNCH_REPLICATION_SERVER'|'FAILED_TO_BOOT_REPLICATION_SERVER'|'FAILED_TO_AUTHENTICATE_WITH_SERVICE'|'FAILED_TO_DOWNLOAD_REPLICATION_SOFTWARE'|'FAILED_TO_CREATE_STAGING_DISKS'|'FAILED_TO_ATTACH_STAGING_DISKS'|'FAILED_TO_PAIR_REPLICATION_SERVER_WITH_AGENT'|'FAILED_TO_CONNECT_AGENT_TO_REPLICATION_SERVER'|'FAILED_TO_START_DATA_TRANSFER'|'UNSUPPORTED_VM_CONFIGURATION'|'LAST_SNAPSHOT_JOB_FAILED',
            'rawError': 'string'
        },
        'dataReplicationInitiation': {
            'nextAttemptDateTime': 'string',
            'startDateTime': 'string',
            'steps': [
                {
                    'name': 'WAIT'|'CREATE_SECURITY_GROUP'|'LAUNCH_REPLICATION_SERVER'|'BOOT_REPLICATION_SERVER'|'AUTHENTICATE_WITH_SERVICE'|'DOWNLOAD_REPLICATION_SOFTWARE'|'CREATE_STAGING_DISKS'|'ATTACH_STAGING_DISKS'|'PAIR_REPLICATION_SERVER_WITH_AGENT'|'CONNECT_AGENT_TO_REPLICATION_SERVER'|'START_DATA_TRANSFER',
                    'status': 'NOT_STARTED'|'IN_PROGRESS'|'SUCCEEDED'|'FAILED'|'SKIPPED'
                },
            ]
        },
        'dataReplicationState': 'STOPPED'|'INITIATING'|'INITIAL_SYNC'|'BACKLOG'|'CREATING_SNAPSHOT'|'CONTINUOUS'|'PAUSED'|'RESCAN'|'STALLED'|'DISCONNECTED'|'PENDING_SNAPSHOT_SHIPPING'|'SHIPPING_SNAPSHOT',
        'etaDateTime': 'string',
        'lagDuration': 'string',
        'lastSnapshotDateTime': 'string',
        'replicatedDisks': [
            {
                'backloggedStorageBytes': 123,
                'deviceName': 'string',
                'replicatedStorageBytes': 123,
                'rescannedStorageBytes': 123,
                'totalStorageBytes': 123
            },
        ]
    },
    'isArchived': True|False,
    'launchedInstance': {
        'ec2InstanceID': 'string',
        'firstBoot': 'WAITING'|'SUCCEEDED'|'UNKNOWN'|'STOPPED',
        'jobID': 'string'
    },
    'lifeCycle': {
        'addedToServiceDateTime': 'string',
        'elapsedReplicationDuration': 'string',
        'firstByteDateTime': 'string',
        'lastCutover': {
            'finalized': {
                'apiCallDateTime': 'string'
            },
            'initiated': {
                'apiCallDateTime': 'string',
                'jobID': 'string'
            },
            'reverted': {
                'apiCallDateTime': 'string'
            }
        },
        'lastSeenByServiceDateTime': 'string',
        'lastTest': {
            'finalized': {
                'apiCallDateTime': 'string'
            },
            'initiated': {
                'apiCallDateTime': 'string',
                'jobID': 'string'
            },
            'reverted': {
                'apiCallDateTime': 'string'
            }
        },
        'state': 'STOPPED'|'NOT_READY'|'READY_FOR_TEST'|'TESTING'|'READY_FOR_CUTOVER'|'CUTTING_OVER'|'CUTOVER'|'DISCONNECTED'|'DISCOVERED'
    },
    'replicationType': 'AGENT_BASED'|'SNAPSHOT_SHIPPING',
    'sourceProperties': {
        'cpus': [
            {
                'cores': 123,
                'modelName': 'string'
            },
        ],
        'disks': [
            {
                'bytes': 123,
                'deviceName': 'string'
            },
        ],
        'identificationHints': {
            'awsInstanceID': 'string',
            'fqdn': 'string',
            'hostname': 'string',
            'vmPath': 'string',
            'vmWareUuid': 'string'
        },
        'lastUpdatedDateTime': 'string',
        'networkInterfaces': [
            {
                'ips': [
                    'string',
                ],
                'isPrimary': True|False,
                'macAddress': 'string'
            },
        ],
        'os': {
            'fullString': 'string'
        },
        'ramBytes': 123,
        'recommendedInstanceType': 'string'
    },
    'sourceServerID': 'string',
    'tags': {
        'string': 'string'
    },
    'vcenterClientID': 'string'
}

Response Structure

  • (dict) --

    • applicationID (string) --

      Source server application ID.

    • arn (string) --

      Source server ARN.

    • dataReplicationInfo (dict) --

      Source server data replication info.

      • dataReplicationError (dict) --

        Error in obtaining data replication info.

        • error (string) --

          Error in data replication.

        • rawError (string) --

          Error in data replication.

      • dataReplicationInitiation (dict) --

        Request to query whether data replication has been initiated.

        • nextAttemptDateTime (string) --

          Request to query next data initiation date and time.

        • startDateTime (string) --

          Request to query data initiation start date and time.

        • steps (list) --

          Request to query data initiation steps.

          • (dict) --

            Data replication initiation step.

            • name (string) --

              Request to query data initiation step name.

            • status (string) --

              Request to query data initiation status.

      • dataReplicationState (string) --

        Request to query the data replication state.

      • etaDateTime (string) --

        Request to query the time when data replication will be complete.

      • lagDuration (string) --

        Request to query data replication lag duration.

      • lastSnapshotDateTime (string) --

        Request to query data replication last snapshot time.

      • replicatedDisks (list) --

        Request to query disks replicated.

        • (dict) --

          Request to query disks replicated.

          • backloggedStorageBytes (integer) --

            Request to query data replication backlog size in bytes.

          • deviceName (string) --

            Request to query device name.

          • replicatedStorageBytes (integer) --

            Request to query amount of data replicated in bytes.

          • rescannedStorageBytes (integer) --

            Request to query amount of data rescanned in bytes.

          • totalStorageBytes (integer) --

            Request to query total amount of data replicated in bytes.

    • isArchived (boolean) --

      Source server archived status.

    • launchedInstance (dict) --

      Source server launched instance.

      • ec2InstanceID (string) --

        Launched instance EC2 ID.

      • firstBoot (string) --

        Launched instance first boot.

      • jobID (string) --

        Launched instance Job ID.

    • lifeCycle (dict) --

      Source server lifecycle state.

      • addedToServiceDateTime (string) --

        Lifecycle added to service data and time.

      • elapsedReplicationDuration (string) --

        Lifecycle elapsed time and duration.

      • firstByteDateTime (string) --

        Lifecycle replication initiation date and time.

      • lastCutover (dict) --

        Lifecycle last Cutover.

        • finalized (dict) --

          Lifecycle Cutover finalized date and time.

          • apiCallDateTime (string) --

            Lifecycle Cutover finalized date and time.

        • initiated (dict) --

          Lifecycle last Cutover initiated.

          • apiCallDateTime (string) --

          • jobID (string) --

            Lifecycle last Cutover initiated by Job ID.

        • reverted (dict) --

          Lifecycle last Cutover reverted.

          • apiCallDateTime (string) --

            Lifecycle last Cutover reverted API call date time.

      • lastSeenByServiceDateTime (string) --

        Lifecycle last seen date and time.

      • lastTest (dict) --

        Lifecycle last Test.

        • finalized (dict) --

          Lifecycle last Test finalized.

          • apiCallDateTime (string) --

            Lifecycle Test failed API call date and time.

        • initiated (dict) --

          Lifecycle last Test initiated.

          • apiCallDateTime (string) --

            Lifecycle last Test initiated API call date and time.

          • jobID (string) --

            Lifecycle last Test initiated Job ID.

        • reverted (dict) --

          Lifecycle last Test reverted.

          • apiCallDateTime (string) --

            Lifecycle last Test reverted API call date and time.

      • state (string) --

        Lifecycle state.

    • replicationType (string) --

      Source server replication type.

    • sourceProperties (dict) --

      Source server properties.

      • cpus (list) --

        Source Server CPUs.

        • (dict) --

          Source server CPU information.

          • cores (integer) --

            The number of CPU cores on the source server.

          • modelName (string) --

            The source server's CPU model name.

      • disks (list) --

        Source Server disks.

        • (dict) --

          The disk identifier.

          • bytes (integer) --

            The amount of storage on the disk in bytes.

          • deviceName (string) --

            The disk or device name.

      • identificationHints (dict) --

        Source server identification hints.

        • awsInstanceID (string) --

          AWS Instance ID identification hint.

        • fqdn (string) --

          FQDN address identification hint.

        • hostname (string) --

          Hostname identification hint.

        • vmPath (string) --

          vCenter VM path identification hint.

        • vmWareUuid (string) --

          vmWare UUID identification hint.

      • lastUpdatedDateTime (string) --

        Source server last update date and time.

      • networkInterfaces (list) --

        Source server network interfaces.

        • (dict) --

          Network interface.

          • ips (list) --

            Network interface IPs.

            • (string) --

          • isPrimary (boolean) --

            Network interface primary IP.

          • macAddress (string) --

            Network interface Mac address.

      • os (dict) --

        Source server OS.

        • fullString (string) --

          OS full string.

      • ramBytes (integer) --

        Source server RAM in bytes.

      • recommendedInstanceType (string) --

        Source server recommended instance type.

    • sourceServerID (string) --

      Source server ID.

    • tags (dict) --

      Source server Tags.

      • (string) --

        • (string) --

    • vcenterClientID (string) --

      Source server vCenter client id.

CreateLaunchConfigurationTemplate (updated) Link ¶
Changes (request, response)
Request
{'associatePublicIpAddress': 'boolean',
 'bootMode': 'LEGACY_BIOS | UEFI',
 'copyPrivateIp': 'boolean',
 'copyTags': 'boolean',
 'enableMapAutoTagging': 'boolean',
 'largeVolumeConf': {'iops': 'long',
                     'throughput': 'long',
                     'volumeType': 'io1 | io2 | gp3 | gp2 | st1 | sc1 | '
                                   'standard'},
 'launchDisposition': 'STOPPED | STARTED',
 'licensing': {'osByol': 'boolean'},
 'mapAutoTaggingMpeID': 'string',
 'postLaunchActions': {'deployment': {'TEST_ONLY'}},
 'smallVolumeConf': {'iops': 'long',
                     'throughput': 'long',
                     'volumeType': 'io1 | io2 | gp3 | gp2 | st1 | sc1 | '
                                   'standard'},
 'smallVolumeMaxSize': 'long',
 'targetInstanceTypeRightSizingMethod': 'NONE | BASIC'}
Response
{'associatePublicIpAddress': 'boolean',
 'bootMode': 'LEGACY_BIOS | UEFI',
 'copyPrivateIp': 'boolean',
 'copyTags': 'boolean',
 'ec2LaunchTemplateID': 'string',
 'enableMapAutoTagging': 'boolean',
 'largeVolumeConf': {'iops': 'long',
                     'throughput': 'long',
                     'volumeType': 'io1 | io2 | gp3 | gp2 | st1 | sc1 | '
                                   'standard'},
 'launchDisposition': 'STOPPED | STARTED',
 'licensing': {'osByol': 'boolean'},
 'mapAutoTaggingMpeID': 'string',
 'postLaunchActions': {'deployment': {'TEST_ONLY'}},
 'smallVolumeConf': {'iops': 'long',
                     'throughput': 'long',
                     'volumeType': 'io1 | io2 | gp3 | gp2 | st1 | sc1 | '
                                   'standard'},
 'smallVolumeMaxSize': 'long',
 'targetInstanceTypeRightSizingMethod': 'NONE | BASIC'}

Creates a new Launch Configuration Template.

See also: AWS API Documentation

Request Syntax

client.create_launch_configuration_template(
    associatePublicIpAddress=True|False,
    bootMode='LEGACY_BIOS'|'UEFI',
    copyPrivateIp=True|False,
    copyTags=True|False,
    enableMapAutoTagging=True|False,
    largeVolumeConf={
        'iops': 123,
        'throughput': 123,
        'volumeType': 'io1'|'io2'|'gp3'|'gp2'|'st1'|'sc1'|'standard'
    },
    launchDisposition='STOPPED'|'STARTED',
    licensing={
        'osByol': True|False
    },
    mapAutoTaggingMpeID='string',
    postLaunchActions={
        'cloudWatchLogGroupName': 'string',
        'deployment': 'TEST_AND_CUTOVER'|'CUTOVER_ONLY'|'TEST_ONLY',
        's3LogBucket': 'string',
        's3OutputKeyPrefix': 'string',
        'ssmDocuments': [
            {
                'actionName': 'string',
                'mustSucceedForCutover': True|False,
                'parameters': {
                    'string': [
                        {
                            'parameterName': 'string',
                            'parameterType': 'STRING'
                        },
                    ]
                },
                'ssmDocumentName': 'string',
                'timeoutSeconds': 123
            },
        ]
    },
    smallVolumeConf={
        'iops': 123,
        'throughput': 123,
        'volumeType': 'io1'|'io2'|'gp3'|'gp2'|'st1'|'sc1'|'standard'
    },
    smallVolumeMaxSize=123,
    tags={
        'string': 'string'
    },
    targetInstanceTypeRightSizingMethod='NONE'|'BASIC'
)
type associatePublicIpAddress:

boolean

param associatePublicIpAddress:

Associate public Ip address.

type bootMode:

string

param bootMode:

Launch configuration template boot mode.

type copyPrivateIp:

boolean

param copyPrivateIp:

Copy private Ip.

type copyTags:

boolean

param copyTags:

Copy tags.

type enableMapAutoTagging:

boolean

param enableMapAutoTagging:

Enable map auto tagging.

type largeVolumeConf:

dict

param largeVolumeConf:

Large volume config.

  • iops (integer) --

    Launch template disk iops configuration.

  • throughput (integer) --

    Launch template disk throughput configuration.

  • volumeType (string) --

    Launch template disk volume type configuration.

type launchDisposition:

string

param launchDisposition:

Launch disposition.

type licensing:

dict

param licensing:

Configure Licensing.

  • osByol (boolean) --

    Configure BYOL OS licensing.

type mapAutoTaggingMpeID:

string

param mapAutoTaggingMpeID:

Launch configuration template map auto tagging MPE ID.

type postLaunchActions:

dict

param postLaunchActions:

Launch configuration template post launch actions.

  • cloudWatchLogGroupName (string) --

    AWS Systems Manager Command's CloudWatch log group name.

  • deployment (string) --

    Deployment type in which AWS Systems Manager Documents will be executed.

  • s3LogBucket (string) --

    AWS Systems Manager Command's logs S3 log bucket.

  • s3OutputKeyPrefix (string) --

    AWS Systems Manager Command's logs S3 output key prefix.

  • ssmDocuments (list) --

    AWS Systems Manager Documents.

    • (dict) --

      AWS Systems Manager Document.

      • actionName (string) -- [REQUIRED]

        User-friendly name for the AWS Systems Manager Document.

      • mustSucceedForCutover (boolean) --

        If true, Cutover will not be enabled if the document has failed.

      • parameters (dict) --

        AWS Systems Manager Document parameters.

        • (string) --

          • (list) --

            • (dict) --

              AWS Systems Manager Parameter Store parameter.

              • parameterName (string) -- [REQUIRED]

                AWS Systems Manager Parameter Store parameter name.

              • parameterType (string) -- [REQUIRED]

                AWS Systems Manager Parameter Store parameter type.

      • ssmDocumentName (string) -- [REQUIRED]

        AWS Systems Manager Document name or full ARN.

      • timeoutSeconds (integer) --

        AWS Systems Manager Document timeout seconds.

type smallVolumeConf:

dict

param smallVolumeConf:

Small volume config.

  • iops (integer) --

    Launch template disk iops configuration.

  • throughput (integer) --

    Launch template disk throughput configuration.

  • volumeType (string) --

    Launch template disk volume type configuration.

type smallVolumeMaxSize:

integer

param smallVolumeMaxSize:

Small volume maximum size.

type tags:

dict

param tags:

Request to associate tags during creation of a Launch Configuration Template.

  • (string) --

    • (string) --

type targetInstanceTypeRightSizingMethod:

string

param targetInstanceTypeRightSizingMethod:

Target instance type right-sizing method.

rtype:

dict

returns:

Response Syntax

{
    'arn': 'string',
    'associatePublicIpAddress': True|False,
    'bootMode': 'LEGACY_BIOS'|'UEFI',
    'copyPrivateIp': True|False,
    'copyTags': True|False,
    'ec2LaunchTemplateID': 'string',
    'enableMapAutoTagging': True|False,
    'largeVolumeConf': {
        'iops': 123,
        'throughput': 123,
        'volumeType': 'io1'|'io2'|'gp3'|'gp2'|'st1'|'sc1'|'standard'
    },
    'launchConfigurationTemplateID': 'string',
    'launchDisposition': 'STOPPED'|'STARTED',
    'licensing': {
        'osByol': True|False
    },
    'mapAutoTaggingMpeID': 'string',
    'postLaunchActions': {
        'cloudWatchLogGroupName': 'string',
        'deployment': 'TEST_AND_CUTOVER'|'CUTOVER_ONLY'|'TEST_ONLY',
        's3LogBucket': 'string',
        's3OutputKeyPrefix': 'string',
        'ssmDocuments': [
            {
                'actionName': 'string',
                'mustSucceedForCutover': True|False,
                'parameters': {
                    'string': [
                        {
                            'parameterName': 'string',
                            'parameterType': 'STRING'
                        },
                    ]
                },
                'ssmDocumentName': 'string',
                'timeoutSeconds': 123
            },
        ]
    },
    'smallVolumeConf': {
        'iops': 123,
        'throughput': 123,
        'volumeType': 'io1'|'io2'|'gp3'|'gp2'|'st1'|'sc1'|'standard'
    },
    'smallVolumeMaxSize': 123,
    'tags': {
        'string': 'string'
    },
    'targetInstanceTypeRightSizingMethod': 'NONE'|'BASIC'
}

Response Structure

  • (dict) --

    • arn (string) --

      ARN of the Launch Configuration Template.

    • associatePublicIpAddress (boolean) --

      Associate public Ip address.

    • bootMode (string) --

      Launch configuration template boot mode.

    • copyPrivateIp (boolean) --

      Copy private Ip.

    • copyTags (boolean) --

      Copy tags.

    • ec2LaunchTemplateID (string) --

      EC2 launch template ID.

    • enableMapAutoTagging (boolean) --

      Enable map auto tagging.

    • largeVolumeConf (dict) --

      Large volume config.

      • iops (integer) --

        Launch template disk iops configuration.

      • throughput (integer) --

        Launch template disk throughput configuration.

      • volumeType (string) --

        Launch template disk volume type configuration.

    • launchConfigurationTemplateID (string) --

      ID of the Launch Configuration Template.

    • launchDisposition (string) --

      Launch disposition.

    • licensing (dict) --

      Configure Licensing.

      • osByol (boolean) --

        Configure BYOL OS licensing.

    • mapAutoTaggingMpeID (string) --

      Launch configuration template map auto tagging MPE ID.

    • postLaunchActions (dict) --

      Post Launch Actions of the Launch Configuration Template.

      • cloudWatchLogGroupName (string) --

        AWS Systems Manager Command's CloudWatch log group name.

      • deployment (string) --

        Deployment type in which AWS Systems Manager Documents will be executed.

      • s3LogBucket (string) --

        AWS Systems Manager Command's logs S3 log bucket.

      • s3OutputKeyPrefix (string) --

        AWS Systems Manager Command's logs S3 output key prefix.

      • ssmDocuments (list) --

        AWS Systems Manager Documents.

        • (dict) --

          AWS Systems Manager Document.

          • actionName (string) --

            User-friendly name for the AWS Systems Manager Document.

          • mustSucceedForCutover (boolean) --

            If true, Cutover will not be enabled if the document has failed.

          • parameters (dict) --

            AWS Systems Manager Document parameters.

            • (string) --

              • (list) --

                • (dict) --

                  AWS Systems Manager Parameter Store parameter.

                  • parameterName (string) --

                    AWS Systems Manager Parameter Store parameter name.

                  • parameterType (string) --

                    AWS Systems Manager Parameter Store parameter type.

          • ssmDocumentName (string) --

            AWS Systems Manager Document name or full ARN.

          • timeoutSeconds (integer) --

            AWS Systems Manager Document timeout seconds.

    • smallVolumeConf (dict) --

      Small volume config.

      • iops (integer) --

        Launch template disk iops configuration.

      • throughput (integer) --

        Launch template disk throughput configuration.

      • volumeType (string) --

        Launch template disk volume type configuration.

    • smallVolumeMaxSize (integer) --

      Small volume maximum size.

    • tags (dict) --

      Tags of the Launch Configuration Template.

      • (string) --

        • (string) --

    • targetInstanceTypeRightSizingMethod (string) --

      Target instance type right-sizing method.

DescribeLaunchConfigurationTemplates (updated) Link ¶
Changes (response)
{'items': {'associatePublicIpAddress': 'boolean',
           'bootMode': 'LEGACY_BIOS | UEFI',
           'copyPrivateIp': 'boolean',
           'copyTags': 'boolean',
           'ec2LaunchTemplateID': 'string',
           'enableMapAutoTagging': 'boolean',
           'largeVolumeConf': {'iops': 'long',
                               'throughput': 'long',
                               'volumeType': 'io1 | io2 | gp3 | gp2 | st1 | '
                                             'sc1 | standard'},
           'launchDisposition': 'STOPPED | STARTED',
           'licensing': {'osByol': 'boolean'},
           'mapAutoTaggingMpeID': 'string',
           'postLaunchActions': {'deployment': {'TEST_ONLY'}},
           'smallVolumeConf': {'iops': 'long',
                               'throughput': 'long',
                               'volumeType': 'io1 | io2 | gp3 | gp2 | st1 | '
                                             'sc1 | standard'},
           'smallVolumeMaxSize': 'long',
           'targetInstanceTypeRightSizingMethod': 'NONE | BASIC'}}

Lists all Launch Configuration Templates, filtered by Launch Configuration Template IDs

See also: AWS API Documentation

Request Syntax

client.describe_launch_configuration_templates(
    launchConfigurationTemplateIDs=[
        'string',
    ],
    maxResults=123,
    nextToken='string'
)
type launchConfigurationTemplateIDs:

list

param launchConfigurationTemplateIDs:

Request to filter Launch Configuration Templates list by Launch Configuration Template ID.

  • (string) --

type maxResults:

integer

param maxResults:

Maximum results to be returned in DescribeLaunchConfigurationTemplates.

type nextToken:

string

param nextToken:

Next pagination token returned from DescribeLaunchConfigurationTemplates.

rtype:

dict

returns:

Response Syntax

{
    'items': [
        {
            'arn': 'string',
            'associatePublicIpAddress': True|False,
            'bootMode': 'LEGACY_BIOS'|'UEFI',
            'copyPrivateIp': True|False,
            'copyTags': True|False,
            'ec2LaunchTemplateID': 'string',
            'enableMapAutoTagging': True|False,
            'largeVolumeConf': {
                'iops': 123,
                'throughput': 123,
                'volumeType': 'io1'|'io2'|'gp3'|'gp2'|'st1'|'sc1'|'standard'
            },
            'launchConfigurationTemplateID': 'string',
            'launchDisposition': 'STOPPED'|'STARTED',
            'licensing': {
                'osByol': True|False
            },
            'mapAutoTaggingMpeID': 'string',
            'postLaunchActions': {
                'cloudWatchLogGroupName': 'string',
                'deployment': 'TEST_AND_CUTOVER'|'CUTOVER_ONLY'|'TEST_ONLY',
                's3LogBucket': 'string',
                's3OutputKeyPrefix': 'string',
                'ssmDocuments': [
                    {
                        'actionName': 'string',
                        'mustSucceedForCutover': True|False,
                        'parameters': {
                            'string': [
                                {
                                    'parameterName': 'string',
                                    'parameterType': 'STRING'
                                },
                            ]
                        },
                        'ssmDocumentName': 'string',
                        'timeoutSeconds': 123
                    },
                ]
            },
            'smallVolumeConf': {
                'iops': 123,
                'throughput': 123,
                'volumeType': 'io1'|'io2'|'gp3'|'gp2'|'st1'|'sc1'|'standard'
            },
            'smallVolumeMaxSize': 123,
            'tags': {
                'string': 'string'
            },
            'targetInstanceTypeRightSizingMethod': 'NONE'|'BASIC'
        },
    ],
    'nextToken': 'string'
}

Response Structure

  • (dict) --

    • items (list) --

      List of items returned by DescribeLaunchConfigurationTemplates.

      • (dict) --

        • arn (string) --

          ARN of the Launch Configuration Template.

        • associatePublicIpAddress (boolean) --

          Associate public Ip address.

        • bootMode (string) --

          Launch configuration template boot mode.

        • copyPrivateIp (boolean) --

          Copy private Ip.

        • copyTags (boolean) --

          Copy tags.

        • ec2LaunchTemplateID (string) --

          EC2 launch template ID.

        • enableMapAutoTagging (boolean) --

          Enable map auto tagging.

        • largeVolumeConf (dict) --

          Large volume config.

          • iops (integer) --

            Launch template disk iops configuration.

          • throughput (integer) --

            Launch template disk throughput configuration.

          • volumeType (string) --

            Launch template disk volume type configuration.

        • launchConfigurationTemplateID (string) --

          ID of the Launch Configuration Template.

        • launchDisposition (string) --

          Launch disposition.

        • licensing (dict) --

          Configure Licensing.

          • osByol (boolean) --

            Configure BYOL OS licensing.

        • mapAutoTaggingMpeID (string) --

          Launch configuration template map auto tagging MPE ID.

        • postLaunchActions (dict) --

          Post Launch Actions of the Launch Configuration Template.

          • cloudWatchLogGroupName (string) --

            AWS Systems Manager Command's CloudWatch log group name.

          • deployment (string) --

            Deployment type in which AWS Systems Manager Documents will be executed.

          • s3LogBucket (string) --

            AWS Systems Manager Command's logs S3 log bucket.

          • s3OutputKeyPrefix (string) --

            AWS Systems Manager Command's logs S3 output key prefix.

          • ssmDocuments (list) --

            AWS Systems Manager Documents.

            • (dict) --

              AWS Systems Manager Document.

              • actionName (string) --

                User-friendly name for the AWS Systems Manager Document.

              • mustSucceedForCutover (boolean) --

                If true, Cutover will not be enabled if the document has failed.

              • parameters (dict) --

                AWS Systems Manager Document parameters.

                • (string) --

                  • (list) --

                    • (dict) --

                      AWS Systems Manager Parameter Store parameter.

                      • parameterName (string) --

                        AWS Systems Manager Parameter Store parameter name.

                      • parameterType (string) --

                        AWS Systems Manager Parameter Store parameter type.

              • ssmDocumentName (string) --

                AWS Systems Manager Document name or full ARN.

              • timeoutSeconds (integer) --

                AWS Systems Manager Document timeout seconds.

        • smallVolumeConf (dict) --

          Small volume config.

          • iops (integer) --

            Launch template disk iops configuration.

          • throughput (integer) --

            Launch template disk throughput configuration.

          • volumeType (string) --

            Launch template disk volume type configuration.

        • smallVolumeMaxSize (integer) --

          Small volume maximum size.

        • tags (dict) --

          Tags of the Launch Configuration Template.

          • (string) --

            • (string) --

        • targetInstanceTypeRightSizingMethod (string) --

          Target instance type right-sizing method.

    • nextToken (string) --

      Next pagination token returned from DescribeLaunchConfigurationTemplates.

DescribeSourceServers (updated) Link ¶
Changes (request, response)
Request
{'filters': {'applicationIDs': ['string']}}
Response
{'items': {'applicationID': 'string'}}

Retrieves all SourceServers or multiple SourceServers by ID.

See also: AWS API Documentation

Request Syntax

client.describe_source_servers(
    filters={
        'applicationIDs': [
            'string',
        ],
        'isArchived': True|False,
        'lifeCycleStates': [
            'STOPPED'|'NOT_READY'|'READY_FOR_TEST'|'TESTING'|'READY_FOR_CUTOVER'|'CUTTING_OVER'|'CUTOVER'|'DISCONNECTED'|'DISCOVERED',
        ],
        'replicationTypes': [
            'AGENT_BASED'|'SNAPSHOT_SHIPPING',
        ],
        'sourceServerIDs': [
            'string',
        ]
    },
    maxResults=123,
    nextToken='string'
)
type filters:

dict

param filters:

Request to filter Source Servers list.

  • applicationIDs (list) --

    Request to filter Source Servers list by application IDs.

    • (string) --

  • isArchived (boolean) --

    Request to filter Source Servers list by archived.

  • lifeCycleStates (list) --

    Request to filter Source Servers list by life cycle states.

    • (string) --

  • replicationTypes (list) --

    Request to filter Source Servers list by replication type.

    • (string) --

  • sourceServerIDs (list) --

    Request to filter Source Servers list by Source Server ID.

    • (string) --

type maxResults:

integer

param maxResults:

Request to filter Source Servers list by maximum results.

type nextToken:

string

param nextToken:

Request to filter Source Servers list by next token.

rtype:

dict

returns:

Response Syntax

{
    'items': [
        {
            'applicationID': 'string',
            'arn': 'string',
            'dataReplicationInfo': {
                'dataReplicationError': {
                    'error': 'AGENT_NOT_SEEN'|'SNAPSHOTS_FAILURE'|'NOT_CONVERGING'|'UNSTABLE_NETWORK'|'FAILED_TO_CREATE_SECURITY_GROUP'|'FAILED_TO_LAUNCH_REPLICATION_SERVER'|'FAILED_TO_BOOT_REPLICATION_SERVER'|'FAILED_TO_AUTHENTICATE_WITH_SERVICE'|'FAILED_TO_DOWNLOAD_REPLICATION_SOFTWARE'|'FAILED_TO_CREATE_STAGING_DISKS'|'FAILED_TO_ATTACH_STAGING_DISKS'|'FAILED_TO_PAIR_REPLICATION_SERVER_WITH_AGENT'|'FAILED_TO_CONNECT_AGENT_TO_REPLICATION_SERVER'|'FAILED_TO_START_DATA_TRANSFER'|'UNSUPPORTED_VM_CONFIGURATION'|'LAST_SNAPSHOT_JOB_FAILED',
                    'rawError': 'string'
                },
                'dataReplicationInitiation': {
                    'nextAttemptDateTime': 'string',
                    'startDateTime': 'string',
                    'steps': [
                        {
                            'name': 'WAIT'|'CREATE_SECURITY_GROUP'|'LAUNCH_REPLICATION_SERVER'|'BOOT_REPLICATION_SERVER'|'AUTHENTICATE_WITH_SERVICE'|'DOWNLOAD_REPLICATION_SOFTWARE'|'CREATE_STAGING_DISKS'|'ATTACH_STAGING_DISKS'|'PAIR_REPLICATION_SERVER_WITH_AGENT'|'CONNECT_AGENT_TO_REPLICATION_SERVER'|'START_DATA_TRANSFER',
                            'status': 'NOT_STARTED'|'IN_PROGRESS'|'SUCCEEDED'|'FAILED'|'SKIPPED'
                        },
                    ]
                },
                'dataReplicationState': 'STOPPED'|'INITIATING'|'INITIAL_SYNC'|'BACKLOG'|'CREATING_SNAPSHOT'|'CONTINUOUS'|'PAUSED'|'RESCAN'|'STALLED'|'DISCONNECTED'|'PENDING_SNAPSHOT_SHIPPING'|'SHIPPING_SNAPSHOT',
                'etaDateTime': 'string',
                'lagDuration': 'string',
                'lastSnapshotDateTime': 'string',
                'replicatedDisks': [
                    {
                        'backloggedStorageBytes': 123,
                        'deviceName': 'string',
                        'replicatedStorageBytes': 123,
                        'rescannedStorageBytes': 123,
                        'totalStorageBytes': 123
                    },
                ]
            },
            'isArchived': True|False,
            'launchedInstance': {
                'ec2InstanceID': 'string',
                'firstBoot': 'WAITING'|'SUCCEEDED'|'UNKNOWN'|'STOPPED',
                'jobID': 'string'
            },
            'lifeCycle': {
                'addedToServiceDateTime': 'string',
                'elapsedReplicationDuration': 'string',
                'firstByteDateTime': 'string',
                'lastCutover': {
                    'finalized': {
                        'apiCallDateTime': 'string'
                    },
                    'initiated': {
                        'apiCallDateTime': 'string',
                        'jobID': 'string'
                    },
                    'reverted': {
                        'apiCallDateTime': 'string'
                    }
                },
                'lastSeenByServiceDateTime': 'string',
                'lastTest': {
                    'finalized': {
                        'apiCallDateTime': 'string'
                    },
                    'initiated': {
                        'apiCallDateTime': 'string',
                        'jobID': 'string'
                    },
                    'reverted': {
                        'apiCallDateTime': 'string'
                    }
                },
                'state': 'STOPPED'|'NOT_READY'|'READY_FOR_TEST'|'TESTING'|'READY_FOR_CUTOVER'|'CUTTING_OVER'|'CUTOVER'|'DISCONNECTED'|'DISCOVERED'
            },
            'replicationType': 'AGENT_BASED'|'SNAPSHOT_SHIPPING',
            'sourceProperties': {
                'cpus': [
                    {
                        'cores': 123,
                        'modelName': 'string'
                    },
                ],
                'disks': [
                    {
                        'bytes': 123,
                        'deviceName': 'string'
                    },
                ],
                'identificationHints': {
                    'awsInstanceID': 'string',
                    'fqdn': 'string',
                    'hostname': 'string',
                    'vmPath': 'string',
                    'vmWareUuid': 'string'
                },
                'lastUpdatedDateTime': 'string',
                'networkInterfaces': [
                    {
                        'ips': [
                            'string',
                        ],
                        'isPrimary': True|False,
                        'macAddress': 'string'
                    },
                ],
                'os': {
                    'fullString': 'string'
                },
                'ramBytes': 123,
                'recommendedInstanceType': 'string'
            },
            'sourceServerID': 'string',
            'tags': {
                'string': 'string'
            },
            'vcenterClientID': 'string'
        },
    ],
    'nextToken': 'string'
}

Response Structure

  • (dict) --

    • items (list) --

      Request to filter Source Servers list by item.

      • (dict) --

        • applicationID (string) --

          Source server application ID.

        • arn (string) --

          Source server ARN.

        • dataReplicationInfo (dict) --

          Source server data replication info.

          • dataReplicationError (dict) --

            Error in obtaining data replication info.

            • error (string) --

              Error in data replication.

            • rawError (string) --

              Error in data replication.

          • dataReplicationInitiation (dict) --

            Request to query whether data replication has been initiated.

            • nextAttemptDateTime (string) --

              Request to query next data initiation date and time.

            • startDateTime (string) --

              Request to query data initiation start date and time.

            • steps (list) --

              Request to query data initiation steps.

              • (dict) --

                Data replication initiation step.

                • name (string) --

                  Request to query data initiation step name.

                • status (string) --

                  Request to query data initiation status.

          • dataReplicationState (string) --

            Request to query the data replication state.

          • etaDateTime (string) --

            Request to query the time when data replication will be complete.

          • lagDuration (string) --

            Request to query data replication lag duration.

          • lastSnapshotDateTime (string) --

            Request to query data replication last snapshot time.

          • replicatedDisks (list) --

            Request to query disks replicated.

            • (dict) --

              Request to query disks replicated.

              • backloggedStorageBytes (integer) --

                Request to query data replication backlog size in bytes.

              • deviceName (string) --

                Request to query device name.

              • replicatedStorageBytes (integer) --

                Request to query amount of data replicated in bytes.

              • rescannedStorageBytes (integer) --

                Request to query amount of data rescanned in bytes.

              • totalStorageBytes (integer) --

                Request to query total amount of data replicated in bytes.

        • isArchived (boolean) --

          Source server archived status.

        • launchedInstance (dict) --

          Source server launched instance.

          • ec2InstanceID (string) --

            Launched instance EC2 ID.

          • firstBoot (string) --

            Launched instance first boot.

          • jobID (string) --

            Launched instance Job ID.

        • lifeCycle (dict) --

          Source server lifecycle state.

          • addedToServiceDateTime (string) --

            Lifecycle added to service data and time.

          • elapsedReplicationDuration (string) --

            Lifecycle elapsed time and duration.

          • firstByteDateTime (string) --

            Lifecycle replication initiation date and time.

          • lastCutover (dict) --

            Lifecycle last Cutover.

            • finalized (dict) --

              Lifecycle Cutover finalized date and time.

              • apiCallDateTime (string) --

                Lifecycle Cutover finalized date and time.

            • initiated (dict) --

              Lifecycle last Cutover initiated.

              • apiCallDateTime (string) --

              • jobID (string) --

                Lifecycle last Cutover initiated by Job ID.

            • reverted (dict) --

              Lifecycle last Cutover reverted.

              • apiCallDateTime (string) --

                Lifecycle last Cutover reverted API call date time.

          • lastSeenByServiceDateTime (string) --

            Lifecycle last seen date and time.

          • lastTest (dict) --

            Lifecycle last Test.

            • finalized (dict) --

              Lifecycle last Test finalized.

              • apiCallDateTime (string) --

                Lifecycle Test failed API call date and time.

            • initiated (dict) --

              Lifecycle last Test initiated.

              • apiCallDateTime (string) --

                Lifecycle last Test initiated API call date and time.

              • jobID (string) --

                Lifecycle last Test initiated Job ID.

            • reverted (dict) --

              Lifecycle last Test reverted.

              • apiCallDateTime (string) --

                Lifecycle last Test reverted API call date and time.

          • state (string) --

            Lifecycle state.

        • replicationType (string) --

          Source server replication type.

        • sourceProperties (dict) --

          Source server properties.

          • cpus (list) --

            Source Server CPUs.

            • (dict) --

              Source server CPU information.

              • cores (integer) --

                The number of CPU cores on the source server.

              • modelName (string) --

                The source server's CPU model name.

          • disks (list) --

            Source Server disks.

            • (dict) --

              The disk identifier.

              • bytes (integer) --

                The amount of storage on the disk in bytes.

              • deviceName (string) --

                The disk or device name.

          • identificationHints (dict) --

            Source server identification hints.

            • awsInstanceID (string) --

              AWS Instance ID identification hint.

            • fqdn (string) --

              FQDN address identification hint.

            • hostname (string) --

              Hostname identification hint.

            • vmPath (string) --

              vCenter VM path identification hint.

            • vmWareUuid (string) --

              vmWare UUID identification hint.

          • lastUpdatedDateTime (string) --

            Source server last update date and time.

          • networkInterfaces (list) --

            Source server network interfaces.

            • (dict) --

              Network interface.

              • ips (list) --

                Network interface IPs.

                • (string) --

              • isPrimary (boolean) --

                Network interface primary IP.

              • macAddress (string) --

                Network interface Mac address.

          • os (dict) --

            Source server OS.

            • fullString (string) --

              OS full string.

          • ramBytes (integer) --

            Source server RAM in bytes.

          • recommendedInstanceType (string) --

            Source server recommended instance type.

        • sourceServerID (string) --

          Source server ID.

        • tags (dict) --

          Source server Tags.

          • (string) --

            • (string) --

        • vcenterClientID (string) --

          Source server vCenter client id.

    • nextToken (string) --

      Request to filter Source Servers next token.

DisconnectFromService (updated) Link ¶
Changes (response)
{'applicationID': 'string'}

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 communicating 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.lagDuration will be nullified.

See also: AWS API Documentation

Request Syntax

client.disconnect_from_service(
    sourceServerID='string'
)
type sourceServerID:

string

param sourceServerID:

[REQUIRED]

Request to disconnect Source Server from service by Server ID.

rtype:

dict

returns:

Response Syntax

{
    'applicationID': 'string',
    'arn': 'string',
    'dataReplicationInfo': {
        'dataReplicationError': {
            'error': 'AGENT_NOT_SEEN'|'SNAPSHOTS_FAILURE'|'NOT_CONVERGING'|'UNSTABLE_NETWORK'|'FAILED_TO_CREATE_SECURITY_GROUP'|'FAILED_TO_LAUNCH_REPLICATION_SERVER'|'FAILED_TO_BOOT_REPLICATION_SERVER'|'FAILED_TO_AUTHENTICATE_WITH_SERVICE'|'FAILED_TO_DOWNLOAD_REPLICATION_SOFTWARE'|'FAILED_TO_CREATE_STAGING_DISKS'|'FAILED_TO_ATTACH_STAGING_DISKS'|'FAILED_TO_PAIR_REPLICATION_SERVER_WITH_AGENT'|'FAILED_TO_CONNECT_AGENT_TO_REPLICATION_SERVER'|'FAILED_TO_START_DATA_TRANSFER'|'UNSUPPORTED_VM_CONFIGURATION'|'LAST_SNAPSHOT_JOB_FAILED',
            'rawError': 'string'
        },
        'dataReplicationInitiation': {
            'nextAttemptDateTime': 'string',
            'startDateTime': 'string',
            'steps': [
                {
                    'name': 'WAIT'|'CREATE_SECURITY_GROUP'|'LAUNCH_REPLICATION_SERVER'|'BOOT_REPLICATION_SERVER'|'AUTHENTICATE_WITH_SERVICE'|'DOWNLOAD_REPLICATION_SOFTWARE'|'CREATE_STAGING_DISKS'|'ATTACH_STAGING_DISKS'|'PAIR_REPLICATION_SERVER_WITH_AGENT'|'CONNECT_AGENT_TO_REPLICATION_SERVER'|'START_DATA_TRANSFER',
                    'status': 'NOT_STARTED'|'IN_PROGRESS'|'SUCCEEDED'|'FAILED'|'SKIPPED'
                },
            ]
        },
        'dataReplicationState': 'STOPPED'|'INITIATING'|'INITIAL_SYNC'|'BACKLOG'|'CREATING_SNAPSHOT'|'CONTINUOUS'|'PAUSED'|'RESCAN'|'STALLED'|'DISCONNECTED'|'PENDING_SNAPSHOT_SHIPPING'|'SHIPPING_SNAPSHOT',
        'etaDateTime': 'string',
        'lagDuration': 'string',
        'lastSnapshotDateTime': 'string',
        'replicatedDisks': [
            {
                'backloggedStorageBytes': 123,
                'deviceName': 'string',
                'replicatedStorageBytes': 123,
                'rescannedStorageBytes': 123,
                'totalStorageBytes': 123
            },
        ]
    },
    'isArchived': True|False,
    'launchedInstance': {
        'ec2InstanceID': 'string',
        'firstBoot': 'WAITING'|'SUCCEEDED'|'UNKNOWN'|'STOPPED',
        'jobID': 'string'
    },
    'lifeCycle': {
        'addedToServiceDateTime': 'string',
        'elapsedReplicationDuration': 'string',
        'firstByteDateTime': 'string',
        'lastCutover': {
            'finalized': {
                'apiCallDateTime': 'string'
            },
            'initiated': {
                'apiCallDateTime': 'string',
                'jobID': 'string'
            },
            'reverted': {
                'apiCallDateTime': 'string'
            }
        },
        'lastSeenByServiceDateTime': 'string',
        'lastTest': {
            'finalized': {
                'apiCallDateTime': 'string'
            },
            'initiated': {
                'apiCallDateTime': 'string',
                'jobID': 'string'
            },
            'reverted': {
                'apiCallDateTime': 'string'
            }
        },
        'state': 'STOPPED'|'NOT_READY'|'READY_FOR_TEST'|'TESTING'|'READY_FOR_CUTOVER'|'CUTTING_OVER'|'CUTOVER'|'DISCONNECTED'|'DISCOVERED'
    },
    'replicationType': 'AGENT_BASED'|'SNAPSHOT_SHIPPING',
    'sourceProperties': {
        'cpus': [
            {
                'cores': 123,
                'modelName': 'string'
            },
        ],
        'disks': [
            {
                'bytes': 123,
                'deviceName': 'string'
            },
        ],
        'identificationHints': {
            'awsInstanceID': 'string',
            'fqdn': 'string',
            'hostname': 'string',
            'vmPath': 'string',
            'vmWareUuid': 'string'
        },
        'lastUpdatedDateTime': 'string',
        'networkInterfaces': [
            {
                'ips': [
                    'string',
                ],
                'isPrimary': True|False,
                'macAddress': 'string'
            },
        ],
        'os': {
            'fullString': 'string'
        },
        'ramBytes': 123,
        'recommendedInstanceType': 'string'
    },
    'sourceServerID': 'string',
    'tags': {
        'string': 'string'
    },
    'vcenterClientID': 'string'
}

Response Structure

  • (dict) --

    • applicationID (string) --

      Source server application ID.

    • arn (string) --

      Source server ARN.

    • dataReplicationInfo (dict) --

      Source server data replication info.

      • dataReplicationError (dict) --

        Error in obtaining data replication info.

        • error (string) --

          Error in data replication.

        • rawError (string) --

          Error in data replication.

      • dataReplicationInitiation (dict) --

        Request to query whether data replication has been initiated.

        • nextAttemptDateTime (string) --

          Request to query next data initiation date and time.

        • startDateTime (string) --

          Request to query data initiation start date and time.

        • steps (list) --

          Request to query data initiation steps.

          • (dict) --

            Data replication initiation step.

            • name (string) --

              Request to query data initiation step name.

            • status (string) --

              Request to query data initiation status.

      • dataReplicationState (string) --

        Request to query the data replication state.

      • etaDateTime (string) --

        Request to query the time when data replication will be complete.

      • lagDuration (string) --

        Request to query data replication lag duration.

      • lastSnapshotDateTime (string) --

        Request to query data replication last snapshot time.

      • replicatedDisks (list) --

        Request to query disks replicated.

        • (dict) --

          Request to query disks replicated.

          • backloggedStorageBytes (integer) --

            Request to query data replication backlog size in bytes.

          • deviceName (string) --

            Request to query device name.

          • replicatedStorageBytes (integer) --

            Request to query amount of data replicated in bytes.

          • rescannedStorageBytes (integer) --

            Request to query amount of data rescanned in bytes.

          • totalStorageBytes (integer) --

            Request to query total amount of data replicated in bytes.

    • isArchived (boolean) --

      Source server archived status.

    • launchedInstance (dict) --

      Source server launched instance.

      • ec2InstanceID (string) --

        Launched instance EC2 ID.

      • firstBoot (string) --

        Launched instance first boot.

      • jobID (string) --

        Launched instance Job ID.

    • lifeCycle (dict) --

      Source server lifecycle state.

      • addedToServiceDateTime (string) --

        Lifecycle added to service data and time.

      • elapsedReplicationDuration (string) --

        Lifecycle elapsed time and duration.

      • firstByteDateTime (string) --

        Lifecycle replication initiation date and time.

      • lastCutover (dict) --

        Lifecycle last Cutover.

        • finalized (dict) --

          Lifecycle Cutover finalized date and time.

          • apiCallDateTime (string) --

            Lifecycle Cutover finalized date and time.

        • initiated (dict) --

          Lifecycle last Cutover initiated.

          • apiCallDateTime (string) --

          • jobID (string) --

            Lifecycle last Cutover initiated by Job ID.

        • reverted (dict) --

          Lifecycle last Cutover reverted.

          • apiCallDateTime (string) --

            Lifecycle last Cutover reverted API call date time.

      • lastSeenByServiceDateTime (string) --

        Lifecycle last seen date and time.

      • lastTest (dict) --

        Lifecycle last Test.

        • finalized (dict) --

          Lifecycle last Test finalized.

          • apiCallDateTime (string) --

            Lifecycle Test failed API call date and time.

        • initiated (dict) --

          Lifecycle last Test initiated.

          • apiCallDateTime (string) --

            Lifecycle last Test initiated API call date and time.

          • jobID (string) --

            Lifecycle last Test initiated Job ID.

        • reverted (dict) --

          Lifecycle last Test reverted.

          • apiCallDateTime (string) --

            Lifecycle last Test reverted API call date and time.

      • state (string) --

        Lifecycle state.

    • replicationType (string) --

      Source server replication type.

    • sourceProperties (dict) --

      Source server properties.

      • cpus (list) --

        Source Server CPUs.

        • (dict) --

          Source server CPU information.

          • cores (integer) --

            The number of CPU cores on the source server.

          • modelName (string) --

            The source server's CPU model name.

      • disks (list) --

        Source Server disks.

        • (dict) --

          The disk identifier.

          • bytes (integer) --

            The amount of storage on the disk in bytes.

          • deviceName (string) --

            The disk or device name.

      • identificationHints (dict) --

        Source server identification hints.

        • awsInstanceID (string) --

          AWS Instance ID identification hint.

        • fqdn (string) --

          FQDN address identification hint.

        • hostname (string) --

          Hostname identification hint.

        • vmPath (string) --

          vCenter VM path identification hint.

        • vmWareUuid (string) --

          vmWare UUID identification hint.

      • lastUpdatedDateTime (string) --

        Source server last update date and time.

      • networkInterfaces (list) --

        Source server network interfaces.

        • (dict) --

          Network interface.

          • ips (list) --

            Network interface IPs.

            • (string) --

          • isPrimary (boolean) --

            Network interface primary IP.

          • macAddress (string) --

            Network interface Mac address.

      • os (dict) --

        Source server OS.

        • fullString (string) --

          OS full string.

      • ramBytes (integer) --

        Source server RAM in bytes.

      • recommendedInstanceType (string) --

        Source server recommended instance type.

    • sourceServerID (string) --

      Source server ID.

    • tags (dict) --

      Source server Tags.

      • (string) --

        • (string) --

    • vcenterClientID (string) --

      Source server vCenter client id.

FinalizeCutover (updated) Link ¶
Changes (response)
{'applicationID': 'string'}

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 changed 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.lagDuration will be nullified.

See also: AWS API Documentation

Request Syntax

client.finalize_cutover(
    sourceServerID='string'
)
type sourceServerID:

string

param sourceServerID:

[REQUIRED]

Request to finalize Cutover by Source Server ID.

rtype:

dict

returns:

Response Syntax

{
    'applicationID': 'string',
    'arn': 'string',
    'dataReplicationInfo': {
        'dataReplicationError': {
            'error': 'AGENT_NOT_SEEN'|'SNAPSHOTS_FAILURE'|'NOT_CONVERGING'|'UNSTABLE_NETWORK'|'FAILED_TO_CREATE_SECURITY_GROUP'|'FAILED_TO_LAUNCH_REPLICATION_SERVER'|'FAILED_TO_BOOT_REPLICATION_SERVER'|'FAILED_TO_AUTHENTICATE_WITH_SERVICE'|'FAILED_TO_DOWNLOAD_REPLICATION_SOFTWARE'|'FAILED_TO_CREATE_STAGING_DISKS'|'FAILED_TO_ATTACH_STAGING_DISKS'|'FAILED_TO_PAIR_REPLICATION_SERVER_WITH_AGENT'|'FAILED_TO_CONNECT_AGENT_TO_REPLICATION_SERVER'|'FAILED_TO_START_DATA_TRANSFER'|'UNSUPPORTED_VM_CONFIGURATION'|'LAST_SNAPSHOT_JOB_FAILED',
            'rawError': 'string'
        },
        'dataReplicationInitiation': {
            'nextAttemptDateTime': 'string',
            'startDateTime': 'string',
            'steps': [
                {
                    'name': 'WAIT'|'CREATE_SECURITY_GROUP'|'LAUNCH_REPLICATION_SERVER'|'BOOT_REPLICATION_SERVER'|'AUTHENTICATE_WITH_SERVICE'|'DOWNLOAD_REPLICATION_SOFTWARE'|'CREATE_STAGING_DISKS'|'ATTACH_STAGING_DISKS'|'PAIR_REPLICATION_SERVER_WITH_AGENT'|'CONNECT_AGENT_TO_REPLICATION_SERVER'|'START_DATA_TRANSFER',
                    'status': 'NOT_STARTED'|'IN_PROGRESS'|'SUCCEEDED'|'FAILED'|'SKIPPED'
                },
            ]
        },
        'dataReplicationState': 'STOPPED'|'INITIATING'|'INITIAL_SYNC'|'BACKLOG'|'CREATING_SNAPSHOT'|'CONTINUOUS'|'PAUSED'|'RESCAN'|'STALLED'|'DISCONNECTED'|'PENDING_SNAPSHOT_SHIPPING'|'SHIPPING_SNAPSHOT',
        'etaDateTime': 'string',
        'lagDuration': 'string',
        'lastSnapshotDateTime': 'string',
        'replicatedDisks': [
            {
                'backloggedStorageBytes': 123,
                'deviceName': 'string',
                'replicatedStorageBytes': 123,
                'rescannedStorageBytes': 123,
                'totalStorageBytes': 123
            },
        ]
    },
    'isArchived': True|False,
    'launchedInstance': {
        'ec2InstanceID': 'string',
        'firstBoot': 'WAITING'|'SUCCEEDED'|'UNKNOWN'|'STOPPED',
        'jobID': 'string'
    },
    'lifeCycle': {
        'addedToServiceDateTime': 'string',
        'elapsedReplicationDuration': 'string',
        'firstByteDateTime': 'string',
        'lastCutover': {
            'finalized': {
                'apiCallDateTime': 'string'
            },
            'initiated': {
                'apiCallDateTime': 'string',
                'jobID': 'string'
            },
            'reverted': {
                'apiCallDateTime': 'string'
            }
        },
        'lastSeenByServiceDateTime': 'string',
        'lastTest': {
            'finalized': {
                'apiCallDateTime': 'string'
            },
            'initiated': {
                'apiCallDateTime': 'string',
                'jobID': 'string'
            },
            'reverted': {
                'apiCallDateTime': 'string'
            }
        },
        'state': 'STOPPED'|'NOT_READY'|'READY_FOR_TEST'|'TESTING'|'READY_FOR_CUTOVER'|'CUTTING_OVER'|'CUTOVER'|'DISCONNECTED'|'DISCOVERED'
    },
    'replicationType': 'AGENT_BASED'|'SNAPSHOT_SHIPPING',
    'sourceProperties': {
        'cpus': [
            {
                'cores': 123,
                'modelName': 'string'
            },
        ],
        'disks': [
            {
                'bytes': 123,
                'deviceName': 'string'
            },
        ],
        'identificationHints': {
            'awsInstanceID': 'string',
            'fqdn': 'string',
            'hostname': 'string',
            'vmPath': 'string',
            'vmWareUuid': 'string'
        },
        'lastUpdatedDateTime': 'string',
        'networkInterfaces': [
            {
                'ips': [
                    'string',
                ],
                'isPrimary': True|False,
                'macAddress': 'string'
            },
        ],
        'os': {
            'fullString': 'string'
        },
        'ramBytes': 123,
        'recommendedInstanceType': 'string'
    },
    'sourceServerID': 'string',
    'tags': {
        'string': 'string'
    },
    'vcenterClientID': 'string'
}

Response Structure

  • (dict) --

    • applicationID (string) --

      Source server application ID.

    • arn (string) --

      Source server ARN.

    • dataReplicationInfo (dict) --

      Source server data replication info.

      • dataReplicationError (dict) --

        Error in obtaining data replication info.

        • error (string) --

          Error in data replication.

        • rawError (string) --

          Error in data replication.

      • dataReplicationInitiation (dict) --

        Request to query whether data replication has been initiated.

        • nextAttemptDateTime (string) --

          Request to query next data initiation date and time.

        • startDateTime (string) --

          Request to query data initiation start date and time.

        • steps (list) --

          Request to query data initiation steps.

          • (dict) --

            Data replication initiation step.

            • name (string) --

              Request to query data initiation step name.

            • status (string) --

              Request to query data initiation status.

      • dataReplicationState (string) --

        Request to query the data replication state.

      • etaDateTime (string) --

        Request to query the time when data replication will be complete.

      • lagDuration (string) --

        Request to query data replication lag duration.

      • lastSnapshotDateTime (string) --

        Request to query data replication last snapshot time.

      • replicatedDisks (list) --

        Request to query disks replicated.

        • (dict) --

          Request to query disks replicated.

          • backloggedStorageBytes (integer) --

            Request to query data replication backlog size in bytes.

          • deviceName (string) --

            Request to query device name.

          • replicatedStorageBytes (integer) --

            Request to query amount of data replicated in bytes.

          • rescannedStorageBytes (integer) --

            Request to query amount of data rescanned in bytes.

          • totalStorageBytes (integer) --

            Request to query total amount of data replicated in bytes.

    • isArchived (boolean) --

      Source server archived status.

    • launchedInstance (dict) --

      Source server launched instance.

      • ec2InstanceID (string) --

        Launched instance EC2 ID.

      • firstBoot (string) --

        Launched instance first boot.

      • jobID (string) --

        Launched instance Job ID.

    • lifeCycle (dict) --

      Source server lifecycle state.

      • addedToServiceDateTime (string) --

        Lifecycle added to service data and time.

      • elapsedReplicationDuration (string) --

        Lifecycle elapsed time and duration.

      • firstByteDateTime (string) --

        Lifecycle replication initiation date and time.

      • lastCutover (dict) --

        Lifecycle last Cutover.

        • finalized (dict) --

          Lifecycle Cutover finalized date and time.

          • apiCallDateTime (string) --

            Lifecycle Cutover finalized date and time.

        • initiated (dict) --

          Lifecycle last Cutover initiated.

          • apiCallDateTime (string) --

          • jobID (string) --

            Lifecycle last Cutover initiated by Job ID.

        • reverted (dict) --

          Lifecycle last Cutover reverted.

          • apiCallDateTime (string) --

            Lifecycle last Cutover reverted API call date time.

      • lastSeenByServiceDateTime (string) --

        Lifecycle last seen date and time.

      • lastTest (dict) --

        Lifecycle last Test.

        • finalized (dict) --

          Lifecycle last Test finalized.

          • apiCallDateTime (string) --

            Lifecycle Test failed API call date and time.

        • initiated (dict) --

          Lifecycle last Test initiated.

          • apiCallDateTime (string) --

            Lifecycle last Test initiated API call date and time.

          • jobID (string) --

            Lifecycle last Test initiated Job ID.

        • reverted (dict) --

          Lifecycle last Test reverted.

          • apiCallDateTime (string) --

            Lifecycle last Test reverted API call date and time.

      • state (string) --

        Lifecycle state.

    • replicationType (string) --

      Source server replication type.

    • sourceProperties (dict) --

      Source server properties.

      • cpus (list) --

        Source Server CPUs.

        • (dict) --

          Source server CPU information.

          • cores (integer) --

            The number of CPU cores on the source server.

          • modelName (string) --

            The source server's CPU model name.

      • disks (list) --

        Source Server disks.

        • (dict) --

          The disk identifier.

          • bytes (integer) --

            The amount of storage on the disk in bytes.

          • deviceName (string) --

            The disk or device name.

      • identificationHints (dict) --

        Source server identification hints.

        • awsInstanceID (string) --

          AWS Instance ID identification hint.

        • fqdn (string) --

          FQDN address identification hint.

        • hostname (string) --

          Hostname identification hint.

        • vmPath (string) --

          vCenter VM path identification hint.

        • vmWareUuid (string) --

          vmWare UUID identification hint.

      • lastUpdatedDateTime (string) --

        Source server last update date and time.

      • networkInterfaces (list) --

        Source server network interfaces.

        • (dict) --

          Network interface.

          • ips (list) --

            Network interface IPs.

            • (string) --

          • isPrimary (boolean) --

            Network interface primary IP.

          • macAddress (string) --

            Network interface Mac address.

      • os (dict) --

        Source server OS.

        • fullString (string) --

          OS full string.

      • ramBytes (integer) --

        Source server RAM in bytes.

      • recommendedInstanceType (string) --

        Source server recommended instance type.

    • sourceServerID (string) --

      Source server ID.

    • tags (dict) --

      Source server Tags.

      • (string) --

        • (string) --

    • vcenterClientID (string) --

      Source server vCenter client id.

GetLaunchConfiguration (updated) Link ¶
Changes (response)
{'enableMapAutoTagging': 'boolean',
 'mapAutoTaggingMpeID': 'string',
 'postLaunchActions': {'deployment': {'TEST_ONLY'}}}

Lists all LaunchConfigurations available, filtered by Source Server IDs.

See also: AWS API Documentation

Request Syntax

client.get_launch_configuration(
    sourceServerID='string'
)
type sourceServerID:

string

param sourceServerID:

[REQUIRED]

Request to get Launch Configuration information by Source Server ID.

rtype:

dict

returns:

Response Syntax

{
    'bootMode': 'LEGACY_BIOS'|'UEFI',
    'copyPrivateIp': True|False,
    'copyTags': True|False,
    'ec2LaunchTemplateID': 'string',
    'enableMapAutoTagging': True|False,
    'launchDisposition': 'STOPPED'|'STARTED',
    'licensing': {
        'osByol': True|False
    },
    'mapAutoTaggingMpeID': 'string',
    'name': 'string',
    'postLaunchActions': {
        'cloudWatchLogGroupName': 'string',
        'deployment': 'TEST_AND_CUTOVER'|'CUTOVER_ONLY'|'TEST_ONLY',
        's3LogBucket': 'string',
        's3OutputKeyPrefix': 'string',
        'ssmDocuments': [
            {
                'actionName': 'string',
                'mustSucceedForCutover': True|False,
                'parameters': {
                    'string': [
                        {
                            'parameterName': 'string',
                            'parameterType': 'STRING'
                        },
                    ]
                },
                'ssmDocumentName': 'string',
                'timeoutSeconds': 123
            },
        ]
    },
    'sourceServerID': 'string',
    'targetInstanceTypeRightSizingMethod': 'NONE'|'BASIC'
}

Response Structure

  • (dict) --

    • bootMode (string) --

      Launch configuration boot mode.

    • copyPrivateIp (boolean) --

      Copy Private IP during Launch Configuration.

    • copyTags (boolean) --

      Copy Tags during Launch Configuration.

    • ec2LaunchTemplateID (string) --

      Launch configuration EC2 Launch template ID.

    • enableMapAutoTagging (boolean) --

      Enable map auto tagging.

    • launchDisposition (string) --

      Launch disposition for launch configuration.

    • licensing (dict) --

      Launch configuration OS licensing.

      • osByol (boolean) --

        Configure BYOL OS licensing.

    • mapAutoTaggingMpeID (string) --

      Map auto tagging MPE ID.

    • name (string) --

      Launch configuration name.

    • postLaunchActions (dict) --

      Post Launch Actions to executed on the Test or Cutover instance.

      • cloudWatchLogGroupName (string) --

        AWS Systems Manager Command's CloudWatch log group name.

      • deployment (string) --

        Deployment type in which AWS Systems Manager Documents will be executed.

      • s3LogBucket (string) --

        AWS Systems Manager Command's logs S3 log bucket.

      • s3OutputKeyPrefix (string) --

        AWS Systems Manager Command's logs S3 output key prefix.

      • ssmDocuments (list) --

        AWS Systems Manager Documents.

        • (dict) --

          AWS Systems Manager Document.

          • actionName (string) --

            User-friendly name for the AWS Systems Manager Document.

          • mustSucceedForCutover (boolean) --

            If true, Cutover will not be enabled if the document has failed.

          • parameters (dict) --

            AWS Systems Manager Document parameters.

            • (string) --

              • (list) --

                • (dict) --

                  AWS Systems Manager Parameter Store parameter.

                  • parameterName (string) --

                    AWS Systems Manager Parameter Store parameter name.

                  • parameterType (string) --

                    AWS Systems Manager Parameter Store parameter type.

          • ssmDocumentName (string) --

            AWS Systems Manager Document name or full ARN.

          • timeoutSeconds (integer) --

            AWS Systems Manager Document timeout seconds.

    • sourceServerID (string) --

      Launch configuration Source Server ID.

    • targetInstanceTypeRightSizingMethod (string) --

      Launch configuration Target instance type right sizing method.

MarkAsArchived (updated) Link ¶
Changes (response)
{'applicationID': 'string'}

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.

See also: AWS API Documentation

Request Syntax

client.mark_as_archived(
    sourceServerID='string'
)
type sourceServerID:

string

param sourceServerID:

[REQUIRED]

Mark as archived by Source Server ID.

rtype:

dict

returns:

Response Syntax

{
    'applicationID': 'string',
    'arn': 'string',
    'dataReplicationInfo': {
        'dataReplicationError': {
            'error': 'AGENT_NOT_SEEN'|'SNAPSHOTS_FAILURE'|'NOT_CONVERGING'|'UNSTABLE_NETWORK'|'FAILED_TO_CREATE_SECURITY_GROUP'|'FAILED_TO_LAUNCH_REPLICATION_SERVER'|'FAILED_TO_BOOT_REPLICATION_SERVER'|'FAILED_TO_AUTHENTICATE_WITH_SERVICE'|'FAILED_TO_DOWNLOAD_REPLICATION_SOFTWARE'|'FAILED_TO_CREATE_STAGING_DISKS'|'FAILED_TO_ATTACH_STAGING_DISKS'|'FAILED_TO_PAIR_REPLICATION_SERVER_WITH_AGENT'|'FAILED_TO_CONNECT_AGENT_TO_REPLICATION_SERVER'|'FAILED_TO_START_DATA_TRANSFER'|'UNSUPPORTED_VM_CONFIGURATION'|'LAST_SNAPSHOT_JOB_FAILED',
            'rawError': 'string'
        },
        'dataReplicationInitiation': {
            'nextAttemptDateTime': 'string',
            'startDateTime': 'string',
            'steps': [
                {
                    'name': 'WAIT'|'CREATE_SECURITY_GROUP'|'LAUNCH_REPLICATION_SERVER'|'BOOT_REPLICATION_SERVER'|'AUTHENTICATE_WITH_SERVICE'|'DOWNLOAD_REPLICATION_SOFTWARE'|'CREATE_STAGING_DISKS'|'ATTACH_STAGING_DISKS'|'PAIR_REPLICATION_SERVER_WITH_AGENT'|'CONNECT_AGENT_TO_REPLICATION_SERVER'|'START_DATA_TRANSFER',
                    'status': 'NOT_STARTED'|'IN_PROGRESS'|'SUCCEEDED'|'FAILED'|'SKIPPED'
                },
            ]
        },
        'dataReplicationState': 'STOPPED'|'INITIATING'|'INITIAL_SYNC'|'BACKLOG'|'CREATING_SNAPSHOT'|'CONTINUOUS'|'PAUSED'|'RESCAN'|'STALLED'|'DISCONNECTED'|'PENDING_SNAPSHOT_SHIPPING'|'SHIPPING_SNAPSHOT',
        'etaDateTime': 'string',
        'lagDuration': 'string',
        'lastSnapshotDateTime': 'string',
        'replicatedDisks': [
            {
                'backloggedStorageBytes': 123,
                'deviceName': 'string',
                'replicatedStorageBytes': 123,
                'rescannedStorageBytes': 123,
                'totalStorageBytes': 123
            },
        ]
    },
    'isArchived': True|False,
    'launchedInstance': {
        'ec2InstanceID': 'string',
        'firstBoot': 'WAITING'|'SUCCEEDED'|'UNKNOWN'|'STOPPED',
        'jobID': 'string'
    },
    'lifeCycle': {
        'addedToServiceDateTime': 'string',
        'elapsedReplicationDuration': 'string',
        'firstByteDateTime': 'string',
        'lastCutover': {
            'finalized': {
                'apiCallDateTime': 'string'
            },
            'initiated': {
                'apiCallDateTime': 'string',
                'jobID': 'string'
            },
            'reverted': {
                'apiCallDateTime': 'string'
            }
        },
        'lastSeenByServiceDateTime': 'string',
        'lastTest': {
            'finalized': {
                'apiCallDateTime': 'string'
            },
            'initiated': {
                'apiCallDateTime': 'string',
                'jobID': 'string'
            },
            'reverted': {
                'apiCallDateTime': 'string'
            }
        },
        'state': 'STOPPED'|'NOT_READY'|'READY_FOR_TEST'|'TESTING'|'READY_FOR_CUTOVER'|'CUTTING_OVER'|'CUTOVER'|'DISCONNECTED'|'DISCOVERED'
    },
    'replicationType': 'AGENT_BASED'|'SNAPSHOT_SHIPPING',
    'sourceProperties': {
        'cpus': [
            {
                'cores': 123,
                'modelName': 'string'
            },
        ],
        'disks': [
            {
                'bytes': 123,
                'deviceName': 'string'
            },
        ],
        'identificationHints': {
            'awsInstanceID': 'string',
            'fqdn': 'string',
            'hostname': 'string',
            'vmPath': 'string',
            'vmWareUuid': 'string'
        },
        'lastUpdatedDateTime': 'string',
        'networkInterfaces': [
            {
                'ips': [
                    'string',
                ],
                'isPrimary': True|False,
                'macAddress': 'string'
            },
        ],
        'os': {
            'fullString': 'string'
        },
        'ramBytes': 123,
        'recommendedInstanceType': 'string'
    },
    'sourceServerID': 'string',
    'tags': {
        'string': 'string'
    },
    'vcenterClientID': 'string'
}

Response Structure

  • (dict) --

    • applicationID (string) --

      Source server application ID.

    • arn (string) --

      Source server ARN.

    • dataReplicationInfo (dict) --

      Source server data replication info.

      • dataReplicationError (dict) --

        Error in obtaining data replication info.

        • error (string) --

          Error in data replication.

        • rawError (string) --

          Error in data replication.

      • dataReplicationInitiation (dict) --

        Request to query whether data replication has been initiated.

        • nextAttemptDateTime (string) --

          Request to query next data initiation date and time.

        • startDateTime (string) --

          Request to query data initiation start date and time.

        • steps (list) --

          Request to query data initiation steps.

          • (dict) --

            Data replication initiation step.

            • name (string) --

              Request to query data initiation step name.

            • status (string) --

              Request to query data initiation status.

      • dataReplicationState (string) --

        Request to query the data replication state.

      • etaDateTime (string) --

        Request to query the time when data replication will be complete.

      • lagDuration (string) --

        Request to query data replication lag duration.

      • lastSnapshotDateTime (string) --

        Request to query data replication last snapshot time.

      • replicatedDisks (list) --

        Request to query disks replicated.

        • (dict) --

          Request to query disks replicated.

          • backloggedStorageBytes (integer) --

            Request to query data replication backlog size in bytes.

          • deviceName (string) --

            Request to query device name.

          • replicatedStorageBytes (integer) --

            Request to query amount of data replicated in bytes.

          • rescannedStorageBytes (integer) --

            Request to query amount of data rescanned in bytes.

          • totalStorageBytes (integer) --

            Request to query total amount of data replicated in bytes.

    • isArchived (boolean) --

      Source server archived status.

    • launchedInstance (dict) --

      Source server launched instance.

      • ec2InstanceID (string) --

        Launched instance EC2 ID.

      • firstBoot (string) --

        Launched instance first boot.

      • jobID (string) --

        Launched instance Job ID.

    • lifeCycle (dict) --

      Source server lifecycle state.

      • addedToServiceDateTime (string) --

        Lifecycle added to service data and time.

      • elapsedReplicationDuration (string) --

        Lifecycle elapsed time and duration.

      • firstByteDateTime (string) --

        Lifecycle replication initiation date and time.

      • lastCutover (dict) --

        Lifecycle last Cutover.

        • finalized (dict) --

          Lifecycle Cutover finalized date and time.

          • apiCallDateTime (string) --

            Lifecycle Cutover finalized date and time.

        • initiated (dict) --

          Lifecycle last Cutover initiated.

          • apiCallDateTime (string) --

          • jobID (string) --

            Lifecycle last Cutover initiated by Job ID.

        • reverted (dict) --

          Lifecycle last Cutover reverted.

          • apiCallDateTime (string) --

            Lifecycle last Cutover reverted API call date time.

      • lastSeenByServiceDateTime (string) --

        Lifecycle last seen date and time.

      • lastTest (dict) --

        Lifecycle last Test.

        • finalized (dict) --

          Lifecycle last Test finalized.

          • apiCallDateTime (string) --

            Lifecycle Test failed API call date and time.

        • initiated (dict) --

          Lifecycle last Test initiated.

          • apiCallDateTime (string) --

            Lifecycle last Test initiated API call date and time.

          • jobID (string) --

            Lifecycle last Test initiated Job ID.

        • reverted (dict) --

          Lifecycle last Test reverted.

          • apiCallDateTime (string) --

            Lifecycle last Test reverted API call date and time.

      • state (string) --

        Lifecycle state.

    • replicationType (string) --

      Source server replication type.

    • sourceProperties (dict) --

      Source server properties.

      • cpus (list) --

        Source Server CPUs.

        • (dict) --

          Source server CPU information.

          • cores (integer) --

            The number of CPU cores on the source server.

          • modelName (string) --

            The source server's CPU model name.

      • disks (list) --

        Source Server disks.

        • (dict) --

          The disk identifier.

          • bytes (integer) --

            The amount of storage on the disk in bytes.

          • deviceName (string) --

            The disk or device name.

      • identificationHints (dict) --

        Source server identification hints.

        • awsInstanceID (string) --

          AWS Instance ID identification hint.

        • fqdn (string) --

          FQDN address identification hint.

        • hostname (string) --

          Hostname identification hint.

        • vmPath (string) --

          vCenter VM path identification hint.

        • vmWareUuid (string) --

          vmWare UUID identification hint.

      • lastUpdatedDateTime (string) --

        Source server last update date and time.

      • networkInterfaces (list) --

        Source server network interfaces.

        • (dict) --

          Network interface.

          • ips (list) --

            Network interface IPs.

            • (string) --

          • isPrimary (boolean) --

            Network interface primary IP.

          • macAddress (string) --

            Network interface Mac address.

      • os (dict) --

        Source server OS.

        • fullString (string) --

          OS full string.

      • ramBytes (integer) --

        Source server RAM in bytes.

      • recommendedInstanceType (string) --

        Source server recommended instance type.

    • sourceServerID (string) --

      Source server ID.

    • tags (dict) --

      Source server Tags.

      • (string) --

        • (string) --

    • vcenterClientID (string) --

      Source server vCenter client id.

RetryDataReplication (updated) Link ¶
Changes (response)
{'applicationID': 'string'}

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.

See also: AWS API Documentation

Request Syntax

client.retry_data_replication(
    sourceServerID='string'
)
type sourceServerID:

string

param sourceServerID:

[REQUIRED]

Retry data replication for Source Server ID.

rtype:

dict

returns:

Response Syntax

{
    'applicationID': 'string',
    'arn': 'string',
    'dataReplicationInfo': {
        'dataReplicationError': {
            'error': 'AGENT_NOT_SEEN'|'SNAPSHOTS_FAILURE'|'NOT_CONVERGING'|'UNSTABLE_NETWORK'|'FAILED_TO_CREATE_SECURITY_GROUP'|'FAILED_TO_LAUNCH_REPLICATION_SERVER'|'FAILED_TO_BOOT_REPLICATION_SERVER'|'FAILED_TO_AUTHENTICATE_WITH_SERVICE'|'FAILED_TO_DOWNLOAD_REPLICATION_SOFTWARE'|'FAILED_TO_CREATE_STAGING_DISKS'|'FAILED_TO_ATTACH_STAGING_DISKS'|'FAILED_TO_PAIR_REPLICATION_SERVER_WITH_AGENT'|'FAILED_TO_CONNECT_AGENT_TO_REPLICATION_SERVER'|'FAILED_TO_START_DATA_TRANSFER'|'UNSUPPORTED_VM_CONFIGURATION'|'LAST_SNAPSHOT_JOB_FAILED',
            'rawError': 'string'
        },
        'dataReplicationInitiation': {
            'nextAttemptDateTime': 'string',
            'startDateTime': 'string',
            'steps': [
                {
                    'name': 'WAIT'|'CREATE_SECURITY_GROUP'|'LAUNCH_REPLICATION_SERVER'|'BOOT_REPLICATION_SERVER'|'AUTHENTICATE_WITH_SERVICE'|'DOWNLOAD_REPLICATION_SOFTWARE'|'CREATE_STAGING_DISKS'|'ATTACH_STAGING_DISKS'|'PAIR_REPLICATION_SERVER_WITH_AGENT'|'CONNECT_AGENT_TO_REPLICATION_SERVER'|'START_DATA_TRANSFER',
                    'status': 'NOT_STARTED'|'IN_PROGRESS'|'SUCCEEDED'|'FAILED'|'SKIPPED'
                },
            ]
        },
        'dataReplicationState': 'STOPPED'|'INITIATING'|'INITIAL_SYNC'|'BACKLOG'|'CREATING_SNAPSHOT'|'CONTINUOUS'|'PAUSED'|'RESCAN'|'STALLED'|'DISCONNECTED'|'PENDING_SNAPSHOT_SHIPPING'|'SHIPPING_SNAPSHOT',
        'etaDateTime': 'string',
        'lagDuration': 'string',
        'lastSnapshotDateTime': 'string',
        'replicatedDisks': [
            {
                'backloggedStorageBytes': 123,
                'deviceName': 'string',
                'replicatedStorageBytes': 123,
                'rescannedStorageBytes': 123,
                'totalStorageBytes': 123
            },
        ]
    },
    'isArchived': True|False,
    'launchedInstance': {
        'ec2InstanceID': 'string',
        'firstBoot': 'WAITING'|'SUCCEEDED'|'UNKNOWN'|'STOPPED',
        'jobID': 'string'
    },
    'lifeCycle': {
        'addedToServiceDateTime': 'string',
        'elapsedReplicationDuration': 'string',
        'firstByteDateTime': 'string',
        'lastCutover': {
            'finalized': {
                'apiCallDateTime': 'string'
            },
            'initiated': {
                'apiCallDateTime': 'string',
                'jobID': 'string'
            },
            'reverted': {
                'apiCallDateTime': 'string'
            }
        },
        'lastSeenByServiceDateTime': 'string',
        'lastTest': {
            'finalized': {
                'apiCallDateTime': 'string'
            },
            'initiated': {
                'apiCallDateTime': 'string',
                'jobID': 'string'
            },
            'reverted': {
                'apiCallDateTime': 'string'
            }
        },
        'state': 'STOPPED'|'NOT_READY'|'READY_FOR_TEST'|'TESTING'|'READY_FOR_CUTOVER'|'CUTTING_OVER'|'CUTOVER'|'DISCONNECTED'|'DISCOVERED'
    },
    'replicationType': 'AGENT_BASED'|'SNAPSHOT_SHIPPING',
    'sourceProperties': {
        'cpus': [
            {
                'cores': 123,
                'modelName': 'string'
            },
        ],
        'disks': [
            {
                'bytes': 123,
                'deviceName': 'string'
            },
        ],
        'identificationHints': {
            'awsInstanceID': 'string',
            'fqdn': 'string',
            'hostname': 'string',
            'vmPath': 'string',
            'vmWareUuid': 'string'
        },
        'lastUpdatedDateTime': 'string',
        'networkInterfaces': [
            {
                'ips': [
                    'string',
                ],
                'isPrimary': True|False,
                'macAddress': 'string'
            },
        ],
        'os': {
            'fullString': 'string'
        },
        'ramBytes': 123,
        'recommendedInstanceType': 'string'
    },
    'sourceServerID': 'string',
    'tags': {
        'string': 'string'
    },
    'vcenterClientID': 'string'
}

Response Structure

  • (dict) --

    • applicationID (string) --

      Source server application ID.

    • arn (string) --

      Source server ARN.

    • dataReplicationInfo (dict) --

      Source server data replication info.

      • dataReplicationError (dict) --

        Error in obtaining data replication info.

        • error (string) --

          Error in data replication.

        • rawError (string) --

          Error in data replication.

      • dataReplicationInitiation (dict) --

        Request to query whether data replication has been initiated.

        • nextAttemptDateTime (string) --

          Request to query next data initiation date and time.

        • startDateTime (string) --

          Request to query data initiation start date and time.

        • steps (list) --

          Request to query data initiation steps.

          • (dict) --

            Data replication initiation step.

            • name (string) --

              Request to query data initiation step name.

            • status (string) --

              Request to query data initiation status.

      • dataReplicationState (string) --

        Request to query the data replication state.

      • etaDateTime (string) --

        Request to query the time when data replication will be complete.

      • lagDuration (string) --

        Request to query data replication lag duration.

      • lastSnapshotDateTime (string) --

        Request to query data replication last snapshot time.

      • replicatedDisks (list) --

        Request to query disks replicated.

        • (dict) --

          Request to query disks replicated.

          • backloggedStorageBytes (integer) --

            Request to query data replication backlog size in bytes.

          • deviceName (string) --

            Request to query device name.

          • replicatedStorageBytes (integer) --

            Request to query amount of data replicated in bytes.

          • rescannedStorageBytes (integer) --

            Request to query amount of data rescanned in bytes.

          • totalStorageBytes (integer) --

            Request to query total amount of data replicated in bytes.

    • isArchived (boolean) --

      Source server archived status.

    • launchedInstance (dict) --

      Source server launched instance.

      • ec2InstanceID (string) --

        Launched instance EC2 ID.

      • firstBoot (string) --

        Launched instance first boot.

      • jobID (string) --

        Launched instance Job ID.

    • lifeCycle (dict) --

      Source server lifecycle state.

      • addedToServiceDateTime (string) --

        Lifecycle added to service data and time.

      • elapsedReplicationDuration (string) --

        Lifecycle elapsed time and duration.

      • firstByteDateTime (string) --

        Lifecycle replication initiation date and time.

      • lastCutover (dict) --

        Lifecycle last Cutover.

        • finalized (dict) --

          Lifecycle Cutover finalized date and time.

          • apiCallDateTime (string) --

            Lifecycle Cutover finalized date and time.

        • initiated (dict) --

          Lifecycle last Cutover initiated.

          • apiCallDateTime (string) --

          • jobID (string) --

            Lifecycle last Cutover initiated by Job ID.

        • reverted (dict) --

          Lifecycle last Cutover reverted.

          • apiCallDateTime (string) --

            Lifecycle last Cutover reverted API call date time.

      • lastSeenByServiceDateTime (string) --

        Lifecycle last seen date and time.

      • lastTest (dict) --

        Lifecycle last Test.

        • finalized (dict) --

          Lifecycle last Test finalized.

          • apiCallDateTime (string) --

            Lifecycle Test failed API call date and time.

        • initiated (dict) --

          Lifecycle last Test initiated.

          • apiCallDateTime (string) --

            Lifecycle last Test initiated API call date and time.

          • jobID (string) --

            Lifecycle last Test initiated Job ID.

        • reverted (dict) --

          Lifecycle last Test reverted.

          • apiCallDateTime (string) --

            Lifecycle last Test reverted API call date and time.

      • state (string) --

        Lifecycle state.

    • replicationType (string) --

      Source server replication type.

    • sourceProperties (dict) --

      Source server properties.

      • cpus (list) --

        Source Server CPUs.

        • (dict) --

          Source server CPU information.

          • cores (integer) --

            The number of CPU cores on the source server.

          • modelName (string) --

            The source server's CPU model name.

      • disks (list) --

        Source Server disks.

        • (dict) --

          The disk identifier.

          • bytes (integer) --

            The amount of storage on the disk in bytes.

          • deviceName (string) --

            The disk or device name.

      • identificationHints (dict) --

        Source server identification hints.

        • awsInstanceID (string) --

          AWS Instance ID identification hint.

        • fqdn (string) --

          FQDN address identification hint.

        • hostname (string) --

          Hostname identification hint.

        • vmPath (string) --

          vCenter VM path identification hint.

        • vmWareUuid (string) --

          vmWare UUID identification hint.

      • lastUpdatedDateTime (string) --

        Source server last update date and time.

      • networkInterfaces (list) --

        Source server network interfaces.

        • (dict) --

          Network interface.

          • ips (list) --

            Network interface IPs.

            • (string) --

          • isPrimary (boolean) --

            Network interface primary IP.

          • macAddress (string) --

            Network interface Mac address.

      • os (dict) --

        Source server OS.

        • fullString (string) --

          OS full string.

      • ramBytes (integer) --

        Source server RAM in bytes.

      • recommendedInstanceType (string) --

        Source server recommended instance type.

    • sourceServerID (string) --

      Source server ID.

    • tags (dict) --

      Source server Tags.

      • (string) --

        • (string) --

    • vcenterClientID (string) --

      Source server vCenter client id.

StartReplication (updated) Link ¶
Changes (response)
{'applicationID': 'string'}

Starts replication for SNAPSHOT_SHIPPING agents.

See also: AWS API Documentation

Request Syntax

client.start_replication(
    sourceServerID='string'
)
type sourceServerID:

string

param sourceServerID:

[REQUIRED]

ID of source server on which to start replication.

rtype:

dict

returns:

Response Syntax

{
    'applicationID': 'string',
    'arn': 'string',
    'dataReplicationInfo': {
        'dataReplicationError': {
            'error': 'AGENT_NOT_SEEN'|'SNAPSHOTS_FAILURE'|'NOT_CONVERGING'|'UNSTABLE_NETWORK'|'FAILED_TO_CREATE_SECURITY_GROUP'|'FAILED_TO_LAUNCH_REPLICATION_SERVER'|'FAILED_TO_BOOT_REPLICATION_SERVER'|'FAILED_TO_AUTHENTICATE_WITH_SERVICE'|'FAILED_TO_DOWNLOAD_REPLICATION_SOFTWARE'|'FAILED_TO_CREATE_STAGING_DISKS'|'FAILED_TO_ATTACH_STAGING_DISKS'|'FAILED_TO_PAIR_REPLICATION_SERVER_WITH_AGENT'|'FAILED_TO_CONNECT_AGENT_TO_REPLICATION_SERVER'|'FAILED_TO_START_DATA_TRANSFER'|'UNSUPPORTED_VM_CONFIGURATION'|'LAST_SNAPSHOT_JOB_FAILED',
            'rawError': 'string'
        },
        'dataReplicationInitiation': {
            'nextAttemptDateTime': 'string',
            'startDateTime': 'string',
            'steps': [
                {
                    'name': 'WAIT'|'CREATE_SECURITY_GROUP'|'LAUNCH_REPLICATION_SERVER'|'BOOT_REPLICATION_SERVER'|'AUTHENTICATE_WITH_SERVICE'|'DOWNLOAD_REPLICATION_SOFTWARE'|'CREATE_STAGING_DISKS'|'ATTACH_STAGING_DISKS'|'PAIR_REPLICATION_SERVER_WITH_AGENT'|'CONNECT_AGENT_TO_REPLICATION_SERVER'|'START_DATA_TRANSFER',
                    'status': 'NOT_STARTED'|'IN_PROGRESS'|'SUCCEEDED'|'FAILED'|'SKIPPED'
                },
            ]
        },
        'dataReplicationState': 'STOPPED'|'INITIATING'|'INITIAL_SYNC'|'BACKLOG'|'CREATING_SNAPSHOT'|'CONTINUOUS'|'PAUSED'|'RESCAN'|'STALLED'|'DISCONNECTED'|'PENDING_SNAPSHOT_SHIPPING'|'SHIPPING_SNAPSHOT',
        'etaDateTime': 'string',
        'lagDuration': 'string',
        'lastSnapshotDateTime': 'string',
        'replicatedDisks': [
            {
                'backloggedStorageBytes': 123,
                'deviceName': 'string',
                'replicatedStorageBytes': 123,
                'rescannedStorageBytes': 123,
                'totalStorageBytes': 123
            },
        ]
    },
    'isArchived': True|False,
    'launchedInstance': {
        'ec2InstanceID': 'string',
        'firstBoot': 'WAITING'|'SUCCEEDED'|'UNKNOWN'|'STOPPED',
        'jobID': 'string'
    },
    'lifeCycle': {
        'addedToServiceDateTime': 'string',
        'elapsedReplicationDuration': 'string',
        'firstByteDateTime': 'string',
        'lastCutover': {
            'finalized': {
                'apiCallDateTime': 'string'
            },
            'initiated': {
                'apiCallDateTime': 'string',
                'jobID': 'string'
            },
            'reverted': {
                'apiCallDateTime': 'string'
            }
        },
        'lastSeenByServiceDateTime': 'string',
        'lastTest': {
            'finalized': {
                'apiCallDateTime': 'string'
            },
            'initiated': {
                'apiCallDateTime': 'string',
                'jobID': 'string'
            },
            'reverted': {
                'apiCallDateTime': 'string'
            }
        },
        'state': 'STOPPED'|'NOT_READY'|'READY_FOR_TEST'|'TESTING'|'READY_FOR_CUTOVER'|'CUTTING_OVER'|'CUTOVER'|'DISCONNECTED'|'DISCOVERED'
    },
    'replicationType': 'AGENT_BASED'|'SNAPSHOT_SHIPPING',
    'sourceProperties': {
        'cpus': [
            {
                'cores': 123,
                'modelName': 'string'
            },
        ],
        'disks': [
            {
                'bytes': 123,
                'deviceName': 'string'
            },
        ],
        'identificationHints': {
            'awsInstanceID': 'string',
            'fqdn': 'string',
            'hostname': 'string',
            'vmPath': 'string',
            'vmWareUuid': 'string'
        },
        'lastUpdatedDateTime': 'string',
        'networkInterfaces': [
            {
                'ips': [
                    'string',
                ],
                'isPrimary': True|False,
                'macAddress': 'string'
            },
        ],
        'os': {
            'fullString': 'string'
        },
        'ramBytes': 123,
        'recommendedInstanceType': 'string'
    },
    'sourceServerID': 'string',
    'tags': {
        'string': 'string'
    },
    'vcenterClientID': 'string'
}

Response Structure

  • (dict) --

    • applicationID (string) --

      Source server application ID.

    • arn (string) --

      Source server ARN.

    • dataReplicationInfo (dict) --

      Source server data replication info.

      • dataReplicationError (dict) --

        Error in obtaining data replication info.

        • error (string) --

          Error in data replication.

        • rawError (string) --

          Error in data replication.

      • dataReplicationInitiation (dict) --

        Request to query whether data replication has been initiated.

        • nextAttemptDateTime (string) --

          Request to query next data initiation date and time.

        • startDateTime (string) --

          Request to query data initiation start date and time.

        • steps (list) --

          Request to query data initiation steps.

          • (dict) --

            Data replication initiation step.

            • name (string) --

              Request to query data initiation step name.

            • status (string) --

              Request to query data initiation status.

      • dataReplicationState (string) --

        Request to query the data replication state.

      • etaDateTime (string) --

        Request to query the time when data replication will be complete.

      • lagDuration (string) --

        Request to query data replication lag duration.

      • lastSnapshotDateTime (string) --

        Request to query data replication last snapshot time.

      • replicatedDisks (list) --

        Request to query disks replicated.

        • (dict) --

          Request to query disks replicated.

          • backloggedStorageBytes (integer) --

            Request to query data replication backlog size in bytes.

          • deviceName (string) --

            Request to query device name.

          • replicatedStorageBytes (integer) --

            Request to query amount of data replicated in bytes.

          • rescannedStorageBytes (integer) --

            Request to query amount of data rescanned in bytes.

          • totalStorageBytes (integer) --

            Request to query total amount of data replicated in bytes.

    • isArchived (boolean) --

      Source server archived status.

    • launchedInstance (dict) --

      Source server launched instance.

      • ec2InstanceID (string) --

        Launched instance EC2 ID.

      • firstBoot (string) --

        Launched instance first boot.

      • jobID (string) --

        Launched instance Job ID.

    • lifeCycle (dict) --

      Source server lifecycle state.

      • addedToServiceDateTime (string) --

        Lifecycle added to service data and time.

      • elapsedReplicationDuration (string) --

        Lifecycle elapsed time and duration.

      • firstByteDateTime (string) --

        Lifecycle replication initiation date and time.

      • lastCutover (dict) --

        Lifecycle last Cutover.

        • finalized (dict) --

          Lifecycle Cutover finalized date and time.

          • apiCallDateTime (string) --

            Lifecycle Cutover finalized date and time.

        • initiated (dict) --

          Lifecycle last Cutover initiated.

          • apiCallDateTime (string) --

          • jobID (string) --

            Lifecycle last Cutover initiated by Job ID.

        • reverted (dict) --

          Lifecycle last Cutover reverted.

          • apiCallDateTime (string) --

            Lifecycle last Cutover reverted API call date time.

      • lastSeenByServiceDateTime (string) --

        Lifecycle last seen date and time.

      • lastTest (dict) --

        Lifecycle last Test.

        • finalized (dict) --

          Lifecycle last Test finalized.

          • apiCallDateTime (string) --

            Lifecycle Test failed API call date and time.

        • initiated (dict) --

          Lifecycle last Test initiated.

          • apiCallDateTime (string) --

            Lifecycle last Test initiated API call date and time.

          • jobID (string) --

            Lifecycle last Test initiated Job ID.

        • reverted (dict) --

          Lifecycle last Test reverted.

          • apiCallDateTime (string) --

            Lifecycle last Test reverted API call date and time.

      • state (string) --

        Lifecycle state.

    • replicationType (string) --

      Source server replication type.

    • sourceProperties (dict) --

      Source server properties.

      • cpus (list) --

        Source Server CPUs.

        • (dict) --

          Source server CPU information.

          • cores (integer) --

            The number of CPU cores on the source server.

          • modelName (string) --

            The source server's CPU model name.

      • disks (list) --

        Source Server disks.

        • (dict) --

          The disk identifier.

          • bytes (integer) --

            The amount of storage on the disk in bytes.

          • deviceName (string) --

            The disk or device name.

      • identificationHints (dict) --

        Source server identification hints.

        • awsInstanceID (string) --

          AWS Instance ID identification hint.

        • fqdn (string) --

          FQDN address identification hint.

        • hostname (string) --

          Hostname identification hint.

        • vmPath (string) --

          vCenter VM path identification hint.

        • vmWareUuid (string) --

          vmWare UUID identification hint.

      • lastUpdatedDateTime (string) --

        Source server last update date and time.

      • networkInterfaces (list) --

        Source server network interfaces.

        • (dict) --

          Network interface.

          • ips (list) --

            Network interface IPs.

            • (string) --

          • isPrimary (boolean) --

            Network interface primary IP.

          • macAddress (string) --

            Network interface Mac address.

      • os (dict) --

        Source server OS.

        • fullString (string) --

          OS full string.

      • ramBytes (integer) --

        Source server RAM in bytes.

      • recommendedInstanceType (string) --

        Source server recommended instance type.

    • sourceServerID (string) --

      Source server ID.

    • tags (dict) --

      Source server Tags.

      • (string) --

        • (string) --

    • vcenterClientID (string) --

      Source server vCenter client id.

UpdateLaunchConfiguration (updated) Link ¶
Changes (both)
{'enableMapAutoTagging': 'boolean',
 'mapAutoTaggingMpeID': 'string',
 'postLaunchActions': {'deployment': {'TEST_ONLY'}}}

Updates multiple LaunchConfigurations by Source Server ID.

See also: AWS API Documentation

Request Syntax

client.update_launch_configuration(
    bootMode='LEGACY_BIOS'|'UEFI',
    copyPrivateIp=True|False,
    copyTags=True|False,
    enableMapAutoTagging=True|False,
    launchDisposition='STOPPED'|'STARTED',
    licensing={
        'osByol': True|False
    },
    mapAutoTaggingMpeID='string',
    name='string',
    postLaunchActions={
        'cloudWatchLogGroupName': 'string',
        'deployment': 'TEST_AND_CUTOVER'|'CUTOVER_ONLY'|'TEST_ONLY',
        's3LogBucket': 'string',
        's3OutputKeyPrefix': 'string',
        'ssmDocuments': [
            {
                'actionName': 'string',
                'mustSucceedForCutover': True|False,
                'parameters': {
                    'string': [
                        {
                            'parameterName': 'string',
                            'parameterType': 'STRING'
                        },
                    ]
                },
                'ssmDocumentName': 'string',
                'timeoutSeconds': 123
            },
        ]
    },
    sourceServerID='string',
    targetInstanceTypeRightSizingMethod='NONE'|'BASIC'
)
type bootMode:

string

param bootMode:

Update Launch configuration boot mode request.

type copyPrivateIp:

boolean

param copyPrivateIp:

Update Launch configuration copy Private IP request.

type copyTags:

boolean

param copyTags:

Update Launch configuration copy Tags request.

type enableMapAutoTagging:

boolean

param enableMapAutoTagging:

Enable map auto tagging.

type launchDisposition:

string

param launchDisposition:

Update Launch configuration launch disposition request.

type licensing:

dict

param licensing:

Update Launch configuration licensing request.

  • osByol (boolean) --

    Configure BYOL OS licensing.

type mapAutoTaggingMpeID:

string

param mapAutoTaggingMpeID:

Launch configuration map auto tagging MPE ID.

type name:

string

param name:

Update Launch configuration name request.

type postLaunchActions:

dict

param postLaunchActions:

Post Launch Actions to executed on the Test or Cutover instance.

  • cloudWatchLogGroupName (string) --

    AWS Systems Manager Command's CloudWatch log group name.

  • deployment (string) --

    Deployment type in which AWS Systems Manager Documents will be executed.

  • s3LogBucket (string) --

    AWS Systems Manager Command's logs S3 log bucket.

  • s3OutputKeyPrefix (string) --

    AWS Systems Manager Command's logs S3 output key prefix.

  • ssmDocuments (list) --

    AWS Systems Manager Documents.

    • (dict) --

      AWS Systems Manager Document.

      • actionName (string) -- [REQUIRED]

        User-friendly name for the AWS Systems Manager Document.

      • mustSucceedForCutover (boolean) --

        If true, Cutover will not be enabled if the document has failed.

      • parameters (dict) --

        AWS Systems Manager Document parameters.

        • (string) --

          • (list) --

            • (dict) --

              AWS Systems Manager Parameter Store parameter.

              • parameterName (string) -- [REQUIRED]

                AWS Systems Manager Parameter Store parameter name.

              • parameterType (string) -- [REQUIRED]

                AWS Systems Manager Parameter Store parameter type.

      • ssmDocumentName (string) -- [REQUIRED]

        AWS Systems Manager Document name or full ARN.

      • timeoutSeconds (integer) --

        AWS Systems Manager Document timeout seconds.

type sourceServerID:

string

param sourceServerID:

[REQUIRED]

Update Launch configuration by Source Server ID request.

type targetInstanceTypeRightSizingMethod:

string

param targetInstanceTypeRightSizingMethod:

Update Launch configuration Target instance right sizing request.

rtype:

dict

returns:

Response Syntax

{
    'bootMode': 'LEGACY_BIOS'|'UEFI',
    'copyPrivateIp': True|False,
    'copyTags': True|False,
    'ec2LaunchTemplateID': 'string',
    'enableMapAutoTagging': True|False,
    'launchDisposition': 'STOPPED'|'STARTED',
    'licensing': {
        'osByol': True|False
    },
    'mapAutoTaggingMpeID': 'string',
    'name': 'string',
    'postLaunchActions': {
        'cloudWatchLogGroupName': 'string',
        'deployment': 'TEST_AND_CUTOVER'|'CUTOVER_ONLY'|'TEST_ONLY',
        's3LogBucket': 'string',
        's3OutputKeyPrefix': 'string',
        'ssmDocuments': [
            {
                'actionName': 'string',
                'mustSucceedForCutover': True|False,
                'parameters': {
                    'string': [
                        {
                            'parameterName': 'string',
                            'parameterType': 'STRING'
                        },
                    ]
                },
                'ssmDocumentName': 'string',
                'timeoutSeconds': 123
            },
        ]
    },
    'sourceServerID': 'string',
    'targetInstanceTypeRightSizingMethod': 'NONE'|'BASIC'
}

Response Structure

  • (dict) --

    • bootMode (string) --

      Launch configuration boot mode.

    • copyPrivateIp (boolean) --

      Copy Private IP during Launch Configuration.

    • copyTags (boolean) --

      Copy Tags during Launch Configuration.

    • ec2LaunchTemplateID (string) --

      Launch configuration EC2 Launch template ID.

    • enableMapAutoTagging (boolean) --

      Enable map auto tagging.

    • launchDisposition (string) --

      Launch disposition for launch configuration.

    • licensing (dict) --

      Launch configuration OS licensing.

      • osByol (boolean) --

        Configure BYOL OS licensing.

    • mapAutoTaggingMpeID (string) --

      Map auto tagging MPE ID.

    • name (string) --

      Launch configuration name.

    • postLaunchActions (dict) --

      Post Launch Actions to executed on the Test or Cutover instance.

      • cloudWatchLogGroupName (string) --

        AWS Systems Manager Command's CloudWatch log group name.

      • deployment (string) --

        Deployment type in which AWS Systems Manager Documents will be executed.

      • s3LogBucket (string) --

        AWS Systems Manager Command's logs S3 log bucket.

      • s3OutputKeyPrefix (string) --

        AWS Systems Manager Command's logs S3 output key prefix.

      • ssmDocuments (list) --

        AWS Systems Manager Documents.

        • (dict) --

          AWS Systems Manager Document.

          • actionName (string) --

            User-friendly name for the AWS Systems Manager Document.

          • mustSucceedForCutover (boolean) --

            If true, Cutover will not be enabled if the document has failed.

          • parameters (dict) --

            AWS Systems Manager Document parameters.

            • (string) --

              • (list) --

                • (dict) --

                  AWS Systems Manager Parameter Store parameter.

                  • parameterName (string) --

                    AWS Systems Manager Parameter Store parameter name.

                  • parameterType (string) --

                    AWS Systems Manager Parameter Store parameter type.

          • ssmDocumentName (string) --

            AWS Systems Manager Document name or full ARN.

          • timeoutSeconds (integer) --

            AWS Systems Manager Document timeout seconds.

    • sourceServerID (string) --

      Launch configuration Source Server ID.

    • targetInstanceTypeRightSizingMethod (string) --

      Launch configuration Target instance type right sizing method.

UpdateLaunchConfigurationTemplate (updated) Link ¶
Changes (request, response)
Request
{'associatePublicIpAddress': 'boolean',
 'bootMode': 'LEGACY_BIOS | UEFI',
 'copyPrivateIp': 'boolean',
 'copyTags': 'boolean',
 'enableMapAutoTagging': 'boolean',
 'largeVolumeConf': {'iops': 'long',
                     'throughput': 'long',
                     'volumeType': 'io1 | io2 | gp3 | gp2 | st1 | sc1 | '
                                   'standard'},
 'launchDisposition': 'STOPPED | STARTED',
 'licensing': {'osByol': 'boolean'},
 'mapAutoTaggingMpeID': 'string',
 'postLaunchActions': {'deployment': {'TEST_ONLY'}},
 'smallVolumeConf': {'iops': 'long',
                     'throughput': 'long',
                     'volumeType': 'io1 | io2 | gp3 | gp2 | st1 | sc1 | '
                                   'standard'},
 'smallVolumeMaxSize': 'long',
 'targetInstanceTypeRightSizingMethod': 'NONE | BASIC'}
Response
{'associatePublicIpAddress': 'boolean',
 'bootMode': 'LEGACY_BIOS | UEFI',
 'copyPrivateIp': 'boolean',
 'copyTags': 'boolean',
 'ec2LaunchTemplateID': 'string',
 'enableMapAutoTagging': 'boolean',
 'largeVolumeConf': {'iops': 'long',
                     'throughput': 'long',
                     'volumeType': 'io1 | io2 | gp3 | gp2 | st1 | sc1 | '
                                   'standard'},
 'launchDisposition': 'STOPPED | STARTED',
 'licensing': {'osByol': 'boolean'},
 'mapAutoTaggingMpeID': 'string',
 'postLaunchActions': {'deployment': {'TEST_ONLY'}},
 'smallVolumeConf': {'iops': 'long',
                     'throughput': 'long',
                     'volumeType': 'io1 | io2 | gp3 | gp2 | st1 | sc1 | '
                                   'standard'},
 'smallVolumeMaxSize': 'long',
 'targetInstanceTypeRightSizingMethod': 'NONE | BASIC'}

Updates an existing Launch Configuration Template by ID.

See also: AWS API Documentation

Request Syntax

client.update_launch_configuration_template(
    associatePublicIpAddress=True|False,
    bootMode='LEGACY_BIOS'|'UEFI',
    copyPrivateIp=True|False,
    copyTags=True|False,
    enableMapAutoTagging=True|False,
    largeVolumeConf={
        'iops': 123,
        'throughput': 123,
        'volumeType': 'io1'|'io2'|'gp3'|'gp2'|'st1'|'sc1'|'standard'
    },
    launchConfigurationTemplateID='string',
    launchDisposition='STOPPED'|'STARTED',
    licensing={
        'osByol': True|False
    },
    mapAutoTaggingMpeID='string',
    postLaunchActions={
        'cloudWatchLogGroupName': 'string',
        'deployment': 'TEST_AND_CUTOVER'|'CUTOVER_ONLY'|'TEST_ONLY',
        's3LogBucket': 'string',
        's3OutputKeyPrefix': 'string',
        'ssmDocuments': [
            {
                'actionName': 'string',
                'mustSucceedForCutover': True|False,
                'parameters': {
                    'string': [
                        {
                            'parameterName': 'string',
                            'parameterType': 'STRING'
                        },
                    ]
                },
                'ssmDocumentName': 'string',
                'timeoutSeconds': 123
            },
        ]
    },
    smallVolumeConf={
        'iops': 123,
        'throughput': 123,
        'volumeType': 'io1'|'io2'|'gp3'|'gp2'|'st1'|'sc1'|'standard'
    },
    smallVolumeMaxSize=123,
    targetInstanceTypeRightSizingMethod='NONE'|'BASIC'
)
type associatePublicIpAddress:

boolean

param associatePublicIpAddress:

Associate public Ip address.

type bootMode:

string

param bootMode:

Launch configuration template boot mode.

type copyPrivateIp:

boolean

param copyPrivateIp:

Copy private Ip.

type copyTags:

boolean

param copyTags:

Copy tags.

type enableMapAutoTagging:

boolean

param enableMapAutoTagging:

Enable map auto tagging.

type largeVolumeConf:

dict

param largeVolumeConf:

Large volume config.

  • iops (integer) --

    Launch template disk iops configuration.

  • throughput (integer) --

    Launch template disk throughput configuration.

  • volumeType (string) --

    Launch template disk volume type configuration.

type launchConfigurationTemplateID:

string

param launchConfigurationTemplateID:

[REQUIRED]

Launch Configuration Template ID.

type launchDisposition:

string

param launchDisposition:

Launch disposition.

type licensing:

dict

param licensing:

Configure Licensing.

  • osByol (boolean) --

    Configure BYOL OS licensing.

type mapAutoTaggingMpeID:

string

param mapAutoTaggingMpeID:

Launch configuration template map auto tagging MPE ID.

type postLaunchActions:

dict

param postLaunchActions:

Post Launch Action to execute on the Test or Cutover instance.

  • cloudWatchLogGroupName (string) --

    AWS Systems Manager Command's CloudWatch log group name.

  • deployment (string) --

    Deployment type in which AWS Systems Manager Documents will be executed.

  • s3LogBucket (string) --

    AWS Systems Manager Command's logs S3 log bucket.

  • s3OutputKeyPrefix (string) --

    AWS Systems Manager Command's logs S3 output key prefix.

  • ssmDocuments (list) --

    AWS Systems Manager Documents.

    • (dict) --

      AWS Systems Manager Document.

      • actionName (string) -- [REQUIRED]

        User-friendly name for the AWS Systems Manager Document.

      • mustSucceedForCutover (boolean) --

        If true, Cutover will not be enabled if the document has failed.

      • parameters (dict) --

        AWS Systems Manager Document parameters.

        • (string) --

          • (list) --

            • (dict) --

              AWS Systems Manager Parameter Store parameter.

              • parameterName (string) -- [REQUIRED]

                AWS Systems Manager Parameter Store parameter name.

              • parameterType (string) -- [REQUIRED]

                AWS Systems Manager Parameter Store parameter type.

      • ssmDocumentName (string) -- [REQUIRED]

        AWS Systems Manager Document name or full ARN.

      • timeoutSeconds (integer) --

        AWS Systems Manager Document timeout seconds.

type smallVolumeConf:

dict

param smallVolumeConf:

Small volume config.

  • iops (integer) --

    Launch template disk iops configuration.

  • throughput (integer) --

    Launch template disk throughput configuration.

  • volumeType (string) --

    Launch template disk volume type configuration.

type smallVolumeMaxSize:

integer

param smallVolumeMaxSize:

Small volume maximum size.

type targetInstanceTypeRightSizingMethod:

string

param targetInstanceTypeRightSizingMethod:

Target instance type right-sizing method.

rtype:

dict

returns:

Response Syntax

{
    'arn': 'string',
    'associatePublicIpAddress': True|False,
    'bootMode': 'LEGACY_BIOS'|'UEFI',
    'copyPrivateIp': True|False,
    'copyTags': True|False,
    'ec2LaunchTemplateID': 'string',
    'enableMapAutoTagging': True|False,
    'largeVolumeConf': {
        'iops': 123,
        'throughput': 123,
        'volumeType': 'io1'|'io2'|'gp3'|'gp2'|'st1'|'sc1'|'standard'
    },
    'launchConfigurationTemplateID': 'string',
    'launchDisposition': 'STOPPED'|'STARTED',
    'licensing': {
        'osByol': True|False
    },
    'mapAutoTaggingMpeID': 'string',
    'postLaunchActions': {
        'cloudWatchLogGroupName': 'string',
        'deployment': 'TEST_AND_CUTOVER'|'CUTOVER_ONLY'|'TEST_ONLY',
        's3LogBucket': 'string',
        's3OutputKeyPrefix': 'string',
        'ssmDocuments': [
            {
                'actionName': 'string',
                'mustSucceedForCutover': True|False,
                'parameters': {
                    'string': [
                        {
                            'parameterName': 'string',
                            'parameterType': 'STRING'
                        },
                    ]
                },
                'ssmDocumentName': 'string',
                'timeoutSeconds': 123
            },
        ]
    },
    'smallVolumeConf': {
        'iops': 123,
        'throughput': 123,
        'volumeType': 'io1'|'io2'|'gp3'|'gp2'|'st1'|'sc1'|'standard'
    },
    'smallVolumeMaxSize': 123,
    'tags': {
        'string': 'string'
    },
    'targetInstanceTypeRightSizingMethod': 'NONE'|'BASIC'
}

Response Structure

  • (dict) --

    • arn (string) --

      ARN of the Launch Configuration Template.

    • associatePublicIpAddress (boolean) --

      Associate public Ip address.

    • bootMode (string) --

      Launch configuration template boot mode.

    • copyPrivateIp (boolean) --

      Copy private Ip.

    • copyTags (boolean) --

      Copy tags.

    • ec2LaunchTemplateID (string) --

      EC2 launch template ID.

    • enableMapAutoTagging (boolean) --

      Enable map auto tagging.

    • largeVolumeConf (dict) --

      Large volume config.

      • iops (integer) --

        Launch template disk iops configuration.

      • throughput (integer) --

        Launch template disk throughput configuration.

      • volumeType (string) --

        Launch template disk volume type configuration.

    • launchConfigurationTemplateID (string) --

      ID of the Launch Configuration Template.

    • launchDisposition (string) --

      Launch disposition.

    • licensing (dict) --

      Configure Licensing.

      • osByol (boolean) --

        Configure BYOL OS licensing.

    • mapAutoTaggingMpeID (string) --

      Launch configuration template map auto tagging MPE ID.

    • postLaunchActions (dict) --

      Post Launch Actions of the Launch Configuration Template.

      • cloudWatchLogGroupName (string) --

        AWS Systems Manager Command's CloudWatch log group name.

      • deployment (string) --

        Deployment type in which AWS Systems Manager Documents will be executed.

      • s3LogBucket (string) --

        AWS Systems Manager Command's logs S3 log bucket.

      • s3OutputKeyPrefix (string) --

        AWS Systems Manager Command's logs S3 output key prefix.

      • ssmDocuments (list) --

        AWS Systems Manager Documents.

        • (dict) --

          AWS Systems Manager Document.

          • actionName (string) --

            User-friendly name for the AWS Systems Manager Document.

          • mustSucceedForCutover (boolean) --

            If true, Cutover will not be enabled if the document has failed.

          • parameters (dict) --

            AWS Systems Manager Document parameters.

            • (string) --

              • (list) --

                • (dict) --

                  AWS Systems Manager Parameter Store parameter.

                  • parameterName (string) --

                    AWS Systems Manager Parameter Store parameter name.

                  • parameterType (string) --

                    AWS Systems Manager Parameter Store parameter type.

          • ssmDocumentName (string) --

            AWS Systems Manager Document name or full ARN.

          • timeoutSeconds (integer) --

            AWS Systems Manager Document timeout seconds.

    • smallVolumeConf (dict) --

      Small volume config.

      • iops (integer) --

        Launch template disk iops configuration.

      • throughput (integer) --

        Launch template disk throughput configuration.

      • volumeType (string) --

        Launch template disk volume type configuration.

    • smallVolumeMaxSize (integer) --

      Small volume maximum size.

    • tags (dict) --

      Tags of the Launch Configuration Template.

      • (string) --

        • (string) --

    • targetInstanceTypeRightSizingMethod (string) --

      Target instance type right-sizing method.

UpdateSourceServerReplicationType (updated) Link ¶
Changes (response)
{'applicationID': 'string'}

Allows you to change between the AGENT_BASED replication type and the SNAPSHOT_SHIPPING replication type.

See also: AWS API Documentation

Request Syntax

client.update_source_server_replication_type(
    replicationType='AGENT_BASED'|'SNAPSHOT_SHIPPING',
    sourceServerID='string'
)
type replicationType:

string

param replicationType:

[REQUIRED]

Replication type to which to update source server.

type sourceServerID:

string

param sourceServerID:

[REQUIRED]

ID of source server on which to update replication type.

rtype:

dict

returns:

Response Syntax

{
    'applicationID': 'string',
    'arn': 'string',
    'dataReplicationInfo': {
        'dataReplicationError': {
            'error': 'AGENT_NOT_SEEN'|'SNAPSHOTS_FAILURE'|'NOT_CONVERGING'|'UNSTABLE_NETWORK'|'FAILED_TO_CREATE_SECURITY_GROUP'|'FAILED_TO_LAUNCH_REPLICATION_SERVER'|'FAILED_TO_BOOT_REPLICATION_SERVER'|'FAILED_TO_AUTHENTICATE_WITH_SERVICE'|'FAILED_TO_DOWNLOAD_REPLICATION_SOFTWARE'|'FAILED_TO_CREATE_STAGING_DISKS'|'FAILED_TO_ATTACH_STAGING_DISKS'|'FAILED_TO_PAIR_REPLICATION_SERVER_WITH_AGENT'|'FAILED_TO_CONNECT_AGENT_TO_REPLICATION_SERVER'|'FAILED_TO_START_DATA_TRANSFER'|'UNSUPPORTED_VM_CONFIGURATION'|'LAST_SNAPSHOT_JOB_FAILED',
            'rawError': 'string'
        },
        'dataReplicationInitiation': {
            'nextAttemptDateTime': 'string',
            'startDateTime': 'string',
            'steps': [
                {
                    'name': 'WAIT'|'CREATE_SECURITY_GROUP'|'LAUNCH_REPLICATION_SERVER'|'BOOT_REPLICATION_SERVER'|'AUTHENTICATE_WITH_SERVICE'|'DOWNLOAD_REPLICATION_SOFTWARE'|'CREATE_STAGING_DISKS'|'ATTACH_STAGING_DISKS'|'PAIR_REPLICATION_SERVER_WITH_AGENT'|'CONNECT_AGENT_TO_REPLICATION_SERVER'|'START_DATA_TRANSFER',
                    'status': 'NOT_STARTED'|'IN_PROGRESS'|'SUCCEEDED'|'FAILED'|'SKIPPED'
                },
            ]
        },
        'dataReplicationState': 'STOPPED'|'INITIATING'|'INITIAL_SYNC'|'BACKLOG'|'CREATING_SNAPSHOT'|'CONTINUOUS'|'PAUSED'|'RESCAN'|'STALLED'|'DISCONNECTED'|'PENDING_SNAPSHOT_SHIPPING'|'SHIPPING_SNAPSHOT',
        'etaDateTime': 'string',
        'lagDuration': 'string',
        'lastSnapshotDateTime': 'string',
        'replicatedDisks': [
            {
                'backloggedStorageBytes': 123,
                'deviceName': 'string',
                'replicatedStorageBytes': 123,
                'rescannedStorageBytes': 123,
                'totalStorageBytes': 123
            },
        ]
    },
    'isArchived': True|False,
    'launchedInstance': {
        'ec2InstanceID': 'string',
        'firstBoot': 'WAITING'|'SUCCEEDED'|'UNKNOWN'|'STOPPED',
        'jobID': 'string'
    },
    'lifeCycle': {
        'addedToServiceDateTime': 'string',
        'elapsedReplicationDuration': 'string',
        'firstByteDateTime': 'string',
        'lastCutover': {
            'finalized': {
                'apiCallDateTime': 'string'
            },
            'initiated': {
                'apiCallDateTime': 'string',
                'jobID': 'string'
            },
            'reverted': {
                'apiCallDateTime': 'string'
            }
        },
        'lastSeenByServiceDateTime': 'string',
        'lastTest': {
            'finalized': {
                'apiCallDateTime': 'string'
            },
            'initiated': {
                'apiCallDateTime': 'string',
                'jobID': 'string'
            },
            'reverted': {
                'apiCallDateTime': 'string'
            }
        },
        'state': 'STOPPED'|'NOT_READY'|'READY_FOR_TEST'|'TESTING'|'READY_FOR_CUTOVER'|'CUTTING_OVER'|'CUTOVER'|'DISCONNECTED'|'DISCOVERED'
    },
    'replicationType': 'AGENT_BASED'|'SNAPSHOT_SHIPPING',
    'sourceProperties': {
        'cpus': [
            {
                'cores': 123,
                'modelName': 'string'
            },
        ],
        'disks': [
            {
                'bytes': 123,
                'deviceName': 'string'
            },
        ],
        'identificationHints': {
            'awsInstanceID': 'string',
            'fqdn': 'string',
            'hostname': 'string',
            'vmPath': 'string',
            'vmWareUuid': 'string'
        },
        'lastUpdatedDateTime': 'string',
        'networkInterfaces': [
            {
                'ips': [
                    'string',
                ],
                'isPrimary': True|False,
                'macAddress': 'string'
            },
        ],
        'os': {
            'fullString': 'string'
        },
        'ramBytes': 123,
        'recommendedInstanceType': 'string'
    },
    'sourceServerID': 'string',
    'tags': {
        'string': 'string'
    },
    'vcenterClientID': 'string'
}

Response Structure

  • (dict) --

    • applicationID (string) --

      Source server application ID.

    • arn (string) --

      Source server ARN.

    • dataReplicationInfo (dict) --

      Source server data replication info.

      • dataReplicationError (dict) --

        Error in obtaining data replication info.

        • error (string) --

          Error in data replication.

        • rawError (string) --

          Error in data replication.

      • dataReplicationInitiation (dict) --

        Request to query whether data replication has been initiated.

        • nextAttemptDateTime (string) --

          Request to query next data initiation date and time.

        • startDateTime (string) --

          Request to query data initiation start date and time.

        • steps (list) --

          Request to query data initiation steps.

          • (dict) --

            Data replication initiation step.

            • name (string) --

              Request to query data initiation step name.

            • status (string) --

              Request to query data initiation status.

      • dataReplicationState (string) --

        Request to query the data replication state.

      • etaDateTime (string) --

        Request to query the time when data replication will be complete.

      • lagDuration (string) --

        Request to query data replication lag duration.

      • lastSnapshotDateTime (string) --

        Request to query data replication last snapshot time.

      • replicatedDisks (list) --

        Request to query disks replicated.

        • (dict) --

          Request to query disks replicated.

          • backloggedStorageBytes (integer) --

            Request to query data replication backlog size in bytes.

          • deviceName (string) --

            Request to query device name.

          • replicatedStorageBytes (integer) --

            Request to query amount of data replicated in bytes.

          • rescannedStorageBytes (integer) --

            Request to query amount of data rescanned in bytes.

          • totalStorageBytes (integer) --

            Request to query total amount of data replicated in bytes.

    • isArchived (boolean) --

      Source server archived status.

    • launchedInstance (dict) --

      Source server launched instance.

      • ec2InstanceID (string) --

        Launched instance EC2 ID.

      • firstBoot (string) --

        Launched instance first boot.

      • jobID (string) --

        Launched instance Job ID.

    • lifeCycle (dict) --

      Source server lifecycle state.

      • addedToServiceDateTime (string) --

        Lifecycle added to service data and time.

      • elapsedReplicationDuration (string) --

        Lifecycle elapsed time and duration.

      • firstByteDateTime (string) --

        Lifecycle replication initiation date and time.

      • lastCutover (dict) --

        Lifecycle last Cutover.

        • finalized (dict) --

          Lifecycle Cutover finalized date and time.

          • apiCallDateTime (string) --

            Lifecycle Cutover finalized date and time.

        • initiated (dict) --

          Lifecycle last Cutover initiated.

          • apiCallDateTime (string) --

          • jobID (string) --

            Lifecycle last Cutover initiated by Job ID.

        • reverted (dict) --

          Lifecycle last Cutover reverted.

          • apiCallDateTime (string) --

            Lifecycle last Cutover reverted API call date time.

      • lastSeenByServiceDateTime (string) --

        Lifecycle last seen date and time.

      • lastTest (dict) --

        Lifecycle last Test.

        • finalized (dict) --

          Lifecycle last Test finalized.

          • apiCallDateTime (string) --

            Lifecycle Test failed API call date and time.

        • initiated (dict) --

          Lifecycle last Test initiated.

          • apiCallDateTime (string) --

            Lifecycle last Test initiated API call date and time.

          • jobID (string) --

            Lifecycle last Test initiated Job ID.

        • reverted (dict) --

          Lifecycle last Test reverted.

          • apiCallDateTime (string) --

            Lifecycle last Test reverted API call date and time.

      • state (string) --

        Lifecycle state.

    • replicationType (string) --

      Source server replication type.

    • sourceProperties (dict) --

      Source server properties.

      • cpus (list) --

        Source Server CPUs.

        • (dict) --

          Source server CPU information.

          • cores (integer) --

            The number of CPU cores on the source server.

          • modelName (string) --

            The source server's CPU model name.

      • disks (list) --

        Source Server disks.

        • (dict) --

          The disk identifier.

          • bytes (integer) --

            The amount of storage on the disk in bytes.

          • deviceName (string) --

            The disk or device name.

      • identificationHints (dict) --

        Source server identification hints.

        • awsInstanceID (string) --

          AWS Instance ID identification hint.

        • fqdn (string) --

          FQDN address identification hint.

        • hostname (string) --

          Hostname identification hint.

        • vmPath (string) --

          vCenter VM path identification hint.

        • vmWareUuid (string) --

          vmWare UUID identification hint.

      • lastUpdatedDateTime (string) --

        Source server last update date and time.

      • networkInterfaces (list) --

        Source server network interfaces.

        • (dict) --

          Network interface.

          • ips (list) --

            Network interface IPs.

            • (string) --

          • isPrimary (boolean) --

            Network interface primary IP.

          • macAddress (string) --

            Network interface Mac address.

      • os (dict) --

        Source server OS.

        • fullString (string) --

          OS full string.

      • ramBytes (integer) --

        Source server RAM in bytes.

      • recommendedInstanceType (string) --

        Source server recommended instance type.

    • sourceServerID (string) --

      Source server ID.

    • tags (dict) --

      Source server Tags.

      • (string) --

        • (string) --

    • vcenterClientID (string) --

      Source server vCenter client id.