libZSservicesZSamazonka-devops-guruZSamazonka-devops-guru
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.DevOpsGuru.GetResourceCollection

Description

Returns lists AWS resources that are of the specified resource collection type. The one type of AWS resource collection supported is AWS CloudFormation stacks. DevOps Guru can be configured to analyze only the AWS resources that are defined in the stacks. You can specify up to 500 AWS 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 AWS resource collections to return. The one valid value is CLOUD_FORMATION for AWS CloudFormation stacks.

Instances

Instances details
Eq GetResourceCollection Source # 
Instance details

Defined in Amazonka.DevOpsGuru.GetResourceCollection

Read GetResourceCollection Source # 
Instance details

Defined in Amazonka.DevOpsGuru.GetResourceCollection

Show GetResourceCollection Source # 
Instance details

Defined in Amazonka.DevOpsGuru.GetResourceCollection

Generic GetResourceCollection Source # 
Instance details

Defined in Amazonka.DevOpsGuru.GetResourceCollection

Associated Types

type Rep GetResourceCollection :: Type -> Type #

NFData GetResourceCollection Source # 
Instance details

Defined in Amazonka.DevOpsGuru.GetResourceCollection

Methods

rnf :: GetResourceCollection -> () #

Hashable 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 #

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

type Rep GetResourceCollection Source # 
Instance details

Defined in Amazonka.DevOpsGuru.GetResourceCollection

type Rep GetResourceCollection = D1 ('MetaData "GetResourceCollection" "Amazonka.DevOpsGuru.GetResourceCollection" "libZSservicesZSamazonka-devops-guruZSamazonka-devops-guru" '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)))
type AWSResponse GetResourceCollection Source # 
Instance details

Defined in Amazonka.DevOpsGuru.GetResourceCollection

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:

$sel:nextToken: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 AWS resource collections to return. The one valid value is CLOUD_FORMATION for AWS 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 AWS resource collections to return. The one valid value is CLOUD_FORMATION for AWS CloudFormation stacks.

Destructuring the Response

data GetResourceCollectionResponse Source #

See: newGetResourceCollectionResponse smart constructor.

Constructors

GetResourceCollectionResponse' 

Fields

  • resourceCollection :: Maybe ResourceCollectionFilter

    The requested list of AWS resource collections. The one type of AWS resource collection supported is AWS CloudFormation stacks. DevOps Guru can be configured to analyze only the AWS resources that are defined in the stacks. You can specify up to 500 AWS CloudFormation stacks.

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

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq GetResourceCollectionResponse Source # 
Instance details

Defined in Amazonka.DevOpsGuru.GetResourceCollection

Read GetResourceCollectionResponse Source # 
Instance details

Defined in Amazonka.DevOpsGuru.GetResourceCollection

Show GetResourceCollectionResponse Source # 
Instance details

Defined in Amazonka.DevOpsGuru.GetResourceCollection

Generic GetResourceCollectionResponse Source # 
Instance details

Defined in Amazonka.DevOpsGuru.GetResourceCollection

Associated Types

type Rep GetResourceCollectionResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-devops-guruZSamazonka-devops-guru" 'False) (C1 ('MetaCons "GetResourceCollectionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourceCollection") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ResourceCollectionFilter)) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: 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:

$sel:resourceCollection:GetResourceCollectionResponse', getResourceCollectionResponse_resourceCollection - The requested list of AWS resource collections. The one type of AWS resource collection supported is AWS CloudFormation stacks. DevOps Guru can be configured to analyze only the AWS resources that are defined in the stacks. You can specify up to 500 AWS CloudFormation stacks.

$sel:nextToken: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.

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

Response Lenses

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

The requested list of AWS resource collections. The one type of AWS resource collection supported is AWS CloudFormation stacks. DevOps Guru can be configured to analyze only the AWS resources that are defined in the stacks. You can specify up to 500 AWS CloudFormation stacks.

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.