replace_network_acl_association¶
Operation¶
replace_network_acl_association
async
¶
replace_network_acl_association(input: ReplaceNetworkAclAssociationInput, plugins: list[Plugin] | None = None) -> ReplaceNetworkAclAssociationOutput
Changes which network ACL a subnet is associated with. By default when you create a subnet, it's automatically associated with the default network ACL. For more information, see Network ACLs in the Amazon VPC User Guide.
This is an idempotent operation.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
ReplaceNetworkAclAssociationInput
|
An instance of |
required |
plugins
|
list[Plugin] | None
|
A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations. |
None
|
Returns:
| Type | Description |
|---|---|
ReplaceNetworkAclAssociationOutput
|
An instance of |
Input¶
ReplaceNetworkAclAssociationInput
dataclass
¶
Bases: _SerdeShape
Dataclass for ReplaceNetworkAclAssociationInput structure.
Attributes¶
association_id
class-attribute
instance-attribute
¶
association_id: str | None = ...
The ID of the current association between the original network ACL and the subnet.
dry_run
class-attribute
instance-attribute
¶
dry_run: bool | None = ...
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.
Output¶
ReplaceNetworkAclAssociationOutput
dataclass
¶
Bases: _SerdeShape
Dataclass for ReplaceNetworkAclAssociationOutput structure.
Attributes¶
new_association_id
class-attribute
instance-attribute
¶
new_association_id: str | None = ...
The ID of the new association.
response_metadata
class-attribute
instance-attribute
¶
Metadata about the response that produced this output. Use this to recover the request identifiers a service's support team needs in order to investigate a call. Members of the metadata are individually optional.