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.