Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Updates a subscription definition.
Synopsis
- data UpdateSubscriptionDefinition = UpdateSubscriptionDefinition' {}
- newUpdateSubscriptionDefinition :: Text -> UpdateSubscriptionDefinition
- updateSubscriptionDefinition_name :: Lens' UpdateSubscriptionDefinition (Maybe Text)
- updateSubscriptionDefinition_subscriptionDefinitionId :: Lens' UpdateSubscriptionDefinition Text
- data UpdateSubscriptionDefinitionResponse = UpdateSubscriptionDefinitionResponse' {
- httpStatus :: Int
- newUpdateSubscriptionDefinitionResponse :: Int -> UpdateSubscriptionDefinitionResponse
- updateSubscriptionDefinitionResponse_httpStatus :: Lens' UpdateSubscriptionDefinitionResponse Int
Creating a Request
data UpdateSubscriptionDefinition Source #
See: newUpdateSubscriptionDefinition
smart constructor.
UpdateSubscriptionDefinition' | |
|
Instances
newUpdateSubscriptionDefinition Source #
Create a value of UpdateSubscriptionDefinition
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:name:UpdateSubscriptionDefinition'
, updateSubscriptionDefinition_name
- The name of the definition.
$sel:subscriptionDefinitionId:UpdateSubscriptionDefinition'
, updateSubscriptionDefinition_subscriptionDefinitionId
- The ID of the subscription definition.
Request Lenses
updateSubscriptionDefinition_name :: Lens' UpdateSubscriptionDefinition (Maybe Text) Source #
The name of the definition.
updateSubscriptionDefinition_subscriptionDefinitionId :: Lens' UpdateSubscriptionDefinition Text Source #
The ID of the subscription definition.
Destructuring the Response
data UpdateSubscriptionDefinitionResponse Source #
See: newUpdateSubscriptionDefinitionResponse
smart constructor.
UpdateSubscriptionDefinitionResponse' | |
|
Instances
newUpdateSubscriptionDefinitionResponse Source #
Create a value of UpdateSubscriptionDefinitionResponse
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:UpdateSubscriptionDefinitionResponse'
, updateSubscriptionDefinitionResponse_httpStatus
- The response's http status code.
Response Lenses
updateSubscriptionDefinitionResponse_httpStatus :: Lens' UpdateSubscriptionDefinitionResponse Int Source #
The response's http status code.