amazonka-synthetics-2.0: Amazon Synthetics 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.Synthetics.ListAssociatedGroups

Description

Returns a list of the groups that the specified canary is associated with. The canary that you specify must be in the current Region.

Synopsis

Creating a Request

data ListAssociatedGroups Source #

See: newListAssociatedGroups smart constructor.

Constructors

ListAssociatedGroups' 

Fields

  • maxResults :: Maybe Natural

    Specify this parameter to limit how many groups are returned each time you use the ListAssociatedGroups operation. If you omit this parameter, the default of 20 is used.

  • nextToken :: Maybe Text

    A token that indicates that there is more data available. You can use this token in a subsequent operation to retrieve the next set of results.

  • resourceArn :: Text

    The ARN of the canary that you want to view groups for.

Instances

Instances details
ToJSON ListAssociatedGroups Source # 
Instance details

Defined in Amazonka.Synthetics.ListAssociatedGroups

ToHeaders ListAssociatedGroups Source # 
Instance details

Defined in Amazonka.Synthetics.ListAssociatedGroups

ToPath ListAssociatedGroups Source # 
Instance details

Defined in Amazonka.Synthetics.ListAssociatedGroups

ToQuery ListAssociatedGroups Source # 
Instance details

Defined in Amazonka.Synthetics.ListAssociatedGroups

AWSRequest ListAssociatedGroups Source # 
Instance details

Defined in Amazonka.Synthetics.ListAssociatedGroups

Associated Types

type AWSResponse ListAssociatedGroups #

Generic ListAssociatedGroups Source # 
Instance details

Defined in Amazonka.Synthetics.ListAssociatedGroups

Associated Types

type Rep ListAssociatedGroups :: Type -> Type #

Read ListAssociatedGroups Source # 
Instance details

Defined in Amazonka.Synthetics.ListAssociatedGroups

Show ListAssociatedGroups Source # 
Instance details

Defined in Amazonka.Synthetics.ListAssociatedGroups

NFData ListAssociatedGroups Source # 
Instance details

Defined in Amazonka.Synthetics.ListAssociatedGroups

Methods

rnf :: ListAssociatedGroups -> () #

Eq ListAssociatedGroups Source # 
Instance details

Defined in Amazonka.Synthetics.ListAssociatedGroups

Hashable ListAssociatedGroups Source # 
Instance details

Defined in Amazonka.Synthetics.ListAssociatedGroups

type AWSResponse ListAssociatedGroups Source # 
Instance details

Defined in Amazonka.Synthetics.ListAssociatedGroups

type Rep ListAssociatedGroups Source # 
Instance details

Defined in Amazonka.Synthetics.ListAssociatedGroups

type Rep ListAssociatedGroups = D1 ('MetaData "ListAssociatedGroups" "Amazonka.Synthetics.ListAssociatedGroups" "amazonka-synthetics-2.0-3I8gICXDswl2F1HDbijRHZ" 'False) (C1 ('MetaCons "ListAssociatedGroups'" '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 "resourceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newListAssociatedGroups Source #

Create a value of ListAssociatedGroups 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:ListAssociatedGroups', listAssociatedGroups_maxResults - Specify this parameter to limit how many groups are returned each time you use the ListAssociatedGroups operation. If you omit this parameter, the default of 20 is used.

ListAssociatedGroups, listAssociatedGroups_nextToken - A token that indicates that there is more data available. You can use this token in a subsequent operation to retrieve the next set of results.

$sel:resourceArn:ListAssociatedGroups', listAssociatedGroups_resourceArn - The ARN of the canary that you want to view groups for.

Request Lenses

listAssociatedGroups_maxResults :: Lens' ListAssociatedGroups (Maybe Natural) Source #

Specify this parameter to limit how many groups are returned each time you use the ListAssociatedGroups operation. If you omit this parameter, the default of 20 is used.

listAssociatedGroups_nextToken :: Lens' ListAssociatedGroups (Maybe Text) Source #

A token that indicates that there is more data available. You can use this token in a subsequent operation to retrieve the next set of results.

listAssociatedGroups_resourceArn :: Lens' ListAssociatedGroups Text Source #

The ARN of the canary that you want to view groups for.

Destructuring the Response

data ListAssociatedGroupsResponse Source #

See: newListAssociatedGroupsResponse smart constructor.

Constructors

ListAssociatedGroupsResponse' 

Fields

  • groups :: Maybe [GroupSummary]

    An array of structures that contain information about the groups that this canary is associated with.

  • nextToken :: Maybe Text

    A token that indicates that there is more data available. You can use this token in a subsequent ListAssociatedGroups operation to retrieve the next set of results.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic ListAssociatedGroupsResponse Source # 
Instance details

Defined in Amazonka.Synthetics.ListAssociatedGroups

Associated Types

type Rep ListAssociatedGroupsResponse :: Type -> Type #

Read ListAssociatedGroupsResponse Source # 
Instance details

Defined in Amazonka.Synthetics.ListAssociatedGroups

Show ListAssociatedGroupsResponse Source # 
Instance details

Defined in Amazonka.Synthetics.ListAssociatedGroups

NFData ListAssociatedGroupsResponse Source # 
Instance details

Defined in Amazonka.Synthetics.ListAssociatedGroups

Eq ListAssociatedGroupsResponse Source # 
Instance details

Defined in Amazonka.Synthetics.ListAssociatedGroups

type Rep ListAssociatedGroupsResponse Source # 
Instance details

Defined in Amazonka.Synthetics.ListAssociatedGroups

type Rep ListAssociatedGroupsResponse = D1 ('MetaData "ListAssociatedGroupsResponse" "Amazonka.Synthetics.ListAssociatedGroups" "amazonka-synthetics-2.0-3I8gICXDswl2F1HDbijRHZ" 'False) (C1 ('MetaCons "ListAssociatedGroupsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "groups") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [GroupSummary])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListAssociatedGroupsResponse Source #

Create a value of ListAssociatedGroupsResponse 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:groups:ListAssociatedGroupsResponse', listAssociatedGroupsResponse_groups - An array of structures that contain information about the groups that this canary is associated with.

ListAssociatedGroups, listAssociatedGroupsResponse_nextToken - A token that indicates that there is more data available. You can use this token in a subsequent ListAssociatedGroups operation to retrieve the next set of results.

$sel:httpStatus:ListAssociatedGroupsResponse', listAssociatedGroupsResponse_httpStatus - The response's http status code.

Response Lenses

listAssociatedGroupsResponse_groups :: Lens' ListAssociatedGroupsResponse (Maybe [GroupSummary]) Source #

An array of structures that contain information about the groups that this canary is associated with.

listAssociatedGroupsResponse_nextToken :: Lens' ListAssociatedGroupsResponse (Maybe Text) Source #

A token that indicates that there is more data available. You can use this token in a subsequent ListAssociatedGroups operation to retrieve the next set of results.