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 |
Retrieves a Resolver
object.
Synopsis
- data GetResolver = GetResolver' {}
- newGetResolver :: Text -> Text -> Text -> GetResolver
- getResolver_apiId :: Lens' GetResolver Text
- getResolver_typeName :: Lens' GetResolver Text
- getResolver_fieldName :: Lens' GetResolver Text
- data GetResolverResponse = GetResolverResponse' {
- resolver :: Maybe Resolver
- httpStatus :: Int
- newGetResolverResponse :: Int -> GetResolverResponse
- getResolverResponse_resolver :: Lens' GetResolverResponse (Maybe Resolver)
- getResolverResponse_httpStatus :: Lens' GetResolverResponse Int
Creating a Request
data GetResolver Source #
See: newGetResolver
smart constructor.
Instances
:: Text | |
-> Text | |
-> Text | |
-> GetResolver |
Create a value of GetResolver
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:apiId:GetResolver'
, getResolver_apiId
- The API ID.
$sel:typeName:GetResolver'
, getResolver_typeName
- The resolver type name.
$sel:fieldName:GetResolver'
, getResolver_fieldName
- The resolver field name.
Request Lenses
getResolver_apiId :: Lens' GetResolver Text Source #
The API ID.
getResolver_typeName :: Lens' GetResolver Text Source #
The resolver type name.
getResolver_fieldName :: Lens' GetResolver Text Source #
The resolver field name.
Destructuring the Response
data GetResolverResponse Source #
See: newGetResolverResponse
smart constructor.
GetResolverResponse' | |
|
Instances
newGetResolverResponse Source #
Create a value of GetResolverResponse
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:resolver:GetResolverResponse'
, getResolverResponse_resolver
- The Resolver
object.
$sel:httpStatus:GetResolverResponse'
, getResolverResponse_httpStatus
- The response's http status code.
Response Lenses
getResolverResponse_resolver :: Lens' GetResolverResponse (Maybe Resolver) Source #
The Resolver
object.
getResolverResponse_httpStatus :: Lens' GetResolverResponse Int Source #
The response's http status code.