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

Description

Derived from API version 2022-10-30 of the AWS service descriptions, licensed under Apache 2.0.

This is the API Reference Guide for the zonal shift feature of Amazon Route 53 Application Recovery Controller. This guide is for developers who need detailed information about zonal shift API actions, data types, and errors.

Zonal shift is in preview release for Amazon Route 53 Application Recovery Controller and is subject to change.

Zonal shift in Route 53 ARC enables you to move traffic for a load balancer resource away from an Availability Zone. Starting a zonal shift helps your application recover immediately, for example, from a developer's bad code deployment or from an AWS infrastructure failure in a single Availability Zone, reducing the impact and time lost from an issue in one zone.

Supported AWS resources are automatically registered with Route 53 ARC. Resources that are registered for zonal shifts in Route 53 ARC are managed resources in Route 53 ARC. You can start a zonal shift for any managed resource in your account in a Region. At this time, you can only start a zonal shift for Network Load Balancers and Application Load Balancers with cross-zone load balancing turned off.

Zonal shifts are temporary. You must specify an expiration when you start a zonal shift, of up to three days initially. If you want to still keep traffic away from an Availability Zone, you can update the zonal shift and set a new expiration. You can also cancel a zonal shift, before it expires, for example, if you're ready to restore traffic to the Availability Zone.

For more information about using zonal shift, see the Amazon Route 53 Application Recovery Controller Developer Guide.

Synopsis

Service Configuration

defaultService :: Service Source #

API version 2022-10-30 of the Amazon ARC - Zonal Shift SDK configuration.

Errors

Error matchers are designed for use with the functions provided by Control.Exception.Lens. This allows catching (and rethrowing) service specific errors returned by ArcZonalShift.

AccessDeniedException

_AccessDeniedException :: AsError a => Fold a ServiceError Source #

You do not have sufficient access to perform this action.

ConflictException

_ConflictException :: AsError a => Fold a ServiceError Source #

The request could not be processed because of conflict in the current state of the resource.

InternalServerException

_InternalServerException :: AsError a => Fold a ServiceError Source #

There was an internal server error.

ResourceNotFoundException

_ResourceNotFoundException :: AsError a => Fold a ServiceError Source #

The input requested a resource that was not found.

ThrottlingException

_ThrottlingException :: AsError a => Fold a ServiceError Source #

The request was denied due to request throttling.

ValidationException

_ValidationException :: AsError a => Fold a ServiceError Source #

The input fails to satisfy the constraints specified by an AWS service.

Waiters

Waiters poll by repeatedly sending a request until some remote success condition configured by the Wait specification is fulfilled. The Wait specification determines how many attempts should be made, in addition to delay and retry strategies.

Operations

Some AWS operations return results that are incomplete and require subsequent requests in order to obtain the entire result set. The process of sending subsequent requests to continue where a previous request left off is called pagination. For example, the ListObjects operation of Amazon S3 returns up to 1000 objects at a time, and you must send subsequent requests with the appropriate Marker in order to retrieve the next page of results.

Operations that have an AWSPager instance can transparently perform subsequent requests, correctly setting Markers and other request facets to iterate through the entire result set of a truncated API operation. Operations which support this have an additional note in the documentation.

Many operations have the ability to filter results on the server side. See the individual operation parameters for details.

CancelZonalShift

data CancelZonalShift Source #

See: newCancelZonalShift smart constructor.

Constructors

CancelZonalShift' Text 

Instances

Instances details
ToHeaders CancelZonalShift Source # 
Instance details

Defined in Amazonka.ArcZonalShift.CancelZonalShift

ToPath CancelZonalShift Source # 
Instance details

Defined in Amazonka.ArcZonalShift.CancelZonalShift

ToQuery CancelZonalShift Source # 
Instance details

Defined in Amazonka.ArcZonalShift.CancelZonalShift

AWSRequest CancelZonalShift Source # 
Instance details

Defined in Amazonka.ArcZonalShift.CancelZonalShift

Associated Types

type AWSResponse CancelZonalShift #

Generic CancelZonalShift Source # 
Instance details

Defined in Amazonka.ArcZonalShift.CancelZonalShift

Associated Types

type Rep CancelZonalShift :: Type -> Type #

Read CancelZonalShift Source # 
Instance details

Defined in Amazonka.ArcZonalShift.CancelZonalShift

Show CancelZonalShift Source # 
Instance details

Defined in Amazonka.ArcZonalShift.CancelZonalShift

NFData CancelZonalShift Source # 
Instance details

Defined in Amazonka.ArcZonalShift.CancelZonalShift

Methods

rnf :: CancelZonalShift -> () #

Eq CancelZonalShift Source # 
Instance details

Defined in Amazonka.ArcZonalShift.CancelZonalShift

Hashable CancelZonalShift Source # 
Instance details

Defined in Amazonka.ArcZonalShift.CancelZonalShift

type AWSResponse CancelZonalShift Source # 
Instance details

Defined in Amazonka.ArcZonalShift.CancelZonalShift

type Rep CancelZonalShift Source # 
Instance details

Defined in Amazonka.ArcZonalShift.CancelZonalShift

