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 |
Delete a user from studio membership.
Synopsis
- data DeleteStudioMember = DeleteStudioMember' {
- clientToken :: Maybe Text
- principalId :: Text
- studioId :: Text
- newDeleteStudioMember :: Text -> Text -> DeleteStudioMember
- deleteStudioMember_clientToken :: Lens' DeleteStudioMember (Maybe Text)
- deleteStudioMember_principalId :: Lens' DeleteStudioMember Text
- deleteStudioMember_studioId :: Lens' DeleteStudioMember Text
- data DeleteStudioMemberResponse = DeleteStudioMemberResponse' {
- httpStatus :: Int
- newDeleteStudioMemberResponse :: Int -> DeleteStudioMemberResponse
- deleteStudioMemberResponse_httpStatus :: Lens' DeleteStudioMemberResponse Int
Creating a Request
data DeleteStudioMember Source #
See: newDeleteStudioMember
smart constructor.
DeleteStudioMember' | |
|
Instances
newDeleteStudioMember Source #
Create a value of DeleteStudioMember
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:clientToken:DeleteStudioMember'
, deleteStudioMember_clientToken
- Unique, case-sensitive identifier that you provide to ensure the
idempotency of the request. If you don’t specify a client token, the
Amazon Web Services SDK automatically generates a client token and uses
it for the request to ensure idempotency.
DeleteStudioMember
, deleteStudioMember_principalId
- The principal ID. This currently supports a IAM Identity Center UserId.
DeleteStudioMember
, deleteStudioMember_studioId
- The studio ID.
Request Lenses
deleteStudioMember_clientToken :: Lens' DeleteStudioMember (Maybe Text) Source #
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t specify a client token, the Amazon Web Services SDK automatically generates a client token and uses it for the request to ensure idempotency.
deleteStudioMember_principalId :: Lens' DeleteStudioMember Text Source #
The principal ID. This currently supports a IAM Identity Center UserId.
deleteStudioMember_studioId :: Lens' DeleteStudioMember Text Source #
The studio ID.
Destructuring the Response
data DeleteStudioMemberResponse Source #
See: newDeleteStudioMemberResponse
smart constructor.
DeleteStudioMemberResponse' | |
|
Instances
newDeleteStudioMemberResponse Source #
Create a value of DeleteStudioMemberResponse
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:DeleteStudioMemberResponse'
, deleteStudioMemberResponse_httpStatus
- The response's http status code.
Response Lenses
deleteStudioMemberResponse_httpStatus :: Lens' DeleteStudioMemberResponse Int Source #
The response's http status code.