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'
)
[REQUIRED]
The name of your Fleet Advisor collector (for example, sample-collector
).
[REQUIRED]
The IAM role that grants permissions to access the specified Amazon S3 bucket.
[REQUIRED]
The Amazon S3 bucket that the Fleet Advisor collector uses to store inventory metadata.
dict
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
DatabaseMigrationService.Client.exceptions.InvalidResourceStateFault
DatabaseMigrationService.Client.exceptions.AccessDeniedFault
DatabaseMigrationService.Client.exceptions.S3AccessDeniedFault
DatabaseMigrationService.Client.exceptions.S3ResourceNotFoundFault
DatabaseMigrationService.Client.exceptions.ResourceQuotaExceededFault