import_application_usage
(**kwargs)¶Ingests application usage data from Amazon Simple Storage Service (Amazon S3).
The data must already exist in the S3 location. As part of the action, AWS Application Cost Profiler copies the object from your S3 bucket to an S3 bucket owned by Amazon for processing asynchronously.
See also: AWS API Documentation
Request Syntax
response = client.import_application_usage(
sourceS3Location={
'bucket': 'string',
'key': 'string',
'region': 'ap-east-1'|'me-south-1'|'eu-south-1'|'af-south-1'
}
)
[REQUIRED]
Amazon S3 location to import application usage data from.
Name of the bucket.
Key of the object.
Region of the bucket. Only required for Regions that are disabled by default. For more infomration about Regions that are disabled by default, see Enabling a Region in the AWS General Reference guide .
{
'importId': 'string'
}
Response Structure
ID of the import request.
Exceptions
ApplicationCostProfiler.Client.exceptions.InternalServerException
ApplicationCostProfiler.Client.exceptions.ThrottlingException
ApplicationCostProfiler.Client.exceptions.ValidationException
ApplicationCostProfiler.Client.exceptions.AccessDeniedException