modify_account

WorkSpaces.Client.modify_account(**kwargs)

Modifies the configuration of Bring Your Own License (BYOL) for the specified account.

See also: AWS API Documentation

Request Syntax

response = client.modify_account(
    DedicatedTenancySupport='ENABLED',
    DedicatedTenancyManagementCidrRange='string'
)
Parameters
  • DedicatedTenancySupport (string) -- The status of BYOL.
  • DedicatedTenancyManagementCidrRange (string) -- 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 ListAvailableManagementCidrRanges operation.
Return type

dict

Returns

Response Syntax

{}

Response Structure

  • (dict) --

Exceptions

  • WorkSpaces.Client.exceptions.InvalidParameterValuesException
  • WorkSpaces.Client.exceptions.AccessDeniedException
  • WorkSpaces.Client.exceptions.InvalidResourceStateException
  • WorkSpaces.Client.exceptions.ResourceUnavailableException
  • WorkSpaces.Client.exceptions.ResourceNotFoundException