amazonka-amp-2.0: Amazon Prometheus Service 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.AMP.ListRuleGroupsNamespaces

Description

Lists rule groups namespaces.

This operation returns paginated results.

Synopsis

Creating a Request

data ListRuleGroupsNamespaces Source #

Represents the input of a ListRuleGroupsNamespaces operation.

See: newListRuleGroupsNamespaces smart constructor.

Constructors

ListRuleGroupsNamespaces' 

Fields

  • maxResults :: Maybe Natural

    Maximum results to return in response (default=100, maximum=1000).

  • name :: Maybe Text

    Optional filter for rule groups namespace name. Only the rule groups namespace that begin with this value will be returned.

  • nextToken :: Maybe Text

    Pagination token to request the next page in a paginated list. This token is obtained from the output of the previous ListRuleGroupsNamespaces request.

  • workspaceId :: Text

    The ID of the workspace.

Instances

Instances details
ToHeaders ListRuleGroupsNamespaces Source # 
Instance details

Defined in Amazonka.AMP.ListRuleGroupsNamespaces

ToPath ListRuleGroupsNamespaces Source # 
Instance details

Defined in Amazonka.AMP.ListRuleGroupsNamespaces

ToQuery ListRuleGroupsNamespaces Source # 
Instance details

Defined in Amazonka.AMP.ListRuleGroupsNamespaces

AWSPager ListRuleGroupsNamespaces Source # 
Instance details

Defined in Amazonka.AMP.ListRuleGroupsNamespaces

AWSRequest ListRuleGroupsNamespaces Source # 
Instance details

Defined in Amazonka.AMP.ListRuleGroupsNamespaces

Generic ListRuleGroupsNamespaces Source # 
Instance details

Defined in Amazonka.AMP.ListRuleGroupsNamespaces

Associated Types

type Rep ListRuleGroupsNamespaces :: Type -> Type #

Read ListRuleGroupsNamespaces Source # 
Instance details

Defined in Amazonka.AMP.ListRuleGroupsNamespaces

Show ListRuleGroupsNamespaces Source # 
Instance details

Defined in Amazonka.AMP.ListRuleGroupsNamespaces

NFData ListRuleGroupsNamespaces Source # 
Instance details

Defined in Amazonka.AMP.ListRuleGroupsNamespaces

Eq ListRuleGroupsNamespaces Source # 
Instance details

Defined in Amazonka.AMP.ListRuleGroupsNamespaces

Hashable ListRuleGroupsNamespaces Source # 
Instance details

Defined in Amazonka.AMP.ListRuleGroupsNamespaces

type AWSResponse ListRuleGroupsNamespaces Source # 
Instance details

Defined in Amazonka.AMP.ListRuleGroupsNamespaces

type Rep ListRuleGroupsNamespaces Source # 
Instance details

Defined in Amazonka.AMP.ListRuleGroupsNamespaces

type Rep ListRuleGroupsNamespaces = D1 ('MetaData "ListRuleGroupsNamespaces" "Amazonka.AMP.ListRuleGroupsNamespaces" "amazonka-amp-2.0-5Nt9wsU74T2I91dslthaby" 'False) (C1 ('MetaCons "ListRuleGroupsNamespaces'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "workspaceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newListRuleGroupsNamespaces Source #

Create a value of ListRuleGroupsNamespaces 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:ListRuleGroupsNamespaces', listRuleGroupsNamespaces_maxResults - Maximum results to return in response (default=100, maximum=1000).

ListRuleGroupsNamespaces, listRuleGroupsNamespaces_name - Optional filter for rule groups namespace name. Only the rule groups namespace that begin with this value will be returned.

ListRuleGroupsNamespaces, listRuleGroupsNamespaces_nextToken - Pagination token to request the next page in a paginated list. This token is obtained from the output of the previous ListRuleGroupsNamespaces request.

ListRuleGroupsNamespaces, listRuleGroupsNamespaces_workspaceId - The ID of the workspace.

Request Lenses

listRuleGroupsNamespaces_maxResults :: Lens' ListRuleGroupsNamespaces (Maybe Natural) Source #

Maximum results to return in response (default=100, maximum=1000).

listRuleGroupsNamespaces_name :: Lens' ListRuleGroupsNamespaces (Maybe Text) Source #

Optional filter for rule groups namespace name. Only the rule groups namespace that begin with this value will be returned.

listRuleGroupsNamespaces_nextToken :: Lens' ListRuleGroupsNamespaces (Maybe Text) Source #

Pagination token to request the next page in a paginated list. This token is obtained from the output of the previous ListRuleGroupsNamespaces request.

Destructuring the Response

data ListRuleGroupsNamespacesResponse Source #

Represents the output of a ListRuleGroupsNamespaces operation.

See: newListRuleGroupsNamespacesResponse smart constructor.

Constructors

ListRuleGroupsNamespacesResponse' 

Fields

Instances

Instances details
Generic ListRuleGroupsNamespacesResponse Source # 
Instance details

Defined in Amazonka.AMP.ListRuleGroupsNamespaces

Associated Types

type Rep ListRuleGroupsNamespacesResponse :: Type -> Type #

Read ListRuleGroupsNamespacesResponse Source # 
Instance details

Defined in Amazonka.AMP.ListRuleGroupsNamespaces

Show ListRuleGroupsNamespacesResponse Source # 
Instance details

Defined in Amazonka.AMP.ListRuleGroupsNamespaces

NFData ListRuleGroupsNamespacesResponse Source # 
Instance details

Defined in Amazonka.AMP.ListRuleGroupsNamespaces

Eq ListRuleGroupsNamespacesResponse Source # 
Instance details

Defined in Amazonka.AMP.ListRuleGroupsNamespaces

type Rep ListRuleGroupsNamespacesResponse Source # 
Instance details

Defined in Amazonka.AMP.ListRuleGroupsNamespaces

type Rep ListRuleGroupsNamespacesResponse = D1 ('MetaData "ListRuleGroupsNamespacesResponse" "Amazonka.AMP.ListRuleGroupsNamespaces" "amazonka-amp-2.0-5Nt9wsU74T2I91dslthaby" 'False) (C1 ('MetaCons "ListRuleGroupsNamespacesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "ruleGroupsNamespaces") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [RuleGroupsNamespaceSummary]))))

newListRuleGroupsNamespacesResponse Source #

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

ListRuleGroupsNamespaces, listRuleGroupsNamespacesResponse_nextToken - Pagination token to use when requesting the next page in this list.

$sel:httpStatus:ListRuleGroupsNamespacesResponse', listRuleGroupsNamespacesResponse_httpStatus - The response's http status code.

$sel:ruleGroupsNamespaces:ListRuleGroupsNamespacesResponse', listRuleGroupsNamespacesResponse_ruleGroupsNamespaces - The list of the selected rule groups namespaces.

Response Lenses

listRuleGroupsNamespacesResponse_nextToken :: Lens' ListRuleGroupsNamespacesResponse (Maybe Text) Source #

Pagination token to use when requesting the next page in this list.