Skip to content

DatabaseS3DeliveryConfigRequest

Source code in docs_src/capo_amplifygen3/types/database_s3_delivery_config_request.py
class DatabaseS3DeliveryConfigRequest(TypedDict, closed=True):
    status: (
        "capo_amplifygen3.types.database_s3_delivery_status.DatabaseS3DeliveryStatus"
    )
    """<p>Specifies whether to deliver database logs to Amazon S3.</p>"""
    sampling_rate: NotRequired[
        "capo_amplifygen3.types.sampling_percentage.SamplingPercentage"
    ]
    """<p>The percentage of database log lines to deliver to Amazon S3. When Status is ENABLED, specify a value from 1 to 100. When Status is DISABLED, omit this or specify 0. If you omit this, the stored rate is used, or 100 if no rate is stored.</p>"""
    bucket_arn: NotRequired["str"]
    """<p>The Amazon Resource Name (ARN) of the S3 bucket to deliver the database logs to. Required when Status is ENABLED, unless a bucket is already stored. If you omit this, the stored bucket is used. If you specify a different bucket, delivery moves to that bucket.</p>"""

bucket_arn instance-attribute

bucket_arn: NotRequired[str]

The Amazon Resource Name (ARN) of the S3 bucket to deliver the database logs to. Required when Status is ENABLED, unless a bucket is already stored. If you omit this, the stored bucket is used. If you specify a different bucket, delivery moves to that bucket.

sampling_rate instance-attribute

sampling_rate: NotRequired[SamplingPercentage]

The percentage of database log lines to deliver to Amazon S3. When Status is ENABLED, specify a value from 1 to 100. When Status is DISABLED, omit this or specify 0. If you omit this, the stored rate is used, or 100 if no rate is stored.

status instance-attribute

Specifies whether to deliver database logs to Amazon S3.