Skip to content

AssociateDhcpOptionsRequest

Source code in docs_src/capo_ec2/types/associate_dhcp_options_request.py
class AssociateDhcpOptionsRequest(TypedDict, closed=True):
    dhcp_options_id: NotRequired[
        "capo_ec2.types.defaulting_dhcp_options_id.DefaultingDhcpOptionsId"
    ]
    """<p>The ID of the DHCP options set, or <code>default</code> to associate no DHCP options with the VPC.</p>"""
    vpc_id: NotRequired["capo_ec2.types.vpc_id.VpcId"]
    """<p>The ID of the VPC.</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>"""

dhcp_options_id instance-attribute

dhcp_options_id: NotRequired[DefaultingDhcpOptionsId]

The ID of the DHCP options set, or default to associate no DHCP options with the VPC.

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.

vpc_id instance-attribute

vpc_id: NotRequired[VpcId]

The ID of the VPC.