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 |
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_studioId :: Lens' PutStudioMembers Text
- putStudioMembers_members :: Lens' PutStudioMembers (NonEmpty NewStudioMember)
- putStudioMembers_identityStoreId :: Lens' PutStudioMembers Text
- data PutStudioMembersResponse = PutStudioMembersResponse' {
- httpStatus :: Int
- newPutStudioMembersResponse :: Int -> PutStudioMembersResponse
- putStudioMembersResponse_httpStatus :: Lens' PutStudioMembersResponse Int
Creating a Request
data PutStudioMembers Source #
A launch profile membership collection.
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
- 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:PutStudioMembers'
, putStudioMembers_studioId
- The studio ID.
$sel:members:PutStudioMembers'
, putStudioMembers_members
- A list of members.
$sel:identityStoreId:PutStudioMembers'
, putStudioMembers_identityStoreId
- The ID of the identity store.
Request Lenses
putStudioMembers_clientToken :: Lens' PutStudioMembers (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.
putStudioMembers_studioId :: Lens' PutStudioMembers Text Source #
The studio ID.
putStudioMembers_members :: Lens' PutStudioMembers (NonEmpty NewStudioMember) Source #
A list of members.
putStudioMembers_identityStoreId :: Lens' PutStudioMembers Text Source #
The ID of the identity store.
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.