WorkSpacesWeb / Client / get_ip_access_settings

get_ip_access_settings#

WorkSpacesWeb.Client.get_ip_access_settings(**kwargs)#

Gets the IP access settings.

See also: AWS API Documentation

Request Syntax

response = client.get_ip_access_settings(
    ipAccessSettingsArn='string'
)
Parameters:

ipAccessSettingsArn (string) –

[REQUIRED]

The ARN of the IP access settings.

Return type:

dict

Returns:

Response Syntax

{
    'ipAccessSettings': {
        'additionalEncryptionContext': {
            'string': 'string'
        },
        'associatedPortalArns': [
            'string',
        ],
        'creationDate': datetime(2015, 1, 1),
        'customerManagedKey': 'string',
        'description': 'string',
        'displayName': 'string',
        'ipAccessSettingsArn': 'string',
        'ipRules': [
            {
                'description': 'string',
                'ipRange': 'string'
            },
        ]
    }
}

Response Structure

  • (dict) –

    • ipAccessSettings (dict) –

      The IP access settings.

      • additionalEncryptionContext (dict) –

        The additional encryption context of the IP access settings.

        • (string) –

          • (string) –

      • associatedPortalArns (list) –

        A list of web portal ARNs that this IP access settings resource is associated with.

        • (string) –

      • creationDate (datetime) –

        The creation date timestamp of the IP access settings.

      • customerManagedKey (string) –

        The customer managed key used to encrypt sensitive information in the IP access settings.

      • description (string) –

        The description of the IP access settings.

      • displayName (string) –

        The display name of the IP access settings.

      • ipAccessSettingsArn (string) –

        The ARN of the IP access settings resource.

      • ipRules (list) –

        The IP rules of the IP access settings.

        • (dict) –

          The IP rules of the IP access settings.

          • description (string) –

            The description of the IP rule.

          • ipRange (string) –

            The IP range of the IP rule.

Exceptions

  • WorkSpacesWeb.Client.exceptions.InternalServerException

  • WorkSpacesWeb.Client.exceptions.ResourceNotFoundException

  • WorkSpacesWeb.Client.exceptions.AccessDeniedException

  • WorkSpacesWeb.Client.exceptions.ThrottlingException

  • WorkSpacesWeb.Client.exceptions.ValidationException