associate_drt_log_bucket

associate_drt_log_bucket(**kwargs)

Authorizes the Shield Response Team (SRT) to access the specified Amazon S3 bucket containing log data such as Application Load Balancer access logs, CloudFront logs, or logs from third party sources. You can associate up to 10 Amazon S3 buckets with your subscription.

To use the services of the SRT and make an AssociateDRTLogBucket request, you must be subscribed to the Business Support plan or the Enterprise Support plan.

See also: AWS API Documentation

Request Syntax

response = client.associate_drt_log_bucket(
    LogBucket='string'
)
Parameters
LogBucket (string) --

[REQUIRED]

The Amazon S3 bucket that contains the logs that you want to share.

Return type
dict
Returns
Response Syntax
{}

Response Structure

  • (dict) --

Exceptions

  • Shield.Client.exceptions.InternalErrorException
  • Shield.Client.exceptions.InvalidOperationException
  • Shield.Client.exceptions.NoAssociatedRoleException
  • Shield.Client.exceptions.LimitsExceededException
  • Shield.Client.exceptions.InvalidParameterException
  • Shield.Client.exceptions.AccessDeniedForDependencyException
  • Shield.Client.exceptions.OptimisticLockException
  • Shield.Client.exceptions.ResourceNotFoundException