amazonka-clouddirectory-2.0: Amazon CloudDirectory SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.CloudDirectory.Types.IndexAttachment

Description

 
Synopsis

Documentation

data IndexAttachment Source #

Represents an index and an attached object.

See: newIndexAttachment smart constructor.

Constructors

IndexAttachment' 

Fields

  • indexedAttributes :: Maybe [AttributeKeyAndValue]

    The indexed attribute values.

  • objectIdentifier :: Maybe Text

    In response to ListIndex, the ObjectIdentifier of the object attached to the index. In response to ListAttachedIndices, the ObjectIdentifier of the index attached to the object. This field will always contain the ObjectIdentifier of the object on the opposite side of the attachment specified in the query.

Instances

Instances details
FromJSON IndexAttachment Source # 
Instance details

Defined in Amazonka.CloudDirectory.Types.IndexAttachment

Generic IndexAttachment Source # 
Instance details

Defined in Amazonka.CloudDirectory.Types.IndexAttachment

Associated Types

type Rep IndexAttachment :: Type -> Type #

Read IndexAttachment Source # 
Instance details

Defined in Amazonka.CloudDirectory.Types.IndexAttachment

Show IndexAttachment Source # 
Instance details

Defined in Amazonka.CloudDirectory.Types.IndexAttachment

NFData IndexAttachment Source # 
Instance details

Defined in Amazonka.CloudDirectory.Types.IndexAttachment

Methods

rnf :: IndexAttachment -> () #

Eq IndexAttachment Source # 
Instance details

Defined in Amazonka.CloudDirectory.Types.IndexAttachment

Hashable IndexAttachment Source # 
Instance details

Defined in Amazonka.CloudDirectory.Types.IndexAttachment

type Rep IndexAttachment Source # 
Instance details

Defined in Amazonka.CloudDirectory.Types.IndexAttachment

type Rep IndexAttachment = D1 ('MetaData "IndexAttachment" "Amazonka.CloudDirectory.Types.IndexAttachment" "amazonka-clouddirectory-2.0-JYRSwrX5Vm289hhbSwe2zQ" 'False) (C1 ('MetaCons "IndexAttachment'" 'PrefixI 'True) (S1 ('MetaSel ('Just "indexedAttributes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [AttributeKeyAndValue])) :*: S1 ('MetaSel ('Just "objectIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newIndexAttachment :: IndexAttachment Source #

Create a value of IndexAttachment with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:indexedAttributes:IndexAttachment', indexAttachment_indexedAttributes - The indexed attribute values.

$sel:objectIdentifier:IndexAttachment', indexAttachment_objectIdentifier - In response to ListIndex, the ObjectIdentifier of the object attached to the index. In response to ListAttachedIndices, the ObjectIdentifier of the index attached to the object. This field will always contain the ObjectIdentifier of the object on the opposite side of the attachment specified in the query.

indexAttachment_objectIdentifier :: Lens' IndexAttachment (Maybe Text) Source #

In response to ListIndex, the ObjectIdentifier of the object attached to the index. In response to ListAttachedIndices, the ObjectIdentifier of the index attached to the object. This field will always contain the ObjectIdentifier of the object on the opposite side of the attachment specified in the query.