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 a Resource resource.
Synopsis
- data DeleteResource = DeleteResource' {
- restApiId :: Text
- resourceId :: Text
- newDeleteResource :: Text -> Text -> DeleteResource
- deleteResource_restApiId :: Lens' DeleteResource Text
- deleteResource_resourceId :: Lens' DeleteResource Text
- data DeleteResourceResponse = DeleteResourceResponse' {
- newDeleteResourceResponse :: DeleteResourceResponse
Creating a Request
data DeleteResource Source #
Request to delete a Resource.
See: newDeleteResource
smart constructor.
DeleteResource' | |
|
Instances
Create a value of DeleteResource
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:DeleteResource'
, deleteResource_restApiId
- [Required] The string identifier of the associated RestApi.
$sel:resourceId:DeleteResource'
, deleteResource_resourceId
- [Required] The identifier of the Resource resource.
Request Lenses
deleteResource_restApiId :: Lens' DeleteResource Text Source #
- Required
- The string identifier of the associated RestApi.
deleteResource_resourceId :: Lens' DeleteResource Text Source #
- Required
- The identifier of the Resource resource.
Destructuring the Response
data DeleteResourceResponse Source #
See: newDeleteResourceResponse
smart constructor.
Instances
Eq DeleteResourceResponse Source # | |
Defined in Amazonka.APIGateway.DeleteResource | |
Read DeleteResourceResponse Source # | |
Show DeleteResourceResponse Source # | |
Defined in Amazonka.APIGateway.DeleteResource showsPrec :: Int -> DeleteResourceResponse -> ShowS # show :: DeleteResourceResponse -> String # showList :: [DeleteResourceResponse] -> ShowS # | |
Generic DeleteResourceResponse Source # | |
Defined in Amazonka.APIGateway.DeleteResource type Rep DeleteResourceResponse :: Type -> Type # | |
NFData DeleteResourceResponse Source # | |
Defined in Amazonka.APIGateway.DeleteResource rnf :: DeleteResourceResponse -> () # | |
type Rep DeleteResourceResponse Source # | |
Defined in Amazonka.APIGateway.DeleteResource |
newDeleteResourceResponse :: DeleteResourceResponse Source #
Create a value of DeleteResourceResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.