WorkSpacesWeb / Client / associate_data_protection_settings

associate_data_protection_settings#

WorkSpacesWeb.Client.associate_data_protection_settings(**kwargs)#

Associates a data protection settings resource with a web portal.

See also: AWS API Documentation

Request Syntax

response = client.associate_data_protection_settings(
    dataProtectionSettingsArn='string',
    portalArn='string'
)
Parameters:
  • dataProtectionSettingsArn (string) –

    [REQUIRED]

    The ARN of the data protection settings.

  • portalArn (string) –

    [REQUIRED]

    The ARN of the web portal.

Return type:

dict

Returns:

Response Syntax

{
    'dataProtectionSettingsArn': 'string',
    'portalArn': 'string'
}

Response Structure

  • (dict) –

    • dataProtectionSettingsArn (string) –

      The ARN of the data protection settings resource.

    • portalArn (string) –

      The ARN of the web portal.

Exceptions

  • WorkSpacesWeb.Client.exceptions.InternalServerException

  • WorkSpacesWeb.Client.exceptions.ResourceNotFoundException

  • WorkSpacesWeb.Client.exceptions.AccessDeniedException

  • WorkSpacesWeb.Client.exceptions.ThrottlingException

  • WorkSpacesWeb.Client.exceptions.ValidationException

  • WorkSpacesWeb.Client.exceptions.ConflictException