Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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
- data GetResourceCollection = GetResourceCollection' {}
- newGetResourceCollection :: ResourceCollectionType -> GetResourceCollection
- getResourceCollection_nextToken :: Lens' GetResourceCollection (Maybe Text)
- getResourceCollection_resourceCollectionType :: Lens' GetResourceCollection ResourceCollectionType
- data GetResourceCollectionResponse = GetResourceCollectionResponse' {}
- newGetResourceCollectionResponse :: Int -> GetResourceCollectionResponse
- getResourceCollectionResponse_resourceCollection :: Lens' GetResourceCollectionResponse (Maybe ResourceCollectionFilter)
- getResourceCollectionResponse_nextToken :: Lens' GetResourceCollectionResponse (Maybe Text)
- getResourceCollectionResponse_httpStatus :: Lens' GetResourceCollectionResponse Int
Creating a Request
data GetResourceCollection Source #
See: newGetResourceCollection
smart constructor.
GetResourceCollection' | |
|
Instances
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.
GetResourceCollectionResponse' | |
|
Instances
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.
getResourceCollectionResponse_httpStatus :: Lens' GetResourceCollectionResponse Int Source #
The response's http status code.