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