| 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 |
Amazonka.Config.GetStoredQuery
Description
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.
Constructors
| GetStoredQuery' | |
Instances
Arguments
| :: Text | |
| -> GetStoredQuery |
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:
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.
Constructors
| GetStoredQueryResponse' | |
Fields
| |
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.