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.GetObjectInformation

Description

Retrieves metadata about an object.

Synopsis

Creating a Request

data GetObjectInformation Source #

See: newGetObjectInformation smart constructor.

Constructors

GetObjectInformation' 

Fields

Instances

Instances details
ToJSON GetObjectInformation Source # 
Instance details

Defined in Amazonka.CloudDirectory.GetObjectInformation

ToHeaders GetObjectInformation Source # 
Instance details

Defined in Amazonka.CloudDirectory.GetObjectInformation

ToPath GetObjectInformation Source # 
Instance details

Defined in Amazonka.CloudDirectory.GetObjectInformation

ToQuery GetObjectInformation Source # 
Instance details

Defined in Amazonka.CloudDirectory.GetObjectInformation

AWSRequest GetObjectInformation Source # 
Instance details

Defined in Amazonka.CloudDirectory.GetObjectInformation

Associated Types

type AWSResponse GetObjectInformation #

Generic GetObjectInformation Source # 
Instance details

Defined in Amazonka.CloudDirectory.GetObjectInformation

Associated Types

type Rep GetObjectInformation :: Type -> Type #

Read GetObjectInformation Source # 
Instance details

Defined in Amazonka.CloudDirectory.GetObjectInformation

Show GetObjectInformation Source # 
Instance details

Defined in Amazonka.CloudDirectory.GetObjectInformation

NFData GetObjectInformation Source # 
Instance details

Defined in Amazonka.CloudDirectory.GetObjectInformation

Methods

rnf :: GetObjectInformation -> () #

Eq GetObjectInformation Source # 
Instance details

Defined in Amazonka.CloudDirectory.GetObjectInformation

Hashable GetObjectInformation Source # 
Instance details

Defined in Amazonka.CloudDirectory.GetObjectInformation

type AWSResponse GetObjectInformation Source # 
Instance details

Defined in Amazonka.CloudDirectory.GetObjectInformation

type Rep GetObjectInformation Source # 
Instance details

Defined in Amazonka.CloudDirectory.GetObjectInformation

type Rep GetObjectInformation = D1 ('MetaData "GetObjectInformation" "Amazonka.CloudDirectory.GetObjectInformation" "amazonka-clouddirectory-2.0-JYRSwrX5Vm289hhbSwe2zQ" 'False) (C1 ('MetaCons "GetObjectInformation'" 'PrefixI 'True) (S1 ('MetaSel ('Just "consistencyLevel") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ConsistencyLevel)) :*: (S1 ('MetaSel ('Just "directoryArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "objectReference") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ObjectReference))))

newGetObjectInformation Source #

Create a value of GetObjectInformation 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:consistencyLevel:GetObjectInformation', getObjectInformation_consistencyLevel - The consistency level at which to retrieve the object information.

GetObjectInformation, getObjectInformation_directoryArn - The ARN of the directory being retrieved.

GetObjectInformation, getObjectInformation_objectReference - A reference to the object.

Request Lenses

getObjectInformation_consistencyLevel :: Lens' GetObjectInformation (Maybe ConsistencyLevel) Source #

The consistency level at which to retrieve the object information.

getObjectInformation_directoryArn :: Lens' GetObjectInformation Text Source #

The ARN of the directory being retrieved.

Destructuring the Response

data GetObjectInformationResponse Source #

See: newGetObjectInformationResponse smart constructor.

Constructors

GetObjectInformationResponse' 

Fields

  • objectIdentifier :: Maybe Text

    The ObjectIdentifier of the specified object.

  • schemaFacets :: Maybe [SchemaFacet]

    The facets attached to the specified object. Although the response does not include minor version information, the most recently applied minor version of each Facet is in effect. See GetAppliedSchemaVersion for details.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic GetObjectInformationResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.GetObjectInformation

Associated Types

type Rep GetObjectInformationResponse :: Type -> Type #

Read GetObjectInformationResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.GetObjectInformation

Show GetObjectInformationResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.GetObjectInformation

NFData GetObjectInformationResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.GetObjectInformation

Eq GetObjectInformationResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.GetObjectInformation

type Rep GetObjectInformationResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.GetObjectInformation

type Rep GetObjectInformationResponse = D1 ('MetaData "GetObjectInformationResponse" "Amazonka.CloudDirectory.GetObjectInformation" "amazonka-clouddirectory-2.0-JYRSwrX5Vm289hhbSwe2zQ" 'False) (C1 ('MetaCons "GetObjectInformationResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "objectIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "schemaFacets") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [SchemaFacet])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newGetObjectInformationResponse Source #

Create a value of GetObjectInformationResponse 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:

GetObjectInformationResponse, getObjectInformationResponse_objectIdentifier - The ObjectIdentifier of the specified object.

GetObjectInformationResponse, getObjectInformationResponse_schemaFacets - The facets attached to the specified object. Although the response does not include minor version information, the most recently applied minor version of each Facet is in effect. See GetAppliedSchemaVersion for details.

$sel:httpStatus:GetObjectInformationResponse', getObjectInformationResponse_httpStatus - The response's http status code.

Response Lenses

getObjectInformationResponse_schemaFacets :: Lens' GetObjectInformationResponse (Maybe [SchemaFacet]) Source #

The facets attached to the specified object. Although the response does not include minor version information, the most recently applied minor version of each Facet is in effect. See GetAppliedSchemaVersion for details.