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 |
Disables Infrastructure Performance metric subscriptions.
Synopsis
- data DisableAwsNetworkPerformanceMetricSubscription = DisableAwsNetworkPerformanceMetricSubscription' {
- destination :: Maybe Text
- dryRun :: Maybe Bool
- metric :: Maybe MetricType
- source :: Maybe Text
- statistic :: Maybe StatisticType
- newDisableAwsNetworkPerformanceMetricSubscription :: DisableAwsNetworkPerformanceMetricSubscription
- disableAwsNetworkPerformanceMetricSubscription_destination :: Lens' DisableAwsNetworkPerformanceMetricSubscription (Maybe Text)
- disableAwsNetworkPerformanceMetricSubscription_dryRun :: Lens' DisableAwsNetworkPerformanceMetricSubscription (Maybe Bool)
- disableAwsNetworkPerformanceMetricSubscription_metric :: Lens' DisableAwsNetworkPerformanceMetricSubscription (Maybe MetricType)
- disableAwsNetworkPerformanceMetricSubscription_source :: Lens' DisableAwsNetworkPerformanceMetricSubscription (Maybe Text)
- disableAwsNetworkPerformanceMetricSubscription_statistic :: Lens' DisableAwsNetworkPerformanceMetricSubscription (Maybe StatisticType)
- data DisableAwsNetworkPerformanceMetricSubscriptionResponse = DisableAwsNetworkPerformanceMetricSubscriptionResponse' {
- output :: Maybe Bool
- httpStatus :: Int
- newDisableAwsNetworkPerformanceMetricSubscriptionResponse :: Int -> DisableAwsNetworkPerformanceMetricSubscriptionResponse
- disableAwsNetworkPerformanceMetricSubscriptionResponse_output :: Lens' DisableAwsNetworkPerformanceMetricSubscriptionResponse (Maybe Bool)
- disableAwsNetworkPerformanceMetricSubscriptionResponse_httpStatus :: Lens' DisableAwsNetworkPerformanceMetricSubscriptionResponse Int
Creating a Request
data DisableAwsNetworkPerformanceMetricSubscription Source #
See: newDisableAwsNetworkPerformanceMetricSubscription
smart constructor.
DisableAwsNetworkPerformanceMetricSubscription' | |
|
Instances
newDisableAwsNetworkPerformanceMetricSubscription :: DisableAwsNetworkPerformanceMetricSubscription Source #
Create a value of DisableAwsNetworkPerformanceMetricSubscription
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:
DisableAwsNetworkPerformanceMetricSubscription
, disableAwsNetworkPerformanceMetricSubscription_destination
- The target Region or Availability Zone that the metric subscription is
disabled for. For example, eu-north-1
.
$sel:dryRun:DisableAwsNetworkPerformanceMetricSubscription'
, disableAwsNetworkPerformanceMetricSubscription_dryRun
- Checks whether you have the required permissions for the action, without
actually making the request, and provides an error response. If you have
the required permissions, the error response is DryRunOperation
.
Otherwise, it is UnauthorizedOperation
.
DisableAwsNetworkPerformanceMetricSubscription
, disableAwsNetworkPerformanceMetricSubscription_metric
- The metric used for the disabled subscription.
DisableAwsNetworkPerformanceMetricSubscription
, disableAwsNetworkPerformanceMetricSubscription_source
- The source Region or Availability Zone that the metric subscription is
disabled for. For example, us-east-1
.
DisableAwsNetworkPerformanceMetricSubscription
, disableAwsNetworkPerformanceMetricSubscription_statistic
- The statistic used for the disabled subscription.
Request Lenses
disableAwsNetworkPerformanceMetricSubscription_destination :: Lens' DisableAwsNetworkPerformanceMetricSubscription (Maybe Text) Source #
The target Region or Availability Zone that the metric subscription is
disabled for. For example, eu-north-1
.
disableAwsNetworkPerformanceMetricSubscription_dryRun :: Lens' DisableAwsNetworkPerformanceMetricSubscription (Maybe Bool) Source #
Checks whether you have the required permissions for the action, without
actually making the request, and provides an error response. If you have
the required permissions, the error response is DryRunOperation
.
Otherwise, it is UnauthorizedOperation
.
disableAwsNetworkPerformanceMetricSubscription_metric :: Lens' DisableAwsNetworkPerformanceMetricSubscription (Maybe MetricType) Source #
The metric used for the disabled subscription.
disableAwsNetworkPerformanceMetricSubscription_source :: Lens' DisableAwsNetworkPerformanceMetricSubscription (Maybe Text) Source #
The source Region or Availability Zone that the metric subscription is
disabled for. For example, us-east-1
.
disableAwsNetworkPerformanceMetricSubscription_statistic :: Lens' DisableAwsNetworkPerformanceMetricSubscription (Maybe StatisticType) Source #
The statistic used for the disabled subscription.
Destructuring the Response
data DisableAwsNetworkPerformanceMetricSubscriptionResponse Source #
See: newDisableAwsNetworkPerformanceMetricSubscriptionResponse
smart constructor.
DisableAwsNetworkPerformanceMetricSubscriptionResponse' | |
|
Instances
newDisableAwsNetworkPerformanceMetricSubscriptionResponse Source #
:: Int |
|
-> DisableAwsNetworkPerformanceMetricSubscriptionResponse |
Create a value of DisableAwsNetworkPerformanceMetricSubscriptionResponse
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:output:DisableAwsNetworkPerformanceMetricSubscriptionResponse'
, disableAwsNetworkPerformanceMetricSubscriptionResponse_output
- Indicates whether the unsubscribe action was successful.
$sel:httpStatus:DisableAwsNetworkPerformanceMetricSubscriptionResponse'
, disableAwsNetworkPerformanceMetricSubscriptionResponse_httpStatus
- The response's http status code.
Response Lenses
disableAwsNetworkPerformanceMetricSubscriptionResponse_output :: Lens' DisableAwsNetworkPerformanceMetricSubscriptionResponse (Maybe Bool) Source #
Indicates whether the unsubscribe action was successful.
disableAwsNetworkPerformanceMetricSubscriptionResponse_httpStatus :: Lens' DisableAwsNetworkPerformanceMetricSubscriptionResponse Int Source #
The response's http status code.