| 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.EC2.Types.Subscription
Description
Synopsis
- data Subscription = Subscription' {}
- newSubscription :: Subscription
- subscription_destination :: Lens' Subscription (Maybe Text)
- subscription_metric :: Lens' Subscription (Maybe MetricType)
- subscription_period :: Lens' Subscription (Maybe PeriodType)
- subscription_source :: Lens' Subscription (Maybe Text)
- subscription_statistic :: Lens' Subscription (Maybe StatisticType)
Documentation
data Subscription Source #
Describes an Infrastructure Performance subscription.
See: newSubscription smart constructor.
Constructors
| Subscription' | |
Fields
| |
Instances
newSubscription :: Subscription Source #
Create a value of Subscription 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:destination:Subscription', subscription_destination - The Region or Availability Zone that's the target for the subscription.
For example, eu-west-1.
$sel:metric:Subscription', subscription_metric - The metric used for the subscription.
$sel:period:Subscription', subscription_period - The data aggregation time for the subscription.
$sel:source:Subscription', subscription_source - The Region or Availability Zone that's the source for the subscription.
For example, us-east-1.
$sel:statistic:Subscription', subscription_statistic - The statistic used for the subscription.
subscription_destination :: Lens' Subscription (Maybe Text) Source #
The Region or Availability Zone that's the target for the subscription.
For example, eu-west-1.
subscription_metric :: Lens' Subscription (Maybe MetricType) Source #
The metric used for the subscription.
subscription_period :: Lens' Subscription (Maybe PeriodType) Source #
The data aggregation time for the subscription.
subscription_source :: Lens' Subscription (Maybe Text) Source #
The Region or Availability Zone that's the source for the subscription.
For example, us-east-1.
subscription_statistic :: Lens' Subscription (Maybe StatisticType) Source #
The statistic used for the subscription.