| 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.APIGateway.DeleteMethod
Description
Deletes an existing Method resource.
Synopsis
- data DeleteMethod = DeleteMethod' {
- restApiId :: Text
- resourceId :: Text
- httpMethod :: Text
- newDeleteMethod :: Text -> Text -> Text -> DeleteMethod
- deleteMethod_restApiId :: Lens' DeleteMethod Text
- deleteMethod_resourceId :: Lens' DeleteMethod Text
- deleteMethod_httpMethod :: Lens' DeleteMethod Text
- data DeleteMethodResponse' = DeleteMethodResponse'' {
- newDeleteMethodResponse' :: DeleteMethodResponse'
Creating a Request
data DeleteMethod Source #
Request to delete an existing Method resource.
See: newDeleteMethod smart constructor.
Constructors
| DeleteMethod' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> Text | |
| -> DeleteMethod |
Create a value of DeleteMethod 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:
DeleteMethod, deleteMethod_restApiId - The string identifier of the associated RestApi.
$sel:resourceId:DeleteMethod', deleteMethod_resourceId - The Resource identifier for the Method resource.
DeleteMethod, deleteMethod_httpMethod - The HTTP verb of the Method resource.
Request Lenses
deleteMethod_restApiId :: Lens' DeleteMethod Text Source #
The string identifier of the associated RestApi.
deleteMethod_resourceId :: Lens' DeleteMethod Text Source #
The Resource identifier for the Method resource.
deleteMethod_httpMethod :: Lens' DeleteMethod Text Source #
The HTTP verb of the Method resource.
Destructuring the Response
data DeleteMethodResponse' Source #
See: newDeleteMethodResponse' smart constructor.
Constructors
| DeleteMethodResponse'' | |
Instances
newDeleteMethodResponse' :: DeleteMethodResponse' Source #
Create a value of DeleteMethodResponse' with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.