amazonka-ec2-2.0: Amazon Elastic Compute Cloud SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.EC2.DisableAwsNetworkPerformanceMetricSubscription

Description

Disables Infrastructure Performance metric subscriptions.

Synopsis

Creating a Request

data DisableAwsNetworkPerformanceMetricSubscription Source #

Constructors

DisableAwsNetworkPerformanceMetricSubscription' 

Fields

  • destination :: Maybe Text

    The target Region or Availability Zone that the metric subscription is disabled for. For example, eu-north-1.

  • dryRun :: Maybe Bool

    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.

  • metric :: Maybe MetricType

    The metric used for the disabled subscription.

  • source :: Maybe Text

    The source Region or Availability Zone that the metric subscription is disabled for. For example, us-east-1.

  • statistic :: Maybe StatisticType

    The statistic used for the disabled subscription.

Instances

Instances details
ToHeaders DisableAwsNetworkPerformanceMetricSubscription Source # 
Instance details

Defined in Amazonka.EC2.DisableAwsNetworkPerformanceMetricSubscription

ToPath DisableAwsNetworkPerformanceMetricSubscription Source # 
Instance details

Defined in Amazonka.EC2.DisableAwsNetworkPerformanceMetricSubscription

ToQuery DisableAwsNetworkPerformanceMetricSubscription Source # 
Instance details

Defined in Amazonka.EC2.DisableAwsNetworkPerformanceMetricSubscription

AWSRequest DisableAwsNetworkPerformanceMetricSubscription Source # 
Instance details

Defined in Amazonka.EC2.DisableAwsNetworkPerformanceMetricSubscription

Generic DisableAwsNetworkPerformanceMetricSubscription Source # 
Instance details

Defined in Amazonka.EC2.DisableAwsNetworkPerformanceMetricSubscription

Read DisableAwsNetworkPerformanceMetricSubscription Source # 
Instance details

Defined in Amazonka.EC2.DisableAwsNetworkPerformanceMetricSubscription

Show DisableAwsNetworkPerformanceMetricSubscription Source # 
Instance details

Defined in Amazonka.EC2.DisableAwsNetworkPerformanceMetricSubscription

NFData DisableAwsNetworkPerformanceMetricSubscription Source # 
Instance details

Defined in Amazonka.EC2.DisableAwsNetworkPerformanceMetricSubscription

Eq DisableAwsNetworkPerformanceMetricSubscription Source # 
Instance details

Defined in Amazonka.EC2.DisableAwsNetworkPerformanceMetricSubscription

Hashable DisableAwsNetworkPerformanceMetricSubscription Source # 
Instance details

Defined in Amazonka.EC2.DisableAwsNetworkPerformanceMetricSubscription

type AWSResponse DisableAwsNetworkPerformanceMetricSubscription Source # 
Instance details

Defined in Amazonka.EC2.DisableAwsNetworkPerformanceMetricSubscription

type Rep DisableAwsNetworkPerformanceMetricSubscription Source # 
Instance details

Defined in Amazonka.EC2.DisableAwsNetworkPerformanceMetricSubscription

type Rep DisableAwsNetworkPerformanceMetricSubscription = D1 ('MetaData "DisableAwsNetworkPerformanceMetricSubscription" "Amazonka.EC2.DisableAwsNetworkPerformanceMetricSubscription" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "DisableAwsNetworkPerformanceMetricSubscription'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "destination") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "dryRun") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "metric") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe MetricType)) :*: (S1 ('MetaSel ('Just "source") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "statistic") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe StatisticType))))))

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_source :: Lens' DisableAwsNetworkPerformanceMetricSubscription (Maybe Text) Source #

The source Region or Availability Zone that the metric subscription is disabled for. For example, us-east-1.

Destructuring the Response

data DisableAwsNetworkPerformanceMetricSubscriptionResponse Source #

Constructors

DisableAwsNetworkPerformanceMetricSubscriptionResponse' 

Fields

Instances

Instances details
Generic DisableAwsNetworkPerformanceMetricSubscriptionResponse Source # 
Instance details

Defined in Amazonka.EC2.DisableAwsNetworkPerformanceMetricSubscription

Read DisableAwsNetworkPerformanceMetricSubscriptionResponse Source # 
Instance details

Defined in Amazonka.EC2.DisableAwsNetworkPerformanceMetricSubscription

Show DisableAwsNetworkPerformanceMetricSubscriptionResponse Source # 
Instance details

Defined in Amazonka.EC2.DisableAwsNetworkPerformanceMetricSubscription

NFData DisableAwsNetworkPerformanceMetricSubscriptionResponse Source # 
Instance details

Defined in Amazonka.EC2.DisableAwsNetworkPerformanceMetricSubscription

Eq DisableAwsNetworkPerformanceMetricSubscriptionResponse Source # 
Instance details

Defined in Amazonka.EC2.DisableAwsNetworkPerformanceMetricSubscription

type Rep DisableAwsNetworkPerformanceMetricSubscriptionResponse Source # 
Instance details

Defined in Amazonka.EC2.DisableAwsNetworkPerformanceMetricSubscription

type Rep DisableAwsNetworkPerformanceMetricSubscriptionResponse = D1 ('MetaData "DisableAwsNetworkPerformanceMetricSubscriptionResponse" "Amazonka.EC2.DisableAwsNetworkPerformanceMetricSubscription" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "DisableAwsNetworkPerformanceMetricSubscriptionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "output") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

Response Lenses