| 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.DeleteStoredQuery
Description
Deletes the stored query for a single Amazon Web Services account and a single Amazon Web Services Region.
Synopsis
- data DeleteStoredQuery = DeleteStoredQuery' {}
- newDeleteStoredQuery :: Text -> DeleteStoredQuery
- deleteStoredQuery_queryName :: Lens' DeleteStoredQuery Text
- data DeleteStoredQueryResponse = DeleteStoredQueryResponse' {
- httpStatus :: Int
- newDeleteStoredQueryResponse :: Int -> DeleteStoredQueryResponse
- deleteStoredQueryResponse_httpStatus :: Lens' DeleteStoredQueryResponse Int
Creating a Request
data DeleteStoredQuery Source #
See: newDeleteStoredQuery smart constructor.
Constructors
| DeleteStoredQuery' | |
Instances
Arguments
| :: Text | |
| -> DeleteStoredQuery |
Create a value of DeleteStoredQuery 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:
DeleteStoredQuery, deleteStoredQuery_queryName - The name of the query that you want to delete.
Request Lenses
deleteStoredQuery_queryName :: Lens' DeleteStoredQuery Text Source #
The name of the query that you want to delete.
Destructuring the Response
data DeleteStoredQueryResponse Source #
See: newDeleteStoredQueryResponse smart constructor.
Constructors
| DeleteStoredQueryResponse' | |
Fields
| |
Instances
newDeleteStoredQueryResponse Source #
Create a value of DeleteStoredQueryResponse 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:DeleteStoredQueryResponse', deleteStoredQueryResponse_httpStatus - The response's http status code.
Response Lenses
deleteStoredQueryResponse_httpStatus :: Lens' DeleteStoredQueryResponse Int Source #
The response's http status code.