DataSync / Client / generate_recommendations

generate_recommendations#

DataSync.Client.generate_recommendations(**kwargs)#

Creates recommendations about where to migrate your data to in Amazon Web Services. Recommendations are generated based on information that DataSync Discovery collects about your on-premises storage system’s resources. For more information, see Recommendations provided by DataSync Discovery.

Once generated, you can view your recommendations by using the DescribeStorageSystemResources operation.

Note

If your discovery job completes successfully, you don’t need to use this operation. DataSync Discovery generates the recommendations for you automatically.

See also: AWS API Documentation

Request Syntax

response = client.generate_recommendations(
    DiscoveryJobArn='string',
    ResourceIds=[
        'string',
    ],
    ResourceType='SVM'|'VOLUME'|'CLUSTER'
)
Parameters:
  • DiscoveryJobArn (string) –

    [REQUIRED]

    Specifies the Amazon Resource Name (ARN) of the discovery job that collects information about your on-premises storage system.

  • ResourceIds (list) –

    [REQUIRED]

    Specifies the universally unique identifiers (UUIDs) of the resources in your storage system that you want recommendations on.

    • (string) –

  • ResourceType (string) –

    [REQUIRED]

    Specifies the type of resource in your storage system that you want recommendations on.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • DataSync.Client.exceptions.InvalidRequestException

  • DataSync.Client.exceptions.InternalException