amazonka-evidently-2.0: Amazon CloudWatch Evidently 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.Evidently.GetFeature

Description

Returns the details about one feature. You must already know the feature name. To retrieve a list of features in your account, use ListFeatures.

Synopsis

Creating a Request

data GetFeature Source #

See: newGetFeature smart constructor.

Constructors

GetFeature' 

Fields

  • feature :: Text

    The name of the feature that you want to retrieve information for.

  • project :: Text

    The name or ARN of the project that contains the feature.

Instances

Instances details
ToHeaders GetFeature Source # 
Instance details

Defined in Amazonka.Evidently.GetFeature

Methods

toHeaders :: GetFeature -> [Header] #

ToPath GetFeature Source # 
Instance details

Defined in Amazonka.Evidently.GetFeature

ToQuery GetFeature Source # 
Instance details

Defined in Amazonka.Evidently.GetFeature

AWSRequest GetFeature Source # 
Instance details

Defined in Amazonka.Evidently.GetFeature

Associated Types

type AWSResponse GetFeature #

Generic GetFeature Source # 
Instance details

Defined in Amazonka.Evidently.GetFeature

Associated Types

type Rep GetFeature :: Type -> Type #

Read GetFeature Source # 
Instance details

Defined in Amazonka.Evidently.GetFeature

Show GetFeature Source # 
Instance details

Defined in Amazonka.Evidently.GetFeature

NFData GetFeature Source # 
Instance details

Defined in Amazonka.Evidently.GetFeature

Methods

rnf :: GetFeature -> () #

Eq GetFeature Source # 
Instance details

Defined in Amazonka.Evidently.GetFeature

Hashable GetFeature Source # 
Instance details

Defined in Amazonka.Evidently.GetFeature

type AWSResponse GetFeature Source # 
Instance details

Defined in Amazonka.Evidently.GetFeature

type Rep GetFeature Source # 
Instance details

Defined in Amazonka.Evidently.GetFeature

type Rep GetFeature = D1 ('MetaData "GetFeature" "Amazonka.Evidently.GetFeature" "amazonka-evidently-2.0-Es2fJk98R0DAUPYaVkZSYC" 'False) (C1 ('MetaCons "GetFeature'" 'PrefixI 'True) (S1 ('MetaSel ('Just "feature") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "project") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newGetFeature Source #

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

GetFeature, getFeature_feature - The name of the feature that you want to retrieve information for.

GetFeature, getFeature_project - The name or ARN of the project that contains the feature.

Request Lenses

getFeature_feature :: Lens' GetFeature Text Source #

The name of the feature that you want to retrieve information for.

getFeature_project :: Lens' GetFeature Text Source #

The name or ARN of the project that contains the feature.

Destructuring the Response

data GetFeatureResponse Source #

See: newGetFeatureResponse smart constructor.

Constructors

GetFeatureResponse' 

Fields

Instances

Instances details
Generic GetFeatureResponse Source # 
Instance details

Defined in Amazonka.Evidently.GetFeature

Associated Types

type Rep GetFeatureResponse :: Type -> Type #

Read GetFeatureResponse Source # 
Instance details

Defined in Amazonka.Evidently.GetFeature

Show GetFeatureResponse Source # 
Instance details

Defined in Amazonka.Evidently.GetFeature

NFData GetFeatureResponse Source # 
Instance details

Defined in Amazonka.Evidently.GetFeature

Methods

rnf :: GetFeatureResponse -> () #

Eq GetFeatureResponse Source # 
Instance details

Defined in Amazonka.Evidently.GetFeature

type Rep GetFeatureResponse Source # 
Instance details

Defined in Amazonka.Evidently.GetFeature

type Rep GetFeatureResponse = D1 ('MetaData "GetFeatureResponse" "Amazonka.Evidently.GetFeature" "amazonka-evidently-2.0-Es2fJk98R0DAUPYaVkZSYC" 'False) (C1 ('MetaCons "GetFeatureResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "feature") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Feature)))

newGetFeatureResponse Source #

Create a value of GetFeatureResponse 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:httpStatus:GetFeatureResponse', getFeatureResponse_httpStatus - The response's http status code.

GetFeature, getFeatureResponse_feature - A structure containing the configuration details of the feature.

Response Lenses

getFeatureResponse_feature :: Lens' GetFeatureResponse Feature Source #

A structure containing the configuration details of the feature.