| 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 |
Amazonka.Nimble.UpdateLaunchProfileMember
Description
Update a user persona in launch profile membership.
Synopsis
- data UpdateLaunchProfileMember = UpdateLaunchProfileMember' {}
- newUpdateLaunchProfileMember :: Text -> LaunchProfilePersona -> Text -> Text -> UpdateLaunchProfileMember
- updateLaunchProfileMember_clientToken :: Lens' UpdateLaunchProfileMember (Maybe Text)
- updateLaunchProfileMember_studioId :: Lens' UpdateLaunchProfileMember Text
- updateLaunchProfileMember_persona :: Lens' UpdateLaunchProfileMember LaunchProfilePersona
- updateLaunchProfileMember_principalId :: Lens' UpdateLaunchProfileMember Text
- updateLaunchProfileMember_launchProfileId :: Lens' UpdateLaunchProfileMember Text
- data UpdateLaunchProfileMemberResponse = UpdateLaunchProfileMemberResponse' {}
- newUpdateLaunchProfileMemberResponse :: Int -> UpdateLaunchProfileMemberResponse
- updateLaunchProfileMemberResponse_member :: Lens' UpdateLaunchProfileMemberResponse (Maybe LaunchProfileMembership)
- updateLaunchProfileMemberResponse_httpStatus :: Lens' UpdateLaunchProfileMemberResponse Int
Creating a Request
data UpdateLaunchProfileMember Source #
The principal ID.
See: newUpdateLaunchProfileMember smart constructor.
Constructors
| UpdateLaunchProfileMember' | |
Fields
| |
Instances
newUpdateLaunchProfileMember Source #
Arguments
| :: Text | |
| -> LaunchProfilePersona | |
| -> Text | |
| -> Text | |
| -> UpdateLaunchProfileMember |
Create a value of UpdateLaunchProfileMember 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:UpdateLaunchProfileMember', updateLaunchProfileMember_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:UpdateLaunchProfileMember', updateLaunchProfileMember_studioId - The studio ID.
$sel:persona:UpdateLaunchProfileMember', updateLaunchProfileMember_persona - The persona.
$sel:principalId:UpdateLaunchProfileMember', updateLaunchProfileMember_principalId - The principal ID.
$sel:launchProfileId:UpdateLaunchProfileMember', updateLaunchProfileMember_launchProfileId - The launch profile ID.
Request Lenses
updateLaunchProfileMember_clientToken :: Lens' UpdateLaunchProfileMember (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.
updateLaunchProfileMember_studioId :: Lens' UpdateLaunchProfileMember Text Source #
The studio ID.
updateLaunchProfileMember_persona :: Lens' UpdateLaunchProfileMember LaunchProfilePersona Source #
The persona.
updateLaunchProfileMember_principalId :: Lens' UpdateLaunchProfileMember Text Source #
The principal ID.
updateLaunchProfileMember_launchProfileId :: Lens' UpdateLaunchProfileMember Text Source #
The launch profile ID.
Destructuring the Response
data UpdateLaunchProfileMemberResponse Source #
See: newUpdateLaunchProfileMemberResponse smart constructor.
Constructors
| UpdateLaunchProfileMemberResponse' | |
Fields
| |
Instances
newUpdateLaunchProfileMemberResponse Source #
Arguments
| :: Int | |
| -> UpdateLaunchProfileMemberResponse |
Create a value of UpdateLaunchProfileMemberResponse 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:UpdateLaunchProfileMemberResponse', updateLaunchProfileMemberResponse_member - The member.
$sel:httpStatus:UpdateLaunchProfileMemberResponse', updateLaunchProfileMemberResponse_httpStatus - The response's http status code.
Response Lenses
updateLaunchProfileMemberResponse_member :: Lens' UpdateLaunchProfileMemberResponse (Maybe LaunchProfileMembership) Source #
The member.
updateLaunchProfileMemberResponse_httpStatus :: Lens' UpdateLaunchProfileMemberResponse Int Source #
The response's http status code.