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.CostExplorer.DeleteAnomalySubscription
Description
Deletes a cost anomaly subscription.
Synopsis
- data DeleteAnomalySubscription = DeleteAnomalySubscription' {}
- newDeleteAnomalySubscription :: Text -> DeleteAnomalySubscription
- deleteAnomalySubscription_subscriptionArn :: Lens' DeleteAnomalySubscription Text
- data DeleteAnomalySubscriptionResponse = DeleteAnomalySubscriptionResponse' {
- httpStatus :: Int
- newDeleteAnomalySubscriptionResponse :: Int -> DeleteAnomalySubscriptionResponse
- deleteAnomalySubscriptionResponse_httpStatus :: Lens' DeleteAnomalySubscriptionResponse Int
Creating a Request
data DeleteAnomalySubscription Source #
See: newDeleteAnomalySubscription
smart constructor.
Constructors
DeleteAnomalySubscription' | |
Fields
|
Instances
newDeleteAnomalySubscription Source #
Arguments
:: Text | |
-> DeleteAnomalySubscription |
Create a value of DeleteAnomalySubscription
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:
DeleteAnomalySubscription
, deleteAnomalySubscription_subscriptionArn
- The unique identifier of the cost anomaly subscription that you want to
delete.
Request Lenses
deleteAnomalySubscription_subscriptionArn :: Lens' DeleteAnomalySubscription Text Source #
The unique identifier of the cost anomaly subscription that you want to delete.
Destructuring the Response
data DeleteAnomalySubscriptionResponse Source #
See: newDeleteAnomalySubscriptionResponse
smart constructor.
Constructors
DeleteAnomalySubscriptionResponse' | |
Fields
|
Instances
newDeleteAnomalySubscriptionResponse Source #
Arguments
:: Int | |
-> DeleteAnomalySubscriptionResponse |
Create a value of DeleteAnomalySubscriptionResponse
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:DeleteAnomalySubscriptionResponse'
, deleteAnomalySubscriptionResponse_httpStatus
- The response's http status code.
Response Lenses
deleteAnomalySubscriptionResponse_httpStatus :: Lens' DeleteAnomalySubscriptionResponse Int Source #
The response's http status code.