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 |
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:
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.
DisassociateDelegateFromResourceResponse' | |
|
Instances
Generic DisassociateDelegateFromResourceResponse Source # | |
Defined in Amazonka.WorkMail.DisassociateDelegateFromResource type Rep DisassociateDelegateFromResourceResponse :: Type -> Type # | |
Read DisassociateDelegateFromResourceResponse Source # | |
Show DisassociateDelegateFromResourceResponse Source # | |
NFData DisassociateDelegateFromResourceResponse Source # | |
Eq DisassociateDelegateFromResourceResponse Source # | |
type Rep DisassociateDelegateFromResourceResponse Source # | |
Defined in Amazonka.WorkMail.DisassociateDelegateFromResource type Rep DisassociateDelegateFromResourceResponse = D1 ('MetaData "DisassociateDelegateFromResourceResponse" "Amazonka.WorkMail.DisassociateDelegateFromResource" "amazonka-workmail-2.0-6w5uOhF45UX4mlfLHLnG5b" '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.