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

Description

Use this operation to find which experiments or launches are using a specified segment.

This operation returns paginated results.

Synopsis

Creating a Request

data ListSegmentReferences Source #

See: newListSegmentReferences smart constructor.

Constructors

ListSegmentReferences' 

Fields

  • maxResults :: Maybe Natural

    The maximum number of results to include in the response. If you omit this, the default of 50 is used.

  • nextToken :: Maybe Text

    The token to use when requesting the next set of results. You received this token from a previous ListSegmentReferences operation.

  • segment :: Text

    The ARN of the segment that you want to view information for.

  • type' :: SegmentReferenceResourceType

    Specifies whether to return information about launches or experiments that use this segment.

Instances

Instances details
ToHeaders ListSegmentReferences Source # 
Instance details

Defined in Amazonka.Evidently.ListSegmentReferences

ToPath ListSegmentReferences Source # 
Instance details

Defined in Amazonka.Evidently.ListSegmentReferences

ToQuery ListSegmentReferences Source # 
Instance details

Defined in Amazonka.Evidently.ListSegmentReferences

AWSPager ListSegmentReferences Source # 
Instance details

Defined in Amazonka.Evidently.ListSegmentReferences

AWSRequest ListSegmentReferences Source # 
Instance details

Defined in Amazonka.Evidently.ListSegmentReferences

Associated Types

type AWSResponse ListSegmentReferences #

Generic ListSegmentReferences Source # 
Instance details

Defined in Amazonka.Evidently.ListSegmentReferences

Associated Types

type Rep ListSegmentReferences :: Type -> Type #

Read ListSegmentReferences Source # 
Instance details

Defined in Amazonka.Evidently.ListSegmentReferences

Show ListSegmentReferences Source # 
Instance details

Defined in Amazonka.Evidently.ListSegmentReferences

NFData ListSegmentReferences Source # 
Instance details

Defined in Amazonka.Evidently.ListSegmentReferences

Methods

rnf :: ListSegmentReferences -> () #

Eq ListSegmentReferences Source # 
Instance details

Defined in Amazonka.Evidently.ListSegmentReferences

Hashable ListSegmentReferences Source # 
Instance details

Defined in Amazonka.Evidently.ListSegmentReferences

type AWSResponse ListSegmentReferences Source # 
Instance details

Defined in Amazonka.Evidently.ListSegmentReferences

type Rep ListSegmentReferences Source # 
Instance details

Defined in Amazonka.Evidently.ListSegmentReferences

type Rep ListSegmentReferences = D1 ('MetaData "ListSegmentReferences" "Amazonka.Evidently.ListSegmentReferences" "amazonka-evidently-2.0-Es2fJk98R0DAUPYaVkZSYC" 'False) (C1 ('MetaCons "ListSegmentReferences'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "segment") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SegmentReferenceResourceType))))

newListSegmentReferences Source #

Create a value of ListSegmentReferences 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:maxResults:ListSegmentReferences', listSegmentReferences_maxResults - The maximum number of results to include in the response. If you omit this, the default of 50 is used.

ListSegmentReferences, listSegmentReferences_nextToken - The token to use when requesting the next set of results. You received this token from a previous ListSegmentReferences operation.

ListSegmentReferences, listSegmentReferences_segment - The ARN of the segment that you want to view information for.

ListSegmentReferences, listSegmentReferences_type - Specifies whether to return information about launches or experiments that use this segment.

Request Lenses

listSegmentReferences_maxResults :: Lens' ListSegmentReferences (Maybe Natural) Source #

The maximum number of results to include in the response. If you omit this, the default of 50 is used.

listSegmentReferences_nextToken :: Lens' ListSegmentReferences (Maybe Text) Source #

The token to use when requesting the next set of results. You received this token from a previous ListSegmentReferences operation.

listSegmentReferences_segment :: Lens' ListSegmentReferences Text Source #

The ARN of the segment that you want to view information for.

listSegmentReferences_type :: Lens' ListSegmentReferences SegmentReferenceResourceType Source #

Specifies whether to return information about launches or experiments that use this segment.

Destructuring the Response

data ListSegmentReferencesResponse Source #

See: newListSegmentReferencesResponse smart constructor.

Constructors

ListSegmentReferencesResponse' 

Fields

  • nextToken :: Maybe Text

    The token to use in a subsequent ListSegmentReferences operation to return the next set of results.

  • referencedBy :: Maybe [RefResource]

    An array of structures, where each structure contains information about one experiment or launch that uses this segment.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic ListSegmentReferencesResponse Source # 
Instance details

Defined in Amazonka.Evidently.ListSegmentReferences

Associated Types

type Rep ListSegmentReferencesResponse :: Type -> Type #

Read ListSegmentReferencesResponse Source # 
Instance details

Defined in Amazonka.Evidently.ListSegmentReferences

Show ListSegmentReferencesResponse Source # 
Instance details

Defined in Amazonka.Evidently.ListSegmentReferences

NFData ListSegmentReferencesResponse Source # 
Instance details

Defined in Amazonka.Evidently.ListSegmentReferences

Eq ListSegmentReferencesResponse Source # 
Instance details

Defined in Amazonka.Evidently.ListSegmentReferences

type Rep ListSegmentReferencesResponse Source # 
Instance details

Defined in Amazonka.Evidently.ListSegmentReferences

type Rep ListSegmentReferencesResponse = D1 ('MetaData "ListSegmentReferencesResponse" "Amazonka.Evidently.ListSegmentReferences" "amazonka-evidently-2.0-Es2fJk98R0DAUPYaVkZSYC" 'False) (C1 ('MetaCons "ListSegmentReferencesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "referencedBy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [RefResource])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListSegmentReferencesResponse Source #

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

ListSegmentReferences, listSegmentReferencesResponse_nextToken - The token to use in a subsequent ListSegmentReferences operation to return the next set of results.

$sel:referencedBy:ListSegmentReferencesResponse', listSegmentReferencesResponse_referencedBy - An array of structures, where each structure contains information about one experiment or launch that uses this segment.

$sel:httpStatus:ListSegmentReferencesResponse', listSegmentReferencesResponse_httpStatus - The response's http status code.

Response Lenses

listSegmentReferencesResponse_nextToken :: Lens' ListSegmentReferencesResponse (Maybe Text) Source #

The token to use in a subsequent ListSegmentReferences operation to return the next set of results.

listSegmentReferencesResponse_referencedBy :: Lens' ListSegmentReferencesResponse (Maybe [RefResource]) Source #

An array of structures, where each structure contains information about one experiment or launch that uses this segment.