| 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.DeleteMethodResponse
Description
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.
Constructors
| DeleteMethodResponse' | |
Fields
| |
Instances
newDeleteMethodResponse Source #
Arguments
| :: 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.
Constructors
| DeleteMethodResponseResponse' | |
Instances
| Generic DeleteMethodResponseResponse Source # | |
Defined in Amazonka.APIGateway.DeleteMethodResponse Associated Types type Rep DeleteMethodResponseResponse :: Type -> Type # | |
| Read DeleteMethodResponseResponse Source # | |
| Show DeleteMethodResponseResponse Source # | |
Defined in Amazonka.APIGateway.DeleteMethodResponse Methods showsPrec :: Int -> DeleteMethodResponseResponse -> ShowS # show :: DeleteMethodResponseResponse -> String # showList :: [DeleteMethodResponseResponse] -> ShowS # | |
| NFData DeleteMethodResponseResponse Source # | |
Defined in Amazonka.APIGateway.DeleteMethodResponse Methods rnf :: DeleteMethodResponseResponse -> () # | |
| Eq DeleteMethodResponseResponse Source # | |
Defined in Amazonka.APIGateway.DeleteMethodResponse Methods (==) :: DeleteMethodResponseResponse -> DeleteMethodResponseResponse -> Bool # (/=) :: DeleteMethodResponseResponse -> DeleteMethodResponseResponse -> Bool # | |
| type Rep DeleteMethodResponseResponse Source # | |
Defined in Amazonka.APIGateway.DeleteMethodResponse | |
newDeleteMethodResponseResponse :: DeleteMethodResponseResponse Source #
Create a value of DeleteMethodResponseResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.