type Rep CancelZonalShift = D1 ('MetaData "CancelZonalShift" "Amazonka.ArcZonalShift.CancelZonalShift" "amazonka-arc-zonal-shift-2.0-HIBvozV7Gpr4kwNpYeZSTq" 'False) (C1 ('MetaCons "CancelZonalShift'" 'PrefixI 'True) (S1 ('MetaSel ('Just "zonalShiftId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newCancelZonalShift Source #

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

CancelZonalShift, cancelZonalShift_zonalShiftId - The internally-generated identifier of a zonal shift.

data ZonalShift Source #

See: newZonalShift smart constructor.

Instances

Instances details
FromJSON ZonalShift Source # 
Instance details

Defined in Amazonka.ArcZonalShift.Types.ZonalShift

Generic ZonalShift Source # 
Instance details

Defined in Amazonka.ArcZonalShift.Types.ZonalShift

Associated Types

type Rep ZonalShift :: Type -> Type #

Read ZonalShift Source # 
Instance details

Defined in Amazonka.ArcZonalShift.Types.ZonalShift

Show ZonalShift Source # 
Instance details

Defined in Amazonka.ArcZonalShift.Types.ZonalShift

NFData ZonalShift Source # 
Instance details

Defined in Amazonka.ArcZonalShift.Types.ZonalShift

Methods

rnf :: ZonalShift -> () #

Eq ZonalShift Source # 
Instance details

Defined in Amazonka.ArcZonalShift.Types.ZonalShift

Hashable ZonalShift Source # 
Instance details

Defined in Amazonka.ArcZonalShift.Types.ZonalShift

type Rep ZonalShift Source # 
Instance details

Defined in Amazonka.ArcZonalShift.Types.ZonalShift

type Rep ZonalShift = D1 ('MetaData "ZonalShift" "Amazonka.ArcZonalShift.Types.ZonalShift" "amazonka-arc-zonal-shift-2.0-HIBvozV7Gpr4kwNpYeZSTq" 'False) (C1 ('MetaCons "ZonalShift'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "awayFrom") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "comment") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "expiryTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX))) :*: ((S1 ('MetaSel ('Just "resourceIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "startTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX)) :*: (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ZonalShiftStatus) :*: S1 ('MetaSel ('Just "zonalShiftId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newZonalShift Source #

Create a value of ZonalShift 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:awayFrom:ZonalShift', zonalShift_awayFrom - The Availability Zone that traffic is moved away from for a resource when you start a zonal shift. Until the zonal shift expires or you cancel it, traffic for the resource is instead moved to other Availability Zones in the AWS Region.

$sel:comment:ZonalShift', zonalShift_comment - A comment that you enter about the zonal shift. Only the latest comment is retained; no comment history is maintained. A new comment overwrites any existing comment string.

$sel:expiryTime:ZonalShift', zonalShift_expiryTime - The expiry time (expiration time) for the zonal shift. A zonal shift is temporary and must be set to expire when you start the zonal shift. You can initially set a zonal shift to expire in a maximum of three days (72 hours). However, you can update a zonal shift to set a new expiration at any time.

When you start a zonal shift, you specify how long you want it to be active, which Route 53 ARC converts to an expiry time (expiration time). You can cancel a zonal shift, for example, if you're ready to restore traffic to the Availability Zone. Or you can update the zonal shift to specify another length of time to expire in.

$sel:resourceIdentifier:ZonalShift', zonalShift_resourceIdentifier - The identifier for the resource to include in a zonal shift. The identifier is the Amazon Resource Name (ARN) for the resource.

At this time, you can only start a zonal shift for Network Load Balancers and Application Load Balancers with cross-zone load balancing turned off.

$sel:startTime:ZonalShift', zonalShift_startTime - The time (UTC) when the zonal shift is started.

$sel:status:ZonalShift', zonalShift_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.

$sel:zonalShiftId:ZonalShift', zonalShift_zonalShiftId - The identifier of a zonal shift.

GetManagedResource

data GetManagedResource Source #

See: newGetManagedResource smart constructor.

Instances

Instances details
ToHeaders GetManagedResource Source # 
Instance details

Defined in Amazonka.ArcZonalShift.GetManagedResource

ToPath GetManagedResource Source # 
Instance details

Defined in Amazonka.ArcZonalShift.GetManagedResource

ToQuery GetManagedResource Source # 
Instance details

Defined in Amazonka.ArcZonalShift.GetManagedResource

AWSRequest GetManagedResource Source # 
Instance details

Defined in Amazonka.ArcZonalShift.GetManagedResource

Associated Types

type AWSResponse GetManagedResource #

Generic GetManagedResource Source # 
Instance details

Defined in Amazonka.ArcZonalShift.GetManagedResource

Associated Types

type Rep GetManagedResource :: Type -> Type #

Read GetManagedResource Source # 
Instance details

Defined in Amazonka.ArcZonalShift.GetManagedResource

Show GetManagedResource Source # 
Instance details

Defined in Amazonka.ArcZonalShift.GetManagedResource

NFData GetManagedResource Source # 
Instance details

Defined in Amazonka.ArcZonalShift.GetManagedResource

Methods

rnf :: GetManagedResource -> () #

Eq GetManagedResource Source # 
Instance details

Defined in Amazonka.ArcZonalShift.GetManagedResource

Hashable GetManagedResource Source # 
Instance details

Defined in Amazonka.ArcZonalShift.GetManagedResource

type AWSResponse GetManagedResource Source # 
Instance details

Defined in Amazonka.ArcZonalShift.GetManagedResource

type Rep GetManagedResource Source # 
Instance details

Defined in Amazonka.ArcZonalShift.GetManagedResource

type Rep GetManagedResource = D1 ('MetaData "GetManagedResource" "Amazonka.ArcZonalShift.GetManagedResource" "amazonka-arc-zonal-shift-2.0-HIBvozV7Gpr4kwNpYeZSTq" 'False) (C1 ('MetaCons "GetManagedResource'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourceIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newGetManagedResource Source #

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

GetManagedResource, getManagedResource_resourceIdentifier - The identifier for the resource to include in a zonal shift. The identifier is the Amazon Resource Name (ARN) for the resource.

At this time, you can only start a zonal shift for Network Load Balancers and Application Load Balancers with cross-zone load balancing turned off.

data GetManagedResourceResponse Source #

See: newGetManagedResourceResponse smart constructor.

Instances

Instances details
Generic GetManagedResourceResponse Source # 
Instance details

Defined in Amazonka.ArcZonalShift.GetManagedResource

Associated Types

type Rep GetManagedResourceResponse :: Type -> Type #

Read GetManagedResourceResponse Source # 
Instance details

Defined in Amazonka.ArcZonalShift.GetManagedResource

Show GetManagedResourceResponse Source # 
Instance details

Defined in Amazonka.ArcZonalShift.GetManagedResource

NFData GetManagedResourceResponse Source # 
Instance details

Defined in Amazonka.ArcZonalShift.GetManagedResource

Eq GetManagedResourceResponse Source # 
Instance details

Defined in Amazonka.ArcZonalShift.GetManagedResource

type Rep GetManagedResourceResponse Source # 
Instance details

Defined in Amazonka.ArcZonalShift.GetManagedResource

type Rep GetManagedResourceResponse = D1 ('MetaData "GetManagedResourceResponse" "Amazonka.ArcZonalShift.GetManagedResource" "amazonka-arc-zonal-shift-2.0-HIBvozV7Gpr4kwNpYeZSTq" 'False) (C1 ('MetaCons "GetManagedResourceResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: (S1 ('MetaSel ('Just "appliedWeights") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (HashMap Text Double)) :*: S1 ('MetaSel ('Just "zonalShifts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [ZonalShiftInResource])))))

newGetManagedResourceResponse Source #

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

GetManagedResourceResponse, getManagedResourceResponse_arn - The Amazon Resource Name (ARN) for the resource.

GetManagedResourceResponse, getManagedResourceResponse_name - The name of the resource.

$sel:httpStatus:GetManagedResourceResponse', getManagedResourceResponse_httpStatus - The response's http status code.

$sel:appliedWeights:GetManagedResourceResponse', getManagedResourceResponse_appliedWeights - A collection of key-value pairs that indicate whether resources are active in Availability Zones or not. The key name is the Availability Zone where the resource is deployed. The value is 1 or 0.

$sel:zonalShifts:GetManagedResourceResponse', getManagedResourceResponse_zonalShifts - The zonal shifts that are currently active for a resource.

ListManagedResources (Paginated)

data ListManagedResources Source #

See: newListManagedResources smart constructor.

Instances

Instances details
ToHeaders ListManagedResources Source # 
Instance details

Defined in Amazonka.ArcZonalShift.ListManagedResources

ToPath ListManagedResources Source # 
Instance details

Defined in Amazonka.ArcZonalShift.ListManagedResources

ToQuery ListManagedResources Source # 
Instance details

Defined in Amazonka.ArcZonalShift.ListManagedResources

AWSPager ListManagedResources Source # 
Instance details

Defined in Amazonka.ArcZonalShift.ListManagedResources

AWSRequest ListManagedResources Source # 
Instance details

Defined in Amazonka.ArcZonalShift.ListManagedResources

Associated Types

type AWSResponse ListManagedResources #

Generic ListManagedResources Source # 
Instance details

Defined in Amazonka.ArcZonalShift.ListManagedResources

Associated Types

type Rep ListManagedResources :: Type -> Type #

Read ListManagedResources Source # 
Instance details

Defined in Amazonka.ArcZonalShift.ListManagedResources

Show ListManagedResources Source # 
Instance details

Defined in Amazonka.ArcZonalShift.ListManagedResources

NFData ListManagedResources Source # 
Instance details

Defined in Amazonka.ArcZonalShift.ListManagedResources

Methods

rnf :: ListManagedResources -> () #

Eq ListManagedResources Source # 
Instance details

Defined in Amazonka.ArcZonalShift.ListManagedResources

Hashable ListManagedResources Source # 
Instance details

Defined in Amazonka.ArcZonalShift.ListManagedResources

type AWSResponse ListManagedResources Source # 
Instance details

Defined in Amazonka.ArcZonalShift.ListManagedResources

type Rep ListManagedResources Source # 
Instance details

Defined in Amazonka.ArcZonalShift.ListManagedResources

type Rep ListManagedResources = D1 ('MetaData "ListManagedResources" "Amazonka.ArcZonalShift.ListManagedResources" "amazonka-arc-zonal-shift-2.0-HIBvozV7Gpr4kwNpYeZSTq" 'False) (C1 ('MetaCons "ListManagedResources'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newListManagedResources :: ListManagedResources Source #

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

ListManagedResources, listManagedResources_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.

data ListManagedResourcesResponse Source #

See: newListManagedResourcesResponse smart constructor.

Instances

Instances details
Generic ListManagedResourcesResponse Source # 
Instance details

Defined in Amazonka.ArcZonalShift.ListManagedResources

Associated Types

type Rep ListManagedResourcesResponse :: Type -> Type #

Read ListManagedResourcesResponse Source # 
Instance details

Defined in Amazonka.ArcZonalShift.ListManagedResources

Show ListManagedResourcesResponse Source # 
Instance details

Defined in Amazonka.ArcZonalShift.ListManagedResources

NFData ListManagedResourcesResponse Source # 
Instance details

Defined in Amazonka.ArcZonalShift.ListManagedResources

Eq ListManagedResourcesResponse Source # 
Instance details

Defined in Amazonka.ArcZonalShift.ListManagedResources

type Rep ListManagedResourcesResponse Source # 
Instance details

Defined in Amazonka.ArcZonalShift.ListManagedResources

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

newListManagedResourcesResponse Source #

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

ListManagedResources, listManagedResourcesResponse_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:ListManagedResourcesResponse', listManagedResourcesResponse_httpStatus - The response's http status code.

$sel:items:ListManagedResourcesResponse', listManagedResourcesResponse_items - The items in the response list.

ListZonalShifts (Paginated)

data ListZonalShifts Source #

See: newListZonalShifts smart constructor.

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.

data ListZonalShiftsResponse Source #

See: newListZonalShiftsResponse smart constructor.

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.

StartZonalShift

data StartZonalShift Source #

See: newStartZonalShift smart constructor.

Instances

Instances details
ToJSON StartZonalShift Source # 
Instance details

Defined in Amazonka.ArcZonalShift.StartZonalShift

ToHeaders StartZonalShift Source # 
Instance details

Defined in Amazonka.ArcZonalShift.StartZonalShift

ToPath StartZonalShift Source # 
Instance details

Defined in Amazonka.ArcZonalShift.StartZonalShift

ToQuery StartZonalShift Source # 
Instance details

Defined in Amazonka.ArcZonalShift.StartZonalShift

AWSRequest StartZonalShift Source # 
Instance details

Defined in Amazonka.ArcZonalShift.StartZonalShift

Associated Types

type AWSResponse StartZonalShift #

Generic StartZonalShift Source # 
Instance details

Defined in Amazonka.ArcZonalShift.StartZonalShift

Associated Types

type Rep StartZonalShift :: Type -> Type #

Read StartZonalShift Source # 
Instance details

Defined in Amazonka.ArcZonalShift.StartZonalShift

Show StartZonalShift Source # 
Instance details

Defined in Amazonka.ArcZonalShift.StartZonalShift

NFData StartZonalShift Source # 
Instance details

Defined in Amazonka.ArcZonalShift.StartZonalShift

Methods

rnf :: StartZonalShift -> () #

Eq StartZonalShift Source # 
Instance details

Defined in Amazonka.ArcZonalShift.StartZonalShift

Hashable StartZonalShift Source # 
Instance details

Defined in Amazonka.ArcZonalShift.StartZonalShift

type AWSResponse StartZonalShift Source # 
Instance details

Defined in Amazonka.ArcZonalShift.StartZonalShift

type Rep StartZonalShift Source # 
Instance details

Defined in Amazonka.ArcZonalShift.StartZonalShift

type Rep StartZonalShift = D1 ('MetaData "StartZonalShift" "Amazonka.ArcZonalShift.StartZonalShift" "amazonka-arc-zonal-shift-2.0-HIBvozV7Gpr4kwNpYeZSTq" 'False) (C1 ('MetaCons "StartZonalShift'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "awayFrom") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "comment") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "expiresIn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "resourceIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newStartZonalShift Source #

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

StartZonalShift, startZonalShift_awayFrom - The Availability Zone that traffic is moved away from for a resource when you start a zonal shift. Until the zonal shift expires or you cancel it, traffic for the resource is instead moved to other Availability Zones in the AWS Region.

StartZonalShift, startZonalShift_comment - A comment that you enter about the zonal shift. Only the latest comment is retained; no comment history is maintained. A new comment overwrites any existing comment string.

$sel:expiresIn:StartZonalShift', startZonalShift_expiresIn - The length of time that you want a zonal shift to be active, which Route 53 ARC converts to an expiry time (expiration time). Zonal shifts are temporary. You can set a zonal shift to be active initially for up to three days (72 hours).

If you want to still keep traffic away from an Availability Zone, you can update the zonal shift and set a new expiration. You can also cancel a zonal shift, before it expires, for example, if you're ready to restore traffic to the Availability Zone.

To set a length of time for a zonal shift to be active, specify a whole number, and then one of the following, with no space:

 <ul> <li> <p> <b>A lowercase letter m:</b> To specify that the value is in minutes.</p> </li> <li> <p> <b>A lowercase letter h:</b> To specify that the value is in hours.</p> </li> </ul> <p>For example: <code>20h</code> means the zonal shift expires in 20 hours. <code>120m</code> means the zonal shift expires in 120 minutes (2 hours).</p>

StartZonalShift, startZonalShift_resourceIdentifier - The identifier for the resource to include in a zonal shift. The identifier is the Amazon Resource Name (ARN) for the resource.

At this time, you can only start a zonal shift for Network Load Balancers and Application Load Balancers with cross-zone load balancing turned off.

data ZonalShift Source #

See: newZonalShift smart constructor.

Instances

Instances details
FromJSON ZonalShift Source # 
Instance details

Defined in Amazonka.ArcZonalShift.Types.ZonalShift

Generic ZonalShift Source # 
Instance details

Defined in Amazonka.ArcZonalShift.Types.ZonalShift

Associated Types

type Rep ZonalShift :: Type -> Type #

Read ZonalShift Source # 
Instance details

Defined in Amazonka.ArcZonalShift.Types.ZonalShift

Show ZonalShift Source # 
Instance details

Defined in Amazonka.ArcZonalShift.Types.ZonalShift

NFData ZonalShift Source # 
Instance details

Defined in Amazonka.ArcZonalShift.Types.ZonalShift

Methods

rnf :: ZonalShift -> () #

Eq ZonalShift Source # 
Instance details

Defined in Amazonka.ArcZonalShift.Types.ZonalShift

Hashable ZonalShift Source # 
Instance details

Defined in Amazonka.ArcZonalShift.Types.ZonalShift

type Rep ZonalShift Source # 
Instance details

Defined in Amazonka.ArcZonalShift.Types.ZonalShift

type Rep ZonalShift = D1 ('MetaData "ZonalShift" "Amazonka.ArcZonalShift.Types.ZonalShift" "amazonka-arc-zonal-shift-2.0-HIBvozV7Gpr4kwNpYeZSTq" 'False) (C1 ('MetaCons "ZonalShift'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "awayFrom") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "comment") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "expiryTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX))) :*: ((S1 ('MetaSel ('Just "resourceIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "startTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX)) :*: (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ZonalShiftStatus) :*: S1 ('MetaSel ('Just "zonalShiftId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newZonalShift Source #

Create a value of ZonalShift 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:awayFrom:ZonalShift', zonalShift_awayFrom - The Availability Zone that traffic is moved away from for a resource when you start a zonal shift. Until the zonal shift expires or you cancel it, traffic for the resource is instead moved to other Availability Zones in the AWS Region.

$sel:comment:ZonalShift', zonalShift_comment - A comment that you enter about the zonal shift. Only the latest comment is retained; no comment history is maintained. A new comment overwrites any existing comment string.

$sel:expiryTime:ZonalShift', zonalShift_expiryTime - The expiry time (expiration time) for the zonal shift. A zonal shift is temporary and must be set to expire when you start the zonal shift. You can initially set a zonal shift to expire in a maximum of three days (72 hours). However, you can update a zonal shift to set a new expiration at any time.

When you start a zonal shift, you specify how long you want it to be active, which Route 53 ARC converts to an expiry time (expiration time). You can cancel a zonal shift, for example, if you're ready to restore traffic to the Availability Zone. Or you can update the zonal shift to specify another length of time to expire in.

$sel:resourceIdentifier:ZonalShift', zonalShift_resourceIdentifier - The identifier for the resource to include in a zonal shift. The identifier is the Amazon Resource Name (ARN) for the resource.

At this time, you can only start a zonal shift for Network Load Balancers and Application Load Balancers with cross-zone load balancing turned off.

$sel:startTime:ZonalShift', zonalShift_startTime - The time (UTC) when the zonal shift is started.

$sel:status:ZonalShift', zonalShift_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.

$sel:zonalShiftId:ZonalShift', zonalShift_zonalShiftId - The identifier of a zonal shift.

UpdateZonalShift

data UpdateZonalShift Source #

See: newUpdateZonalShift smart constructor.

Instances

Instances details
ToJSON UpdateZonalShift Source # 
Instance details

Defined in Amazonka.ArcZonalShift.UpdateZonalShift

ToHeaders UpdateZonalShift Source # 
Instance details

Defined in Amazonka.ArcZonalShift.UpdateZonalShift

ToPath UpdateZonalShift Source # 
Instance details

Defined in Amazonka.ArcZonalShift.UpdateZonalShift

ToQuery UpdateZonalShift Source # 
Instance details

Defined in Amazonka.ArcZonalShift.UpdateZonalShift

AWSRequest UpdateZonalShift Source # 
Instance details

Defined in Amazonka.ArcZonalShift.UpdateZonalShift

Associated Types

type AWSResponse UpdateZonalShift #

Generic UpdateZonalShift Source # 
Instance details

Defined in Amazonka.ArcZonalShift.UpdateZonalShift

Associated Types

type Rep UpdateZonalShift :: Type -> Type #

Read UpdateZonalShift Source # 
Instance details

Defined in Amazonka.ArcZonalShift.UpdateZonalShift

Show UpdateZonalShift Source # 
Instance details

Defined in Amazonka.ArcZonalShift.UpdateZonalShift

NFData UpdateZonalShift Source # 
Instance details

Defined in Amazonka.ArcZonalShift.UpdateZonalShift

Methods

rnf :: UpdateZonalShift -> () #

Eq UpdateZonalShift Source # 
Instance details

Defined in Amazonka.ArcZonalShift.UpdateZonalShift

Hashable UpdateZonalShift Source # 
Instance details

Defined in Amazonka.ArcZonalShift.UpdateZonalShift

type AWSResponse UpdateZonalShift Source # 
Instance details

Defined in Amazonka.ArcZonalShift.UpdateZonalShift

type Rep UpdateZonalShift Source # 
Instance details

Defined in Amazonka.ArcZonalShift.UpdateZonalShift

type Rep UpdateZonalShift = D1 ('MetaData "UpdateZonalShift" "Amazonka.ArcZonalShift.UpdateZonalShift" "amazonka-arc-zonal-shift-2.0-HIBvozV7Gpr4kwNpYeZSTq" 'False) (C1 ('MetaCons "UpdateZonalShift'" 'PrefixI 'True) (S1 ('MetaSel ('Just "comment") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "expiresIn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "zonalShiftId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newUpdateZonalShift Source #

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

UpdateZonalShift, updateZonalShift_comment - A comment that you enter about the zonal shift. Only the latest comment is retained; no comment history is maintained. A new comment overwrites any existing comment string.

$sel:expiresIn:UpdateZonalShift', updateZonalShift_expiresIn - The length of time that you want a zonal shift to be active, which Route 53 ARC converts to an expiry time (expiration time). Zonal shifts are temporary. You can set a zonal shift to be active initially for up to three days (72 hours).

If you want to still keep traffic away from an Availability Zone, you can update the zonal shift and set a new expiration. You can also cancel a zonal shift, before it expires, for example, if you're ready to restore traffic to the Availability Zone.

To set a length of time for a zonal shift to be active, specify a whole number, and then one of the following, with no space:

  • A lowercase letter m: To specify that the value is in minutes.
  • A lowercase letter h: To specify that the value is in hours.

For example: 20h means the zonal shift expires in 20 hours. 120m means the zonal shift expires in 120 minutes (2 hours).

UpdateZonalShift, updateZonalShift_zonalShiftId - The identifier of a zonal shift.

data ZonalShift Source #

See: newZonalShift smart constructor.

Instances

Instances details
FromJSON ZonalShift Source # 
Instance details

Defined in Amazonka.ArcZonalShift.Types.ZonalShift

Generic ZonalShift Source # 
Instance details

Defined in Amazonka.ArcZonalShift.Types.ZonalShift

Associated Types

type Rep ZonalShift :: Type -> Type #

Read ZonalShift Source # 
Instance details

Defined in Amazonka.ArcZonalShift.Types.ZonalShift

Show ZonalShift Source # 
Instance details

Defined in Amazonka.ArcZonalShift.Types.ZonalShift

NFData ZonalShift Source # 
Instance details

Defined in Amazonka.ArcZonalShift.Types.ZonalShift

Methods

rnf :: ZonalShift -> () #

Eq ZonalShift Source # 
Instance details

Defined in Amazonka.ArcZonalShift.Types.ZonalShift

Hashable ZonalShift Source # 
Instance details

Defined in Amazonka.ArcZonalShift.Types.ZonalShift

type Rep ZonalShift Source # 
Instance details

Defined in Amazonka.ArcZonalShift.Types.ZonalShift

type Rep ZonalShift = D1 ('MetaData "ZonalShift" "Amazonka.ArcZonalShift.Types.ZonalShift" "amazonka-arc-zonal-shift-2.0-HIBvozV7Gpr4kwNpYeZSTq" 'False) (C1 ('MetaCons "ZonalShift'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "awayFrom") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "comment") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "expiryTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX))) :*: ((S1 ('MetaSel ('Just "resourceIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "startTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX)) :*: (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ZonalShiftStatus) :*: S1 ('MetaSel ('Just "zonalShiftId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newZonalShift Source #

Create a value of ZonalShift 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:awayFrom:ZonalShift', zonalShift_awayFrom - The Availability Zone that traffic is moved away from for a resource when you start a zonal shift. Until the zonal shift expires or you cancel it, traffic for the resource is instead moved to other Availability Zones in the AWS Region.

$sel:comment:ZonalShift', zonalShift_comment - A comment that you enter about the zonal shift. Only the latest comment is retained; no comment history is maintained. A new comment overwrites any existing comment string.

$sel:expiryTime:ZonalShift', zonalShift_expiryTime - The expiry time (expiration time) for the zonal shift. A zonal shift is temporary and must be set to expire when you start the zonal shift. You can initially set a zonal shift to expire in a maximum of three days (72 hours). However, you can update a zonal shift to set a new expiration at any time.

When you start a zonal shift, you specify how long you want it to be active, which Route 53 ARC converts to an expiry time (expiration time). You can cancel a zonal shift, for example, if you're ready to restore traffic to the Availability Zone. Or you can update the zonal shift to specify another length of time to expire in.

$sel:resourceIdentifier:ZonalShift', zonalShift_resourceIdentifier - The identifier for the resource to include in a zonal shift. The identifier is the Amazon Resource Name (ARN) for the resource.

At this time, you can only start a zonal shift for Network Load Balancers and Application Load Balancers with cross-zone load balancing turned off.

$sel:startTime:ZonalShift', zonalShift_startTime - The time (UTC) when the zonal shift is started.

$sel:status:ZonalShift', zonalShift_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.

$sel:zonalShiftId:ZonalShift', zonalShift_zonalShiftId - The identifier of a zonal shift.

Types

AppliedStatus

newtype AppliedStatus Source #

Constructors

AppliedStatus' 

Instances

Instances details
FromJSON AppliedStatus Source # 
Instance details

Defined in Amazonka.ArcZonalShift.Types.AppliedStatus

FromJSONKey AppliedStatus Source # 
Instance details

Defined in Amazonka.ArcZonalShift.Types.AppliedStatus

ToJSON AppliedStatus Source # 
Instance details

Defined in Amazonka.ArcZonalShift.Types.AppliedStatus

ToJSONKey AppliedStatus Source # 
Instance details

Defined in Amazonka.ArcZonalShift.Types.AppliedStatus

ToByteString AppliedStatus Source # 
Instance details

Defined in Amazonka.ArcZonalShift.Types.AppliedStatus

ToHeader AppliedStatus Source # 
Instance details

Defined in Amazonka.ArcZonalShift.Types.AppliedStatus

ToLog AppliedStatus Source # 
Instance details

Defined in Amazonka.ArcZonalShift.Types.AppliedStatus

ToQuery AppliedStatus Source # 
Instance details

Defined in Amazonka.ArcZonalShift.Types.AppliedStatus

FromText AppliedStatus Source # 
Instance details

Defined in Amazonka.ArcZonalShift.Types.AppliedStatus

ToText AppliedStatus Source # 
Instance details

Defined in Amazonka.ArcZonalShift.Types.AppliedStatus

Methods

toText :: AppliedStatus -> Text #

FromXML AppliedStatus Source # 
Instance details

Defined in Amazonka.ArcZonalShift.Types.AppliedStatus

ToXML AppliedStatus Source # 
Instance details

Defined in Amazonka.ArcZonalShift.Types.AppliedStatus

Methods

toXML :: AppliedStatus -> XML #

Generic AppliedStatus Source # 
Instance details

Defined in Amazonka.ArcZonalShift.Types.AppliedStatus

Associated Types

type Rep AppliedStatus :: Type -> Type #

Read AppliedStatus Source # 
Instance details

Defined in Amazonka.ArcZonalShift.Types.AppliedStatus

Show AppliedStatus Source # 
Instance details

Defined in Amazonka.ArcZonalShift.Types.AppliedStatus

NFData AppliedStatus Source # 
Instance details

Defined in Amazonka.ArcZonalShift.Types.AppliedStatus

Methods

rnf :: AppliedStatus -> () #

Eq AppliedStatus Source # 
Instance details

Defined in Amazonka.ArcZonalShift.Types.AppliedStatus

Ord AppliedStatus Source # 
Instance details

Defined in Amazonka.ArcZonalShift.Types.AppliedStatus

Hashable AppliedStatus Source # 
Instance details

Defined in Amazonka.ArcZonalShift.Types.AppliedStatus

type Rep AppliedStatus Source # 
Instance details

Defined in Amazonka.ArcZonalShift.Types.AppliedStatus

type Rep AppliedStatus = D1 ('MetaData "AppliedStatus" "Amazonka.ArcZonalShift.Types.AppliedStatus" "amazonka-arc-zonal-shift-2.0-HIBvozV7Gpr4kwNpYeZSTq" 'True) (C1 ('MetaCons "AppliedStatus'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromAppliedStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

ZonalShiftStatus

newtype ZonalShiftStatus Source #

Instances

Instances details
FromJSON ZonalShiftStatus Source # 
Instance details

Defined in Amazonka.ArcZonalShift.Types.ZonalShiftStatus

FromJSONKey ZonalShiftStatus Source # 
Instance details

Defined in Amazonka.ArcZonalShift.Types.ZonalShiftStatus

ToJSON ZonalShiftStatus Source # 
Instance details

Defined in Amazonka.ArcZonalShift.Types.ZonalShiftStatus

ToJSONKey ZonalShiftStatus Source # 
Instance details

Defined in Amazonka.ArcZonalShift.Types.ZonalShiftStatus

ToByteString ZonalShiftStatus Source # 
Instance details

Defined in Amazonka.ArcZonalShift.Types.ZonalShiftStatus

ToHeader ZonalShiftStatus Source # 
Instance details

Defined in Amazonka.ArcZonalShift.Types.ZonalShiftStatus

ToLog ZonalShiftStatus Source # 
Instance details

Defined in Amazonka.ArcZonalShift.Types.ZonalShiftStatus

ToQuery ZonalShiftStatus Source # 
Instance details

Defined in Amazonka.ArcZonalShift.Types.ZonalShiftStatus

FromText ZonalShiftStatus Source # 
Instance details

Defined in Amazonka.ArcZonalShift.Types.ZonalShiftStatus

ToText ZonalShiftStatus Source # 
Instance details

Defined in Amazonka.ArcZonalShift.Types.ZonalShiftStatus

FromXML ZonalShiftStatus Source # 
Instance details

Defined in Amazonka.ArcZonalShift.Types.ZonalShiftStatus

ToXML ZonalShiftStatus Source # 
Instance details

Defined in Amazonka.ArcZonalShift.Types.ZonalShiftStatus

Generic ZonalShiftStatus Source # 
Instance details

Defined in Amazonka.ArcZonalShift.Types.ZonalShiftStatus

Associated Types

type Rep ZonalShiftStatus :: Type -> Type #

Read ZonalShiftStatus Source # 
Instance details

Defined in Amazonka.ArcZonalShift.Types.ZonalShiftStatus

Show ZonalShiftStatus Source # 
Instance details

Defined in Amazonka.ArcZonalShift.Types.ZonalShiftStatus

NFData ZonalShiftStatus Source # 
Instance details

Defined in Amazonka.ArcZonalShift.Types.ZonalShiftStatus

Methods

rnf :: ZonalShiftStatus -> () #

Eq ZonalShiftStatus Source # 
Instance details

Defined in Amazonka.ArcZonalShift.Types.ZonalShiftStatus

Ord ZonalShiftStatus Source # 
Instance details

Defined in Amazonka.ArcZonalShift.Types.ZonalShiftStatus

Hashable ZonalShiftStatus Source # 
Instance details

Defined in Amazonka.ArcZonalShift.Types.ZonalShiftStatus

type Rep ZonalShiftStatus Source # 
Instance details

Defined in Amazonka.ArcZonalShift.Types.ZonalShiftStatus

type Rep ZonalShiftStatus = D1 ('MetaData "ZonalShiftStatus" "Amazonka.ArcZonalShift.Types.ZonalShiftStatus" "amazonka-arc-zonal-shift-2.0-HIBvozV7Gpr4kwNpYeZSTq" 'True) (C1 ('MetaCons "ZonalShiftStatus'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromZonalShiftStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

ManagedResourceSummary

data ManagedResourceSummary Source #

A complex structure for a managed resource in an account.

A managed resource is a Network Load Balancer or Application Load Balancer that has been registered with Route 53 ARC by Elastic Load Balancing. You can start a zonal shift in Route 53 ARC for a managed resource to temporarily move traffic for the resource away from an Availability Zone in an AWS Region.

At this time, you can only start a zonal shift for Network Load Balancers and Application Load Balancers with cross-zone load balancing turned off.

See: newManagedResourceSummary smart constructor.

Instances

Instances details
FromJSON ManagedResourceSummary Source # 
Instance details

Defined in Amazonka.ArcZonalShift.Types.ManagedResourceSummary

Generic ManagedResourceSummary Source # 
Instance details

Defined in Amazonka.ArcZonalShift.Types.ManagedResourceSummary

Associated Types

type Rep ManagedResourceSummary :: Type -> Type #

Read ManagedResourceSummary Source # 
Instance details

Defined in Amazonka.ArcZonalShift.Types.ManagedResourceSummary

Show ManagedResourceSummary Source # 
Instance details

Defined in Amazonka.ArcZonalShift.Types.ManagedResourceSummary

NFData ManagedResourceSummary Source # 
Instance details

Defined in Amazonka.ArcZonalShift.Types.ManagedResourceSummary

Methods

rnf :: ManagedResourceSummary -> () #

Eq ManagedResourceSummary Source # 
Instance details

Defined in Amazonka.ArcZonalShift.Types.ManagedResourceSummary

Hashable ManagedResourceSummary Source # 
Instance details

Defined in Amazonka.ArcZonalShift.Types.ManagedResourceSummary

type Rep ManagedResourceSummary Source # 
Instance details

Defined in Amazonka.ArcZonalShift.Types.ManagedResourceSummary

type Rep ManagedResourceSummary = D1 ('MetaData "ManagedResourceSummary" "Amazonka.ArcZonalShift.Types.ManagedResourceSummary" "amazonka-arc-zonal-shift-2.0-HIBvozV7Gpr4kwNpYeZSTq" 'False) (C1 ('MetaCons "ManagedResourceSummary'" 'PrefixI 'True) (S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "availabilityZones") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text]))))

newManagedResourceSummary :: ManagedResourceSummary Source #

Create a value of ManagedResourceSummary 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:arn:ManagedResourceSummary', managedResourceSummary_arn - The Amazon Resource Name (ARN) for the managed resource.

$sel:name:ManagedResourceSummary', managedResourceSummary_name - The name of the managed resource.

$sel:availabilityZones:ManagedResourceSummary', managedResourceSummary_availabilityZones - The Availability Zones that a resource is deployed in.

ZonalShift

data ZonalShift Source #

See: newZonalShift smart constructor.

Instances

Instances details
FromJSON ZonalShift Source # 
Instance details

Defined in Amazonka.ArcZonalShift.Types.ZonalShift

Generic ZonalShift Source # 
Instance details

Defined in Amazonka.ArcZonalShift.Types.ZonalShift

Associated Types

type Rep ZonalShift :: Type -> Type #

Read ZonalShift Source # 
Instance details

Defined in Amazonka.ArcZonalShift.Types.ZonalShift

Show ZonalShift Source # 
Instance details

Defined in Amazonka.ArcZonalShift.Types.ZonalShift

NFData ZonalShift Source # 
Instance details

Defined in Amazonka.ArcZonalShift.Types.ZonalShift

Methods

rnf :: ZonalShift -> () #

Eq ZonalShift Source # 
Instance details

Defined in Amazonka.ArcZonalShift.Types.ZonalShift

Hashable ZonalShift Source # 
Instance details

Defined in Amazonka.ArcZonalShift.Types.ZonalShift

type Rep ZonalShift Source # 
Instance details

Defined in Amazonka.ArcZonalShift.Types.ZonalShift

type Rep ZonalShift = D1 ('MetaData "ZonalShift" "Amazonka.ArcZonalShift.Types.ZonalShift" "amazonka-arc-zonal-shift-2.0-HIBvozV7Gpr4kwNpYeZSTq" 'False) (C1 ('MetaCons "ZonalShift'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "awayFrom") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "comment") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "expiryTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX))) :*: ((S1 ('MetaSel ('Just "resourceIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "startTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX)) :*: (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ZonalShiftStatus) :*: S1 ('MetaSel ('Just "zonalShiftId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newZonalShift Source #

Create a value of ZonalShift 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:awayFrom:ZonalShift', zonalShift_awayFrom - The Availability Zone that traffic is moved away from for a resource when you start a zonal shift. Until the zonal shift expires or you cancel it, traffic for the resource is instead moved to other Availability Zones in the AWS Region.

$sel:comment:ZonalShift', zonalShift_comment - A comment that you enter about the zonal shift. Only the latest comment is retained; no comment history is maintained. A new comment overwrites any existing comment string.

$sel:expiryTime:ZonalShift', zonalShift_expiryTime - The expiry time (expiration time) for the zonal shift. A zonal shift is temporary and must be set to expire when you start the zonal shift. You can initially set a zonal shift to expire in a maximum of three days (72 hours). However, you can update a zonal shift to set a new expiration at any time.

When you start a zonal shift, you specify how long you want it to be active, which Route 53 ARC converts to an expiry time (expiration time). You can cancel a zonal shift, for example, if you're ready to restore traffic to the Availability Zone. Or you can update the zonal shift to specify another length of time to expire in.

$sel:resourceIdentifier:ZonalShift', zonalShift_resourceIdentifier - The identifier for the resource to include in a zonal shift. The identifier is the Amazon Resource Name (ARN) for the resource.

At this time, you can only start a zonal shift for Network Load Balancers and Application Load Balancers with cross-zone load balancing turned off.

$sel:startTime:ZonalShift', zonalShift_startTime - The time (UTC) when the zonal shift is started.

$sel:status:ZonalShift', zonalShift_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.

$sel:zonalShiftId:ZonalShift', zonalShift_zonalShiftId - The identifier of a zonal shift.

ZonalShiftInResource

data ZonalShiftInResource Source #

A complex structure that lists the zonal shifts for a managed resource and their statuses for the resource.

See: newZonalShiftInResource smart constructor.

Instances

Instances details
FromJSON ZonalShiftInResource Source # 
Instance details

Defined in Amazonka.ArcZonalShift.Types.ZonalShiftInResource

Generic ZonalShiftInResource Source # 
Instance details

Defined in Amazonka.ArcZonalShift.Types.ZonalShiftInResource

Associated Types

type Rep ZonalShiftInResource :: Type -> Type #

Read ZonalShiftInResource Source # 
Instance details

Defined in Amazonka.ArcZonalShift.Types.ZonalShiftInResource

Show ZonalShiftInResource Source # 
Instance details

Defined in Amazonka.ArcZonalShift.Types.ZonalShiftInResource

NFData ZonalShiftInResource Source # 
Instance details

Defined in Amazonka.ArcZonalShift.Types.ZonalShiftInResource

Methods

rnf :: ZonalShiftInResource -> () #

Eq ZonalShiftInResource Source # 
Instance details

Defined in Amazonka.ArcZonalShift.Types.ZonalShiftInResource

Hashable ZonalShiftInResource Source # 
Instance details

Defined in Amazonka.ArcZonalShift.Types.ZonalShiftInResource

type Rep ZonalShiftInResource Source # 
Instance details

Defined in Amazonka.ArcZonalShift.Types.ZonalShiftInResource

type Rep ZonalShiftInResource = D1 ('MetaData "ZonalShiftInResource" "Amazonka.ArcZonalShift.Types.ZonalShiftInResource" "amazonka-arc-zonal-shift-2.0-HIBvozV7Gpr4kwNpYeZSTq" 'False) (C1 ('MetaCons "ZonalShiftInResource'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "appliedStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 AppliedStatus) :*: (S1 ('MetaSel ('Just "awayFrom") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "comment") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) :*: ((S1 ('MetaSel ('Just "expiryTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX) :*: S1 ('MetaSel ('Just "resourceIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "startTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX) :*: S1 ('MetaSel ('Just "zonalShiftId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newZonalShiftInResource Source #

Create a value of ZonalShiftInResource 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:appliedStatus:ZonalShiftInResource', zonalShiftInResource_appliedStatus - An appliedStatus for a zonal shift for a resource can have one of two values: APPLIED or NOT_APPLIED.

$sel:awayFrom:ZonalShiftInResource', zonalShiftInResource_awayFrom - The Availability Zone that traffic is moved away from for a resource when you start a zonal shift. Until the zonal shift expires or you cancel it, traffic for the resource is instead moved to other Availability Zones in the AWS Region.

$sel:comment:ZonalShiftInResource', zonalShiftInResource_comment - A comment that you enter about the zonal shift. Only the latest comment is retained; no comment history is maintained. That is, a new comment overwrites any existing comment string.

$sel:expiryTime:ZonalShiftInResource', zonalShiftInResource_expiryTime - The expiry time (expiration time) for the zonal shift. A zonal shift is temporary and must be set to expire when you start the zonal shift. You can initially set a zonal shift to expire in a maximum of three days (72 hours). However, you can update a zonal shift to set a new expiration at any time.

When you start a zonal shift, you specify how long you want it to be active, which Route 53 ARC converts to an expiry time (expiration time). You can cancel a zonal shift, for example, if you're ready to restore traffic to the Availability Zone. Or you can update the zonal shift to specify another length of time to expire in.

$sel:resourceIdentifier:ZonalShiftInResource', zonalShiftInResource_resourceIdentifier - The identifier for the resource to include in a zonal shift. The identifier is the Amazon Resource Name (ARN) for the resource.

At this time, you can only start a zonal shift for Network Load Balancers and Application Load Balancers with cross-zone load balancing turned off.

$sel:startTime:ZonalShiftInResource', zonalShiftInResource_startTime - The time (UTC) when the zonal shift is started.

$sel:zonalShiftId:ZonalShiftInResource', zonalShiftInResource_zonalShiftId - The identifier of a zonal shift.

ZonalShiftSummary

data ZonalShiftSummary Source #

You start a zonal shift to temporarily move load balancer traffic away from an Availability Zone in a AWS Region. A zonal shift helps your application recover immediately, for example, from a developer's bad code deployment or from an AWS infrastructure failure in a single Availability Zone. You can start a zonal shift in Route 53 ARC only for managed resources in your account in an AWS Region. Supported AWS resources are automatically registered with Route 53 ARC.

Zonal shifts are temporary. A zonal shift can be active for up to three days (72 hours).

When you start a zonal shift, you specify how long you want it to be active, which Amazon Route 53 Application Recovery Controller converts to an expiry time (expiration time). You can cancel a zonal shift, for example, if you're ready to restore traffic to the Availability Zone. Or you can extend the zonal shift by updating the expiration so the zonal shift is active longer.

See: newZonalShiftSummary smart constructor.

Instances

Instances details
FromJSON ZonalShiftSummary Source # 
Instance details

Defined in Amazonka.ArcZonalShift.Types.ZonalShiftSummary

Generic ZonalShiftSummary Source # 
Instance details

Defined in Amazonka.ArcZonalShift.Types.ZonalShiftSummary

Associated Types

type Rep ZonalShiftSummary :: Type -> Type #

Read ZonalShiftSummary Source # 
Instance details

Defined in Amazonka.ArcZonalShift.Types.ZonalShiftSummary

Show ZonalShiftSummary Source # 
Instance details

Defined in Amazonka.ArcZonalShift.Types.ZonalShiftSummary

NFData ZonalShiftSummary Source # 
Instance details

Defined in Amazonka.ArcZonalShift.Types.ZonalShiftSummary

Methods

rnf :: ZonalShiftSummary -> () #

Eq ZonalShiftSummary Source # 
Instance details

Defined in Amazonka.ArcZonalShift.Types.ZonalShiftSummary

Hashable ZonalShiftSummary Source # 
Instance details

Defined in Amazonka.ArcZonalShift.Types.ZonalShiftSummary

type Rep ZonalShiftSummary Source # 
Instance details

Defined in Amazonka.ArcZonalShift.Types.ZonalShiftSummary

type Rep ZonalShiftSummary = D1 ('MetaData "ZonalShiftSummary" "Amazonka.ArcZonalShift.Types.ZonalShiftSummary" "amazonka-arc-zonal-shift-2.0-HIBvozV7Gpr4kwNpYeZSTq" 'False) (C1 ('MetaCons "ZonalShiftSummary'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "awayFrom") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "comment") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "expiryTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX))) :*: ((S1 ('MetaSel ('Just "resourceIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "startTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX)) :*: (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ZonalShiftStatus) :*: S1 ('MetaSel ('Just "zonalShiftId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newZonalShiftSummary Source #

Create a value of ZonalShiftSummary 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:awayFrom:ZonalShiftSummary', zonalShiftSummary_awayFrom - The Availability Zone that traffic is moved away from for a resource when you start a zonal shift. Until the zonal shift expires or you cancel it, traffic for the resource is instead moved to other Availability Zones in the AWS Region.

$sel:comment:ZonalShiftSummary', zonalShiftSummary_comment - A comment that you enter about the zonal shift. Only the latest comment is retained; no comment history is maintained. That is, a new comment overwrites any existing comment string.

$sel:expiryTime:ZonalShiftSummary', zonalShiftSummary_expiryTime - The expiry time (expiration time) for the zonal shift. A zonal shift is temporary and must be set to expire when you start the zonal shift. You can initially set a zonal shift to expire in a maximum of three days (72 hours). However, you can update a zonal shift to set a new expiration at any time.

When you start a zonal shift, you specify how long you want it to be active, which Route 53 ARC converts to an expiry time (expiration time). You can cancel a zonal shift, for example, if you're ready to restore traffic to the Availability Zone. Or you can update the zonal shift to specify another length of time to expire in.

$sel:resourceIdentifier:ZonalShiftSummary', zonalShiftSummary_resourceIdentifier - The identifier for the resource to include in a zonal shift. The identifier is the Amazon Resource Name (ARN) for the resource.

At this time, you can only start a zonal shift for Network Load Balancers and Application Load Balancers with cross-zone load balancing turned off.

$sel:startTime:ZonalShiftSummary', zonalShiftSummary_startTime - The time (UTC) when the zonal shift is started.

$sel:status:ZonalShiftSummary', zonalShiftSummary_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.

$sel:zonalShiftId:ZonalShiftSummary', zonalShiftSummary_zonalShiftId - The identifier of a zonal shift.