| 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.DeleteDocumentationPart
Description
Deletes a documentation part
Synopsis
- data DeleteDocumentationPart = DeleteDocumentationPart' {}
- newDeleteDocumentationPart :: Text -> Text -> DeleteDocumentationPart
- deleteDocumentationPart_restApiId :: Lens' DeleteDocumentationPart Text
- deleteDocumentationPart_documentationPartId :: Lens' DeleteDocumentationPart Text
- data DeleteDocumentationPartResponse = DeleteDocumentationPartResponse' {
- newDeleteDocumentationPartResponse :: DeleteDocumentationPartResponse
Creating a Request
data DeleteDocumentationPart Source #
Deletes an existing documentation part of an API.
See: newDeleteDocumentationPart smart constructor.
Constructors
| DeleteDocumentationPart' | |
Fields
| |
Instances
newDeleteDocumentationPart Source #
Arguments
| :: Text | |
| -> Text | |
| -> DeleteDocumentationPart |
Create a value of DeleteDocumentationPart 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:
DeleteDocumentationPart, deleteDocumentationPart_restApiId - The string identifier of the associated RestApi.
$sel:documentationPartId:DeleteDocumentationPart', deleteDocumentationPart_documentationPartId - The identifier of the to-be-deleted documentation part.
Request Lenses
deleteDocumentationPart_restApiId :: Lens' DeleteDocumentationPart Text Source #
The string identifier of the associated RestApi.
deleteDocumentationPart_documentationPartId :: Lens' DeleteDocumentationPart Text Source #
The identifier of the to-be-deleted documentation part.
Destructuring the Response
data DeleteDocumentationPartResponse Source #
See: newDeleteDocumentationPartResponse smart constructor.
Constructors
| DeleteDocumentationPartResponse' | |
Instances
| Generic DeleteDocumentationPartResponse Source # | |
Defined in Amazonka.APIGateway.DeleteDocumentationPart Associated Types type Rep DeleteDocumentationPartResponse :: Type -> Type # | |
| Read DeleteDocumentationPartResponse Source # | |
| Show DeleteDocumentationPartResponse Source # | |
Defined in Amazonka.APIGateway.DeleteDocumentationPart Methods showsPrec :: Int -> DeleteDocumentationPartResponse -> ShowS # | |
| NFData DeleteDocumentationPartResponse Source # | |
Defined in Amazonka.APIGateway.DeleteDocumentationPart Methods rnf :: DeleteDocumentationPartResponse -> () # | |
| Eq DeleteDocumentationPartResponse Source # | |
| type Rep DeleteDocumentationPartResponse Source # | |
Defined in Amazonka.APIGateway.DeleteDocumentationPart | |
newDeleteDocumentationPartResponse :: DeleteDocumentationPartResponse Source #
Create a value of DeleteDocumentationPartResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.