amazonka-devops-guru-2.0: Amazon DevOps Guru 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.DevOpsGuru.GetResourceCollection

Description

Returns lists Amazon Web Services resources that are of the specified resource collection type. The two types of Amazon Web Services resource collections supported are Amazon Web Services CloudFormation stacks and Amazon Web Services resources that contain the same Amazon Web Services tag. DevOps Guru can be configured to analyze the Amazon Web Services resources that are defined in the stacks or that are tagged using the same tag key. You can specify up to 500 Amazon Web Services CloudFormation stacks.

This operation returns paginated results.

Synopsis

Creating a Request

data GetResourceCollection Source #

See: newGetResourceCollection smart constructor.

Constructors

GetResourceCollection' 

Fields

  • nextToken :: Maybe Text

    The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.

  • resourceCollectionType :: ResourceCollectionType

    The type of Amazon Web Services resource collections to return. The one valid value is CLOUD_FORMATION for Amazon Web Services CloudFormation stacks.

Instances

Instances details
ToHeaders GetResourceCollection Source # 
Instance details

Defined in Amazonka.DevOpsGuru.GetResourceCollection

ToPath GetResourceCollection Source # 
Instance details

Defined in Amazonka.DevOpsGuru.GetResourceCollection

ToQuery GetResourceCollection Source # 
Instance details

Defined in Amazonka.DevOpsGuru.GetResourceCollection

AWSPager GetResourceCollection Source # 
Instance details

Defined in Amazonka.DevOpsGuru.GetResourceCollection

AWSRequest GetResourceCollection Source # 
Instance details

Defined in Amazonka.DevOpsGuru.GetResourceCollection

Associated Types

type AWSResponse GetResourceCollection #

Generic GetResourceCollection Source # 
Instance details

Defined in Amazonka.DevOpsGuru.GetResourceCollection

Associated Types

type Rep GetResourceCollection :: Type -> Type #

Read GetResourceCollection Source # 
Instance details

Defined in Amazonka.DevOpsGuru.GetResourceCollection

Show GetResourceCollection Source # 
Instance details

Defined in Amazonka.DevOpsGuru.GetResourceCollection

NFData GetResourceCollection Source # 
Instance details

Defined in Amazonka.DevOpsGuru.GetResourceCollection

Methods

rnf :: GetResourceCollection -> () #

Eq GetResourceCollection Source # 
Instance details

Defined in Amazonka.DevOpsGuru.GetResourceCollection

Hashable GetResourceCollection Source # 
Instance details

Defined in Amazonka.DevOpsGuru.GetResourceCollection

type AWSResponse GetResourceCollection Source # 
Instance details

Defined in Amazonka.DevOpsGuru.GetResourceCollection

type Rep GetResourceCollection Source # 
Instance details

Defined in Amazonka.DevOpsGuru.GetResourceCollection

type Rep GetResourceCollection = D1 ('MetaData "GetResourceCollection" "Amazonka.DevOpsGuru.GetResourceCollection" "amazonka-devops-guru-2.0-C03FLSgo73f1Pu5ftIREHS" 'False) (C1 ('MetaCons "GetResourceCollection'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "resourceCollectionType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ResourceCollectionType)))

newGetResourceCollection Source #

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

GetResourceCollection, getResourceCollection_nextToken - The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.

$sel:resourceCollectionType:GetResourceCollection', getResourceCollection_resourceCollectionType - The type of Amazon Web Services resource collections to return. The one valid value is CLOUD_FORMATION for Amazon Web Services CloudFormation stacks.

Request Lenses

getResourceCollection_nextToken :: Lens' GetResourceCollection (Maybe Text) Source #

The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.

getResourceCollection_resourceCollectionType :: Lens' GetResourceCollection ResourceCollectionType Source #

The type of Amazon Web Services resource collections to return. The one valid value is CLOUD_FORMATION for Amazon Web Services CloudFormation stacks.

Destructuring the Response

data GetResourceCollectionResponse Source #

See: newGetResourceCollectionResponse smart constructor.

Constructors

GetResourceCollectionResponse' 

Fields

  • nextToken :: Maybe Text

    The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.

  • resourceCollection :: Maybe ResourceCollectionFilter

    The requested list of Amazon Web Services resource collections. The two types of Amazon Web Services resource collections supported are Amazon Web Services CloudFormation stacks and Amazon Web Services resources that contain the same Amazon Web Services tag. DevOps Guru can be configured to analyze the Amazon Web Services resources that are defined in the stacks or that are tagged using the same tag key. You can specify up to 500 Amazon Web Services CloudFormation stacks.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic GetResourceCollectionResponse Source # 
Instance details

Defined in Amazonka.DevOpsGuru.GetResourceCollection

Associated Types

type Rep GetResourceCollectionResponse :: Type -> Type #

Read GetResourceCollectionResponse Source # 
Instance details

Defined in Amazonka.DevOpsGuru.GetResourceCollection

Show GetResourceCollectionResponse Source # 
Instance details

Defined in Amazonka.DevOpsGuru.GetResourceCollection

NFData GetResourceCollectionResponse Source # 
Instance details

Defined in Amazonka.DevOpsGuru.GetResourceCollection

Eq GetResourceCollectionResponse Source # 
Instance details

Defined in Amazonka.DevOpsGuru.GetResourceCollection

type Rep GetResourceCollectionResponse Source # 
Instance details

Defined in Amazonka.DevOpsGuru.GetResourceCollection

type Rep GetResourceCollectionResponse = D1 ('MetaData "GetResourceCollectionResponse" "Amazonka.DevOpsGuru.GetResourceCollection" "amazonka-devops-guru-2.0-C03FLSgo73f1Pu5ftIREHS" 'False) (C1 ('MetaCons "GetResourceCollectionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "resourceCollection") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ResourceCollectionFilter)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newGetResourceCollectionResponse Source #

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

GetResourceCollection, getResourceCollectionResponse_nextToken - The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.

GetResourceCollectionResponse, getResourceCollectionResponse_resourceCollection - The requested list of Amazon Web Services resource collections. The two types of Amazon Web Services resource collections supported are Amazon Web Services CloudFormation stacks and Amazon Web Services resources that contain the same Amazon Web Services tag. DevOps Guru can be configured to analyze the Amazon Web Services resources that are defined in the stacks or that are tagged using the same tag key. You can specify up to 500 Amazon Web Services CloudFormation stacks.

$sel:httpStatus:GetResourceCollectionResponse', getResourceCollectionResponse_httpStatus - The response's http status code.

Response Lenses

getResourceCollectionResponse_nextToken :: Lens' GetResourceCollectionResponse (Maybe Text) Source #

The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.

getResourceCollectionResponse_resourceCollection :: Lens' GetResourceCollectionResponse (Maybe ResourceCollectionFilter) Source #

The requested list of Amazon Web Services resource collections. The two types of Amazon Web Services resource collections supported are Amazon Web Services CloudFormation stacks and Amazon Web Services resources that contain the same Amazon Web Services tag. DevOps Guru can be configured to analyze the Amazon Web Services resources that are defined in the stacks or that are tagged using the same tag key. You can specify up to 500 Amazon Web Services CloudFormation stacks.