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 the specified resource.
Synopsis
- data DeleteResource = DeleteResource' {
- organizationId :: Text
- resourceId :: Text
- newDeleteResource :: Text -> Text -> DeleteResource
- deleteResource_organizationId :: Lens' DeleteResource Text
- deleteResource_resourceId :: Lens' DeleteResource Text
- data DeleteResourceResponse = DeleteResourceResponse' {
- httpStatus :: Int
- newDeleteResourceResponse :: Int -> DeleteResourceResponse
- deleteResourceResponse_httpStatus :: Lens' DeleteResourceResponse Int
Creating a Request
data DeleteResource Source #
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:organizationId:DeleteResource'
, deleteResource_organizationId
- The identifier associated with the organization from which the resource
is deleted.
$sel:resourceId:DeleteResource'
, deleteResource_resourceId
- The identifier of the resource to be deleted.
Request Lenses
deleteResource_organizationId :: Lens' DeleteResource Text Source #
The identifier associated with the organization from which the resource is deleted.
deleteResource_resourceId :: Lens' DeleteResource Text Source #
The identifier of the resource to be deleted.
Destructuring the Response
data DeleteResourceResponse Source #
See: newDeleteResourceResponse
smart constructor.
DeleteResourceResponse' | |
|
Instances
newDeleteResourceResponse Source #
Create a value of DeleteResourceResponse
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:httpStatus:DeleteResourceResponse'
, deleteResourceResponse_httpStatus
- The response's http status code.
Response Lenses
deleteResourceResponse_httpStatus :: Lens' DeleteResourceResponse Int Source #
The response's http status code.