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 |
Add/update users with given persona to studio membership.
Synopsis
- data PutStudioMembers = PutStudioMembers' {}
- newPutStudioMembers :: Text -> NonEmpty NewStudioMember -> Text -> PutStudioMembers
- putStudioMembers_clientToken :: Lens' PutStudioMembers (Maybe Text)
- putStudioMembers_identityStoreId :: Lens' PutStudioMembers Text
- putStudioMembers_members :: Lens' PutStudioMembers (NonEmpty NewStudioMember)
- putStudioMembers_studioId :: Lens' PutStudioMembers Text
- data PutStudioMembersResponse = PutStudioMembersResponse' {
- httpStatus :: Int
- newPutStudioMembersResponse :: Int -> PutStudioMembersResponse
- putStudioMembersResponse_httpStatus :: Lens' PutStudioMembersResponse Int
Creating a Request
data PutStudioMembers Source #
See: newPutStudioMembers
smart constructor.
PutStudioMembers' | |
|
Instances
:: Text | |
-> NonEmpty NewStudioMember | |
-> Text | |
-> PutStudioMembers |
Create a value of PutStudioMembers
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:PutStudioMembers'
, putStudioMembers_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.
PutStudioMembers
, putStudioMembers_identityStoreId
- The ID of the identity store.
$sel:members:PutStudioMembers'
, putStudioMembers_members
- A list of members.
PutStudioMembers
, putStudioMembers_studioId
- The studio ID.
Request Lenses
putStudioMembers_clientToken :: Lens' PutStudioMembers (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.
putStudioMembers_identityStoreId :: Lens' PutStudioMembers Text Source #
The ID of the identity store.
putStudioMembers_members :: Lens' PutStudioMembers (NonEmpty NewStudioMember) Source #
A list of members.
putStudioMembers_studioId :: Lens' PutStudioMembers Text Source #
The studio ID.
Destructuring the Response
data PutStudioMembersResponse Source #
See: newPutStudioMembersResponse
smart constructor.
PutStudioMembersResponse' | |
|
Instances
newPutStudioMembersResponse Source #
Create a value of PutStudioMembersResponse
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:PutStudioMembersResponse'
, putStudioMembersResponse_httpStatus
- The response's http status code.
Response Lenses
putStudioMembersResponse_httpStatus :: Lens' PutStudioMembersResponse Int Source #
The response's http status code.