amazonka-resiliencehub-2.0: Amazon Resilience Hub 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.ResilienceHub.ListResiliencyPolicies

Description

Lists the resiliency policies for the Resilience Hub applications.

Synopsis

Creating a Request

data ListResiliencyPolicies Source #

See: newListResiliencyPolicies smart constructor.

Constructors

ListResiliencyPolicies' 

Fields

  • maxResults :: Maybe Natural

    The maximum number of results to include in the response. If more results exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.

  • nextToken :: Maybe Text

    Null, or the token from a previous call to get the next set of results.

  • policyName :: Maybe Text

    The name of the policy

Instances

Instances details
ToHeaders ListResiliencyPolicies Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListResiliencyPolicies

ToPath ListResiliencyPolicies Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListResiliencyPolicies

ToQuery ListResiliencyPolicies Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListResiliencyPolicies

AWSRequest ListResiliencyPolicies Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListResiliencyPolicies

Associated Types

type AWSResponse ListResiliencyPolicies #

Generic ListResiliencyPolicies Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListResiliencyPolicies

Associated Types

type Rep ListResiliencyPolicies :: Type -> Type #

Read ListResiliencyPolicies Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListResiliencyPolicies

Show ListResiliencyPolicies Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListResiliencyPolicies

NFData ListResiliencyPolicies Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListResiliencyPolicies

Methods

rnf :: ListResiliencyPolicies -> () #

Eq ListResiliencyPolicies Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListResiliencyPolicies

Hashable ListResiliencyPolicies Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListResiliencyPolicies

type AWSResponse ListResiliencyPolicies Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListResiliencyPolicies

type Rep ListResiliencyPolicies Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListResiliencyPolicies

type Rep ListResiliencyPolicies = D1 ('MetaData "ListResiliencyPolicies" "Amazonka.ResilienceHub.ListResiliencyPolicies" "amazonka-resiliencehub-2.0-EsKgNhAb0B96cCxrYtrBzG" 'False) (C1 ('MetaCons "ListResiliencyPolicies'" '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 "policyName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newListResiliencyPolicies :: ListResiliencyPolicies Source #

Create a value of ListResiliencyPolicies 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:ListResiliencyPolicies', listResiliencyPolicies_maxResults - The maximum number of results to include in the response. If more results exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.

ListResiliencyPolicies, listResiliencyPolicies_nextToken - Null, or the token from a previous call to get the next set of results.

ListResiliencyPolicies, listResiliencyPolicies_policyName - The name of the policy

Request Lenses

listResiliencyPolicies_maxResults :: Lens' ListResiliencyPolicies (Maybe Natural) Source #

The maximum number of results to include in the response. If more results exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.

listResiliencyPolicies_nextToken :: Lens' ListResiliencyPolicies (Maybe Text) Source #

Null, or the token from a previous call to get the next set of results.

Destructuring the Response

data ListResiliencyPoliciesResponse Source #

See: newListResiliencyPoliciesResponse smart constructor.

Constructors

ListResiliencyPoliciesResponse' 

Fields

Instances

Instances details
Generic ListResiliencyPoliciesResponse Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListResiliencyPolicies

Associated Types

type Rep ListResiliencyPoliciesResponse :: Type -> Type #

Show ListResiliencyPoliciesResponse Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListResiliencyPolicies

NFData ListResiliencyPoliciesResponse Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListResiliencyPolicies

Eq ListResiliencyPoliciesResponse Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListResiliencyPolicies

type Rep ListResiliencyPoliciesResponse Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListResiliencyPolicies

type Rep ListResiliencyPoliciesResponse = D1 ('MetaData "ListResiliencyPoliciesResponse" "Amazonka.ResilienceHub.ListResiliencyPolicies" "amazonka-resiliencehub-2.0-EsKgNhAb0B96cCxrYtrBzG" 'False) (C1 ('MetaCons "ListResiliencyPoliciesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "resiliencyPolicies") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [ResiliencyPolicy]))))

newListResiliencyPoliciesResponse Source #

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

ListResiliencyPolicies, listResiliencyPoliciesResponse_nextToken - The token for the next set of results, or null if there are no more results.

$sel:httpStatus:ListResiliencyPoliciesResponse', listResiliencyPoliciesResponse_httpStatus - The response's http status code.

$sel:resiliencyPolicies:ListResiliencyPoliciesResponse', listResiliencyPoliciesResponse_resiliencyPolicies - The resiliency policies for the Resilience Hub applications.

Response Lenses

listResiliencyPoliciesResponse_nextToken :: Lens' ListResiliencyPoliciesResponse (Maybe Text) Source #

The token for the next set of results, or null if there are no more results.