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 |
- Service Configuration
- Errors
- InvalidResourceException
- AccessDeniedException
- InvalidParameterException
- LimitsExceededException
- InternalErrorException
- ResourceAlreadyExistsException
- OptimisticLockException
- NoAssociatedRoleException
- AccessDeniedForDependencyException
- InvalidOperationException
- LockedSubscriptionException
- ResourceNotFoundException
- InvalidPaginationTokenException
- Waiters
- Operations
- AssociateDRTLogBucket
- DisassociateDRTRole
- CreateSubscription
- ListProtections (Paginated)
- AssociateDRTRole
- UpdateSubscription
- ListTagsForResource
- DisassociateDRTLogBucket
- AssociateProactiveEngagementDetails
- DescribeAttack
- ListProtectionGroups
- EnableProactiveEngagement
- UpdateEmergencyContactSettings
- CreateProtectionGroup
- DisableProactiveEngagement
- DisassociateHealthCheck
- ListResourcesInProtectionGroup
- DescribeProtection
- ListAttacks (Paginated)
- DescribeEmergencyContactSettings
- CreateProtection
- DeleteProtection
- GetSubscriptionState
- DeleteProtectionGroup
- UpdateProtectionGroup
- DescribeAttackStatistics
- TagResource
- DescribeDRTAccess
- UntagResource
- DescribeSubscription
- AssociateHealthCheck
- DescribeProtectionGroup
- Types
- AttackLayer
- AttackPropertyIdentifier
- AutoRenew
- ProactiveEngagementStatus
- ProtectedResourceType
- ProtectionGroupAggregation
- ProtectionGroupPattern
- SubResourceType
- SubscriptionState
- Unit
- AttackDetail
- AttackProperty
- AttackStatisticsDataItem
- AttackSummary
- AttackVectorDescription
- AttackVolume
- AttackVolumeStatistics
- Contributor
- EmergencyContact
- Limit
- Mitigation
- Protection
- ProtectionGroup
- ProtectionGroupArbitraryPatternLimits
- ProtectionGroupLimits
- ProtectionGroupPatternTypeLimits
- ProtectionLimits
- SubResourceSummary
- Subscription
- SubscriptionLimits
- SummarizedAttackVector
- SummarizedCounter
- Tag
- TimeRange
Derived from API version 2016-06-02
of the AWS service descriptions, licensed under Apache 2.0.
Shield Advanced
This is the Shield Advanced API Reference. This guide is for developers who need detailed information about the Shield Advanced API actions, data types, and errors. For detailed information about WAF and Shield Advanced features and an overview of how to use the WAF and Shield Advanced APIs, see the WAF and Shield Developer Guide.
Synopsis
- defaultService :: Service
- _InvalidResourceException :: AsError a => Getting (First ServiceError) a ServiceError
- _AccessDeniedException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidParameterException :: AsError a => Getting (First ServiceError) a ServiceError
- _LimitsExceededException :: AsError a => Getting (First ServiceError) a ServiceError
- _InternalErrorException :: AsError a => Getting (First ServiceError) a ServiceError
- _ResourceAlreadyExistsException :: AsError a => Getting (First ServiceError) a ServiceError
- _OptimisticLockException :: AsError a => Getting (First ServiceError) a ServiceError
- _NoAssociatedRoleException :: AsError a => Getting (First ServiceError) a ServiceError
- _AccessDeniedForDependencyException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidOperationException :: AsError a => Getting (First ServiceError) a ServiceError
- _LockedSubscriptionException :: AsError a => Getting (First ServiceError) a ServiceError
- _ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidPaginationTokenException :: AsError a => Getting (First ServiceError) a ServiceError
- data AssociateDRTLogBucket = AssociateDRTLogBucket' Text
- newAssociateDRTLogBucket :: Text -> AssociateDRTLogBucket
- data AssociateDRTLogBucketResponse = AssociateDRTLogBucketResponse' Int
- newAssociateDRTLogBucketResponse :: Int -> AssociateDRTLogBucketResponse
- data DisassociateDRTRole = DisassociateDRTRole' {
- newDisassociateDRTRole :: DisassociateDRTRole
- data DisassociateDRTRoleResponse = DisassociateDRTRoleResponse' Int
- newDisassociateDRTRoleResponse :: Int -> DisassociateDRTRoleResponse
- data CreateSubscription = CreateSubscription' {
- newCreateSubscription :: CreateSubscription
- data CreateSubscriptionResponse = CreateSubscriptionResponse' Int
- newCreateSubscriptionResponse :: Int -> CreateSubscriptionResponse
- data ListProtections = ListProtections' (Maybe Text) (Maybe Natural)
- newListProtections :: ListProtections
- data ListProtectionsResponse = ListProtectionsResponse' (Maybe [Protection]) (Maybe Text) Int
- newListProtectionsResponse :: Int -> ListProtectionsResponse
- data AssociateDRTRole = AssociateDRTRole' Text
- newAssociateDRTRole :: Text -> AssociateDRTRole
- data AssociateDRTRoleResponse = AssociateDRTRoleResponse' Int
- newAssociateDRTRoleResponse :: Int -> AssociateDRTRoleResponse
- data UpdateSubscription = UpdateSubscription' (Maybe AutoRenew)
- newUpdateSubscription :: UpdateSubscription
- data UpdateSubscriptionResponse = UpdateSubscriptionResponse' Int
- newUpdateSubscriptionResponse :: Int -> UpdateSubscriptionResponse
- data ListTagsForResource = ListTagsForResource' Text
- newListTagsForResource :: Text -> ListTagsForResource
- data ListTagsForResourceResponse = ListTagsForResourceResponse' (Maybe [Tag]) Int
- newListTagsForResourceResponse :: Int -> ListTagsForResourceResponse
- data DisassociateDRTLogBucket = DisassociateDRTLogBucket' Text
- newDisassociateDRTLogBucket :: Text -> DisassociateDRTLogBucket
- data DisassociateDRTLogBucketResponse = DisassociateDRTLogBucketResponse' Int
- newDisassociateDRTLogBucketResponse :: Int -> DisassociateDRTLogBucketResponse
- data AssociateProactiveEngagementDetails = AssociateProactiveEngagementDetails' [EmergencyContact]
- newAssociateProactiveEngagementDetails :: AssociateProactiveEngagementDetails
- data AssociateProactiveEngagementDetailsResponse = AssociateProactiveEngagementDetailsResponse' Int
- newAssociateProactiveEngagementDetailsResponse :: Int -> AssociateProactiveEngagementDetailsResponse
- data DescribeAttack = DescribeAttack' Text
- newDescribeAttack :: Text -> DescribeAttack
- data DescribeAttackResponse = DescribeAttackResponse' (Maybe AttackDetail) Int
- newDescribeAttackResponse :: Int -> DescribeAttackResponse
- data ListProtectionGroups = ListProtectionGroups' (Maybe Text) (Maybe Natural)
- newListProtectionGroups :: ListProtectionGroups
- data ListProtectionGroupsResponse = ListProtectionGroupsResponse' (Maybe Text) Int [ProtectionGroup]
- newListProtectionGroupsResponse :: Int -> ListProtectionGroupsResponse
- data EnableProactiveEngagement = EnableProactiveEngagement' {
- newEnableProactiveEngagement :: EnableProactiveEngagement
- data EnableProactiveEngagementResponse = EnableProactiveEngagementResponse' Int
- newEnableProactiveEngagementResponse :: Int -> EnableProactiveEngagementResponse
- data UpdateEmergencyContactSettings = UpdateEmergencyContactSettings' (Maybe [EmergencyContact])
- newUpdateEmergencyContactSettings :: UpdateEmergencyContactSettings
- data UpdateEmergencyContactSettingsResponse = UpdateEmergencyContactSettingsResponse' Int
- newUpdateEmergencyContactSettingsResponse :: Int -> UpdateEmergencyContactSettingsResponse
- data CreateProtectionGroup = CreateProtectionGroup' (Maybe ProtectedResourceType) (Maybe [Text]) (Maybe [Tag]) Text ProtectionGroupAggregation ProtectionGroupPattern
- newCreateProtectionGroup :: Text -> ProtectionGroupAggregation -> ProtectionGroupPattern -> CreateProtectionGroup
- data CreateProtectionGroupResponse = CreateProtectionGroupResponse' Int
- newCreateProtectionGroupResponse :: Int -> CreateProtectionGroupResponse
- data DisableProactiveEngagement = DisableProactiveEngagement' {
- newDisableProactiveEngagement :: DisableProactiveEngagement
- data DisableProactiveEngagementResponse = DisableProactiveEngagementResponse' Int
- newDisableProactiveEngagementResponse :: Int -> DisableProactiveEngagementResponse
- data DisassociateHealthCheck = DisassociateHealthCheck' Text Text
- newDisassociateHealthCheck :: Text -> Text -> DisassociateHealthCheck
- data DisassociateHealthCheckResponse = DisassociateHealthCheckResponse' Int
- newDisassociateHealthCheckResponse :: Int -> DisassociateHealthCheckResponse
- data ListResourcesInProtectionGroup = ListResourcesInProtectionGroup' (Maybe Text) (Maybe Natural) Text
- newListResourcesInProtectionGroup :: Text -> ListResourcesInProtectionGroup
- data ListResourcesInProtectionGroupResponse = ListResourcesInProtectionGroupResponse' (Maybe Text) Int [Text]
- newListResourcesInProtectionGroupResponse :: Int -> ListResourcesInProtectionGroupResponse
- data DescribeProtection = DescribeProtection' (Maybe Text) (Maybe Text)
- newDescribeProtection :: DescribeProtection
- data DescribeProtectionResponse = DescribeProtectionResponse' (Maybe Protection) Int
- newDescribeProtectionResponse :: Int -> DescribeProtectionResponse
- data ListAttacks = ListAttacks' (Maybe TimeRange) (Maybe [Text]) (Maybe Text) (Maybe TimeRange) (Maybe Natural)
- newListAttacks :: ListAttacks
- data ListAttacksResponse = ListAttacksResponse' (Maybe [AttackSummary]) (Maybe Text) Int
- newListAttacksResponse :: Int -> ListAttacksResponse
- data DescribeEmergencyContactSettings = DescribeEmergencyContactSettings' {
- newDescribeEmergencyContactSettings :: DescribeEmergencyContactSettings
- data DescribeEmergencyContactSettingsResponse = DescribeEmergencyContactSettingsResponse' (Maybe [EmergencyContact]) Int
- newDescribeEmergencyContactSettingsResponse :: Int -> DescribeEmergencyContactSettingsResponse
- data CreateProtection = CreateProtection' (Maybe [Tag]) Text Text
- newCreateProtection :: Text -> Text -> CreateProtection
- data CreateProtectionResponse = CreateProtectionResponse' (Maybe Text) Int
- newCreateProtectionResponse :: Int -> CreateProtectionResponse
- data DeleteProtection = DeleteProtection' Text
- newDeleteProtection :: Text -> DeleteProtection
- data DeleteProtectionResponse = DeleteProtectionResponse' Int
- newDeleteProtectionResponse :: Int -> DeleteProtectionResponse
- data GetSubscriptionState = GetSubscriptionState' {
- newGetSubscriptionState :: GetSubscriptionState
- data GetSubscriptionStateResponse = GetSubscriptionStateResponse' Int SubscriptionState
- newGetSubscriptionStateResponse :: Int -> SubscriptionState -> GetSubscriptionStateResponse
- data DeleteProtectionGroup = DeleteProtectionGroup' Text
- newDeleteProtectionGroup :: Text -> DeleteProtectionGroup
- data DeleteProtectionGroupResponse = DeleteProtectionGroupResponse' Int
- newDeleteProtectionGroupResponse :: Int -> DeleteProtectionGroupResponse
- data UpdateProtectionGroup = UpdateProtectionGroup' (Maybe ProtectedResourceType) (Maybe [Text]) Text ProtectionGroupAggregation ProtectionGroupPattern
- newUpdateProtectionGroup :: Text -> ProtectionGroupAggregation -> ProtectionGroupPattern -> UpdateProtectionGroup
- data UpdateProtectionGroupResponse = UpdateProtectionGroupResponse' Int
- newUpdateProtectionGroupResponse :: Int -> UpdateProtectionGroupResponse
- data DescribeAttackStatistics = DescribeAttackStatistics' {
- newDescribeAttackStatistics :: DescribeAttackStatistics
- data DescribeAttackStatisticsResponse = DescribeAttackStatisticsResponse' Int TimeRange [AttackStatisticsDataItem]
- newDescribeAttackStatisticsResponse :: Int -> TimeRange -> DescribeAttackStatisticsResponse
- data TagResource = TagResource' Text [Tag]
- newTagResource :: Text -> TagResource
- data TagResourceResponse = TagResourceResponse' Int
- newTagResourceResponse :: Int -> TagResourceResponse
- data DescribeDRTAccess = DescribeDRTAccess' {
- newDescribeDRTAccess :: DescribeDRTAccess
- data DescribeDRTAccessResponse = DescribeDRTAccessResponse' (Maybe [Text]) (Maybe Text) Int
- newDescribeDRTAccessResponse :: Int -> DescribeDRTAccessResponse
- data UntagResource = UntagResource' Text [Text]
- newUntagResource :: Text -> UntagResource
- data UntagResourceResponse = UntagResourceResponse' Int
- newUntagResourceResponse :: Int -> UntagResourceResponse
- data DescribeSubscription = DescribeSubscription' {
- newDescribeSubscription :: DescribeSubscription
- data DescribeSubscriptionResponse = DescribeSubscriptionResponse' (Maybe Subscription) Int
- newDescribeSubscriptionResponse :: Int -> DescribeSubscriptionResponse
- data AssociateHealthCheck = AssociateHealthCheck' Text Text
- newAssociateHealthCheck :: Text -> Text -> AssociateHealthCheck
- data AssociateHealthCheckResponse = AssociateHealthCheckResponse' Int
- newAssociateHealthCheckResponse :: Int -> AssociateHealthCheckResponse
- data DescribeProtectionGroup = DescribeProtectionGroup' Text
- newDescribeProtectionGroup :: Text -> DescribeProtectionGroup
- data DescribeProtectionGroupResponse = DescribeProtectionGroupResponse' Int ProtectionGroup
- newDescribeProtectionGroupResponse :: Int -> ProtectionGroup -> DescribeProtectionGroupResponse
- newtype AttackLayer where
- AttackLayer' { }
- pattern AttackLayer_APPLICATION :: AttackLayer
- pattern AttackLayer_NETWORK :: AttackLayer
- newtype AttackPropertyIdentifier where
- AttackPropertyIdentifier' { }
- pattern AttackPropertyIdentifier_DESTINATION_URL :: AttackPropertyIdentifier
- pattern AttackPropertyIdentifier_REFERRER :: AttackPropertyIdentifier
- pattern AttackPropertyIdentifier_SOURCE_ASN :: AttackPropertyIdentifier
- pattern AttackPropertyIdentifier_SOURCE_COUNTRY :: AttackPropertyIdentifier
- pattern AttackPropertyIdentifier_SOURCE_IP_ADDRESS :: AttackPropertyIdentifier
- pattern AttackPropertyIdentifier_SOURCE_USER_AGENT :: AttackPropertyIdentifier
- pattern AttackPropertyIdentifier_WORDPRESS_PINGBACK_REFLECTOR :: AttackPropertyIdentifier
- pattern AttackPropertyIdentifier_WORDPRESS_PINGBACK_SOURCE :: AttackPropertyIdentifier
- newtype AutoRenew where
- AutoRenew' { }
- pattern AutoRenew_DISABLED :: AutoRenew
- pattern AutoRenew_ENABLED :: AutoRenew
- newtype ProactiveEngagementStatus where
- newtype ProtectedResourceType where
- ProtectedResourceType' { }
- pattern ProtectedResourceType_APPLICATION_LOAD_BALANCER :: ProtectedResourceType
- pattern ProtectedResourceType_CLASSIC_LOAD_BALANCER :: ProtectedResourceType
- pattern ProtectedResourceType_CLOUDFRONT_DISTRIBUTION :: ProtectedResourceType
- pattern ProtectedResourceType_ELASTIC_IP_ALLOCATION :: ProtectedResourceType
- pattern ProtectedResourceType_GLOBAL_ACCELERATOR :: ProtectedResourceType
- pattern ProtectedResourceType_ROUTE_53_HOSTED_ZONE :: ProtectedResourceType
- newtype ProtectionGroupAggregation where
- newtype ProtectionGroupPattern where
- newtype SubResourceType where
- SubResourceType' { }
- pattern SubResourceType_IP :: SubResourceType
- pattern SubResourceType_URL :: SubResourceType
- newtype SubscriptionState where
- SubscriptionState' { }
- pattern SubscriptionState_ACTIVE :: SubscriptionState
- pattern SubscriptionState_INACTIVE :: SubscriptionState
- newtype Unit where
- Unit' { }
- pattern Unit_BITS :: Unit
- pattern Unit_BYTES :: Unit
- pattern Unit_PACKETS :: Unit
- pattern Unit_REQUESTS :: Unit
- data AttackDetail = AttackDetail' (Maybe Text) (Maybe POSIX) (Maybe [SubResourceSummary]) (Maybe [Mitigation]) (Maybe [AttackProperty]) (Maybe [SummarizedCounter]) (Maybe Text) (Maybe POSIX)
- newAttackDetail :: AttackDetail
- data AttackProperty = AttackProperty' (Maybe AttackLayer) (Maybe [Contributor]) (Maybe AttackPropertyIdentifier) (Maybe Integer) (Maybe Unit)
- newAttackProperty :: AttackProperty
- data AttackStatisticsDataItem = AttackStatisticsDataItem' (Maybe AttackVolume) Integer
- newAttackStatisticsDataItem :: Integer -> AttackStatisticsDataItem
- data AttackSummary = AttackSummary' (Maybe [AttackVectorDescription]) (Maybe Text) (Maybe POSIX) (Maybe Text) (Maybe POSIX)
- newAttackSummary :: AttackSummary
- data AttackVectorDescription = AttackVectorDescription' Text
- newAttackVectorDescription :: Text -> AttackVectorDescription
- data AttackVolume = AttackVolume' (Maybe AttackVolumeStatistics) (Maybe AttackVolumeStatistics) (Maybe AttackVolumeStatistics)
- newAttackVolume :: AttackVolume
- data AttackVolumeStatistics = AttackVolumeStatistics' Double
- newAttackVolumeStatistics :: Double -> AttackVolumeStatistics
- data Contributor = Contributor' (Maybe Integer) (Maybe Text)
- newContributor :: Contributor
- data EmergencyContact = EmergencyContact' (Maybe Text) (Maybe Text) Text
- newEmergencyContact :: Text -> EmergencyContact
- data Limit = Limit' (Maybe Integer) (Maybe Text)
- newLimit :: Limit
- data Mitigation = Mitigation' (Maybe Text)
- newMitigation :: Mitigation
- data Protection = Protection' (Maybe Text) (Maybe [Text]) (Maybe Text) (Maybe Text) (Maybe Text)
- newProtection :: Protection
- data ProtectionGroup = ProtectionGroup' (Maybe ProtectedResourceType) (Maybe Text) Text ProtectionGroupAggregation ProtectionGroupPattern [Text]
- newProtectionGroup :: Text -> ProtectionGroupAggregation -> ProtectionGroupPattern -> ProtectionGroup
- data ProtectionGroupArbitraryPatternLimits = ProtectionGroupArbitraryPatternLimits' Integer
- newProtectionGroupArbitraryPatternLimits :: Integer -> ProtectionGroupArbitraryPatternLimits
- data ProtectionGroupLimits = ProtectionGroupLimits' Integer ProtectionGroupPatternTypeLimits
- newProtectionGroupLimits :: Integer -> ProtectionGroupPatternTypeLimits -> ProtectionGroupLimits
- data ProtectionGroupPatternTypeLimits = ProtectionGroupPatternTypeLimits' ProtectionGroupArbitraryPatternLimits
- newProtectionGroupPatternTypeLimits :: ProtectionGroupArbitraryPatternLimits -> ProtectionGroupPatternTypeLimits
- data ProtectionLimits = ProtectionLimits' [Limit]
- newProtectionLimits :: ProtectionLimits
- data SubResourceSummary = SubResourceSummary' (Maybe [SummarizedCounter]) (Maybe [SummarizedAttackVector]) (Maybe Text) (Maybe SubResourceType)
- newSubResourceSummary :: SubResourceSummary
- data Subscription = Subscription' (Maybe Natural) (Maybe POSIX) (Maybe [Limit]) (Maybe AutoRenew) (Maybe POSIX) (Maybe ProactiveEngagementStatus) (Maybe Text) SubscriptionLimits
- newSubscription :: SubscriptionLimits -> Subscription
- data SubscriptionLimits = SubscriptionLimits' ProtectionLimits ProtectionGroupLimits
- newSubscriptionLimits :: ProtectionLimits -> ProtectionGroupLimits -> SubscriptionLimits
- data SummarizedAttackVector = SummarizedAttackVector' (Maybe [SummarizedCounter]) Text
- newSummarizedAttackVector :: Text -> SummarizedAttackVector
- data SummarizedCounter = SummarizedCounter' (Maybe Double) (Maybe Double) (Maybe Int) (Maybe Text) (Maybe Double) (Maybe Text)
- newSummarizedCounter :: SummarizedCounter
- data Tag = Tag' (Maybe Text) (Maybe Text)
- newTag :: Tag
- data TimeRange = TimeRange' (Maybe POSIX) (Maybe POSIX)
- newTimeRange :: TimeRange
Service Configuration
defaultService :: Service Source #
API version 2016-06-02
of the Amazon Shield SDK configuration.
Errors
Error matchers are designed for use with the functions provided by
Control.Exception.Lens.
This allows catching (and rethrowing) service specific errors returned
by Shield
.
InvalidResourceException
_InvalidResourceException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Exception that indicates that the resource is invalid. You might not have access to the resource, or the resource might not exist.
AccessDeniedException
_AccessDeniedException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Exception that indicates the specified AttackId
does not exist, or the
requester does not have the appropriate permissions to access the
AttackId
.
InvalidParameterException
_InvalidParameterException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Exception that indicates that the parameters passed to the API are invalid. If available, this exception includes details in additional properties.
LimitsExceededException
_LimitsExceededException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Exception that indicates that the operation would exceed a limit.
InternalErrorException
_InternalErrorException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Exception that indicates that a problem occurred with the service infrastructure. You can retry the request.
ResourceAlreadyExistsException
_ResourceAlreadyExistsException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Exception indicating the specified resource already exists. If available, this exception includes details in additional properties.
OptimisticLockException
_OptimisticLockException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Exception that indicates that the resource state has been modified by another client. Retrieve the resource and then retry your request.
NoAssociatedRoleException
_NoAssociatedRoleException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The ARN of the role that you specifed does not exist.
AccessDeniedForDependencyException
_AccessDeniedForDependencyException :: AsError a => Getting (First ServiceError) a ServiceError Source #
In order to grant the necessary access to the Shield Response Team (SRT)
the user submitting the request must have the iam:PassRole
permission.
This error indicates the user did not have the appropriate permissions.
For more information, see
Granting a User Permissions to Pass a Role to an Amazon Web Services Service.
InvalidOperationException
_InvalidOperationException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Exception that indicates that the operation would not cause any change to occur.
LockedSubscriptionException
_LockedSubscriptionException :: AsError a => Getting (First ServiceError) a ServiceError Source #
You are trying to update a subscription that has not yet completed the
1-year commitment. You can change the AutoRenew
parameter during the
last 30 days of your subscription. This exception indicates that you are
attempting to change AutoRenew
prior to that period.
ResourceNotFoundException
_ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Exception indicating the specified resource does not exist. If available, this exception includes details in additional properties.
InvalidPaginationTokenException
_InvalidPaginationTokenException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Exception that indicates that the NextToken specified in the request is invalid. Submit the request using the NextToken value that was returned in the response.
Waiters
Waiters poll by repeatedly sending a request until some remote success condition
configured by the Wait
specification is fulfilled. The Wait
specification
determines how many attempts should be made, in addition to delay and retry strategies.
Operations
Some AWS operations return results that are incomplete and require subsequent
requests in order to obtain the entire result set. The process of sending
subsequent requests to continue where a previous request left off is called
pagination. For example, the ListObjects
operation of Amazon S3 returns up to
1000 objects at a time, and you must send subsequent requests with the
appropriate Marker in order to retrieve the next page of results.
Operations that have an AWSPager
instance can transparently perform subsequent
requests, correctly setting Markers and other request facets to iterate through
the entire result set of a truncated API operation. Operations which support
this have an additional note in the documentation.
Many operations have the ability to filter results on the server side. See the individual operation parameters for details.
AssociateDRTLogBucket
data AssociateDRTLogBucket Source #
See: newAssociateDRTLogBucket
smart constructor.
Instances
newAssociateDRTLogBucket Source #
Create a value of AssociateDRTLogBucket
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:logBucket:AssociateDRTLogBucket'
, associateDRTLogBucket_logBucket
- The Amazon S3 bucket that contains the logs that you want to share.
data AssociateDRTLogBucketResponse Source #
See: newAssociateDRTLogBucketResponse
smart constructor.
Instances
newAssociateDRTLogBucketResponse Source #
Create a value of AssociateDRTLogBucketResponse
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:AssociateDRTLogBucketResponse'
, associateDRTLogBucketResponse_httpStatus
- The response's http status code.
DisassociateDRTRole
data DisassociateDRTRole Source #
See: newDisassociateDRTRole
smart constructor.
Instances
newDisassociateDRTRole :: DisassociateDRTRole Source #
Create a value of DisassociateDRTRole
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
data DisassociateDRTRoleResponse Source #
See: newDisassociateDRTRoleResponse
smart constructor.
Instances
newDisassociateDRTRoleResponse Source #
Create a value of DisassociateDRTRoleResponse
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:DisassociateDRTRoleResponse'
, disassociateDRTRoleResponse_httpStatus
- The response's http status code.
CreateSubscription
data CreateSubscription Source #
See: newCreateSubscription
smart constructor.
Instances
newCreateSubscription :: CreateSubscription Source #
Create a value of CreateSubscription
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
data CreateSubscriptionResponse Source #
See: newCreateSubscriptionResponse
smart constructor.
Instances
newCreateSubscriptionResponse Source #
Create a value of CreateSubscriptionResponse
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:CreateSubscriptionResponse'
, createSubscriptionResponse_httpStatus
- The response's http status code.
ListProtections (Paginated)
data ListProtections Source #
See: newListProtections
smart constructor.
Instances
newListProtections :: ListProtections Source #
Create a value of ListProtections
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:nextToken:ListProtections'
, listProtections_nextToken
- The ListProtectionsRequest.NextToken
value from a previous call to
ListProtections
. Pass null if this is the first call.
$sel:maxResults:ListProtections'
, listProtections_maxResults
- The maximum number of Protection objects to return. If you leave this
blank, Shield Advanced returns the first 20 results.
This is a maximum value. Shield Advanced might return the results in
smaller batches. That is, the number of objects returned could be less
than MaxResults
, even if there are still more objects yet to return.
If there are more objects to return, Shield Advanced returns a value in
NextToken
that you can use in your next request, to get the next batch
of objects.
data ListProtectionsResponse Source #
See: newListProtectionsResponse
smart constructor.
Instances
newListProtectionsResponse Source #
Create a value of ListProtectionsResponse
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:protections:ListProtectionsResponse'
, listProtectionsResponse_protections
- The array of enabled Protection objects.
$sel:nextToken:ListProtections'
, listProtectionsResponse_nextToken
- If you specify a value for MaxResults
and you have more Protections
than the value of MaxResults, Shield Advanced returns a NextToken value
in the response that allows you to list another group of Protections.
For the second and subsequent ListProtections requests, specify the
value of NextToken from the previous response to get information about
another batch of Protections.
Shield Advanced might return the list of Protection objects in batches
smaller than the number specified by MaxResults. If there are more
Protection objects to return, Shield Advanced will always also return a
NextToken
.
$sel:httpStatus:ListProtectionsResponse'
, listProtectionsResponse_httpStatus
- The response's http status code.
AssociateDRTRole
data AssociateDRTRole Source #
See: newAssociateDRTRole
smart constructor.
Instances
Create a value of AssociateDRTRole
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:roleArn:AssociateDRTRole'
, associateDRTRole_roleArn
- The Amazon Resource Name (ARN) of the role the SRT will use to access
your Amazon Web Services account.
Prior to making the AssociateDRTRole
request, you must attach the
AWSShieldDRTAccessPolicy
managed policy to this role. For more information see
Attaching and Detaching IAM Policies.
data AssociateDRTRoleResponse Source #
See: newAssociateDRTRoleResponse
smart constructor.
Instances
newAssociateDRTRoleResponse Source #
Create a value of AssociateDRTRoleResponse
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:AssociateDRTRoleResponse'
, associateDRTRoleResponse_httpStatus
- The response's http status code.
UpdateSubscription
data UpdateSubscription Source #
See: newUpdateSubscription
smart constructor.
Instances
newUpdateSubscription :: UpdateSubscription Source #
Create a value of UpdateSubscription
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:autoRenew:UpdateSubscription'
, updateSubscription_autoRenew
- When you initally create a subscription, AutoRenew
is set to
ENABLED
. If ENABLED
, the subscription will be automatically renewed
at the end of the existing subscription period. 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.
data UpdateSubscriptionResponse Source #
See: newUpdateSubscriptionResponse
smart constructor.
Instances
newUpdateSubscriptionResponse Source #
Create a value of UpdateSubscriptionResponse
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:UpdateSubscriptionResponse'
, updateSubscriptionResponse_httpStatus
- The response's http status code.
ListTagsForResource
data ListTagsForResource Source #
See: newListTagsForResource
smart constructor.
Instances
newListTagsForResource Source #
Create a value of ListTagsForResource
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:resourceARN:ListTagsForResource'
, listTagsForResource_resourceARN
- The Amazon Resource Name (ARN) of the resource to get tags for.
data ListTagsForResourceResponse Source #
See: newListTagsForResourceResponse
smart constructor.
Instances
newListTagsForResourceResponse Source #
Create a value of ListTagsForResourceResponse
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:tags:ListTagsForResourceResponse'
, listTagsForResourceResponse_tags
- A list of tag key and value pairs associated with the specified
resource.
$sel:httpStatus:ListTagsForResourceResponse'
, listTagsForResourceResponse_httpStatus
- The response's http status code.
DisassociateDRTLogBucket
data DisassociateDRTLogBucket Source #
See: newDisassociateDRTLogBucket
smart constructor.
Instances
newDisassociateDRTLogBucket Source #
Create a value of DisassociateDRTLogBucket
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:logBucket:DisassociateDRTLogBucket'
, disassociateDRTLogBucket_logBucket
- The Amazon S3 bucket that contains the logs that you want to share.
data DisassociateDRTLogBucketResponse Source #
See: newDisassociateDRTLogBucketResponse
smart constructor.
Instances
Eq DisassociateDRTLogBucketResponse Source # | |
Read DisassociateDRTLogBucketResponse Source # | |
Show DisassociateDRTLogBucketResponse Source # | |
Defined in Amazonka.Shield.DisassociateDRTLogBucket | |
Generic DisassociateDRTLogBucketResponse Source # | |
NFData DisassociateDRTLogBucketResponse Source # | |
Defined in Amazonka.Shield.DisassociateDRTLogBucket rnf :: DisassociateDRTLogBucketResponse -> () # | |
type Rep DisassociateDRTLogBucketResponse Source # | |
Defined in Amazonka.Shield.DisassociateDRTLogBucket type Rep DisassociateDRTLogBucketResponse = D1 ('MetaData "DisassociateDRTLogBucketResponse" "Amazonka.Shield.DisassociateDRTLogBucket" "libZSservicesZSamazonka-shieldZSamazonka-shield" 'False) (C1 ('MetaCons "DisassociateDRTLogBucketResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newDisassociateDRTLogBucketResponse Source #
Create a value of DisassociateDRTLogBucketResponse
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:DisassociateDRTLogBucketResponse'
, disassociateDRTLogBucketResponse_httpStatus
- The response's http status code.
AssociateProactiveEngagementDetails
data AssociateProactiveEngagementDetails Source #
See: newAssociateProactiveEngagementDetails
smart constructor.
Instances
newAssociateProactiveEngagementDetails :: AssociateProactiveEngagementDetails Source #
Create a value of AssociateProactiveEngagementDetails
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:emergencyContactList:AssociateProactiveEngagementDetails'
, associateProactiveEngagementDetails_emergencyContactList
- A list of email addresses and phone numbers that the Shield Response
Team (SRT) can use to contact you for escalations to the SRT and to
initiate proactive customer support.
To enable proactive engagement, the contact list must include at least one phone number.
The contacts that you provide here replace any contacts that were
already defined. If you already have contacts defined and want to use
them, retrieve the list using DescribeEmergencyContactSettings
and
then provide it here.
data AssociateProactiveEngagementDetailsResponse Source #
See: newAssociateProactiveEngagementDetailsResponse
smart constructor.
Instances
Eq AssociateProactiveEngagementDetailsResponse Source # | |
Read AssociateProactiveEngagementDetailsResponse Source # | |
Show AssociateProactiveEngagementDetailsResponse Source # | |
Generic AssociateProactiveEngagementDetailsResponse Source # | |
Defined in Amazonka.Shield.AssociateProactiveEngagementDetails type Rep AssociateProactiveEngagementDetailsResponse :: Type -> Type # | |
NFData AssociateProactiveEngagementDetailsResponse Source # | |
type Rep AssociateProactiveEngagementDetailsResponse Source # | |
Defined in Amazonka.Shield.AssociateProactiveEngagementDetails type Rep AssociateProactiveEngagementDetailsResponse = D1 ('MetaData "AssociateProactiveEngagementDetailsResponse" "Amazonka.Shield.AssociateProactiveEngagementDetails" "libZSservicesZSamazonka-shieldZSamazonka-shield" 'False) (C1 ('MetaCons "AssociateProactiveEngagementDetailsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newAssociateProactiveEngagementDetailsResponse Source #
:: Int |
|
-> AssociateProactiveEngagementDetailsResponse |
Create a value of AssociateProactiveEngagementDetailsResponse
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:AssociateProactiveEngagementDetailsResponse'
, associateProactiveEngagementDetailsResponse_httpStatus
- The response's http status code.
DescribeAttack
data DescribeAttack Source #
See: newDescribeAttack
smart constructor.
Instances
Create a value of DescribeAttack
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:attackId:DescribeAttack'
, describeAttack_attackId
- The unique identifier (ID) for the attack that to be described.
data DescribeAttackResponse Source #
See: newDescribeAttackResponse
smart constructor.
Instances
newDescribeAttackResponse Source #
Create a value of DescribeAttackResponse
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:attack:DescribeAttackResponse'
, describeAttackResponse_attack
- The attack that is described.
$sel:httpStatus:DescribeAttackResponse'
, describeAttackResponse_httpStatus
- The response's http status code.
ListProtectionGroups
data ListProtectionGroups Source #
See: newListProtectionGroups
smart constructor.
Instances
newListProtectionGroups :: ListProtectionGroups Source #
Create a value of ListProtectionGroups
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:nextToken:ListProtectionGroups'
, listProtectionGroups_nextToken
- The next token value from a previous call to ListProtectionGroups
.
Pass null if this is the first call.
$sel:maxResults:ListProtectionGroups'
, listProtectionGroups_maxResults
- The maximum number of ProtectionGroup objects to return. If you leave
this blank, Shield Advanced returns the first 20 results.
This is a maximum value. Shield Advanced might return the results in
smaller batches. That is, the number of objects returned could be less
than MaxResults
, even if there are still more objects yet to return.
If there are more objects to return, Shield Advanced returns a value in
NextToken
that you can use in your next request, to get the next batch
of objects.
data ListProtectionGroupsResponse Source #
See: newListProtectionGroupsResponse
smart constructor.
Instances
newListProtectionGroupsResponse Source #
Create a value of ListProtectionGroupsResponse
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:nextToken:ListProtectionGroups'
, listProtectionGroupsResponse_nextToken
- If you specify a value for MaxResults
and you have more protection
groups than the value of MaxResults, Shield Advanced returns this token
that you can use in your next request, to get the next batch of objects.
$sel:httpStatus:ListProtectionGroupsResponse'
, listProtectionGroupsResponse_httpStatus
- The response's http status code.
$sel:protectionGroups:ListProtectionGroupsResponse'
, listProtectionGroupsResponse_protectionGroups
-
EnableProactiveEngagement
data EnableProactiveEngagement Source #
See: newEnableProactiveEngagement
smart constructor.
Instances
newEnableProactiveEngagement :: EnableProactiveEngagement Source #
Create a value of EnableProactiveEngagement
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
data EnableProactiveEngagementResponse Source #
See: newEnableProactiveEngagementResponse
smart constructor.
Instances
Eq EnableProactiveEngagementResponse Source # | |
Read EnableProactiveEngagementResponse Source # | |
Show EnableProactiveEngagementResponse Source # | |
Generic EnableProactiveEngagementResponse Source # | |
NFData EnableProactiveEngagementResponse Source # | |
Defined in Amazonka.Shield.EnableProactiveEngagement rnf :: EnableProactiveEngagementResponse -> () # | |
type Rep EnableProactiveEngagementResponse Source # | |
Defined in Amazonka.Shield.EnableProactiveEngagement type Rep EnableProactiveEngagementResponse = D1 ('MetaData "EnableProactiveEngagementResponse" "Amazonka.Shield.EnableProactiveEngagement" "libZSservicesZSamazonka-shieldZSamazonka-shield" 'False) (C1 ('MetaCons "EnableProactiveEngagementResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newEnableProactiveEngagementResponse Source #
Create a value of EnableProactiveEngagementResponse
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:EnableProactiveEngagementResponse'
, enableProactiveEngagementResponse_httpStatus
- The response's http status code.
UpdateEmergencyContactSettings
data UpdateEmergencyContactSettings Source #
See: newUpdateEmergencyContactSettings
smart constructor.
Instances
newUpdateEmergencyContactSettings :: UpdateEmergencyContactSettings Source #
Create a value of UpdateEmergencyContactSettings
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:emergencyContactList:UpdateEmergencyContactSettings'
, updateEmergencyContactSettings_emergencyContactList
- A list of email addresses and phone numbers that the Shield Response
Team (SRT) can use to contact you if you have proactive engagement
enabled, for escalations to the SRT and to initiate proactive customer
support.
If you have proactive engagement enabled, the contact list must include at least one phone number.
data UpdateEmergencyContactSettingsResponse Source #
See: newUpdateEmergencyContactSettingsResponse
smart constructor.
Instances
newUpdateEmergencyContactSettingsResponse Source #
Create a value of UpdateEmergencyContactSettingsResponse
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:UpdateEmergencyContactSettingsResponse'
, updateEmergencyContactSettingsResponse_httpStatus
- The response's http status code.
CreateProtectionGroup
data CreateProtectionGroup Source #
See: newCreateProtectionGroup
smart constructor.
CreateProtectionGroup' (Maybe ProtectedResourceType) (Maybe [Text]) (Maybe [Tag]) Text ProtectionGroupAggregation ProtectionGroupPattern |
Instances
newCreateProtectionGroup Source #
Create a value of CreateProtectionGroup
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:resourceType:CreateProtectionGroup'
, createProtectionGroup_resourceType
- The resource type to include in the protection group. All protected
resources of this type are included in the protection group. Newly
protected resources of this type are automatically added to the group.
You must set this when you set Pattern
to BY_RESOURCE_TYPE
and you
must not set it for any other Pattern
setting.
$sel:members:CreateProtectionGroup'
, createProtectionGroup_members
- The Amazon Resource Names (ARNs) of the resources to include in the
protection group. You must set this when you set Pattern
to
ARBITRARY
and you must not set it for any other Pattern
setting.
$sel:tags:CreateProtectionGroup'
, createProtectionGroup_tags
- One or more tag key-value pairs for the protection group.
$sel:protectionGroupId:CreateProtectionGroup'
, createProtectionGroup_protectionGroupId
- The name of the protection group. You use this to identify the
protection group in lists and to manage the protection group, for
example to update, delete, or describe it.
$sel:aggregation:CreateProtectionGroup'
, createProtectionGroup_aggregation
- Defines how Shield combines resource data for the group in order to
detect, mitigate, and report events.
- Sum - Use the total traffic across the group. This is a good choice for most cases. Examples include Elastic IP addresses for EC2 instances that scale manually or automatically.
- Mean - Use the average of the traffic across the group. This is a good choice for resources that share traffic uniformly. Examples include accelerators and load balancers.
- Max - Use the highest traffic from each resource. This is useful for resources that don't share traffic and for resources that share that traffic in a non-uniform way. Examples include Amazon CloudFront and origin resources for CloudFront distributions.
$sel:pattern':CreateProtectionGroup'
, createProtectionGroup_pattern
- The criteria to use to choose the protected resources for inclusion in
the group. You can include all resources that have protections, provide
a list of resource Amazon Resource Names (ARNs), or include all
resources of a specified resource type.
data CreateProtectionGroupResponse Source #
See: newCreateProtectionGroupResponse
smart constructor.
Instances
newCreateProtectionGroupResponse Source #
Create a value of CreateProtectionGroupResponse
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:CreateProtectionGroupResponse'
, createProtectionGroupResponse_httpStatus
- The response's http status code.
DisableProactiveEngagement
data DisableProactiveEngagement Source #
See: newDisableProactiveEngagement
smart constructor.
Instances
newDisableProactiveEngagement :: DisableProactiveEngagement Source #
Create a value of DisableProactiveEngagement
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
data DisableProactiveEngagementResponse Source #
See: newDisableProactiveEngagementResponse
smart constructor.
Instances
Eq DisableProactiveEngagementResponse Source # | |
Read DisableProactiveEngagementResponse Source # | |
Show DisableProactiveEngagementResponse Source # | |
Generic DisableProactiveEngagementResponse Source # | |
NFData DisableProactiveEngagementResponse Source # | |
Defined in Amazonka.Shield.DisableProactiveEngagement rnf :: DisableProactiveEngagementResponse -> () # | |
type Rep DisableProactiveEngagementResponse Source # | |
Defined in Amazonka.Shield.DisableProactiveEngagement type Rep DisableProactiveEngagementResponse = D1 ('MetaData "DisableProactiveEngagementResponse" "Amazonka.Shield.DisableProactiveEngagement" "libZSservicesZSamazonka-shieldZSamazonka-shield" 'False) (C1 ('MetaCons "DisableProactiveEngagementResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newDisableProactiveEngagementResponse Source #
Create a value of DisableProactiveEngagementResponse
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:DisableProactiveEngagementResponse'
, disableProactiveEngagementResponse_httpStatus
- The response's http status code.
DisassociateHealthCheck
data DisassociateHealthCheck Source #
See: newDisassociateHealthCheck
smart constructor.
Instances
newDisassociateHealthCheck Source #
:: Text | |
-> Text | |
-> DisassociateHealthCheck |
Create a value of DisassociateHealthCheck
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:protectionId:DisassociateHealthCheck'
, disassociateHealthCheck_protectionId
- The unique identifier (ID) for the Protection object to remove the
health check association from.
$sel:healthCheckArn:DisassociateHealthCheck'
, disassociateHealthCheck_healthCheckArn
- The Amazon Resource Name (ARN) of the health check that is associated
with the protection.
data DisassociateHealthCheckResponse Source #
See: newDisassociateHealthCheckResponse
smart constructor.
Instances
Eq DisassociateHealthCheckResponse Source # | |
Read DisassociateHealthCheckResponse Source # | |
Show DisassociateHealthCheckResponse Source # | |
Defined in Amazonka.Shield.DisassociateHealthCheck | |
Generic DisassociateHealthCheckResponse Source # | |
NFData DisassociateHealthCheckResponse Source # | |
Defined in Amazonka.Shield.DisassociateHealthCheck rnf :: DisassociateHealthCheckResponse -> () # | |
type Rep DisassociateHealthCheckResponse Source # | |
Defined in Amazonka.Shield.DisassociateHealthCheck type Rep DisassociateHealthCheckResponse = D1 ('MetaData "DisassociateHealthCheckResponse" "Amazonka.Shield.DisassociateHealthCheck" "libZSservicesZSamazonka-shieldZSamazonka-shield" 'False) (C1 ('MetaCons "DisassociateHealthCheckResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newDisassociateHealthCheckResponse Source #
Create a value of DisassociateHealthCheckResponse
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:DisassociateHealthCheckResponse'
, disassociateHealthCheckResponse_httpStatus
- The response's http status code.
ListResourcesInProtectionGroup
data ListResourcesInProtectionGroup Source #
See: newListResourcesInProtectionGroup
smart constructor.
Instances
newListResourcesInProtectionGroup Source #
Create a value of ListResourcesInProtectionGroup
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:nextToken:ListResourcesInProtectionGroup'
, listResourcesInProtectionGroup_nextToken
- The next token value from a previous call to
ListResourcesInProtectionGroup
. Pass null if this is the first call.
$sel:maxResults:ListResourcesInProtectionGroup'
, listResourcesInProtectionGroup_maxResults
- The maximum number of resource ARN objects to return. If you leave this
blank, Shield Advanced returns the first 20 results.
This is a maximum value. Shield Advanced might return the results in
smaller batches. That is, the number of objects returned could be less
than MaxResults
, even if there are still more objects yet to return.
If there are more objects to return, Shield Advanced returns a value in
NextToken
that you can use in your next request, to get the next batch
of objects.
$sel:protectionGroupId:ListResourcesInProtectionGroup'
, listResourcesInProtectionGroup_protectionGroupId
- The name of the protection group. You use this to identify the
protection group in lists and to manage the protection group, for
example to update, delete, or describe it.
data ListResourcesInProtectionGroupResponse Source #
See: newListResourcesInProtectionGroupResponse
smart constructor.
Instances
newListResourcesInProtectionGroupResponse Source #
Create a value of ListResourcesInProtectionGroupResponse
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:nextToken:ListResourcesInProtectionGroup'
, listResourcesInProtectionGroupResponse_nextToken
- If you specify a value for MaxResults
and you have more resources in
the protection group than the value of MaxResults, Shield Advanced
returns this token that you can use in your next request, to get the
next batch of objects.
$sel:httpStatus:ListResourcesInProtectionGroupResponse'
, listResourcesInProtectionGroupResponse_httpStatus
- The response's http status code.
$sel:resourceArns:ListResourcesInProtectionGroupResponse'
, listResourcesInProtectionGroupResponse_resourceArns
- The Amazon Resource Names (ARNs) of the resources that are included in
the protection group.
DescribeProtection
data DescribeProtection Source #
See: newDescribeProtection
smart constructor.
Instances
newDescribeProtection :: DescribeProtection Source #
Create a value of DescribeProtection
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:protectionId:DescribeProtection'
, describeProtection_protectionId
- The unique identifier (ID) for the Protection object that is described.
When submitting the DescribeProtection
request you must provide either
the ResourceArn
or the ProtectionID
, but not both.
$sel:resourceArn:DescribeProtection'
, describeProtection_resourceArn
- The ARN (Amazon Resource Name) of the Amazon Web Services resource for
the Protection object that is described. When submitting the
DescribeProtection
request you must provide either the ResourceArn
or the ProtectionID
, but not both.
data DescribeProtectionResponse Source #
See: newDescribeProtectionResponse
smart constructor.
Instances
newDescribeProtectionResponse Source #
Create a value of DescribeProtectionResponse
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:protection:DescribeProtectionResponse'
, describeProtectionResponse_protection
- The Protection object that is described.
$sel:httpStatus:DescribeProtectionResponse'
, describeProtectionResponse_httpStatus
- The response's http status code.
ListAttacks (Paginated)
data ListAttacks Source #
See: newListAttacks
smart constructor.
Instances
newListAttacks :: ListAttacks Source #
Create a value of ListAttacks
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:startTime:ListAttacks'
, listAttacks_startTime
- The start of the time period for the attacks. This is a timestamp
type. The sample request above indicates a number
type because the
default used by WAF is Unix time in seconds. However any valid
timestamp format
is allowed.
$sel:resourceArns:ListAttacks'
, listAttacks_resourceArns
- The ARN (Amazon Resource Name) of the resource that was attacked. If
this is left blank, all applicable resources for this account will be
included.
$sel:nextToken:ListAttacks'
, listAttacks_nextToken
- The ListAttacksRequest.NextMarker
value from a previous call to
ListAttacksRequest
. Pass null if this is the first call.
$sel:endTime:ListAttacks'
, listAttacks_endTime
- The end of the time period for the attacks. This is a timestamp
type.
The sample request above indicates a number
type because the default
used by WAF is Unix time in seconds. However any valid
timestamp format
is allowed.
$sel:maxResults:ListAttacks'
, listAttacks_maxResults
- The maximum number of AttackSummary objects to return. If you leave this
blank, Shield Advanced returns the first 20 results.
This is a maximum value. Shield Advanced might return the results in
smaller batches. That is, the number of objects returned could be less
than MaxResults
, even if there are still more objects yet to return.
If there are more objects to return, Shield Advanced returns a value in
NextToken
that you can use in your next request, to get the next batch
of objects.
data ListAttacksResponse Source #
See: newListAttacksResponse
smart constructor.
Instances
newListAttacksResponse Source #
Create a value of ListAttacksResponse
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:attackSummaries:ListAttacksResponse'
, listAttacksResponse_attackSummaries
- The attack information for the specified time range.
$sel:nextToken:ListAttacks'
, listAttacksResponse_nextToken
- The token returned by a previous call to indicate that there is more
data available. If not null, more results are available. Pass this value
for the NextMarker
parameter in a subsequent call to ListAttacks
to
retrieve the next set of items.
Shield Advanced might return the list of AttackSummary objects in
batches smaller than the number specified by MaxResults. If there are
more attack summary objects to return, Shield Advanced will always also
return a NextToken
.
$sel:httpStatus:ListAttacksResponse'
, listAttacksResponse_httpStatus
- The response's http status code.
DescribeEmergencyContactSettings
data DescribeEmergencyContactSettings Source #
See: newDescribeEmergencyContactSettings
smart constructor.
Instances
newDescribeEmergencyContactSettings :: DescribeEmergencyContactSettings Source #
Create a value of DescribeEmergencyContactSettings
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
data DescribeEmergencyContactSettingsResponse Source #
See: newDescribeEmergencyContactSettingsResponse
smart constructor.
Instances
newDescribeEmergencyContactSettingsResponse Source #
Create a value of DescribeEmergencyContactSettingsResponse
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:emergencyContactList:DescribeEmergencyContactSettingsResponse'
, describeEmergencyContactSettingsResponse_emergencyContactList
- A list of email addresses and phone numbers that the Shield Response
Team (SRT) can use to contact you if you have proactive engagement
enabled, for escalations to the SRT and to initiate proactive customer
support.
$sel:httpStatus:DescribeEmergencyContactSettingsResponse'
, describeEmergencyContactSettingsResponse_httpStatus
- The response's http status code.
CreateProtection
data CreateProtection Source #
See: newCreateProtection
smart constructor.
Instances
Create a value of CreateProtection
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:tags:CreateProtection'
, createProtection_tags
- One or more tag key-value pairs for the Protection object that is
created.
$sel:name:CreateProtection'
, createProtection_name
- Friendly name for the Protection
you are creating.
$sel:resourceArn:CreateProtection'
, createProtection_resourceArn
- The ARN (Amazon Resource Name) of the resource to be protected.
The ARN should be in one of the following formats:
- For an Application Load Balancer:
arn:aws:elasticloadbalancing:region:account-id:loadbalancer/app/load-balancer-name/load-balancer-id
- For an Elastic Load Balancer (Classic Load Balancer):
arn:aws:elasticloadbalancing:region:account-id:loadbalancer/load-balancer-name
- For an Amazon CloudFront distribution:
arn:aws:cloudfront::account-id:distribution/distribution-id
- For an Global Accelerator accelerator:
arn:aws:globalaccelerator::account-id:accelerator/accelerator-id
- For Amazon Route 53:
arn:aws:route53:::hostedzone/hosted-zone-id
- For an Elastic IP address:
arn:aws:ec2:region:account-id:eip-allocation/allocation-id
data CreateProtectionResponse Source #
See: newCreateProtectionResponse
smart constructor.
Instances
newCreateProtectionResponse Source #
Create a value of CreateProtectionResponse
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:protectionId:CreateProtectionResponse'
, createProtectionResponse_protectionId
- The unique identifier (ID) for the Protection object that is created.
$sel:httpStatus:CreateProtectionResponse'
, createProtectionResponse_httpStatus
- The response's http status code.
DeleteProtection
data DeleteProtection Source #
See: newDeleteProtection
smart constructor.
Instances
Create a value of DeleteProtection
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:protectionId:DeleteProtection'
, deleteProtection_protectionId
- The unique identifier (ID) for the Protection object to be deleted.
data DeleteProtectionResponse Source #
See: newDeleteProtectionResponse
smart constructor.
Instances
newDeleteProtectionResponse Source #
Create a value of DeleteProtectionResponse
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:DeleteProtectionResponse'
, deleteProtectionResponse_httpStatus
- The response's http status code.
GetSubscriptionState
data GetSubscriptionState Source #
See: newGetSubscriptionState
smart constructor.
Instances
newGetSubscriptionState :: GetSubscriptionState Source #
Create a value of GetSubscriptionState
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
data GetSubscriptionStateResponse Source #
See: newGetSubscriptionStateResponse
smart constructor.
Instances
newGetSubscriptionStateResponse Source #
Create a value of GetSubscriptionStateResponse
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:GetSubscriptionStateResponse'
, getSubscriptionStateResponse_httpStatus
- The response's http status code.
$sel:subscriptionState:GetSubscriptionStateResponse'
, getSubscriptionStateResponse_subscriptionState
- The status of the subscription.
DeleteProtectionGroup
data DeleteProtectionGroup Source #
See: newDeleteProtectionGroup
smart constructor.
Instances
newDeleteProtectionGroup Source #
Create a value of DeleteProtectionGroup
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:protectionGroupId:DeleteProtectionGroup'
, deleteProtectionGroup_protectionGroupId
- The name of the protection group. You use this to identify the
protection group in lists and to manage the protection group, for
example to update, delete, or describe it.
data DeleteProtectionGroupResponse Source #
See: newDeleteProtectionGroupResponse
smart constructor.
Instances
newDeleteProtectionGroupResponse Source #
Create a value of DeleteProtectionGroupResponse
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:DeleteProtectionGroupResponse'
, deleteProtectionGroupResponse_httpStatus
- The response's http status code.
UpdateProtectionGroup
data UpdateProtectionGroup Source #
See: newUpdateProtectionGroup
smart constructor.
UpdateProtectionGroup' (Maybe ProtectedResourceType) (Maybe [Text]) Text ProtectionGroupAggregation ProtectionGroupPattern |
Instances
newUpdateProtectionGroup Source #
Create a value of UpdateProtectionGroup
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:resourceType:UpdateProtectionGroup'
, updateProtectionGroup_resourceType
- The resource type to include in the protection group. All protected
resources of this type are included in the protection group. You must
set this when you set Pattern
to BY_RESOURCE_TYPE
and you must not
set it for any other Pattern
setting.
$sel:members:UpdateProtectionGroup'
, updateProtectionGroup_members
- The Amazon Resource Names (ARNs) of the resources to include in the
protection group. You must set this when you set Pattern
to
ARBITRARY
and you must not set it for any other Pattern
setting.
$sel:protectionGroupId:UpdateProtectionGroup'
, updateProtectionGroup_protectionGroupId
- The name of the protection group. You use this to identify the
protection group in lists and to manage the protection group, for
example to update, delete, or describe it.
$sel:aggregation:UpdateProtectionGroup'
, updateProtectionGroup_aggregation
- Defines how Shield combines resource data for the group in order to
detect, mitigate, and report events.
- Sum - Use the total traffic across the group. This is a good choice for most cases. Examples include Elastic IP addresses for EC2 instances that scale manually or automatically.
- Mean - Use the average of the traffic across the group. This is a good choice for resources that share traffic uniformly. Examples include accelerators and load balancers.
- Max - Use the highest traffic from each resource. This is useful for resources that don't share traffic and for resources that share that traffic in a non-uniform way. Examples include Amazon CloudFront distributions and origin resources for CloudFront distributions.
$sel:pattern':UpdateProtectionGroup'
, updateProtectionGroup_pattern
- The criteria to use to choose the protected resources for inclusion in
the group. You can include all resources that have protections, provide
a list of resource Amazon Resource Names (ARNs), or include all
resources of a specified resource type.
data UpdateProtectionGroupResponse Source #
See: newUpdateProtectionGroupResponse
smart constructor.
Instances
newUpdateProtectionGroupResponse Source #
Create a value of UpdateProtectionGroupResponse
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:UpdateProtectionGroupResponse'
, updateProtectionGroupResponse_httpStatus
- The response's http status code.
DescribeAttackStatistics
data DescribeAttackStatistics Source #
See: newDescribeAttackStatistics
smart constructor.
Instances
newDescribeAttackStatistics :: DescribeAttackStatistics Source #
Create a value of DescribeAttackStatistics
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
data DescribeAttackStatisticsResponse Source #
See: newDescribeAttackStatisticsResponse
smart constructor.
Instances
newDescribeAttackStatisticsResponse Source #
Create a value of DescribeAttackStatisticsResponse
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:DescribeAttackStatisticsResponse'
, describeAttackStatisticsResponse_httpStatus
- The response's http status code.
$sel:timeRange:DescribeAttackStatisticsResponse'
, describeAttackStatisticsResponse_timeRange
- Undocumented member.
$sel:dataItems:DescribeAttackStatisticsResponse'
, describeAttackStatisticsResponse_dataItems
- The data that describes the attacks detected during the time period.
TagResource
data TagResource Source #
See: newTagResource
smart constructor.
Instances
Create a value of TagResource
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:resourceARN:TagResource'
, tagResource_resourceARN
- The Amazon Resource Name (ARN) of the resource that you want to add or
update tags for.
$sel:tags:TagResource'
, tagResource_tags
- The tags that you want to modify or add to the resource.
data TagResourceResponse Source #
See: newTagResourceResponse
smart constructor.
Instances
newTagResourceResponse Source #
Create a value of TagResourceResponse
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:TagResourceResponse'
, tagResourceResponse_httpStatus
- The response's http status code.
DescribeDRTAccess
data DescribeDRTAccess Source #
See: newDescribeDRTAccess
smart constructor.
Instances
newDescribeDRTAccess :: DescribeDRTAccess Source #
Create a value of DescribeDRTAccess
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
data DescribeDRTAccessResponse Source #
See: newDescribeDRTAccessResponse
smart constructor.
Instances
newDescribeDRTAccessResponse Source #
Create a value of DescribeDRTAccessResponse
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:logBucketList:DescribeDRTAccessResponse'
, describeDRTAccessResponse_logBucketList
- The list of Amazon S3 buckets accessed by the SRT.
$sel:roleArn:DescribeDRTAccessResponse'
, describeDRTAccessResponse_roleArn
- The Amazon Resource Name (ARN) of the role the SRT used to access your
Amazon Web Services account.
$sel:httpStatus:DescribeDRTAccessResponse'
, describeDRTAccessResponse_httpStatus
- The response's http status code.
UntagResource
data UntagResource Source #
See: newUntagResource
smart constructor.
Instances
Create a value of UntagResource
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:resourceARN:UntagResource'
, untagResource_resourceARN
- The Amazon Resource Name (ARN) of the resource that you want to remove
tags from.
$sel:tagKeys:UntagResource'
, untagResource_tagKeys
- The tag key for each tag that you want to remove from the resource.
data UntagResourceResponse Source #
See: newUntagResourceResponse
smart constructor.
Instances
newUntagResourceResponse Source #
Create a value of UntagResourceResponse
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:UntagResourceResponse'
, untagResourceResponse_httpStatus
- The response's http status code.
DescribeSubscription
data DescribeSubscription Source #
See: newDescribeSubscription
smart constructor.
Instances
newDescribeSubscription :: DescribeSubscription Source #
Create a value of DescribeSubscription
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
data DescribeSubscriptionResponse Source #
See: newDescribeSubscriptionResponse
smart constructor.
Instances
newDescribeSubscriptionResponse Source #
Create a value of DescribeSubscriptionResponse
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:subscription:DescribeSubscriptionResponse'
, describeSubscriptionResponse_subscription
- The Shield Advanced subscription details for an account.
$sel:httpStatus:DescribeSubscriptionResponse'
, describeSubscriptionResponse_httpStatus
- The response's http status code.
AssociateHealthCheck
data AssociateHealthCheck Source #
See: newAssociateHealthCheck
smart constructor.
Instances
newAssociateHealthCheck Source #
:: Text | |
-> Text | |
-> AssociateHealthCheck |
Create a value of AssociateHealthCheck
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:protectionId:AssociateHealthCheck'
, associateHealthCheck_protectionId
- The unique identifier (ID) for the Protection object to add the health
check association to.
$sel:healthCheckArn:AssociateHealthCheck'
, associateHealthCheck_healthCheckArn
- The Amazon Resource Name (ARN) of the health check to associate with the
protection.
data AssociateHealthCheckResponse Source #
See: newAssociateHealthCheckResponse
smart constructor.
Instances
newAssociateHealthCheckResponse Source #
Create a value of AssociateHealthCheckResponse
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:AssociateHealthCheckResponse'
, associateHealthCheckResponse_httpStatus
- The response's http status code.
DescribeProtectionGroup
data DescribeProtectionGroup Source #
See: newDescribeProtectionGroup
smart constructor.
Instances
newDescribeProtectionGroup Source #
Create a value of DescribeProtectionGroup
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:protectionGroupId:DescribeProtectionGroup'
, describeProtectionGroup_protectionGroupId
- The name of the protection group. You use this to identify the
protection group in lists and to manage the protection group, for
example to update, delete, or describe it.
data DescribeProtectionGroupResponse Source #
See: newDescribeProtectionGroupResponse
smart constructor.
Instances
Eq DescribeProtectionGroupResponse Source # | |
Read DescribeProtectionGroupResponse Source # | |
Show DescribeProtectionGroupResponse Source # | |
Defined in Amazonka.Shield.DescribeProtectionGroup | |
Generic DescribeProtectionGroupResponse Source # | |
NFData DescribeProtectionGroupResponse Source # | |
Defined in Amazonka.Shield.DescribeProtectionGroup rnf :: DescribeProtectionGroupResponse -> () # | |
type Rep DescribeProtectionGroupResponse Source # | |
Defined in Amazonka.Shield.DescribeProtectionGroup type Rep DescribeProtectionGroupResponse = D1 ('MetaData "DescribeProtectionGroupResponse" "Amazonka.Shield.DescribeProtectionGroup" "libZSservicesZSamazonka-shieldZSamazonka-shield" 'False) (C1 ('MetaCons "DescribeProtectionGroupResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "protectionGroup") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ProtectionGroup))) |
newDescribeProtectionGroupResponse Source #
Create a value of DescribeProtectionGroupResponse
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:DescribeProtectionGroupResponse'
, describeProtectionGroupResponse_httpStatus
- The response's http status code.
$sel:protectionGroup:DescribeProtectionGroupResponse'
, describeProtectionGroupResponse_protectionGroup
- A grouping of protected resources that you and Shield Advanced can
monitor as a collective. This resource grouping improves the accuracy of
detection and reduces false positives.
Types
AttackLayer
newtype AttackLayer Source #
pattern AttackLayer_APPLICATION :: AttackLayer | |
pattern AttackLayer_NETWORK :: AttackLayer |
Instances
AttackPropertyIdentifier
newtype AttackPropertyIdentifier Source #
Instances
AutoRenew
pattern AutoRenew_DISABLED :: AutoRenew | |
pattern AutoRenew_ENABLED :: AutoRenew |
Instances
ProactiveEngagementStatus
newtype ProactiveEngagementStatus Source #
Instances
ProtectedResourceType
newtype ProtectedResourceType Source #
Instances
ProtectionGroupAggregation
newtype ProtectionGroupAggregation Source #
Instances
ProtectionGroupPattern
newtype ProtectionGroupPattern Source #
Instances
SubResourceType
newtype SubResourceType Source #
pattern SubResourceType_IP :: SubResourceType | |
pattern SubResourceType_URL :: SubResourceType |
Instances
SubscriptionState
newtype SubscriptionState Source #
pattern SubscriptionState_ACTIVE :: SubscriptionState | |
pattern SubscriptionState_INACTIVE :: SubscriptionState |
Instances
Unit
pattern Unit_BITS :: Unit | |
pattern Unit_BYTES :: Unit | |
pattern Unit_PACKETS :: Unit | |
pattern Unit_REQUESTS :: Unit |
Instances
AttackDetail
data AttackDetail Source #
The details of a DDoS attack.
See: newAttackDetail
smart constructor.
AttackDetail' (Maybe Text) (Maybe POSIX) (Maybe [SubResourceSummary]) (Maybe [Mitigation]) (Maybe [AttackProperty]) (Maybe [SummarizedCounter]) (Maybe Text) (Maybe POSIX) |
Instances
newAttackDetail :: AttackDetail Source #
Create a value of AttackDetail
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:attackId:AttackDetail'
, attackDetail_attackId
- The unique identifier (ID) of the attack.
$sel:startTime:AttackDetail'
, attackDetail_startTime
- The time the attack started, in Unix time in seconds. For more
information see
timestamp.
$sel:subResources:AttackDetail'
, attackDetail_subResources
- If applicable, additional detail about the resource being attacked, for
example, IP address or URL.
$sel:mitigations:AttackDetail'
, attackDetail_mitigations
- List of mitigation actions taken for the attack.
$sel:attackProperties:AttackDetail'
, attackDetail_attackProperties
- The array of objects that provide details of the Shield event.
For infrastructure layer events (L3 and L4 events) after January 25, 2021, you can view metrics for top contributors in Amazon CloudWatch metrics. For more information, see Shield metrics and alarms in the WAF Developer Guide.
$sel:attackCounters:AttackDetail'
, attackDetail_attackCounters
- List of counters that describe the attack for the specified time period.
$sel:resourceArn:AttackDetail'
, attackDetail_resourceArn
- The ARN (Amazon Resource Name) of the resource that was attacked.
$sel:endTime:AttackDetail'
, attackDetail_endTime
- The time the attack ended, in Unix time in seconds. For more information
see
timestamp.
AttackProperty
data AttackProperty Source #
Details of a Shield event. This is provided as part of an AttackDetail.
See: newAttackProperty
smart constructor.
AttackProperty' (Maybe AttackLayer) (Maybe [Contributor]) (Maybe AttackPropertyIdentifier) (Maybe Integer) (Maybe Unit) |
Instances
newAttackProperty :: AttackProperty Source #
Create a value of AttackProperty
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:attackLayer:AttackProperty'
, attackProperty_attackLayer
- The type of Shield event that was observed. NETWORK
indicates layer 3
and layer 4 events and APPLICATION
indicates layer 7 events.
For infrastructure layer events (L3 and L4 events) after January 25, 2021, you can view metrics for top contributors in Amazon CloudWatch metrics. For more information, see Shield metrics and alarms in the WAF Developer Guide.
$sel:topContributors:AttackProperty'
, attackProperty_topContributors
- Contributor objects for the top five contributors to a Shield event.
$sel:attackPropertyIdentifier:AttackProperty'
, attackProperty_attackPropertyIdentifier
- Defines the Shield event property information that is provided. The
WORDPRESS_PINGBACK_REFLECTOR
and WORDPRESS_PINGBACK_SOURCE
values
are valid only for WordPress reflective pingback events.
$sel:total:AttackProperty'
, attackProperty_total
- The total contributions made to this Shield event by all contributors.
$sel:unit:AttackProperty'
, attackProperty_unit
- The unit used for the Contributor
Value
property.
AttackStatisticsDataItem
data AttackStatisticsDataItem Source #
A single attack statistics data record. This is returned by DescribeAttackStatistics along with a time range indicating the time period that the attack statistics apply to.
See: newAttackStatisticsDataItem
smart constructor.
Instances
newAttackStatisticsDataItem Source #
Create a value of AttackStatisticsDataItem
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:attackVolume:AttackStatisticsDataItem'
, attackStatisticsDataItem_attackVolume
- Information about the volume of attacks during the time period. If the
accompanying AttackCount
is zero, this setting might be empty.
$sel:attackCount:AttackStatisticsDataItem'
, attackStatisticsDataItem_attackCount
- The number of attacks detected during the time period. This is always
present, but might be zero.
AttackSummary
data AttackSummary Source #
Summarizes all DDoS attacks for a specified time period.
See: newAttackSummary
smart constructor.
AttackSummary' (Maybe [AttackVectorDescription]) (Maybe Text) (Maybe POSIX) (Maybe Text) (Maybe POSIX) |
Instances
newAttackSummary :: AttackSummary Source #
Create a value of AttackSummary
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:attackVectors:AttackSummary'
, attackSummary_attackVectors
- The list of attacks for a specified time period.
$sel:attackId:AttackSummary'
, attackSummary_attackId
- The unique identifier (ID) of the attack.
$sel:startTime:AttackSummary'
, attackSummary_startTime
- The start time of the attack, in Unix time in seconds. For more
information see
timestamp.
$sel:resourceArn:AttackSummary'
, attackSummary_resourceArn
- The ARN (Amazon Resource Name) of the resource that was attacked.
$sel:endTime:AttackSummary'
, attackSummary_endTime
- The end time of the attack, in Unix time in seconds. For more
information see
timestamp.
AttackVectorDescription
data AttackVectorDescription Source #
Describes the attack.
See: newAttackVectorDescription
smart constructor.
Instances
newAttackVectorDescription Source #
Create a value of AttackVectorDescription
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:vectorType:AttackVectorDescription'
, attackVectorDescription_vectorType
- The attack type. Valid values:
- UDP_TRAFFIC
- UDP_FRAGMENT
- GENERIC_UDP_REFLECTION
- DNS_REFLECTION
- NTP_REFLECTION
- CHARGEN_REFLECTION
- SSDP_REFLECTION
- PORT_MAPPER
- RIP_REFLECTION
- SNMP_REFLECTION
- MSSQL_REFLECTION
- NET_BIOS_REFLECTION
- SYN_FLOOD
- ACK_FLOOD
- REQUEST_FLOOD
- HTTP_REFLECTION
- UDS_REFLECTION
- MEMCACHED_REFLECTION
AttackVolume
data AttackVolume Source #
Information about the volume of attacks during the time period, included
in an AttackStatisticsDataItem. If the accompanying AttackCount
in the
statistics object is zero, this setting might be empty.
See: newAttackVolume
smart constructor.
AttackVolume' (Maybe AttackVolumeStatistics) (Maybe AttackVolumeStatistics) (Maybe AttackVolumeStatistics) |
Instances
newAttackVolume :: AttackVolume Source #
Create a value of AttackVolume
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:packetsPerSecond:AttackVolume'
, attackVolume_packetsPerSecond
- A statistics object that uses packets per second as the unit. This is
included for network level attacks.
$sel:requestsPerSecond:AttackVolume'
, attackVolume_requestsPerSecond
- A statistics object that uses requests per second as the unit. This is
included for application level attacks, and is only available for
accounts that are subscribed to Shield Advanced.
$sel:bitsPerSecond:AttackVolume'
, attackVolume_bitsPerSecond
- A statistics object that uses bits per second as the unit. This is
included for network level attacks.
AttackVolumeStatistics
data AttackVolumeStatistics Source #
Statistics objects for the various data types in AttackVolume.
See: newAttackVolumeStatistics
smart constructor.
Instances
newAttackVolumeStatistics Source #
Create a value of AttackVolumeStatistics
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:max:AttackVolumeStatistics'
, attackVolumeStatistics_max
- The maximum attack volume observed for the given unit.
Contributor
data Contributor Source #
A contributor to the attack and their contribution.
See: newContributor
smart constructor.
Instances
newContributor :: Contributor Source #
Create a value of Contributor
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:value:Contributor'
, contributor_value
- The contribution of this contributor expressed in Protection units. For
example 10,000
.
$sel:name:Contributor'
, contributor_name
- The name of the contributor. This is dependent on the
AttackPropertyIdentifier
. For example, if the
AttackPropertyIdentifier
is SOURCE_COUNTRY
, the Name
could be
United States
.
EmergencyContact
data EmergencyContact Source #
Contact information that the SRT can use to contact you if you have proactive engagement enabled, for escalations to the SRT and to initiate proactive customer support.
See: newEmergencyContact
smart constructor.
Instances
Create a value of EmergencyContact
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:phoneNumber:EmergencyContact'
, emergencyContact_phoneNumber
- The phone number for the contact.
$sel:contactNotes:EmergencyContact'
, emergencyContact_contactNotes
- Additional notes regarding the contact.
$sel:emailAddress:EmergencyContact'
, emergencyContact_emailAddress
- The email address for the contact.
Limit
Specifies how many protections of a given type you can create.
See: newLimit
smart constructor.
Instances
Eq Limit Source # | |
Read Limit Source # | |
Show Limit Source # | |
Generic Limit Source # | |
NFData Limit Source # | |
Defined in Amazonka.Shield.Types.Limit | |
Hashable Limit Source # | |
Defined in Amazonka.Shield.Types.Limit | |
FromJSON Limit Source # | |
type Rep Limit Source # | |
Defined in Amazonka.Shield.Types.Limit type Rep Limit = D1 ('MetaData "Limit" "Amazonka.Shield.Types.Limit" "libZSservicesZSamazonka-shieldZSamazonka-shield" 'False) (C1 ('MetaCons "Limit'" 'PrefixI 'True) (S1 ('MetaSel ('Just "max") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) |
Create a value of Limit
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:max:Limit'
, limit_max
- The maximum number of protections that can be created for the specified
Type
.
$sel:type':Limit'
, limit_type
- The type of protection.
Mitigation
data Mitigation Source #
The mitigation applied to a DDoS attack.
See: newMitigation
smart constructor.
Instances
newMitigation :: Mitigation Source #
Create a value of Mitigation
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:mitigationName:Mitigation'
, mitigation_mitigationName
- The name of the mitigation taken for this attack.
Protection
data Protection Source #
An object that represents a resource that is under DDoS protection.
See: newProtection
smart constructor.
Instances
newProtection :: Protection Source #
Create a value of Protection
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:protectionArn:Protection'
, protection_protectionArn
- The ARN (Amazon Resource Name) of the protection.
$sel:healthCheckIds:Protection'
, protection_healthCheckIds
- The unique identifier (ID) for the Route 53 health check that's
associated with the protection.
$sel:resourceArn:Protection'
, protection_resourceArn
- The ARN (Amazon Resource Name) of the Amazon Web Services resource that
is protected.
$sel:name:Protection'
, protection_name
- The name of the protection. For example, My CloudFront distributions
.
$sel:id:Protection'
, protection_id
- The unique identifier (ID) of the protection.
ProtectionGroup
data ProtectionGroup Source #
A grouping of protected resources that you and Shield Advanced can monitor as a collective. This resource grouping improves the accuracy of detection and reduces false positives.
See: newProtectionGroup
smart constructor.
ProtectionGroup' (Maybe ProtectedResourceType) (Maybe Text) Text ProtectionGroupAggregation ProtectionGroupPattern [Text] |
Instances
Create a value of ProtectionGroup
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:resourceType:ProtectionGroup'
, protectionGroup_resourceType
- The resource type to include in the protection group. All protected
resources of this type are included in the protection group. You must
set this when you set Pattern
to BY_RESOURCE_TYPE
and you must not
set it for any other Pattern
setting.
$sel:protectionGroupArn:ProtectionGroup'
, protectionGroup_protectionGroupArn
- The ARN (Amazon Resource Name) of the protection group.
$sel:protectionGroupId:ProtectionGroup'
, protectionGroup_protectionGroupId
- The name of the protection group. You use this to identify the
protection group in lists and to manage the protection group, for
example to update, delete, or describe it.
$sel:aggregation:ProtectionGroup'
, protectionGroup_aggregation
- Defines how Shield combines resource data for the group in order to
detect, mitigate, and report events.
- Sum - Use the total traffic across the group. This is a good choice for most cases. Examples include Elastic IP addresses for EC2 instances that scale manually or automatically.
- Mean - Use the average of the traffic across the group. This is a good choice for resources that share traffic uniformly. Examples include accelerators and load balancers.
- Max - Use the highest traffic from each resource. This is useful for resources that don't share traffic and for resources that share that traffic in a non-uniform way. Examples include Amazon CloudFront distributions and origin resources for CloudFront distributions.
$sel:pattern':ProtectionGroup'
, protectionGroup_pattern
- The criteria to use to choose the protected resources for inclusion in
the group. You can include all resources that have protections, provide
a list of resource Amazon Resource Names (ARNs), or include all
resources of a specified resource type.
$sel:members:ProtectionGroup'
, protectionGroup_members
- The Amazon Resource Names (ARNs) of the resources to include in the
protection group. You must set this when you set Pattern
to
ARBITRARY
and you must not set it for any other Pattern
setting.
ProtectionGroupArbitraryPatternLimits
data ProtectionGroupArbitraryPatternLimits Source #
Limits settings on protection groups with arbitrary pattern type.
See: newProtectionGroupArbitraryPatternLimits
smart constructor.
Instances
newProtectionGroupArbitraryPatternLimits Source #
Create a value of ProtectionGroupArbitraryPatternLimits
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:maxMembers:ProtectionGroupArbitraryPatternLimits'
, protectionGroupArbitraryPatternLimits_maxMembers
- The maximum number of resources you can specify for a single arbitrary
pattern in a protection group.
ProtectionGroupLimits
data ProtectionGroupLimits Source #
Limits settings on protection groups for your subscription.
See: newProtectionGroupLimits
smart constructor.
Instances
newProtectionGroupLimits Source #
Create a value of ProtectionGroupLimits
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:maxProtectionGroups:ProtectionGroupLimits'
, protectionGroupLimits_maxProtectionGroups
- The maximum number of protection groups that you can have at one time.
$sel:patternTypeLimits:ProtectionGroupLimits'
, protectionGroupLimits_patternTypeLimits
- Limits settings by pattern type in the protection groups for your
subscription.
ProtectionGroupPatternTypeLimits
data ProtectionGroupPatternTypeLimits Source #
Limits settings by pattern type in the protection groups for your subscription.
See: newProtectionGroupPatternTypeLimits
smart constructor.
Instances
Eq ProtectionGroupPatternTypeLimits Source # | |
Read ProtectionGroupPatternTypeLimits Source # | |
Show ProtectionGroupPatternTypeLimits Source # | |
Generic ProtectionGroupPatternTypeLimits Source # | |
NFData ProtectionGroupPatternTypeLimits Source # | |
Defined in Amazonka.Shield.Types.ProtectionGroupPatternTypeLimits rnf :: ProtectionGroupPatternTypeLimits -> () # | |
Hashable ProtectionGroupPatternTypeLimits Source # | |
FromJSON ProtectionGroupPatternTypeLimits Source # | |
type Rep ProtectionGroupPatternTypeLimits Source # | |
Defined in Amazonka.Shield.Types.ProtectionGroupPatternTypeLimits type Rep ProtectionGroupPatternTypeLimits = D1 ('MetaData "ProtectionGroupPatternTypeLimits" "Amazonka.Shield.Types.ProtectionGroupPatternTypeLimits" "libZSservicesZSamazonka-shieldZSamazonka-shield" 'False) (C1 ('MetaCons "ProtectionGroupPatternTypeLimits'" 'PrefixI 'True) (S1 ('MetaSel ('Just "arbitraryPatternLimits") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ProtectionGroupArbitraryPatternLimits))) |
newProtectionGroupPatternTypeLimits Source #
:: ProtectionGroupArbitraryPatternLimits |
|
-> ProtectionGroupPatternTypeLimits |
Create a value of ProtectionGroupPatternTypeLimits
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:arbitraryPatternLimits:ProtectionGroupPatternTypeLimits'
, protectionGroupPatternTypeLimits_arbitraryPatternLimits
- Limits settings on protection groups with arbitrary pattern type.
ProtectionLimits
data ProtectionLimits Source #
Limits settings on protections for your subscription.
See: newProtectionLimits
smart constructor.
Instances
newProtectionLimits :: ProtectionLimits Source #
Create a value of ProtectionLimits
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:protectedResourceTypeLimits:ProtectionLimits'
, protectionLimits_protectedResourceTypeLimits
- The maximum number of resource types that you can specify in a
protection.
SubResourceSummary
data SubResourceSummary Source #
The attack information for the specified SubResource.
See: newSubResourceSummary
smart constructor.
SubResourceSummary' (Maybe [SummarizedCounter]) (Maybe [SummarizedAttackVector]) (Maybe Text) (Maybe SubResourceType) |
Instances
newSubResourceSummary :: SubResourceSummary Source #
Create a value of SubResourceSummary
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:counters:SubResourceSummary'
, subResourceSummary_counters
- The counters that describe the details of the attack.
$sel:attackVectors:SubResourceSummary'
, subResourceSummary_attackVectors
- The list of attack types and associated counters.
$sel:id:SubResourceSummary'
, subResourceSummary_id
- The unique identifier (ID) of the SubResource
.
$sel:type':SubResourceSummary'
, subResourceSummary_type
- The SubResource
type.
Subscription
data Subscription Source #
Information about the Shield Advanced subscription for an account.
See: newSubscription
smart constructor.
Subscription' (Maybe Natural) (Maybe POSIX) (Maybe [Limit]) (Maybe AutoRenew) (Maybe POSIX) (Maybe ProactiveEngagementStatus) (Maybe Text) SubscriptionLimits |
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.
SubscriptionLimits
data SubscriptionLimits Source #
Limits settings for your subscription.
See: newSubscriptionLimits
smart constructor.
Instances
newSubscriptionLimits Source #
Create a value of SubscriptionLimits
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:protectionLimits:SubscriptionLimits'
, subscriptionLimits_protectionLimits
- Limits settings on protections for your subscription.
$sel:protectionGroupLimits:SubscriptionLimits'
, subscriptionLimits_protectionGroupLimits
- Limits settings on protection groups for your subscription.
SummarizedAttackVector
data SummarizedAttackVector Source #
A summary of information about the attack.
See: newSummarizedAttackVector
smart constructor.
Instances
newSummarizedAttackVector Source #
Create a value of SummarizedAttackVector
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:vectorCounters:SummarizedAttackVector'
, summarizedAttackVector_vectorCounters
- The list of counters that describe the details of the attack.
$sel:vectorType:SummarizedAttackVector'
, summarizedAttackVector_vectorType
- The attack type, for example, SNMP reflection or SYN flood.
SummarizedCounter
data SummarizedCounter Source #
The counter that describes a DDoS attack.
See: newSummarizedCounter
smart constructor.
SummarizedCounter' (Maybe Double) (Maybe Double) (Maybe Int) (Maybe Text) (Maybe Double) (Maybe Text) |
Instances
newSummarizedCounter :: SummarizedCounter Source #
Create a value of SummarizedCounter
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:max:SummarizedCounter'
, summarizedCounter_max
- The maximum value of the counter for a specified time period.
$sel:average:SummarizedCounter'
, summarizedCounter_average
- The average value of the counter for a specified time period.
$sel:n:SummarizedCounter'
, summarizedCounter_n
- The number of counters for a specified time period.
$sel:name:SummarizedCounter'
, summarizedCounter_name
- The counter name.
$sel:sum:SummarizedCounter'
, summarizedCounter_sum
- The total of counter values for a specified time period.
$sel:unit:SummarizedCounter'
, summarizedCounter_unit
- The unit of the counters.
Tag
A tag associated with an Amazon Web Services resource. Tags are key:value pairs that you can use to categorize and manage your resources, for purposes like billing or other management. Typically, the tag key represents a category, such as "environment", and the tag value represents a specific value within that category, such as "test," "development," or "production". Or you might set the tag key to "customer" and the value to the customer name or ID. You can specify one or more tags to add to each Amazon Web Services resource, up to 50 tags for a resource.
See: newTag
smart constructor.
Instances
Eq Tag Source # | |
Read Tag Source # | |
Show Tag Source # | |
Generic Tag Source # | |
NFData Tag Source # | |
Defined in Amazonka.Shield.Types.Tag | |
Hashable Tag Source # | |
Defined in Amazonka.Shield.Types.Tag | |
ToJSON Tag Source # | |
Defined in Amazonka.Shield.Types.Tag | |
FromJSON Tag Source # | |
type Rep Tag Source # | |
Defined in Amazonka.Shield.Types.Tag type Rep Tag = D1 ('MetaData "Tag" "Amazonka.Shield.Types.Tag" "libZSservicesZSamazonka-shieldZSamazonka-shield" 'False) (C1 ('MetaCons "Tag'" 'PrefixI 'True) (S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) |
Create a value of Tag
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:value:Tag'
, tag_value
- Part of the key:value pair that defines a tag. You can use a tag value
to describe a specific value within a category, such as "companyA" or
"companyB." Tag values are case-sensitive.
$sel:key:Tag'
, tag_key
- Part of the key:value pair that defines a tag. You can use a tag key to
describe a category of information, such as "customer." Tag keys are
case-sensitive.
TimeRange
The time range.
See: newTimeRange
smart constructor.
TimeRange' (Maybe POSIX) (Maybe POSIX) |
Instances
Eq TimeRange Source # | |
Read TimeRange Source # | |
Show TimeRange Source # | |
Generic TimeRange Source # | |
NFData TimeRange Source # | |
Defined in Amazonka.Shield.Types.TimeRange | |
Hashable TimeRange Source # | |
Defined in Amazonka.Shield.Types.TimeRange | |
ToJSON TimeRange Source # | |
Defined in Amazonka.Shield.Types.TimeRange | |
FromJSON TimeRange Source # | |
type Rep TimeRange Source # | |
Defined in Amazonka.Shield.Types.TimeRange type Rep TimeRange = D1 ('MetaData "TimeRange" "Amazonka.Shield.Types.TimeRange" "libZSservicesZSamazonka-shieldZSamazonka-shield" 'False) (C1 ('MetaCons "TimeRange'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromInclusive") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "toExclusive") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))) |
newTimeRange :: TimeRange Source #
Create a value of TimeRange
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:fromInclusive:TimeRange'
, timeRange_fromInclusive
- The start time, in Unix time in seconds. For more information see
timestamp.
$sel:toExclusive:TimeRange'
, timeRange_toExclusive
- The end time, in Unix time in seconds. For more information see
timestamp.