update_rules_of_ip_group
¶
update_rules_of_ip_group(
group_id: IpGroupId,
user_rules: IpRuleList,
*,
config_overrides: Optional[WorkSpacesClientConfig] = None,
) -> UpdateRulesOfIpGroupResult
Replaces the current rules of the specified IP access control group with the specified rules.
Parameters:
-
group_id(IpGroupId) –The identifier of the group.
-
user_rules(IpRuleList) –One or more rules.
Raises:
-
AccessDeniedException–The user is not authorized to access a resource.
-
InvalidParameterValuesException–One or more parameter values are not valid.
-
InvalidResourceStateException–The state of the resource is not valid for this operation.
-
ResourceLimitExceededException–Your resource limits have been exceeded.
-
ResourceNotFoundException–The resource could not be found.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_workspaces/_services/work_spaces.py
9449 9450 9451 9452 9453 9454 9455 9456 9457 9458 9459 9460 9461 9462 9463 9464 9465 9466 9467 9468 9469 9470 9471 9472 9473 9474 9475 9476 9477 9478 9479 9480 9481 9482 9483 9484 9485 9486 9487 9488 9489 9490 9491 9492 9493 9494 9495 9496 9497 9498 9499 9500 9501 9502 9503 9504 9505 9506 9507 9508 9509 9510 | |