DataSync / Client / update_discovery_job
update_discovery_job#
- DataSync.Client.update_discovery_job(**kwargs)#
Edits a DataSync discovery job configuration.
See also: AWS API Documentation
Request Syntax
response = client.update_discovery_job( DiscoveryJobArn='string', CollectionDurationMinutes=123 )
- Parameters:
DiscoveryJobArn (string) –
[REQUIRED]
Specifies the Amazon Resource Name (ARN) of the discovery job that you want to update.
CollectionDurationMinutes (integer) –
[REQUIRED]
Specifies in minutes how long that you want the discovery job to run. (You can’t set this parameter to less than the number of minutes that the job has already run for.)
- Return type:
dict
- Returns:
Response Syntax
{}
Response Structure
(dict) –
Exceptions