| 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.APIGateway.DeleteMethodResponse
Description
Deletes an existing MethodResponse resource.
Synopsis
- deleteMethodResponse :: Text -> Text -> Text -> Text -> DeleteMethodResponse
- data DeleteMethodResponse
- dmRestAPIId :: Lens' DeleteMethodResponse Text
- dmResourceId :: Lens' DeleteMethodResponse Text
- dmHttpMethod :: Lens' DeleteMethodResponse Text
- dmStatusCode :: Lens' DeleteMethodResponse Text
- deleteMethodResponseResponse :: DeleteMethodResponseResponse
- data DeleteMethodResponseResponse
Creating a Request
Arguments
| :: Text | |
| -> Text | |
| -> Text | |
| -> Text | |
| -> DeleteMethodResponse |
Creates a value of DeleteMethodResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dmRestAPIId- [Required] The string identifier of the associatedRestApi.dmResourceId- [Required] TheResourceidentifier for theMethodResponseresource.dmHttpMethod- [Required] The HTTP verb of theMethodresource.dmStatusCode- [Required] The status code identifier for theMethodResponseresource.
data DeleteMethodResponse Source #
A request to delete an existing MethodResponse resource.
See: deleteMethodResponse smart constructor.
Instances
Request Lenses
dmRestAPIId :: Lens' DeleteMethodResponse Text Source #
- Required
- The string identifier of the associated
RestApi.
dmResourceId :: Lens' DeleteMethodResponse Text Source #
- Required
- The
Resourceidentifier for theMethodResponseresource.
dmHttpMethod :: Lens' DeleteMethodResponse Text Source #
- Required
- The HTTP verb of the
Methodresource.
dmStatusCode :: Lens' DeleteMethodResponse Text Source #
- Required
- The status code identifier for the
MethodResponseresource.
Destructuring the Response
deleteMethodResponseResponse :: DeleteMethodResponseResponse Source #
Creates a value of DeleteMethodResponseResponse with the minimum fields required to make a request.
data DeleteMethodResponseResponse Source #
See: deleteMethodResponseResponse smart constructor.