Skip to content

CopyBackupRequest

Source code in docs_src/capo_fsx/types/copy_backup_request.py
class CopyBackupRequest(TypedDict, closed=True):
    client_request_token: NotRequired[
        "capo_fsx.types.client_request_token.ClientRequestToken"
    ]
    source_backup_id: NotRequired["capo_fsx.types.source_backup_id.SourceBackupId"]
    """<p>The ID of the source backup. Specifies the ID of the backup that's being copied.</p>"""
    source_region: NotRequired["capo_fsx.types.region.Region"]
    """<p>The source Amazon Web Services Region of the backup. Specifies the Amazon Web Services Region from which the backup is being copied. The source and destination Regions must be in the same Amazon Web Services partition. If you don't specify a Region, <code>SourceRegion</code> defaults to the Region where the request is sent from (in-Region copy).</p>"""
    kms_key_id: NotRequired["capo_fsx.types.kms_key_id.KmsKeyId"]
    copy_tags: NotRequired["capo_fsx.types.flag.Flag"]
    """<p>A Boolean flag indicating whether tags from the source backup should be copied to the backup copy. This value defaults to <code>false</code>.</p> <p>If you set <code>CopyTags</code> to <code>true</code> and the source backup has existing tags, you can use the <code>Tags</code> parameter to create new tags, provided that the sum of the source backup tags and the new tags doesn't exceed 50. Both sets of tags are merged. If there are tag conflicts (for example, two tags with the same key but different values), the tags created with the <code>Tags</code> parameter take precedence.</p>"""
    tags: NotRequired["capo_fsx.types.tags.Tags"]

client_request_token instance-attribute

client_request_token: NotRequired[ClientRequestToken]

copy_tags instance-attribute

copy_tags: NotRequired[Flag]

A Boolean flag indicating whether tags from the source backup should be copied to the backup copy. This value defaults to false.

If you set CopyTags to true and the source backup has existing tags, you can use the Tags parameter to create new tags, provided that the sum of the source backup tags and the new tags doesn't exceed 50. Both sets of tags are merged. If there are tag conflicts (for example, two tags with the same key but different values), the tags created with the Tags parameter take precedence.

kms_key_id instance-attribute

kms_key_id: NotRequired[KmsKeyId]

source_backup_id instance-attribute

source_backup_id: NotRequired[SourceBackupId]

The ID of the source backup. Specifies the ID of the backup that's being copied.

source_region instance-attribute

source_region: NotRequired[Region]

The source Amazon Web Services Region of the backup. Specifies the Amazon Web Services Region from which the backup is being copied. The source and destination Regions must be in the same Amazon Web Services partition. If you don't specify a Region, SourceRegion defaults to the Region where the request is sent from (in-Region copy).

tags instance-attribute

tags: NotRequired[Tags]