| 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 |
Amazonka.LicenseManagerUserSubscriptions.StopProductSubscription
Description
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.
Constructors
| StopProductSubscription' | |
Fields
| |
Instances
newStopProductSubscription Source #
Arguments
| :: 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.
Constructors
| StopProductSubscriptionResponse' | |
Fields
| |
Instances
newStopProductSubscriptionResponse Source #
Arguments
| :: Int | |
| -> ProductUserSummary | |
| -> StopProductSubscriptionResponse |
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.