generate_access_logs
(**kwargs)¶Returns the website access logs for a specific time range using a presigned URL.
See also: AWS API Documentation
Request Syntax
response = client.generate_access_logs(
startTime=datetime(2015, 1, 1),
endTime=datetime(2015, 1, 1),
domainName='string',
appId='string'
)
[REQUIRED]
The name of the domain.
[REQUIRED]
The unique ID for an Amplify app.
dict
Response Syntax
{
'logUrl': 'string'
}
Response Structure
(dict) --
The result structure for the generate access logs request.
logUrl (string) --
The pre-signed URL for the requested access logs.
Exceptions
Amplify.Client.exceptions.NotFoundException
Amplify.Client.exceptions.BadRequestException
Amplify.Client.exceptions.UnauthorizedException
Amplify.Client.exceptions.InternalFailureException