drs / Client / stop_source_network_replication

stop_source_network_replication#

drs.Client.stop_source_network_replication(**kwargs)#

Stops replication for a Source Network. This action would make the Source Network unprotected.

See also: AWS API Documentation

Request Syntax

response = client.stop_source_network_replication(
    sourceNetworkID='string'
)
Parameters:

sourceNetworkID (string) –

[REQUIRED]

ID of the Source Network to stop replication.

Return type:

dict

Returns:

Response Syntax

{
    'sourceNetwork': {
        'arn': 'string',
        'cfnStackName': 'string',
        'lastRecovery': {
            'apiCallDateTime': datetime(2015, 1, 1),
            'jobID': 'string',
            'lastRecoveryResult': 'NOT_STARTED'|'IN_PROGRESS'|'SUCCESS'|'FAIL'|'PARTIAL_SUCCESS'|'ASSOCIATE_SUCCESS'|'ASSOCIATE_FAIL'
        },
        'launchedVpcID': 'string',
        'replicationStatus': 'STOPPED'|'IN_PROGRESS'|'PROTECTED'|'ERROR',
        'replicationStatusDetails': 'string',
        'sourceAccountID': 'string',
        'sourceNetworkID': 'string',
        'sourceRegion': 'string',
        'sourceVpcID': 'string',
        'tags': {
            'string': 'string'
        }
    }
}

Response Structure

  • (dict) –

    • sourceNetwork (dict) –

      Source Network which was requested to stop replication.

      • arn (string) –

        The ARN of the Source Network.

      • cfnStackName (string) –

        CloudFormation stack name that was deployed for recovering the Source Network.

      • lastRecovery (dict) –

        An object containing information regarding the last recovery of the Source Network.

        • apiCallDateTime (datetime) –

          The date and time the last Source Network recovery was initiated.

        • jobID (string) –

          The ID of the Job that was used to last recover the Source Network.

        • lastRecoveryResult (string) –

          The status of the last recovery status of this Source Network.

      • launchedVpcID (string) –

        ID of the recovered VPC following Source Network recovery.

      • replicationStatus (string) –

        Status of Source Network Replication. Possible values: (a) STOPPED - Source Network is not replicating. (b) IN_PROGRESS - Source Network is being replicated. (c) PROTECTED - Source Network was replicated successfully and is being synchronized for changes. (d) ERROR - Source Network replication has failed

      • replicationStatusDetails (string) –

        Error details in case Source Network replication status is ERROR.

      • sourceAccountID (string) –

        Account ID containing the VPC protected by the Source Network.

      • sourceNetworkID (string) –

        Source Network ID.

      • sourceRegion (string) –

        Region containing the VPC protected by the Source Network.

      • sourceVpcID (string) –

        VPC ID protected by the Source Network.

      • tags (dict) –

        A list of tags associated with the Source Network.

        • (string) –

          • (string) –

Exceptions