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 |
Deletes a subscription definition.
Synopsis
- data DeleteSubscriptionDefinition = DeleteSubscriptionDefinition' {}
- newDeleteSubscriptionDefinition :: Text -> DeleteSubscriptionDefinition
- deleteSubscriptionDefinition_subscriptionDefinitionId :: Lens' DeleteSubscriptionDefinition Text
- data DeleteSubscriptionDefinitionResponse = DeleteSubscriptionDefinitionResponse' {
- httpStatus :: Int
- newDeleteSubscriptionDefinitionResponse :: Int -> DeleteSubscriptionDefinitionResponse
- deleteSubscriptionDefinitionResponse_httpStatus :: Lens' DeleteSubscriptionDefinitionResponse Int
Creating a Request
data DeleteSubscriptionDefinition Source #
See: newDeleteSubscriptionDefinition
smart constructor.
DeleteSubscriptionDefinition' | |
|
Instances
newDeleteSubscriptionDefinition Source #
Create a value of DeleteSubscriptionDefinition
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:subscriptionDefinitionId:DeleteSubscriptionDefinition'
, deleteSubscriptionDefinition_subscriptionDefinitionId
- The ID of the subscription definition.
Request Lenses
deleteSubscriptionDefinition_subscriptionDefinitionId :: Lens' DeleteSubscriptionDefinition Text Source #
The ID of the subscription definition.
Destructuring the Response
data DeleteSubscriptionDefinitionResponse Source #
See: newDeleteSubscriptionDefinitionResponse
smart constructor.
DeleteSubscriptionDefinitionResponse' | |
|
Instances
newDeleteSubscriptionDefinitionResponse Source #
Create a value of DeleteSubscriptionDefinitionResponse
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:DeleteSubscriptionDefinitionResponse'
, deleteSubscriptionDefinitionResponse_httpStatus
- The response's http status code.
Response Lenses
deleteSubscriptionDefinitionResponse_httpStatus :: Lens' DeleteSubscriptionDefinitionResponse Int Source #
The response's http status code.