Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
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
- data GetResourceCollection = GetResourceCollection' {}
- newGetResourceCollection :: ResourceCollectionType -> GetResourceCollection
- getResourceCollection_nextToken :: Lens' GetResourceCollection (Maybe Text)
- getResourceCollection_resourceCollectionType :: Lens' GetResourceCollection ResourceCollectionType
- data GetResourceCollectionResponse = GetResourceCollectionResponse' {}
- newGetResourceCollectionResponse :: Int -> GetResourceCollectionResponse
- getResourceCollectionResponse_nextToken :: Lens' GetResourceCollectionResponse (Maybe Text)
- getResourceCollectionResponse_resourceCollection :: Lens' GetResourceCollectionResponse (Maybe ResourceCollectionFilter)
- 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:
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.
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:
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.
getResourceCollectionResponse_httpStatus :: Lens' GetResourceCollectionResponse Int Source #
The response's http status code.