DatabaseMigrationService / Client / create_fleet_advisor_collector

create_fleet_advisor_collector#

DatabaseMigrationService.Client.create_fleet_advisor_collector(**kwargs)#

Creates a Fleet Advisor collector using the specified parameters.

See also: AWS API Documentation

Request Syntax

response = client.create_fleet_advisor_collector(
    CollectorName='string',
    Description='string',
    ServiceAccessRoleArn='string',
    S3BucketName='string'
)
Parameters:
  • CollectorName (string) –

    [REQUIRED]

    The name of your Fleet Advisor collector (for example, sample-collector).

  • Description (string) – A summary description of your Fleet Advisor collector.

  • ServiceAccessRoleArn (string) –

    [REQUIRED]

    The IAM role that grants permissions to access the specified Amazon S3 bucket.

  • S3BucketName (string) –

    [REQUIRED]

    The Amazon S3 bucket that the Fleet Advisor collector uses to store inventory metadata.

Return type:

dict

Returns:

Response Syntax

{
    'CollectorReferencedId': 'string',
    'CollectorName': 'string',
    'Description': 'string',
    'ServiceAccessRoleArn': 'string',
    'S3BucketName': 'string'
}

Response Structure

  • (dict) –

    • CollectorReferencedId (string) –

      The unique ID of the new Fleet Advisor collector, for example: 22fda70c-40d5-4acf-b233-a495bd8eb7f5

    • CollectorName (string) –

      The name of the new Fleet Advisor collector.

    • Description (string) –

      A summary description of the Fleet Advisor collector.

    • ServiceAccessRoleArn (string) –

      The IAM role that grants permissions to access the specified Amazon S3 bucket.

    • S3BucketName (string) –

      The Amazon S3 bucket that the collector uses to store inventory metadata.

Exceptions