Skip to content

ResetInstanceAttributeRequest

Source code in docs_src/capo_ec2/types/reset_instance_attribute_request.py
class ResetInstanceAttributeRequest(TypedDict, closed=True):
    dry_run: NotRequired["capo_ec2.types.boolean.Boolean"]
    """<p>Checks whether you have the required permissions for the operation, 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>"""
    instance_id: NotRequired["capo_ec2.types.instance_id.InstanceId"]
    """<p>The ID of the instance.</p>"""
    attribute: NotRequired[
        "capo_ec2.types.instance_attribute_name.InstanceAttributeName"
    ]
    """<p>The attribute to reset.</p> <important> <p>You can only reset the following attributes: <code>kernel</code> | <code>ramdisk</code> | <code>sourceDestCheck</code>.</p> </important>"""

attribute instance-attribute

attribute: NotRequired[InstanceAttributeName]

The attribute to reset.

You can only reset the following attributes: kernel | ramdisk | sourceDestCheck.

dry_run instance-attribute

dry_run: NotRequired[Boolean]

Checks whether you have the required permissions for the operation, 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.

instance_id instance-attribute

instance_id: NotRequired[InstanceId]

The ID of the instance.