Copyright | (c) 2013-2017 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 |
Deletes an existing MethodResponse
resource.
- 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
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
- The string identifier of the associatedRestApi
.dmResourceId
- TheResource
identifier for theMethodResponse
resource.dmHttpMethod
- The HTTP verb of theMethod
resource.dmStatusCode
- The status code identifier for theMethodResponse
resource.
data DeleteMethodResponse Source #
A request to delete an existing MethodResponse
resource.
See: deleteMethodResponse
smart constructor.
Request Lenses
dmRestAPIId :: Lens' DeleteMethodResponse Text Source #
The string identifier of the associated RestApi
.
dmResourceId :: Lens' DeleteMethodResponse Text Source #
The Resource
identifier for the MethodResponse
resource.
dmHttpMethod :: Lens' DeleteMethodResponse Text Source #
The HTTP verb of the Method
resource.
dmStatusCode :: Lens' DeleteMethodResponse Text Source #
The status code identifier for the MethodResponse
resource.
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.