Skip to content

ResetSnapshotAttributeRequest

Source code in docs_src/capo_ec2/types/reset_snapshot_attribute_request.py
class ResetSnapshotAttributeRequest(TypedDict, closed=True):
    attribute: NotRequired[
        "capo_ec2.types.snapshot_attribute_name.SnapshotAttributeName"
    ]
    """<p>The attribute to reset. Currently, only the attribute for permission to create volumes can be reset.</p>"""
    snapshot_id: NotRequired["capo_ec2.types.snapshot_id.SnapshotId"]
    """<p>The ID of the snapshot.</p>"""
    dry_run: NotRequired["capo_ec2.types.boolean.Boolean"]
    """<p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>"""

attribute instance-attribute

attribute: NotRequired[SnapshotAttributeName]

The attribute to reset. Currently, only the attribute for permission to create volumes can be reset.

dry_run instance-attribute

dry_run: NotRequired[Boolean]

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

snapshot_id instance-attribute

snapshot_id: NotRequired[SnapshotId]

The ID of the snapshot.