amazonka-resource-explorer-v2-2.0: Amazon Resource Explorer 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.ResourceExplorer2.GetIndex

Description

Retrieves details about the Amazon Web Services Resource Explorer index in the Amazon Web Services Region in which you invoked the operation.

Synopsis

Creating a Request

data GetIndex Source #

See: newGetIndex smart constructor.

Constructors

GetIndex' 

Instances

Instances details
ToJSON GetIndex Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.GetIndex

ToHeaders GetIndex Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.GetIndex

Methods

toHeaders :: GetIndex -> [Header] #

ToPath GetIndex Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.GetIndex

ToQuery GetIndex Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.GetIndex

AWSRequest GetIndex Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.GetIndex

Associated Types

type AWSResponse GetIndex #

Generic GetIndex Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.GetIndex

Associated Types

type Rep GetIndex :: Type -> Type #

Methods

from :: GetIndex -> Rep GetIndex x #

to :: Rep GetIndex x -> GetIndex #

Read GetIndex Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.GetIndex

Show GetIndex Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.GetIndex

NFData GetIndex Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.GetIndex

Methods

rnf :: GetIndex -> () #

Eq GetIndex Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.GetIndex

Hashable GetIndex Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.GetIndex

Methods

hashWithSalt :: Int -> GetIndex -> Int #

hash :: GetIndex -> Int #

type AWSResponse GetIndex Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.GetIndex

type Rep GetIndex Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.GetIndex

type Rep GetIndex = D1 ('MetaData "GetIndex" "Amazonka.ResourceExplorer2.GetIndex" "amazonka-resource-explorer-v2-2.0-DYDynTzMYCcKX3QLWjH6Yt" 'False) (C1 ('MetaCons "GetIndex'" 'PrefixI 'False) (U1 :: Type -> Type))

newGetIndex :: GetIndex Source #

Create a value of GetIndex with all optional fields omitted.

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

Destructuring the Response

data GetIndexResponse Source #

See: newGetIndexResponse smart constructor.

Constructors

GetIndexResponse' 

Fields

Instances

Instances details
Generic GetIndexResponse Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.GetIndex

Associated Types

type Rep GetIndexResponse :: Type -> Type #

Read GetIndexResponse Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.GetIndex

Show GetIndexResponse Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.GetIndex

NFData GetIndexResponse Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.GetIndex

Methods

rnf :: GetIndexResponse -> () #

Eq GetIndexResponse Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.GetIndex

type Rep GetIndexResponse Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.GetIndex

newGetIndexResponse Source #

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

GetIndexResponse, getIndexResponse_arn - The Amazon resource name (ARN) of the index.

$sel:createdAt:GetIndexResponse', getIndexResponse_createdAt - The date and time when the index was originally created.

GetIndexResponse, getIndexResponse_lastUpdatedAt - The date and time when the index was last updated.

$sel:replicatingFrom:GetIndexResponse', getIndexResponse_replicatingFrom - This response value is present only if this index is Type=AGGREGATOR.

A list of the Amazon Web Services Regions that replicate their content to the index in this Region.

$sel:replicatingTo:GetIndexResponse', getIndexResponse_replicatingTo - This response value is present only if this index is Type=LOCAL.

The Amazon Web Services Region that contains the aggregator index, if one exists. If an aggregator index does exist then the Region in which you called this operation replicates its index information to the Region specified in this response value.

$sel:state:GetIndexResponse', getIndexResponse_state - The current state of the index in this Amazon Web Services Region.

$sel:tags:GetIndexResponse', getIndexResponse_tags - Tag key and value pairs that are attached to the index.

GetIndexResponse, getIndexResponse_type - The type of the index in this Region. For information about the aggregator index and how it differs from a local index, see Turning on cross-Region search by creating an aggregator index.

$sel:httpStatus:GetIndexResponse', getIndexResponse_httpStatus - The response's http status code.

Response Lenses

getIndexResponse_createdAt :: Lens' GetIndexResponse (Maybe UTCTime) Source #

The date and time when the index was originally created.

getIndexResponse_lastUpdatedAt :: Lens' GetIndexResponse (Maybe UTCTime) Source #

The date and time when the index was last updated.

getIndexResponse_replicatingFrom :: Lens' GetIndexResponse (Maybe [Text]) Source #

This response value is present only if this index is Type=AGGREGATOR.

A list of the Amazon Web Services Regions that replicate their content to the index in this Region.

getIndexResponse_replicatingTo :: Lens' GetIndexResponse (Maybe [Text]) Source #

This response value is present only if this index is Type=LOCAL.

The Amazon Web Services Region that contains the aggregator index, if one exists. If an aggregator index does exist then the Region in which you called this operation replicates its index information to the Region specified in this response value.

getIndexResponse_state :: Lens' GetIndexResponse (Maybe IndexState) Source #

The current state of the index in this Amazon Web Services Region.

getIndexResponse_tags :: Lens' GetIndexResponse (Maybe (HashMap Text Text)) Source #

Tag key and value pairs that are attached to the index.

getIndexResponse_type :: Lens' GetIndexResponse (Maybe IndexType) Source #

The type of the index in this Region. For information about the aggregator index and how it differs from a local index, see Turning on cross-Region search by creating an aggregator index.

getIndexResponse_httpStatus :: Lens' GetIndexResponse Int Source #

The response's http status code.