Connect / Client / create_predefined_attribute

create_predefined_attribute#

Connect.Client.create_predefined_attribute(**kwargs)#

Creates a new predefined attribute for the specified Amazon Connect instance.

See also: AWS API Documentation

Request Syntax

response = client.create_predefined_attribute(
    InstanceId='string',
    Name='string',
    Values={
        'StringList': [
            'string',
        ]
    }
)
Parameters:
  • InstanceId (string) –

    [REQUIRED]

    The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

  • Name (string) –

    [REQUIRED]

    The name of the predefined attribute.

  • Values (dict) –

    [REQUIRED]

    The values of the predefined attribute.

    Note

    This is a Tagged Union structure. Only one of the following top level keys can be set: StringList.

    • StringList (list) –

      Predefined attribute values of type string list.

      • (string) –

Returns:

None

Exceptions

  • Connect.Client.exceptions.DuplicateResourceException

  • Connect.Client.exceptions.InvalidRequestException

  • Connect.Client.exceptions.InvalidParameterException

  • Connect.Client.exceptions.LimitExceededException

  • Connect.Client.exceptions.ResourceNotFoundException

  • Connect.Client.exceptions.ThrottlingException

  • Connect.Client.exceptions.InternalServiceException