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 |
Delete a user from studio membership.
Synopsis
- data DeleteStudioMember = DeleteStudioMember' {
- clientToken :: Maybe Text
- studioId :: Text
- principalId :: Text
- newDeleteStudioMember :: Text -> Text -> DeleteStudioMember
- deleteStudioMember_clientToken :: Lens' DeleteStudioMember (Maybe Text)
- deleteStudioMember_studioId :: Lens' DeleteStudioMember Text
- deleteStudioMember_principalId :: 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 #
:: Text | |
-> Text | |
-> DeleteStudioMember |
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
- To make an idempotent API request using one of these actions, specify a
client token in the request. You should not reuse the same client token
for other API requests. If you retry a request that completed
successfully using the same client token and the same parameters, the
retry succeeds without performing any further actions. If you retry a
successful request using the same client token, but one or more of the
parameters are different, the retry fails with a ValidationException
error.
$sel:studioId:DeleteStudioMember'
, deleteStudioMember_studioId
- The studio ID.
$sel:principalId:DeleteStudioMember'
, deleteStudioMember_principalId
- The principal ID.
Request Lenses
deleteStudioMember_clientToken :: Lens' DeleteStudioMember (Maybe Text) Source #
To make an idempotent API request using one of these actions, specify a client token in the request. You should not reuse the same client token for other API requests. If you retry a request that completed successfully using the same client token and the same parameters, the retry succeeds without performing any further actions. If you retry a successful request using the same client token, but one or more of the parameters are different, the retry fails with a ValidationException error.
deleteStudioMember_studioId :: Lens' DeleteStudioMember Text Source #
The studio ID.
deleteStudioMember_principalId :: Lens' DeleteStudioMember Text Source #
The principal 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.