| 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.WorkMail.DisassociateDelegateFromResource
Description
Removes a member from the resource's set of delegates.
Synopsis
- data DisassociateDelegateFromResource = DisassociateDelegateFromResource' {
- organizationId :: Text
- resourceId :: Text
- entityId :: Text
- newDisassociateDelegateFromResource :: Text -> Text -> Text -> DisassociateDelegateFromResource
- disassociateDelegateFromResource_organizationId :: Lens' DisassociateDelegateFromResource Text
- disassociateDelegateFromResource_resourceId :: Lens' DisassociateDelegateFromResource Text
- disassociateDelegateFromResource_entityId :: Lens' DisassociateDelegateFromResource Text
- data DisassociateDelegateFromResourceResponse = DisassociateDelegateFromResourceResponse' {
- httpStatus :: Int
- newDisassociateDelegateFromResourceResponse :: Int -> DisassociateDelegateFromResourceResponse
- disassociateDelegateFromResourceResponse_httpStatus :: Lens' DisassociateDelegateFromResourceResponse Int
Creating a Request
data DisassociateDelegateFromResource Source #
See: newDisassociateDelegateFromResource smart constructor.
Constructors
| DisassociateDelegateFromResource' | |
Fields
| |
Instances
newDisassociateDelegateFromResource Source #
Arguments
| :: Text | |
| -> Text | |
| -> Text | |
| -> DisassociateDelegateFromResource |
Create a value of DisassociateDelegateFromResource 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:
DisassociateDelegateFromResource, disassociateDelegateFromResource_organizationId - The identifier for the organization under which the resource exists.
$sel:resourceId:DisassociateDelegateFromResource', disassociateDelegateFromResource_resourceId - The identifier of the resource from which delegates' set members are
removed.
DisassociateDelegateFromResource, disassociateDelegateFromResource_entityId - The identifier for the member (user, group) to be removed from the
resource's delegates.
Request Lenses
disassociateDelegateFromResource_organizationId :: Lens' DisassociateDelegateFromResource Text Source #
The identifier for the organization under which the resource exists.
disassociateDelegateFromResource_resourceId :: Lens' DisassociateDelegateFromResource Text Source #
The identifier of the resource from which delegates' set members are removed.
disassociateDelegateFromResource_entityId :: Lens' DisassociateDelegateFromResource Text Source #
The identifier for the member (user, group) to be removed from the resource's delegates.
Destructuring the Response
data DisassociateDelegateFromResourceResponse Source #
See: newDisassociateDelegateFromResourceResponse smart constructor.
Constructors
| DisassociateDelegateFromResourceResponse' | |
Fields
| |
Instances
newDisassociateDelegateFromResourceResponse Source #
Arguments
| :: Int | |
| -> DisassociateDelegateFromResourceResponse |
Create a value of DisassociateDelegateFromResourceResponse 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:DisassociateDelegateFromResourceResponse', disassociateDelegateFromResourceResponse_httpStatus - The response's http status code.
Response Lenses
disassociateDelegateFromResourceResponse_httpStatus :: Lens' DisassociateDelegateFromResourceResponse Int Source #
The response's http status code.