amazonka-arc-zonal-shift-2.0: Amazon ARC - Zonal Shift 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.ArcZonalShift.ListZonalShifts

Description

Lists all the active zonal shifts in Amazon Route 53 Application Recovery Controller in your AWS account in this AWS Region.

This operation returns paginated results.

Synopsis

Creating a Request

data ListZonalShifts Source #

See: newListZonalShifts smart constructor.

Constructors

ListZonalShifts' 

Fields

  • maxResults :: Maybe Natural

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

  • nextToken :: Maybe Text

    Specifies that you want to receive the next page of results. Valid only if you received a NextToken response in the previous request. If you did, it indicates that more output is available. Set this parameter to the value provided by the previous call's NextToken response to request the next page of results.

  • status :: Maybe ZonalShiftStatus

    A status for a zonal shift.

    The Status for a zonal shift can have one of the following values:

    • ACTIVE: The zonal shift is started and active.
    • EXPIRED: The zonal shift has expired (the expiry time was exceeded).
    • CANCELED: The zonal shift was canceled.

Instances

Instances details
ToHeaders ListZonalShifts Source # 
Instance details

Defined in Amazonka.ArcZonalShift.ListZonalShifts

ToPath ListZonalShifts Source # 
Instance details

Defined in Amazonka.ArcZonalShift.ListZonalShifts

ToQuery ListZonalShifts Source # 
Instance details

Defined in Amazonka.ArcZonalShift.ListZonalShifts

AWSPager ListZonalShifts Source # 
Instance details

Defined in Amazonka.ArcZonalShift.ListZonalShifts

AWSRequest ListZonalShifts Source # 
Instance details

Defined in Amazonka.ArcZonalShift.ListZonalShifts

Associated Types

type AWSResponse ListZonalShifts #

Generic ListZonalShifts Source # 
Instance details

Defined in Amazonka.ArcZonalShift.ListZonalShifts

Associated Types

type Rep ListZonalShifts :: Type -> Type #

Read ListZonalShifts Source # 
Instance details

Defined in Amazonka.ArcZonalShift.ListZonalShifts

Show ListZonalShifts Source # 
Instance details

Defined in Amazonka.ArcZonalShift.ListZonalShifts

NFData ListZonalShifts Source # 
Instance details

Defined in Amazonka.ArcZonalShift.ListZonalShifts

Methods

rnf :: ListZonalShifts -> () #

Eq ListZonalShifts Source # 
Instance details

Defined in Amazonka.ArcZonalShift.ListZonalShifts

Hashable ListZonalShifts Source # 
Instance details

Defined in Amazonka.ArcZonalShift.ListZonalShifts

type AWSResponse ListZonalShifts Source # 
Instance details

Defined in Amazonka.ArcZonalShift.ListZonalShifts

type Rep ListZonalShifts Source # 
Instance details

Defined in Amazonka.ArcZonalShift.ListZonalShifts

type Rep ListZonalShifts = D1 ('MetaData "ListZonalShifts" "Amazonka.ArcZonalShift.ListZonalShifts" "amazonka-arc-zonal-shift-2.0-HIBvozV7Gpr4kwNpYeZSTq" 'False) (C1 ('MetaCons "ListZonalShifts'" '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 "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ZonalShiftStatus)))))

newListZonalShifts :: ListZonalShifts Source #

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

ListZonalShifts, listZonalShifts_nextToken - Specifies that you want to receive the next page of results. Valid only if you received a NextToken response in the previous request. If you did, it indicates that more output is available. Set this parameter to the value provided by the previous call's NextToken response to request the next page of results.

ListZonalShifts, listZonalShifts_status - A status for a zonal shift.

The Status for a zonal shift can have one of the following values:

  • ACTIVE: The zonal shift is started and active.
  • EXPIRED: The zonal shift has expired (the expiry time was exceeded).
  • CANCELED: The zonal shift was canceled.

Request Lenses

listZonalShifts_maxResults :: Lens' ListZonalShifts (Maybe Natural) Source #

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

listZonalShifts_nextToken :: Lens' ListZonalShifts (Maybe Text) Source #

Specifies that you want to receive the next page of results. Valid only if you received a NextToken response in the previous request. If you did, it indicates that more output is available. Set this parameter to the value provided by the previous call's NextToken response to request the next page of results.

listZonalShifts_status :: Lens' ListZonalShifts (Maybe ZonalShiftStatus) Source #

A status for a zonal shift.

The Status for a zonal shift can have one of the following values:

  • ACTIVE: The zonal shift is started and active.
  • EXPIRED: The zonal shift has expired (the expiry time was exceeded).
  • CANCELED: The zonal shift was canceled.

Destructuring the Response

data ListZonalShiftsResponse Source #

See: newListZonalShiftsResponse smart constructor.

Constructors

ListZonalShiftsResponse' 

Fields

  • items :: Maybe [ZonalShiftSummary]

    The items in the response list.

  • nextToken :: Maybe Text

    Specifies that you want to receive the next page of results. Valid only if you received a NextToken response in the previous request. If you did, it indicates that more output is available. Set this parameter to the value provided by the previous call's NextToken response to request the next page of results.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic ListZonalShiftsResponse Source # 
Instance details

Defined in Amazonka.ArcZonalShift.ListZonalShifts

Associated Types

type Rep ListZonalShiftsResponse :: Type -> Type #

Read ListZonalShiftsResponse Source # 
Instance details

Defined in Amazonka.ArcZonalShift.ListZonalShifts

Show ListZonalShiftsResponse Source # 
Instance details

Defined in Amazonka.ArcZonalShift.ListZonalShifts

NFData ListZonalShiftsResponse Source # 
Instance details

Defined in Amazonka.ArcZonalShift.ListZonalShifts

Methods

rnf :: ListZonalShiftsResponse -> () #

Eq ListZonalShiftsResponse Source # 
Instance details

Defined in Amazonka.ArcZonalShift.ListZonalShifts

type Rep ListZonalShiftsResponse Source # 
Instance details

Defined in Amazonka.ArcZonalShift.ListZonalShifts

type Rep ListZonalShiftsResponse = D1 ('MetaData "ListZonalShiftsResponse" "Amazonka.ArcZonalShift.ListZonalShifts" "amazonka-arc-zonal-shift-2.0-HIBvozV7Gpr4kwNpYeZSTq" 'False) (C1 ('MetaCons "ListZonalShiftsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ZonalShiftSummary])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListZonalShiftsResponse Source #

Create a value of ListZonalShiftsResponse 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:items:ListZonalShiftsResponse', listZonalShiftsResponse_items - The items in the response list.

ListZonalShifts, listZonalShiftsResponse_nextToken - Specifies that you want to receive the next page of results. Valid only if you received a NextToken response in the previous request. If you did, it indicates that more output is available. Set this parameter to the value provided by the previous call's NextToken response to request the next page of results.

$sel:httpStatus:ListZonalShiftsResponse', listZonalShiftsResponse_httpStatus - The response's http status code.

Response Lenses

listZonalShiftsResponse_nextToken :: Lens' ListZonalShiftsResponse (Maybe Text) Source #

Specifies that you want to receive the next page of results. Valid only if you received a NextToken response in the previous request. If you did, it indicates that more output is available. Set this parameter to the value provided by the previous call's NextToken response to request the next page of results.