def list_attached_indices(DirectoryArn=None, TargetReference=None,
    NextToken=None, MaxResults=None, ConsistencyLevel=None):
    """
    Lists indices attached to an object.
    See also: AWS API Documentation
    
    
    :example: response = client.list_attached_indices(
        DirectoryArn='string',
        TargetReference={
            'Selector': 'string'
        },
        NextToken='string',
        MaxResults=123,
        ConsistencyLevel='SERIALIZABLE'|'EVENTUAL'
    )
    
    
    :type DirectoryArn: string
    :param DirectoryArn: [REQUIRED]
            The ARN of the directory.
            

    :type TargetReference: dict
    :param TargetReference: [REQUIRED]
            A reference to the object to that has indices attached.
            Selector (string) --A path selector supports easy selection of an object by the parent/child links leading to it from the directory root. Use the link names from each parent/child link to construct the path. Path selectors start with a slash (/) and link names are separated by slashes. For more information about paths, see Accessing Objects . You can identify an object in one of the following ways:
            $ObjectIdentifier - An object identifier is an opaque string provided by Amazon Cloud Directory. When creating objects, the system will provide you with the identifier of the created object. An object s identifier is immutable and no two objects will ever share the same object identifier
            /some/path - Identifies the object based on path
            #SomeBatchReference - Identifies the object in a batch call
            

    :type NextToken: string
    :param NextToken: The pagination token.

    :type MaxResults: integer
    :param MaxResults: The maximum number of results to retrieve.

    :type ConsistencyLevel: string
    :param ConsistencyLevel: The consistency level to use for this operation.

    :rtype: dict
    :return: {
        'IndexAttachments': [
            {
                'IndexedAttributes': [
                    {
                        'Key': {
                            'SchemaArn': 'string',
                            'FacetName': 'string',
                            'Name': 'string'
                        },
                        'Value': {
                            'StringValue': 'string',
                            'BinaryValue': b'bytes',
                            'BooleanValue': True|False,
                            'NumberValue': 'string',
                            'DatetimeValue': datetime(2015, 1, 1)
                        }
                    },
                ],
                'ObjectIdentifier': 'string'
            },
        ],
        'NextToken': 'string'
    }
    
    
    """
    pass
