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 |
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.
DisassociateDelegateFromResource' | |
|
Instances
newDisassociateDelegateFromResource Source #
:: 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:
$sel:organizationId: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.
$sel:entityId: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.
DisassociateDelegateFromResourceResponse' | |
|
Instances
Eq DisassociateDelegateFromResourceResponse Source # | |
Read DisassociateDelegateFromResourceResponse Source # | |
Show DisassociateDelegateFromResourceResponse Source # | |
Generic DisassociateDelegateFromResourceResponse Source # | |
Defined in Amazonka.WorkMail.DisassociateDelegateFromResource type Rep DisassociateDelegateFromResourceResponse :: Type -> Type # | |
NFData DisassociateDelegateFromResourceResponse Source # | |
type Rep DisassociateDelegateFromResourceResponse Source # | |
Defined in Amazonka.WorkMail.DisassociateDelegateFromResource type Rep DisassociateDelegateFromResourceResponse = D1 ('MetaData "DisassociateDelegateFromResourceResponse" "Amazonka.WorkMail.DisassociateDelegateFromResource" "libZSservicesZSamazonka-workmailZSamazonka-workmail" 'False) (C1 ('MetaCons "DisassociateDelegateFromResourceResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newDisassociateDelegateFromResourceResponse Source #
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.