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 |
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:
DeleteMethodResponse
, deleteMethodResponse_restApiId
- The string identifier of the associated RestApi.
$sel:resourceId:DeleteMethodResponse'
, deleteMethodResponse_resourceId
- The Resource identifier for the MethodResponse resource.
DeleteMethodResponse
, deleteMethodResponse_httpMethod
- The HTTP verb of the Method resource.
DeleteMethodResponse
, deleteMethodResponse_statusCode
- The status code identifier for the MethodResponse resource.
Request Lenses
deleteMethodResponse_restApiId :: Lens' DeleteMethodResponse Text Source #
The string identifier of the associated RestApi.
deleteMethodResponse_resourceId :: Lens' DeleteMethodResponse Text Source #
The Resource identifier for the MethodResponse resource.
deleteMethodResponse_httpMethod :: Lens' DeleteMethodResponse Text Source #
The HTTP verb of the Method resource.
deleteMethodResponse_statusCode :: Lens' DeleteMethodResponse Text Source #
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.