amazonka-route53-recovery-control-config-2.0: Amazon Route53 Recovery Control Config 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.Route53RecoveryControlConfig.ListSafetyRules

Description

List the safety rules (the assertion rules and gating rules) that you've defined for the routing controls in a control panel.

This operation returns paginated results.

Synopsis

Creating a Request

data ListSafetyRules Source #

See: newListSafetyRules smart constructor.

Constructors

ListSafetyRules' 

Fields

Instances

Instances details
ToHeaders ListSafetyRules Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.ListSafetyRules

ToPath ListSafetyRules Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.ListSafetyRules

ToQuery ListSafetyRules Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.ListSafetyRules

AWSPager ListSafetyRules Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.ListSafetyRules

AWSRequest ListSafetyRules Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.ListSafetyRules

Associated Types

type AWSResponse ListSafetyRules #

Generic ListSafetyRules Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.ListSafetyRules

Associated Types

type Rep ListSafetyRules :: Type -> Type #

Read ListSafetyRules Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.ListSafetyRules

Show ListSafetyRules Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.ListSafetyRules

NFData ListSafetyRules Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.ListSafetyRules

Methods

rnf :: ListSafetyRules -> () #

Eq ListSafetyRules Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.ListSafetyRules

Hashable ListSafetyRules Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.ListSafetyRules

type AWSResponse ListSafetyRules Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.ListSafetyRules

type Rep ListSafetyRules Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.ListSafetyRules

type Rep ListSafetyRules = D1 ('MetaData "ListSafetyRules" "Amazonka.Route53RecoveryControlConfig.ListSafetyRules" "amazonka-route53-recovery-control-config-2.0-EdxrPdjlafWED9VxY6nLf4" 'False) (C1 ('MetaCons "ListSafetyRules'" '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 "controlPanelArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newListSafetyRules Source #

Create a value of ListSafetyRules 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:ListSafetyRules', listSafetyRules_maxResults - The number of objects that you want to return with this call.

ListSafetyRules, listSafetyRules_nextToken - The token that identifies which batch of results you want to see.

ListSafetyRules, listSafetyRules_controlPanelArn - The Amazon Resource Name (ARN) of the control panel.

Request Lenses

listSafetyRules_maxResults :: Lens' ListSafetyRules (Maybe Natural) Source #

The number of objects that you want to return with this call.

listSafetyRules_nextToken :: Lens' ListSafetyRules (Maybe Text) Source #

The token that identifies which batch of results you want to see.

listSafetyRules_controlPanelArn :: Lens' ListSafetyRules Text Source #

The Amazon Resource Name (ARN) of the control panel.

Destructuring the Response

data ListSafetyRulesResponse Source #

See: newListSafetyRulesResponse smart constructor.

Constructors

ListSafetyRulesResponse' 

Fields

Instances

Instances details
Generic ListSafetyRulesResponse Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.ListSafetyRules

Associated Types

type Rep ListSafetyRulesResponse :: Type -> Type #

Read ListSafetyRulesResponse Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.ListSafetyRules

Show ListSafetyRulesResponse Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.ListSafetyRules

NFData ListSafetyRulesResponse Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.ListSafetyRules

Methods

rnf :: ListSafetyRulesResponse -> () #

Eq ListSafetyRulesResponse Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.ListSafetyRules

type Rep ListSafetyRulesResponse Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.ListSafetyRules

type Rep ListSafetyRulesResponse = D1 ('MetaData "ListSafetyRulesResponse" "Amazonka.Route53RecoveryControlConfig.ListSafetyRules" "amazonka-route53-recovery-control-config-2.0-EdxrPdjlafWED9VxY6nLf4" 'False) (C1 ('MetaCons "ListSafetyRulesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "safetyRules") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Rule])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListSafetyRulesResponse Source #

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

ListSafetyRules, listSafetyRulesResponse_nextToken - The token that identifies which batch of results you want to see.

$sel:safetyRules:ListSafetyRulesResponse', listSafetyRulesResponse_safetyRules - The list of safety rules in a control panel.

$sel:httpStatus:ListSafetyRulesResponse', listSafetyRulesResponse_httpStatus - The response's http status code.

Response Lenses

listSafetyRulesResponse_nextToken :: Lens' ListSafetyRulesResponse (Maybe Text) Source #

The token that identifies which batch of results you want to see.

listSafetyRulesResponse_safetyRules :: Lens' ListSafetyRulesResponse (Maybe [Rule]) Source #

The list of safety rules in a control panel.