modify_selfservice_permissions

WorkSpaces.Client.modify_selfservice_permissions(**kwargs)

Modifies the self-service WorkSpace management capabilities for your users. For more information, see Enable Self-Service WorkSpace Management Capabilities for Your Users.

See also: AWS API Documentation

Request Syntax

response = client.modify_selfservice_permissions(
    ResourceId='string',
    SelfservicePermissions={
        'RestartWorkspace': 'ENABLED'|'DISABLED',
        'IncreaseVolumeSize': 'ENABLED'|'DISABLED',
        'ChangeComputeType': 'ENABLED'|'DISABLED',
        'SwitchRunningMode': 'ENABLED'|'DISABLED',
        'RebuildWorkspace': 'ENABLED'|'DISABLED'
    }
)
Parameters
  • ResourceId (string) --

    [REQUIRED]

    The identifier of the directory.

  • SelfservicePermissions (dict) --

    [REQUIRED]

    The permissions to enable or disable self-service capabilities.

    • RestartWorkspace (string) --

      Specifies whether users can restart their WorkSpace.

    • IncreaseVolumeSize (string) --

      Specifies whether users can increase the volume size of the drives on their WorkSpace.

    • ChangeComputeType (string) --

      Specifies whether users can change the compute type (bundle) for their WorkSpace.

    • SwitchRunningMode (string) --

      Specifies whether users can switch the running mode of their WorkSpace.

    • RebuildWorkspace (string) --

      Specifies whether users can rebuild the operating system of a WorkSpace to its original state.

Return type

dict

Returns

Response Syntax

{}

Response Structure

  • (dict) --

Exceptions

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