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.GetManagedResource

Description

Get information about a resource that's been registered for zonal shifts with Amazon Route 53 Application Recovery Controller in this AWS Region. Resources that are registered for zonal shifts are managed resources in Route 53 ARC.

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.

Synopsis

Creating a Request

data GetManagedResource Source #

See: newGetManagedResource smart constructor.

Constructors

GetManagedResource' 

Fields

  • resourceIdentifier :: Text

    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.

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.

Request Lenses

getManagedResource_resourceIdentifier :: Lens' GetManagedResource Text Source #

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.

Destructuring the Response

data GetManagedResourceResponse Source #

See: newGetManagedResourceResponse smart constructor.

Constructors

GetManagedResourceResponse' 

Fields

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.

Response Lenses

getManagedResourceResponse_arn :: Lens' GetManagedResourceResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) for the resource.

getManagedResourceResponse_appliedWeights :: Lens' GetManagedResourceResponse (HashMap Text Double) Source #

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.

getManagedResourceResponse_zonalShifts :: Lens' GetManagedResourceResponse [ZonalShiftInResource] Source #

The zonal shifts that are currently active for a resource.