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 |
Get a user's membership in a studio.
Synopsis
- data GetStudioMember = GetStudioMember' {
- studioId :: Text
- principalId :: Text
- newGetStudioMember :: Text -> Text -> GetStudioMember
- getStudioMember_studioId :: Lens' GetStudioMember Text
- getStudioMember_principalId :: 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.
GetStudioMember' | |
|
Instances
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:
$sel:studioId:GetStudioMember'
, getStudioMember_studioId
- The studio ID.
$sel:principalId:GetStudioMember'
, getStudioMember_principalId
- The principal ID.
Request Lenses
getStudioMember_studioId :: Lens' GetStudioMember Text Source #
The studio ID.
getStudioMember_principalId :: Lens' GetStudioMember Text Source #
The principal ID.
Destructuring the Response
data GetStudioMemberResponse Source #
See: newGetStudioMemberResponse
smart constructor.
GetStudioMemberResponse' | |
|
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.