DataSync / Client / stop_discovery_job

stop_discovery_job#

DataSync.Client.stop_discovery_job(**kwargs)#

Stops a running DataSync discovery job.

You can stop a discovery job anytime. A job that’s stopped before it’s scheduled to end likely will provide you some information about your on-premises storage system resources. To get recommendations for a stopped job, you must use the GenerateRecommendations operation.

See also: AWS API Documentation

Request Syntax

response = client.stop_discovery_job(
    DiscoveryJobArn='string'
)
Parameters:

DiscoveryJobArn (string) –

[REQUIRED]

Specifies the Amazon Resource Name (ARN) of the discovery job that you want to stop.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions