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 |
Synopsis
- data Subscription = Subscription' {}
- newSubscription :: SubscriptionLimits -> Subscription
- subscription_timeCommitmentInSeconds :: Lens' Subscription (Maybe Natural)
- subscription_startTime :: Lens' Subscription (Maybe UTCTime)
- subscription_limits :: Lens' Subscription (Maybe [Limit])
- subscription_autoRenew :: Lens' Subscription (Maybe AutoRenew)
- subscription_endTime :: Lens' Subscription (Maybe UTCTime)
- subscription_proactiveEngagementStatus :: Lens' Subscription (Maybe ProactiveEngagementStatus)
- subscription_subscriptionArn :: Lens' Subscription (Maybe Text)
- subscription_subscriptionLimits :: Lens' Subscription SubscriptionLimits
Documentation
data Subscription Source #
Information about the Shield Advanced subscription for an account.
See: newSubscription
smart constructor.
Subscription' | |
|
Instances
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:timeCommitmentInSeconds:Subscription'
, subscription_timeCommitmentInSeconds
- The length, in seconds, of the Shield Advanced subscription for the
account.
$sel:startTime:Subscription'
, subscription_startTime
- The start time of the subscription, in Unix time in seconds. For more
information see
timestamp.
$sel:limits:Subscription'
, subscription_limits
- Specifies how many protections of a given type you can create.
$sel:autoRenew:Subscription'
, subscription_autoRenew
- If ENABLED
, the subscription will be automatically renewed at the end
of the existing subscription period.
When you initally create a subscription, AutoRenew
is set to
ENABLED
. You can change this by submitting an UpdateSubscription
request. If the UpdateSubscription
request does not included a value
for AutoRenew
, the existing value for AutoRenew
remains unchanged.
$sel:endTime:Subscription'
, subscription_endTime
- The date and time your subscription will end.
$sel:proactiveEngagementStatus:Subscription'
, subscription_proactiveEngagementStatus
- If ENABLED
, the Shield Response Team (SRT) will use email and phone to
notify contacts about escalations to the SRT and to initiate proactive
customer support.
If PENDING
, you have requested proactive engagement and the request is
pending. The status changes to ENABLED
when your request is fully
processed.
If DISABLED
, the SRT will not proactively notify contacts about
escalations or to initiate proactive customer support.
$sel:subscriptionArn:Subscription'
, subscription_subscriptionArn
- The ARN (Amazon Resource Name) of the subscription.
$sel:subscriptionLimits:Subscription'
, subscription_subscriptionLimits
- Limits settings for your subscription.
subscription_timeCommitmentInSeconds :: Lens' Subscription (Maybe Natural) Source #
The length, in seconds, of the Shield Advanced subscription for the account.
subscription_startTime :: Lens' Subscription (Maybe UTCTime) Source #
The start time of the subscription, in Unix time in seconds. For more information see timestamp.
subscription_limits :: Lens' Subscription (Maybe [Limit]) Source #
Specifies how many protections of a given type you can create.
subscription_autoRenew :: Lens' Subscription (Maybe AutoRenew) Source #
If ENABLED
, the subscription will be automatically renewed at the end
of the existing subscription period.
When you initally create a subscription, AutoRenew
is set to
ENABLED
. You can change this by submitting an UpdateSubscription
request. If the UpdateSubscription
request does not included a value
for AutoRenew
, the existing value for AutoRenew
remains unchanged.
subscription_endTime :: Lens' Subscription (Maybe UTCTime) Source #
The date and time your subscription will end.
subscription_proactiveEngagementStatus :: Lens' Subscription (Maybe ProactiveEngagementStatus) Source #
If ENABLED
, the Shield Response Team (SRT) will use email and phone to
notify contacts about escalations to the SRT and to initiate proactive
customer support.
If PENDING
, you have requested proactive engagement and the request is
pending. The status changes to ENABLED
when your request is fully
processed.
If DISABLED
, the SRT will not proactively notify contacts about
escalations or to initiate proactive customer support.
subscription_subscriptionArn :: Lens' Subscription (Maybe Text) Source #
The ARN (Amazon Resource Name) of the subscription.
subscription_subscriptionLimits :: Lens' Subscription SubscriptionLimits Source #
Limits settings for your subscription.