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

Description

Returns information about the specified segment. Specify the segment you want to view by specifying its ARN.

Synopsis

Creating a Request

data GetSegment Source #

See: newGetSegment smart constructor.

Constructors

GetSegment' 

Fields

  • segment :: Text

    The ARN of the segment to return information for.

Instances

Instances details
ToHeaders GetSegment Source # 
Instance details

Defined in Amazonka.Evidently.GetSegment

Methods

toHeaders :: GetSegment -> [Header] #

ToPath GetSegment Source # 
Instance details

Defined in Amazonka.Evidently.GetSegment

ToQuery GetSegment Source # 
Instance details

Defined in Amazonka.Evidently.GetSegment

AWSRequest GetSegment Source # 
Instance details

Defined in Amazonka.Evidently.GetSegment

Associated Types

type AWSResponse GetSegment #

Generic GetSegment Source # 
Instance details

Defined in Amazonka.Evidently.GetSegment

Associated Types

type Rep GetSegment :: Type -> Type #

Read GetSegment Source # 
Instance details

Defined in Amazonka.Evidently.GetSegment

Show GetSegment Source # 
Instance details

Defined in Amazonka.Evidently.GetSegment

NFData GetSegment Source # 
Instance details

Defined in Amazonka.Evidently.GetSegment

Methods

rnf :: GetSegment -> () #

Eq GetSegment Source # 
Instance details

Defined in Amazonka.Evidently.GetSegment

Hashable GetSegment Source # 
Instance details

Defined in Amazonka.Evidently.GetSegment

type AWSResponse GetSegment Source # 
Instance details

Defined in Amazonka.Evidently.GetSegment

type Rep GetSegment Source # 
Instance details

Defined in Amazonka.Evidently.GetSegment

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

newGetSegment Source #

Arguments

:: Text

GetSegment

-> GetSegment 

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

GetSegment, getSegment_segment - The ARN of the segment to return information for.

Request Lenses

getSegment_segment :: Lens' GetSegment Text Source #

The ARN of the segment to return information for.

Destructuring the Response

data GetSegmentResponse Source #

See: newGetSegmentResponse smart constructor.

Constructors

GetSegmentResponse' 

Fields

  • httpStatus :: Int

    The response's http status code.

  • segment :: Segment

    A structure that contains the complete information about the segment.

Instances

Instances details
Generic GetSegmentResponse Source # 
Instance details

Defined in Amazonka.Evidently.GetSegment

Associated Types

type Rep GetSegmentResponse :: Type -> Type #

Read GetSegmentResponse Source # 
Instance details

Defined in Amazonka.Evidently.GetSegment

Show GetSegmentResponse Source # 
Instance details

Defined in Amazonka.Evidently.GetSegment

NFData GetSegmentResponse Source # 
Instance details

Defined in Amazonka.Evidently.GetSegment

Methods

rnf :: GetSegmentResponse -> () #

Eq GetSegmentResponse Source # 
Instance details

Defined in Amazonka.Evidently.GetSegment

type Rep GetSegmentResponse Source # 
Instance details

Defined in Amazonka.Evidently.GetSegment

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

newGetSegmentResponse Source #

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

GetSegment, getSegmentResponse_segment - A structure that contains the complete information about the segment.

Response Lenses

getSegmentResponse_segment :: Lens' GetSegmentResponse Segment Source #

A structure that contains the complete information about the segment.