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

Description

Lists all the resources in your AWS account in this AWS Region that are managed for zonal shifts in Amazon Route 53 Application Recovery Controller, and information about them. The information includes their Amazon Resource Names (ARNs), the Availability Zones the resources are deployed in, and the resource name.

This operation returns paginated results.

Synopsis

Creating a Request

data ListManagedResources Source #

See: newListManagedResources smart constructor.

Constructors

ListManagedResources' 

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.

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.

Request Lenses

listManagedResources_maxResults :: Lens' ListManagedResources (Maybe Natural) Source #

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

listManagedResources_nextToken :: Lens' ListManagedResources (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.

Destructuring the Response

data ListManagedResourcesResponse Source #

See: newListManagedResourcesResponse smart constructor.

Constructors

ListManagedResourcesResponse' 

Fields

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

  • items :: [ManagedResourceSummary]

    The items in the response list.

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.

Response Lenses

listManagedResourcesResponse_nextToken :: Lens' ListManagedResourcesResponse (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.