modify_account
async
¶
modify_account(
*,
config_overrides: Optional[AsyncWorkSpacesClientConfig] = 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/async_work_spaces.py
7807 7808 7809 7810 7811 7812 7813 7814 7815 7816 7817 7818 7819 7820 7821 7822 7823 7824 7825 7826 7827 7828 7829 7830 7831 7832 7833 7834 7835 7836 7837 7838 7839 7840 7841 7842 7843 7844 7845 7846 7847 7848 7849 7850 7851 7852 7853 7854 7855 7856 7857 7858 7859 7860 7861 7862 7863 7864 7865 7866 7867 7868 7869 7870 7871 7872 7873 7874 7875 7876 7877 | |