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 information about a Resource Set.
Synopsis
- data GetResourceSet = GetResourceSet' {}
- newGetResourceSet :: Text -> GetResourceSet
- getResourceSet_resourceSetName :: Lens' GetResourceSet Text
- data GetResourceSetResponse = GetResourceSetResponse' {
- resourceSetName :: Maybe Text
- resourceSetType :: Maybe Text
- resources :: Maybe [Resource]
- resourceSetArn :: Maybe Text
- tags :: Maybe (HashMap Text Text)
- httpStatus :: Int
- newGetResourceSetResponse :: Int -> GetResourceSetResponse
- getResourceSetResponse_resourceSetName :: Lens' GetResourceSetResponse (Maybe Text)
- getResourceSetResponse_resourceSetType :: Lens' GetResourceSetResponse (Maybe Text)
- getResourceSetResponse_resources :: Lens' GetResourceSetResponse (Maybe [Resource])
- getResourceSetResponse_resourceSetArn :: Lens' GetResourceSetResponse (Maybe Text)
- getResourceSetResponse_tags :: Lens' GetResourceSetResponse (Maybe (HashMap Text Text))
- getResourceSetResponse_httpStatus :: Lens' GetResourceSetResponse Int
Creating a Request
data GetResourceSet Source #
See: newGetResourceSet
smart constructor.
GetResourceSet' | |
|
Instances
Create a value of GetResourceSet
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:resourceSetName:GetResourceSet'
, getResourceSet_resourceSetName
- The ResourceSet to get
Request Lenses
getResourceSet_resourceSetName :: Lens' GetResourceSet Text Source #
The ResourceSet to get
Destructuring the Response
data GetResourceSetResponse Source #
See: newGetResourceSetResponse
smart constructor.
GetResourceSetResponse' | |
|
Instances
newGetResourceSetResponse Source #
Create a value of GetResourceSetResponse
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:resourceSetName:GetResourceSet'
, getResourceSetResponse_resourceSetName
- The name of the ResourceSet
$sel:resourceSetType:GetResourceSetResponse'
, getResourceSetResponse_resourceSetType
- AWS Resource Type of the resources in the ResourceSet
$sel:resources:GetResourceSetResponse'
, getResourceSetResponse_resources
- A list of Resource objects
$sel:resourceSetArn:GetResourceSetResponse'
, getResourceSetResponse_resourceSetArn
- The arn for the ResourceSet
$sel:tags:GetResourceSetResponse'
, getResourceSetResponse_tags
- Undocumented member.
$sel:httpStatus:GetResourceSetResponse'
, getResourceSetResponse_httpStatus
- The response's http status code.
Response Lenses
getResourceSetResponse_resourceSetName :: Lens' GetResourceSetResponse (Maybe Text) Source #
The name of the ResourceSet
getResourceSetResponse_resourceSetType :: Lens' GetResourceSetResponse (Maybe Text) Source #
AWS Resource Type of the resources in the ResourceSet
getResourceSetResponse_resources :: Lens' GetResourceSetResponse (Maybe [Resource]) Source #
A list of Resource objects
getResourceSetResponse_resourceSetArn :: Lens' GetResourceSetResponse (Maybe Text) Source #
The arn for the ResourceSet
getResourceSetResponse_tags :: Lens' GetResourceSetResponse (Maybe (HashMap Text Text)) Source #
Undocumented member.
getResourceSetResponse_httpStatus :: Lens' GetResourceSetResponse Int Source #
The response's http status code.