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 |
Associates the user to an EC2 instance to utilize user-based subscriptions.
Your estimated bill for charges on the number of users and related costs will take 48 hours to appear for billing periods that haven't closed (marked as Pending billing status) in Amazon Web Services Billing. For more information, see Viewing your monthly charges in the Amazon Web Services Billing User Guide.
Synopsis
- data AssociateUser = AssociateUser' {}
- newAssociateUser :: IdentityProvider -> Text -> Text -> AssociateUser
- associateUser_domain :: Lens' AssociateUser (Maybe Text)
- associateUser_identityProvider :: Lens' AssociateUser IdentityProvider
- associateUser_instanceId :: Lens' AssociateUser Text
- associateUser_username :: Lens' AssociateUser Text
- data AssociateUserResponse = AssociateUserResponse' {}
- newAssociateUserResponse :: Int -> InstanceUserSummary -> AssociateUserResponse
- associateUserResponse_httpStatus :: Lens' AssociateUserResponse Int
- associateUserResponse_instanceUserSummary :: Lens' AssociateUserResponse InstanceUserSummary
Creating a Request
data AssociateUser Source #
See: newAssociateUser
smart constructor.
AssociateUser' | |
|
Instances
Create a value of AssociateUser
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:
AssociateUser
, associateUser_domain
- The domain name of the user.
AssociateUser
, associateUser_identityProvider
- The identity provider of the user.
AssociateUser
, associateUser_instanceId
- The ID of the EC2 instance, which provides user-based subscriptions.
AssociateUser
, associateUser_username
- The user name from the identity provider for the user.
Request Lenses
associateUser_domain :: Lens' AssociateUser (Maybe Text) Source #
The domain name of the user.
associateUser_identityProvider :: Lens' AssociateUser IdentityProvider Source #
The identity provider of the user.
associateUser_instanceId :: Lens' AssociateUser Text Source #
The ID of the EC2 instance, which provides user-based subscriptions.
associateUser_username :: Lens' AssociateUser Text Source #
The user name from the identity provider for the user.
Destructuring the Response
data AssociateUserResponse Source #
See: newAssociateUserResponse
smart constructor.
AssociateUserResponse' | |
|
Instances
newAssociateUserResponse Source #
Create a value of AssociateUserResponse
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:AssociateUserResponse'
, associateUserResponse_httpStatus
- The response's http status code.
$sel:instanceUserSummary:AssociateUserResponse'
, associateUserResponse_instanceUserSummary
- Metadata that describes the associate user operation.
Response Lenses
associateUserResponse_httpStatus :: Lens' AssociateUserResponse Int Source #
The response's http status code.
associateUserResponse_instanceUserSummary :: Lens' AssociateUserResponse InstanceUserSummary Source #
Metadata that describes the associate user operation.