modify_ipam_resource_cidr
async
¶
modify_ipam_resource_cidr(
*,
config_overrides: Optional[AsyncEC2ClientConfig] = None,
dry_run: Optional[Boolean] = None,
resource_id: Optional[String] = None,
resource_cidr: Optional[String] = None,
resource_region: Optional[String] = None,
current_ipam_scope_id: Optional[IpamScopeId] = None,
destination_ipam_scope_id: Optional[IpamScopeId] = None,
monitored: Optional[Boolean] = None,
) -> ModifyIpamResourceCidrResult
Modify a resource CIDR. You can use this action to transfer resource CIDRs between scopes and ignore resource CIDRs that you do not want to manage. If set to false, the resource will not be tracked for overlap, it cannot be auto-imported into a pool, and it will be removed from any pool it has an allocation in.
For more information, see Move resource CIDRs between scopes and Change the monitoring state of resource CIDRs in the Amazon VPC IPAM User Guide.
Parameters:
-
dry_run(Optional[Boolean], default:None) –A check for 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 isUnauthorizedOperation. -
resource_id(Optional[String], default:None) –The ID of the resource you want to modify.
-
resource_cidr(Optional[String], default:None) –The CIDR of the resource you want to modify.
-
resource_region(Optional[String], default:None) –The Amazon Web Services Region of the resource you want to modify.
-
current_ipam_scope_id(Optional[IpamScopeId], default:None) –The ID of the current scope that the resource CIDR is in.
-
destination_ipam_scope_id(Optional[IpamScopeId], default:None) –The ID of the scope you want to transfer the resource CIDR to.
-
monitored(Optional[Boolean], default:None) –Determines if the resource is monitored by IPAM. If a resource is monitored, the resource is discovered by IPAM and you can view details about the resource’s CIDR.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_ec2/_services/async_ec2.py
52069 52070 52071 52072 52073 52074 52075 52076 52077 52078 52079 52080 52081 52082 52083 52084 52085 52086 52087 52088 52089 52090 52091 52092 52093 52094 52095 52096 52097 52098 52099 52100 52101 52102 52103 52104 52105 52106 52107 52108 52109 52110 52111 52112 52113 52114 52115 52116 52117 52118 52119 52120 52121 52122 52123 52124 52125 52126 52127 52128 52129 52130 52131 52132 52133 52134 52135 52136 52137 52138 52139 52140 | |