modify_account
¶
modify_account(
*,
config_overrides: Optional[WorkSpacesClientConfig] = None,
dedicated_tenancy_support: Optional[DedicatedTenancySupportEnum] = None,
dedicated_tenancy_management_cidr_range: Optional[
DedicatedTenancyManagementCidrRange
] = None,
) -> ModifyAccountResult
Modifies the configuration of Bring Your Own License (BYOL) for the specified account.
Parameters:
-
dedicated_tenancy_support(Optional[DedicatedTenancySupportEnum], default:None) –The status of BYOL.
-
dedicated_tenancy_management_cidr_range(Optional[DedicatedTenancyManagementCidrRange], default:None) –The IP address range, specified as an IPv4 CIDR block, for the management network interface. Specify an IP address range that is compatible with your network and in CIDR notation (that is, specify the range as an IPv4 CIDR block). The CIDR block size must be /16 (for example, 203.0.113.25/16). It must also be specified as available by the
ListAvailableManagementCidrRangesoperation.
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.
-
ResourceNotFoundException–The resource could not be found.
-
ResourceUnavailableException–The specified resource is not available.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_workspaces/_services/work_spaces.py
7617 7618 7619 7620 7621 7622 7623 7624 7625 7626 7627 7628 7629 7630 7631 7632 7633 7634 7635 7636 7637 7638 7639 7640 7641 7642 7643 7644 7645 7646 7647 7648 7649 7650 7651 7652 7653 7654 7655 7656 7657 7658 7659 7660 7661 7662 7663 7664 7665 7666 7667 7668 7669 7670 7671 7672 7673 7674 7675 7676 7677 7678 7679 7680 7681 7682 7683 7684 7685 | |