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 |
Gets information about a specific resource set.
Synopsis
- data GetResourceSet = GetResourceSet' {
- identifier :: Text
- newGetResourceSet :: Text -> GetResourceSet
- getResourceSet_identifier :: Lens' GetResourceSet Text
- data GetResourceSetResponse = GetResourceSetResponse' {}
- newGetResourceSetResponse :: Int -> ResourceSet -> Text -> GetResourceSetResponse
- getResourceSetResponse_httpStatus :: Lens' GetResourceSetResponse Int
- getResourceSetResponse_resourceSet :: Lens' GetResourceSetResponse ResourceSet
- getResourceSetResponse_resourceSetArn :: Lens' GetResourceSetResponse Text
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:identifier:GetResourceSet'
, getResourceSet_identifier
- A unique identifier for the resource set, used in a TODO to refer to the
resource set.
Request Lenses
getResourceSet_identifier :: Lens' GetResourceSet Text Source #
A unique identifier for the resource set, used in a TODO to refer to the resource set.
Destructuring the Response
data GetResourceSetResponse Source #
See: newGetResourceSetResponse
smart constructor.
GetResourceSetResponse' | |
|
Instances
newGetResourceSetResponse Source #
:: Int | |
-> ResourceSet | |
-> Text | |
-> GetResourceSetResponse |
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:httpStatus:GetResourceSetResponse'
, getResourceSetResponse_httpStatus
- The response's http status code.
$sel:resourceSet:GetResourceSetResponse'
, getResourceSetResponse_resourceSet
- Information about the specified resource set.
$sel:resourceSetArn:GetResourceSetResponse'
, getResourceSetResponse_resourceSetArn
- The Amazon Resource Name (ARN) of the resource set.
Response Lenses
getResourceSetResponse_httpStatus :: Lens' GetResourceSetResponse Int Source #
The response's http status code.
getResourceSetResponse_resourceSet :: Lens' GetResourceSetResponse ResourceSet Source #
Information about the specified resource set.
getResourceSetResponse_resourceSetArn :: Lens' GetResourceSetResponse Text Source #
The Amazon Resource Name (ARN) of the resource set.