generate_access_logs
async
¶
generate_access_logs(
domain_name: DomainName,
app_id: AppId,
*,
config_overrides: Optional[AsyncAmplifyClientConfig] = None,
start_time: Optional[StartTime] = None,
end_time: Optional[EndTime] = None,
) -> GenerateAccessLogsResult
Returns the website access logs for a specific time range using a presigned URL.
Parameters:
-
start_time(Optional[StartTime], default:None) –The time at which the logs should start. The time range specified is inclusive of the start time.
-
end_time(Optional[EndTime], default:None) –The time at which the logs should end. The time range specified is inclusive of the end time.
-
domain_name(DomainName) –The name of the domain.
-
app_id(AppId) –The unique ID for an Amplify app.
Raises:
-
BadRequestException–A request contains unexpected data.
-
InternalFailureException–The service failed to perform an operation due to an internal issue.
-
NotFoundException–An entity was not found during an operation.
-
UnauthorizedException–An operation failed due to a lack of access.
-
UnknownServiceError–The service returned an error code this client does not model.