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 |
Starts a product subscription for a user with the specified identity provider.
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 StartProductSubscription = StartProductSubscription' {}
- newStartProductSubscription :: IdentityProvider -> Text -> Text -> StartProductSubscription
- startProductSubscription_domain :: Lens' StartProductSubscription (Maybe Text)
- startProductSubscription_identityProvider :: Lens' StartProductSubscription IdentityProvider
- startProductSubscription_product :: Lens' StartProductSubscription Text
- startProductSubscription_username :: Lens' StartProductSubscription Text
- data StartProductSubscriptionResponse = StartProductSubscriptionResponse' {}
- newStartProductSubscriptionResponse :: Int -> ProductUserSummary -> StartProductSubscriptionResponse
- startProductSubscriptionResponse_httpStatus :: Lens' StartProductSubscriptionResponse Int
- startProductSubscriptionResponse_productUserSummary :: Lens' StartProductSubscriptionResponse ProductUserSummary
Creating a Request
data StartProductSubscription Source #
See: newStartProductSubscription
smart constructor.
StartProductSubscription' | |
|
Instances
newStartProductSubscription Source #
:: IdentityProvider | |
-> Text | |
-> Text | |
-> StartProductSubscription |
Create a value of StartProductSubscription
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:
StartProductSubscription
, startProductSubscription_domain
- The domain name of the user.
StartProductSubscription
, startProductSubscription_identityProvider
- An object that specifies details for the identity provider.
StartProductSubscription
, startProductSubscription_product
- The name of the user-based subscription product.
StartProductSubscription
, startProductSubscription_username
- The user name from the identity provider of the user.
Request Lenses
startProductSubscription_domain :: Lens' StartProductSubscription (Maybe Text) Source #
The domain name of the user.
startProductSubscription_identityProvider :: Lens' StartProductSubscription IdentityProvider Source #
An object that specifies details for the identity provider.
startProductSubscription_product :: Lens' StartProductSubscription Text Source #
The name of the user-based subscription product.
startProductSubscription_username :: Lens' StartProductSubscription Text Source #
The user name from the identity provider of the user.
Destructuring the Response
data StartProductSubscriptionResponse Source #
See: newStartProductSubscriptionResponse
smart constructor.
StartProductSubscriptionResponse' | |
|
Instances
Generic StartProductSubscriptionResponse Source # | |
Read StartProductSubscriptionResponse Source # | |
Show StartProductSubscriptionResponse Source # | |
NFData StartProductSubscriptionResponse Source # | |
Eq StartProductSubscriptionResponse Source # | |
type Rep StartProductSubscriptionResponse Source # | |
Defined in Amazonka.LicenseManagerUserSubscriptions.StartProductSubscription type Rep StartProductSubscriptionResponse = D1 ('MetaData "StartProductSubscriptionResponse" "Amazonka.LicenseManagerUserSubscriptions.StartProductSubscription" "amazonka-license-manager-user-subscriptions-2.0-FTcAVPsIeL0Hw8vwEQErB1" 'False) (C1 ('MetaCons "StartProductSubscriptionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "productUserSummary") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ProductUserSummary))) |
newStartProductSubscriptionResponse Source #
Create a value of StartProductSubscriptionResponse
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:StartProductSubscriptionResponse'
, startProductSubscriptionResponse_httpStatus
- The response's http status code.
$sel:productUserSummary:StartProductSubscriptionResponse'
, startProductSubscriptionResponse_productUserSummary
- Metadata that describes the start product subscription operation.
Response Lenses
startProductSubscriptionResponse_httpStatus :: Lens' StartProductSubscriptionResponse Int Source #
The response's http status code.
startProductSubscriptionResponse_productUserSummary :: Lens' StartProductSubscriptionResponse ProductUserSummary Source #
Metadata that describes the start product subscription operation.