amazonka-license-manager-user-subscriptions-2.0: Amazon License Manager User Subscriptions SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.LicenseManagerUserSubscriptions.AssociateUser

Description

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

Creating a Request

data AssociateUser Source #

See: newAssociateUser smart constructor.

Constructors

AssociateUser' 

Fields

Instances

Instances details
ToJSON AssociateUser Source # 
Instance details

Defined in Amazonka.LicenseManagerUserSubscriptions.AssociateUser

ToHeaders AssociateUser Source # 
Instance details

Defined in Amazonka.LicenseManagerUserSubscriptions.AssociateUser

ToPath AssociateUser Source # 
Instance details

Defined in Amazonka.LicenseManagerUserSubscriptions.AssociateUser

ToQuery AssociateUser Source # 
Instance details

Defined in Amazonka.LicenseManagerUserSubscriptions.AssociateUser

AWSRequest AssociateUser Source # 
Instance details

Defined in Amazonka.LicenseManagerUserSubscriptions.AssociateUser

Associated Types

type AWSResponse AssociateUser #

Generic AssociateUser Source # 
Instance details

Defined in Amazonka.LicenseManagerUserSubscriptions.AssociateUser

Associated Types

type Rep AssociateUser :: Type -> Type #

Read AssociateUser Source # 
Instance details

Defined in Amazonka.LicenseManagerUserSubscriptions.AssociateUser

Show AssociateUser Source # 
Instance details

Defined in Amazonka.LicenseManagerUserSubscriptions.AssociateUser

NFData AssociateUser Source # 
Instance details

Defined in Amazonka.LicenseManagerUserSubscriptions.AssociateUser

Methods

rnf :: AssociateUser -> () #

Eq AssociateUser Source # 
Instance details

Defined in Amazonka.LicenseManagerUserSubscriptions.AssociateUser

Hashable AssociateUser Source # 
Instance details

Defined in Amazonka.LicenseManagerUserSubscriptions.AssociateUser

type AWSResponse AssociateUser Source # 
Instance details

Defined in Amazonka.LicenseManagerUserSubscriptions.AssociateUser

type Rep AssociateUser Source # 
Instance details

Defined in Amazonka.LicenseManagerUserSubscriptions.AssociateUser

type Rep AssociateUser = D1 ('MetaData "AssociateUser" "Amazonka.LicenseManagerUserSubscriptions.AssociateUser" "amazonka-license-manager-user-subscriptions-2.0-FTcAVPsIeL0Hw8vwEQErB1" 'False) (C1 ('MetaCons "AssociateUser'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "domain") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "identityProvider") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 IdentityProvider)) :*: (S1 ('MetaSel ('Just "instanceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "username") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newAssociateUser Source #

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_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.

Constructors

AssociateUserResponse' 

Fields

Instances

Instances details
Generic AssociateUserResponse Source # 
Instance details

Defined in Amazonka.LicenseManagerUserSubscriptions.AssociateUser

Associated Types

type Rep AssociateUserResponse :: Type -> Type #

Read AssociateUserResponse Source # 
Instance details

Defined in Amazonka.LicenseManagerUserSubscriptions.AssociateUser

Show AssociateUserResponse Source # 
Instance details

Defined in Amazonka.LicenseManagerUserSubscriptions.AssociateUser

NFData AssociateUserResponse Source # 
Instance details

Defined in Amazonka.LicenseManagerUserSubscriptions.AssociateUser

Methods

rnf :: AssociateUserResponse -> () #

Eq AssociateUserResponse Source # 
Instance details

Defined in Amazonka.LicenseManagerUserSubscriptions.AssociateUser

type Rep AssociateUserResponse Source # 
Instance details

Defined in Amazonka.LicenseManagerUserSubscriptions.AssociateUser

type Rep AssociateUserResponse = D1 ('MetaData "AssociateUserResponse" "Amazonka.LicenseManagerUserSubscriptions.AssociateUser" "amazonka-license-manager-user-subscriptions-2.0-FTcAVPsIeL0Hw8vwEQErB1" 'False) (C1 ('MetaCons "AssociateUserResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "instanceUserSummary") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 InstanceUserSummary)))

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