| 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 |
Amazonka.Nimble.GetStudioMember
Description
Get a user's membership in a studio.
Synopsis
- data GetStudioMember = GetStudioMember' {
- principalId :: Text
- studioId :: Text
- newGetStudioMember :: Text -> Text -> GetStudioMember
- getStudioMember_principalId :: Lens' GetStudioMember Text
- getStudioMember_studioId :: Lens' GetStudioMember Text
- data GetStudioMemberResponse = GetStudioMemberResponse' {}
- newGetStudioMemberResponse :: Int -> GetStudioMemberResponse
- getStudioMemberResponse_member :: Lens' GetStudioMemberResponse (Maybe StudioMembership)
- getStudioMemberResponse_httpStatus :: Lens' GetStudioMemberResponse Int
Creating a Request
data GetStudioMember Source #
See: newGetStudioMember smart constructor.
Constructors
| GetStudioMember' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> GetStudioMember |
Create a value of GetStudioMember 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:
GetStudioMember, getStudioMember_principalId - The principal ID. This currently supports a IAM Identity Center UserId.
GetStudioMember, getStudioMember_studioId - The studio ID.
Request Lenses
getStudioMember_principalId :: Lens' GetStudioMember Text Source #
The principal ID. This currently supports a IAM Identity Center UserId.
getStudioMember_studioId :: Lens' GetStudioMember Text Source #
The studio ID.
Destructuring the Response
data GetStudioMemberResponse Source #
See: newGetStudioMemberResponse smart constructor.
Constructors
| GetStudioMemberResponse' | |
Fields
| |
Instances
newGetStudioMemberResponse Source #
Create a value of GetStudioMemberResponse 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:member:GetStudioMemberResponse', getStudioMemberResponse_member - The member.
$sel:httpStatus:GetStudioMemberResponse', getStudioMemberResponse_httpStatus - The response's http status code.
Response Lenses
getStudioMemberResponse_member :: Lens' GetStudioMemberResponse (Maybe StudioMembership) Source #
The member.
getStudioMemberResponse_httpStatus :: Lens' GetStudioMemberResponse Int Source #
The response's http status code.