| Copyright | (c) 2013-2018 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 |
| Language | Haskell2010 |
Network.AWS.Athena.GetNamedQuery
Description
Returns information about a single query.
Synopsis
Creating a Request
Arguments
| :: Text | |
| -> GetNamedQuery |
Creates a value of GetNamedQuery with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gnqNamedQueryId- The unique ID of the query. UseListNamedQueriesto get query IDs.
data GetNamedQuery Source #
See: getNamedQuery smart constructor.
Instances
Request Lenses
gnqNamedQueryId :: Lens' GetNamedQuery Text Source #
The unique ID of the query. Use ListNamedQueries to get query IDs.
Destructuring the Response
getNamedQueryResponse Source #
Arguments
| :: Int | |
| -> GetNamedQueryResponse |
Creates a value of GetNamedQueryResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gnqrsNamedQuery- Information about the query.gnqrsResponseStatus- -- | The response status code.
data GetNamedQueryResponse Source #
See: getNamedQueryResponse smart constructor.
Instances
Response Lenses
gnqrsNamedQuery :: Lens' GetNamedQueryResponse (Maybe NamedQuery) Source #
Information about the query.
gnqrsResponseStatus :: Lens' GetNamedQueryResponse Int Source #
- - | The response status code.