Copyright | (c) 2013-2021 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 |
Deletes an existing MethodResponse resource.
Synopsis
- data DeleteMethodResponse = DeleteMethodResponse' {
- restApiId :: Text
- resourceId :: Text
- httpMethod :: Text
- statusCode :: Text
- newDeleteMethodResponse :: Text -> Text -> Text -> Text -> DeleteMethodResponse
- deleteMethodResponse_restApiId :: Lens' DeleteMethodResponse Text
- deleteMethodResponse_resourceId :: Lens' DeleteMethodResponse Text
- deleteMethodResponse_httpMethod :: Lens' DeleteMethodResponse Text
- deleteMethodResponse_statusCode :: Lens' DeleteMethodResponse Text
- data DeleteMethodResponseResponse = DeleteMethodResponseResponse' {
- newDeleteMethodResponseResponse :: DeleteMethodResponseResponse
Creating a Request
data DeleteMethodResponse Source #
A request to delete an existing MethodResponse resource.
See: newDeleteMethodResponse
smart constructor.
DeleteMethodResponse' | |
|
Instances
newDeleteMethodResponse Source #
:: Text | |
-> Text | |
-> Text | |
-> Text | |
-> DeleteMethodResponse |
Create a value of DeleteMethodResponse
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:restApiId:DeleteMethodResponse'
, deleteMethodResponse_restApiId
- [Required] The string identifier of the associated RestApi.
$sel:resourceId:DeleteMethodResponse'
, deleteMethodResponse_resourceId
- [Required] The Resource identifier for the MethodResponse resource.
$sel:httpMethod:DeleteMethodResponse'
, deleteMethodResponse_httpMethod
- [Required] The HTTP verb of the Method resource.
$sel:statusCode:DeleteMethodResponse'
, deleteMethodResponse_statusCode
- [Required] The status code identifier for the MethodResponse resource.
Request Lenses
deleteMethodResponse_restApiId :: Lens' DeleteMethodResponse Text Source #
- Required
- The string identifier of the associated RestApi.
deleteMethodResponse_resourceId :: Lens' DeleteMethodResponse Text Source #
- Required
- The Resource identifier for the MethodResponse resource.
deleteMethodResponse_httpMethod :: Lens' DeleteMethodResponse Text Source #
- Required
- The HTTP verb of the Method resource.
deleteMethodResponse_statusCode :: Lens' DeleteMethodResponse Text Source #
- Required
- The status code identifier for the MethodResponse resource.
Destructuring the Response
data DeleteMethodResponseResponse Source #
See: newDeleteMethodResponseResponse
smart constructor.
Instances
newDeleteMethodResponseResponse :: DeleteMethodResponseResponse Source #
Create a value of DeleteMethodResponseResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.