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 the details of a specific stored query.
Synopsis
- data GetStoredQuery = GetStoredQuery' {}
- newGetStoredQuery :: Text -> GetStoredQuery
- getStoredQuery_queryName :: Lens' GetStoredQuery Text
- data GetStoredQueryResponse = GetStoredQueryResponse' {}
- newGetStoredQueryResponse :: Int -> GetStoredQueryResponse
- getStoredQueryResponse_storedQuery :: Lens' GetStoredQueryResponse (Maybe StoredQuery)
- getStoredQueryResponse_httpStatus :: Lens' GetStoredQueryResponse Int
Creating a Request
data GetStoredQuery Source #
See: newGetStoredQuery
smart constructor.
Instances
Create a value of GetStoredQuery
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:queryName:GetStoredQuery'
, getStoredQuery_queryName
- The name of the query.
Request Lenses
getStoredQuery_queryName :: Lens' GetStoredQuery Text Source #
The name of the query.
Destructuring the Response
data GetStoredQueryResponse Source #
See: newGetStoredQueryResponse
smart constructor.
GetStoredQueryResponse' | |
|
Instances
newGetStoredQueryResponse Source #
Create a value of GetStoredQueryResponse
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:storedQuery:GetStoredQueryResponse'
, getStoredQueryResponse_storedQuery
- Returns a StoredQuery
object.
$sel:httpStatus:GetStoredQueryResponse'
, getStoredQueryResponse_httpStatus
- The response's http status code.
Response Lenses
getStoredQueryResponse_storedQuery :: Lens' GetStoredQueryResponse (Maybe StoredQuery) Source #
Returns a StoredQuery
object.
getStoredQueryResponse_httpStatus :: Lens' GetStoredQueryResponse Int Source #
The response's http status code.