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

Amazonka.Shield.Lens

Description

 
Synopsis

Operations

AssociateDRTLogBucket

associateDRTLogBucket_logBucket :: Lens' AssociateDRTLogBucket Text Source #

The Amazon S3 bucket that contains the logs that you want to share.

AssociateDRTRole

associateDRTRole_roleArn :: Lens' AssociateDRTRole Text Source #

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.

AssociateHealthCheck

associateHealthCheck_protectionId :: Lens' AssociateHealthCheck Text Source #

The unique identifier (ID) for the Protection object to add the health check association to.

associateHealthCheck_healthCheckArn :: Lens' AssociateHealthCheck Text Source #

The Amazon Resource Name (ARN) of the health check to associate with the protection.

AssociateProactiveEngagementDetails

associateProactiveEngagementDetails_emergencyContactList :: Lens' AssociateProactiveEngagementDetails [EmergencyContact] Source #

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.

CreateProtection

createProtection_tags :: Lens' CreateProtection (Maybe [Tag]) Source #

One or more tag key-value pairs for the Protection object that is created.

createProtection_name :: Lens' CreateProtection Text Source #

Friendly name for the Protection you are creating.

createProtection_resourceArn :: Lens' CreateProtection Text Source #

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 standard 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

createProtectionResponse_protectionId :: Lens' CreateProtectionResponse (Maybe Text) Source #

The unique identifier (ID) for the Protection object that is created.

CreateProtectionGroup

createProtectionGroup_members :: Lens' CreateProtectionGroup (Maybe [Text]) Source #

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.

createProtectionGroup_resourceType :: Lens' CreateProtectionGroup (Maybe ProtectedResourceType) Source #

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.

createProtectionGroup_tags :: Lens' CreateProtectionGroup (Maybe [Tag]) Source #

One or more tag key-value pairs for the protection group.

createProtectionGroup_protectionGroupId :: Lens' CreateProtectionGroup Text Source #

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.

createProtectionGroup_aggregation :: Lens' CreateProtectionGroup ProtectionGroupAggregation Source #

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.

createProtectionGroup_pattern :: Lens' CreateProtectionGroup ProtectionGroupPattern Source #

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.

CreateSubscription

DeleteProtection

deleteProtection_protectionId :: Lens' DeleteProtection Text Source #

The unique identifier (ID) for the Protection object to be deleted.

DeleteProtectionGroup

deleteProtectionGroup_protectionGroupId :: Lens' DeleteProtectionGroup Text Source #

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.

DescribeAttack

describeAttack_attackId :: Lens' DescribeAttack Text Source #

The unique identifier (ID) for the attack.

DescribeAttackStatistics

describeAttackStatisticsResponse_dataItems :: Lens' DescribeAttackStatisticsResponse [AttackStatisticsDataItem] Source #

The data that describes the attacks detected during the time period.

DescribeDRTAccess

describeDRTAccessResponse_logBucketList :: Lens' DescribeDRTAccessResponse (Maybe [Text]) Source #

The list of Amazon S3 buckets accessed by the SRT.

describeDRTAccessResponse_roleArn :: Lens' DescribeDRTAccessResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the role the SRT used to access your Amazon Web Services account.

DescribeEmergencyContactSettings

describeEmergencyContactSettingsResponse_emergencyContactList :: Lens' DescribeEmergencyContactSettingsResponse (Maybe [EmergencyContact]) Source #

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.

DescribeProtection

describeProtection_protectionId :: Lens' DescribeProtection (Maybe Text) Source #

The unique identifier (ID) for the Protection object to describe. You must provide either the ResourceArn of the protected resource or the ProtectionID of the protection, but not both.

describeProtection_resourceArn :: Lens' DescribeProtection (Maybe Text) Source #

The ARN (Amazon Resource Name) of the protected Amazon Web Services resource. You must provide either the ResourceArn of the protected resource or the ProtectionID of the protection, but not both.

DescribeProtectionGroup

describeProtectionGroup_protectionGroupId :: Lens' DescribeProtectionGroup Text Source #

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.

describeProtectionGroupResponse_protectionGroup :: Lens' DescribeProtectionGroupResponse 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.

DescribeSubscription

describeSubscriptionResponse_subscription :: Lens' DescribeSubscriptionResponse (Maybe Subscription) Source #

The Shield Advanced subscription details for an account.

DisableApplicationLayerAutomaticResponse

DisableProactiveEngagement

DisassociateDRTLogBucket

disassociateDRTLogBucket_logBucket :: Lens' DisassociateDRTLogBucket Text Source #

The Amazon S3 bucket that contains the logs that you want to share.

DisassociateDRTRole

DisassociateHealthCheck

disassociateHealthCheck_protectionId :: Lens' DisassociateHealthCheck Text Source #

The unique identifier (ID) for the Protection object to remove the health check association from.

disassociateHealthCheck_healthCheckArn :: Lens' DisassociateHealthCheck Text Source #

The Amazon Resource Name (ARN) of the health check that is associated with the protection.

EnableApplicationLayerAutomaticResponse

enableApplicationLayerAutomaticResponse_action :: Lens' EnableApplicationLayerAutomaticResponse ResponseAction Source #

Specifies the action setting that Shield Advanced should use in the WAF rules that it creates on behalf of the protected resource in response to DDoS attacks. You specify this as part of the configuration for the automatic application layer DDoS mitigation feature, when you enable or update automatic mitigation. Shield Advanced creates the WAF rules in a Shield Advanced-managed rule group, inside the web ACL that you have associated with the resource.

EnableProactiveEngagement

GetSubscriptionState

ListAttacks

listAttacks_endTime :: Lens' ListAttacks (Maybe TimeRange) Source #

The end of the time period for the attacks. This is a timestamp type. The request syntax listing for this call indicates a number type, but you can provide the time in any valid timestamp format setting.

listAttacks_maxResults :: Lens' ListAttacks (Maybe Natural) Source #

The greatest number of objects that you want Shield Advanced to return to the list request. Shield Advanced might return fewer objects than you indicate in this setting, even if more objects are available. If there are more objects remaining, Shield Advanced will always also return a NextToken value in the response.

The default setting is 20.

listAttacks_nextToken :: Lens' ListAttacks (Maybe Text) Source #

When you request a list of objects from Shield Advanced, if the response does not include all of the remaining available objects, Shield Advanced includes a NextToken value in the response. You can retrieve the next batch of objects by requesting the list again and providing the token that was returned by the prior call in your request.

You can indicate the maximum number of objects that you want Shield Advanced to return for a single call with the MaxResults setting. Shield Advanced will not return more than MaxResults objects, but may return fewer, even if more objects are still available.

Whenever more objects remain that Shield Advanced has not yet returned to you, the response will include a NextToken value.

On your first call to a list operation, leave this setting empty.

listAttacks_resourceArns :: Lens' ListAttacks (Maybe [Text]) Source #

The ARNs (Amazon Resource Names) of the resources that were attacked. If you leave this blank, all applicable resources for this account will be included.

listAttacks_startTime :: Lens' ListAttacks (Maybe TimeRange) Source #

The start of the time period for the attacks. This is a timestamp type. The request syntax listing for this call indicates a number type, but you can provide the time in any valid timestamp format setting.

listAttacksResponse_attackSummaries :: Lens' ListAttacksResponse (Maybe [AttackSummary]) Source #

The attack information for the specified time range.

listAttacksResponse_nextToken :: Lens' ListAttacksResponse (Maybe Text) Source #

When you request a list of objects from Shield Advanced, if the response does not include all of the remaining available objects, Shield Advanced includes a NextToken value in the response. You can retrieve the next batch of objects by requesting the list again and providing the token that was returned by the prior call in your request.

You can indicate the maximum number of objects that you want Shield Advanced to return for a single call with the MaxResults setting. Shield Advanced will not return more than MaxResults objects, but may return fewer, even if more objects are still available.

Whenever more objects remain that Shield Advanced has not yet returned to you, the response will include a NextToken value.

ListProtectionGroups

listProtectionGroups_inclusionFilters :: Lens' ListProtectionGroups (Maybe InclusionProtectionGroupFilters) Source #

Narrows the set of protection groups that the call retrieves. You can retrieve a single protection group by its name and you can retrieve all protection groups that are configured with specific pattern or aggregation settings. You can provide up to one criteria per filter type. Shield Advanced returns the protection groups that exactly match all of the search criteria that you provide.

listProtectionGroups_maxResults :: Lens' ListProtectionGroups (Maybe Natural) Source #

The greatest number of objects that you want Shield Advanced to return to the list request. Shield Advanced might return fewer objects than you indicate in this setting, even if more objects are available. If there are more objects remaining, Shield Advanced will always also return a NextToken value in the response.

The default setting is 20.

listProtectionGroups_nextToken :: Lens' ListProtectionGroups (Maybe Text) Source #

When you request a list of objects from Shield Advanced, if the response does not include all of the remaining available objects, Shield Advanced includes a NextToken value in the response. You can retrieve the next batch of objects by requesting the list again and providing the token that was returned by the prior call in your request.

You can indicate the maximum number of objects that you want Shield Advanced to return for a single call with the MaxResults setting. Shield Advanced will not return more than MaxResults objects, but may return fewer, even if more objects are still available.

Whenever more objects remain that Shield Advanced has not yet returned to you, the response will include a NextToken value.

On your first call to a list operation, leave this setting empty.

listProtectionGroupsResponse_nextToken :: Lens' ListProtectionGroupsResponse (Maybe Text) Source #

When you request a list of objects from Shield Advanced, if the response does not include all of the remaining available objects, Shield Advanced includes a NextToken value in the response. You can retrieve the next batch of objects by requesting the list again and providing the token that was returned by the prior call in your request.

You can indicate the maximum number of objects that you want Shield Advanced to return for a single call with the MaxResults setting. Shield Advanced will not return more than MaxResults objects, but may return fewer, even if more objects are still available.

Whenever more objects remain that Shield Advanced has not yet returned to you, the response will include a NextToken value.

ListProtections

listProtections_inclusionFilters :: Lens' ListProtections (Maybe InclusionProtectionFilters) Source #

Narrows the set of protections that the call retrieves. You can retrieve a single protection by providing its name or the ARN (Amazon Resource Name) of its protected resource. You can also retrieve all protections for a specific resource type. You can provide up to one criteria per filter type. Shield Advanced returns protections that exactly match all of the filter criteria that you provide.

listProtections_maxResults :: Lens' ListProtections (Maybe Natural) Source #

The greatest number of objects that you want Shield Advanced to return to the list request. Shield Advanced might return fewer objects than you indicate in this setting, even if more objects are available. If there are more objects remaining, Shield Advanced will always also return a NextToken value in the response.

The default setting is 20.

listProtections_nextToken :: Lens' ListProtections (Maybe Text) Source #

When you request a list of objects from Shield Advanced, if the response does not include all of the remaining available objects, Shield Advanced includes a NextToken value in the response. You can retrieve the next batch of objects by requesting the list again and providing the token that was returned by the prior call in your request.

You can indicate the maximum number of objects that you want Shield Advanced to return for a single call with the MaxResults setting. Shield Advanced will not return more than MaxResults objects, but may return fewer, even if more objects are still available.

Whenever more objects remain that Shield Advanced has not yet returned to you, the response will include a NextToken value.

On your first call to a list operation, leave this setting empty.

listProtectionsResponse_nextToken :: Lens' ListProtectionsResponse (Maybe Text) Source #

When you request a list of objects from Shield Advanced, if the response does not include all of the remaining available objects, Shield Advanced includes a NextToken value in the response. You can retrieve the next batch of objects by requesting the list again and providing the token that was returned by the prior call in your request.

You can indicate the maximum number of objects that you want Shield Advanced to return for a single call with the MaxResults setting. Shield Advanced will not return more than MaxResults objects, but may return fewer, even if more objects are still available.

Whenever more objects remain that Shield Advanced has not yet returned to you, the response will include a NextToken value.

ListResourcesInProtectionGroup

listResourcesInProtectionGroup_maxResults :: Lens' ListResourcesInProtectionGroup (Maybe Natural) Source #

The greatest number of objects that you want Shield Advanced to return to the list request. Shield Advanced might return fewer objects than you indicate in this setting, even if more objects are available. If there are more objects remaining, Shield Advanced will always also return a NextToken value in the response.

The default setting is 20.

listResourcesInProtectionGroup_nextToken :: Lens' ListResourcesInProtectionGroup (Maybe Text) Source #

When you request a list of objects from Shield Advanced, if the response does not include all of the remaining available objects, Shield Advanced includes a NextToken value in the response. You can retrieve the next batch of objects by requesting the list again and providing the token that was returned by the prior call in your request.

You can indicate the maximum number of objects that you want Shield Advanced to return for a single call with the MaxResults setting. Shield Advanced will not return more than MaxResults objects, but may return fewer, even if more objects are still available.

Whenever more objects remain that Shield Advanced has not yet returned to you, the response will include a NextToken value.

On your first call to a list operation, leave this setting empty.

listResourcesInProtectionGroup_protectionGroupId :: Lens' ListResourcesInProtectionGroup Text Source #

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.

listResourcesInProtectionGroupResponse_nextToken :: Lens' ListResourcesInProtectionGroupResponse (Maybe Text) Source #

When you request a list of objects from Shield Advanced, if the response does not include all of the remaining available objects, Shield Advanced includes a NextToken value in the response. You can retrieve the next batch of objects by requesting the list again and providing the token that was returned by the prior call in your request.

You can indicate the maximum number of objects that you want Shield Advanced to return for a single call with the MaxResults setting. Shield Advanced will not return more than MaxResults objects, but may return fewer, even if more objects are still available.

Whenever more objects remain that Shield Advanced has not yet returned to you, the response will include a NextToken value.

listResourcesInProtectionGroupResponse_resourceArns :: Lens' ListResourcesInProtectionGroupResponse [Text] Source #

The Amazon Resource Names (ARNs) of the resources that are included in the protection group.

ListTagsForResource

listTagsForResource_resourceARN :: Lens' ListTagsForResource Text Source #

The Amazon Resource Name (ARN) of the resource to get tags for.

listTagsForResourceResponse_tags :: Lens' ListTagsForResourceResponse (Maybe [Tag]) Source #

A list of tag key and value pairs associated with the specified resource.

TagResource

tagResource_resourceARN :: Lens' TagResource Text Source #

The Amazon Resource Name (ARN) of the resource that you want to add or update tags for.

tagResource_tags :: Lens' TagResource [Tag] Source #

The tags that you want to modify or add to the resource.

UntagResource

untagResource_resourceARN :: Lens' UntagResource Text Source #

The Amazon Resource Name (ARN) of the resource that you want to remove tags from.

untagResource_tagKeys :: Lens' UntagResource [Text] Source #

The tag key for each tag that you want to remove from the resource.

UpdateApplicationLayerAutomaticResponse

updateApplicationLayerAutomaticResponse_action :: Lens' UpdateApplicationLayerAutomaticResponse ResponseAction Source #

Specifies the action setting that Shield Advanced should use in the WAF rules that it creates on behalf of the protected resource in response to DDoS attacks. You specify this as part of the configuration for the automatic application layer DDoS mitigation feature, when you enable or update automatic mitigation. Shield Advanced creates the WAF rules in a Shield Advanced-managed rule group, inside the web ACL that you have associated with the resource.

UpdateEmergencyContactSettings

updateEmergencyContactSettings_emergencyContactList :: Lens' UpdateEmergencyContactSettings (Maybe [EmergencyContact]) Source #

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.

UpdateProtectionGroup

updateProtectionGroup_members :: Lens' UpdateProtectionGroup (Maybe [Text]) Source #

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.

updateProtectionGroup_resourceType :: Lens' UpdateProtectionGroup (Maybe ProtectedResourceType) Source #

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.

updateProtectionGroup_protectionGroupId :: Lens' UpdateProtectionGroup Text Source #

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.

updateProtectionGroup_aggregation :: Lens' UpdateProtectionGroup ProtectionGroupAggregation Source #

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.

updateProtectionGroup_pattern :: Lens' UpdateProtectionGroup ProtectionGroupPattern Source #

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.

UpdateSubscription

updateSubscription_autoRenew :: Lens' UpdateSubscription (Maybe AutoRenew) Source #

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.

Types

ApplicationLayerAutomaticResponseConfiguration

applicationLayerAutomaticResponseConfiguration_status :: Lens' ApplicationLayerAutomaticResponseConfiguration ApplicationLayerAutomaticResponseStatus Source #

Indicates whether automatic application layer DDoS mitigation is enabled for the protection.

applicationLayerAutomaticResponseConfiguration_action :: Lens' ApplicationLayerAutomaticResponseConfiguration ResponseAction Source #

Specifies the action setting that Shield Advanced should use in the WAF rules that it creates on behalf of the protected resource in response to DDoS attacks. You specify this as part of the configuration for the automatic application layer DDoS mitigation feature, when you enable or update automatic mitigation. Shield Advanced creates the WAF rules in a Shield Advanced-managed rule group, inside the web ACL that you have associated with the resource.

AttackDetail

attackDetail_attackCounters :: Lens' AttackDetail (Maybe [SummarizedCounter]) Source #

List of counters that describe the attack for the specified time period.

attackDetail_attackId :: Lens' AttackDetail (Maybe Text) Source #

The unique identifier (ID) of the attack.

attackDetail_attackProperties :: Lens' AttackDetail (Maybe [AttackProperty]) Source #

The array of objects that provide details of the Shield event.

For infrastructure layer events (L3 and L4 events), you can view metrics for top contributors in Amazon CloudWatch metrics. For more information, see Shield metrics and alarms in the WAF Developer Guide.

attackDetail_endTime :: Lens' AttackDetail (Maybe UTCTime) Source #

The time the attack ended, in Unix time in seconds.

attackDetail_mitigations :: Lens' AttackDetail (Maybe [Mitigation]) Source #

List of mitigation actions taken for the attack.

attackDetail_resourceArn :: Lens' AttackDetail (Maybe Text) Source #

The ARN (Amazon Resource Name) of the resource that was attacked.

attackDetail_startTime :: Lens' AttackDetail (Maybe UTCTime) Source #

The time the attack started, in Unix time in seconds.

attackDetail_subResources :: Lens' AttackDetail (Maybe [SubResourceSummary]) Source #

If applicable, additional detail about the resource being attacked, for example, IP address or URL.

AttackProperty

attackProperty_attackLayer :: Lens' AttackProperty (Maybe AttackLayer) Source #

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), you can view metrics for top contributors in Amazon CloudWatch metrics. For more information, see Shield metrics and alarms in the WAF Developer Guide.

attackProperty_attackPropertyIdentifier :: Lens' AttackProperty (Maybe AttackPropertyIdentifier) Source #

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.

attackProperty_topContributors :: Lens' AttackProperty (Maybe [Contributor]) Source #

Contributor objects for the top five contributors to a Shield event. A contributor is a source of traffic that Shield Advanced identifies as responsible for some or all of an event.

attackProperty_total :: Lens' AttackProperty (Maybe Integer) Source #

The total contributions made to this Shield event by all contributors.

attackProperty_unit :: Lens' AttackProperty (Maybe Unit) Source #

The unit used for the Contributor Value property.

AttackStatisticsDataItem

attackStatisticsDataItem_attackVolume :: Lens' AttackStatisticsDataItem (Maybe AttackVolume) Source #

Information about the volume of attacks during the time period. If the accompanying AttackCount is zero, this setting might be empty.

attackStatisticsDataItem_attackCount :: Lens' AttackStatisticsDataItem Integer Source #

The number of attacks detected during the time period. This is always present, but might be zero.

AttackSummary

attackSummary_attackId :: Lens' AttackSummary (Maybe Text) Source #

The unique identifier (ID) of the attack.

attackSummary_attackVectors :: Lens' AttackSummary (Maybe [AttackVectorDescription]) Source #

The list of attacks for a specified time period.

attackSummary_endTime :: Lens' AttackSummary (Maybe UTCTime) Source #

The end time of the attack, in Unix time in seconds.

attackSummary_resourceArn :: Lens' AttackSummary (Maybe Text) Source #

The ARN (Amazon Resource Name) of the resource that was attacked.

attackSummary_startTime :: Lens' AttackSummary (Maybe UTCTime) Source #

The start time of the attack, in Unix time in seconds.

AttackVectorDescription

attackVectorDescription_vectorType :: Lens' AttackVectorDescription Text Source #

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

attackVolume_bitsPerSecond :: Lens' AttackVolume (Maybe AttackVolumeStatistics) Source #

A statistics object that uses bits per second as the unit. This is included for network level attacks.

attackVolume_packetsPerSecond :: Lens' AttackVolume (Maybe AttackVolumeStatistics) Source #

A statistics object that uses packets per second as the unit. This is included for network level attacks.

attackVolume_requestsPerSecond :: Lens' AttackVolume (Maybe AttackVolumeStatistics) Source #

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.

AttackVolumeStatistics

attackVolumeStatistics_max :: Lens' AttackVolumeStatistics Double Source #

The maximum attack volume observed for the given unit.

BlockAction

Contributor

contributor_name :: Lens' Contributor (Maybe Text) Source #

The name of the contributor. The type of name that you'll find here depends on the AttackPropertyIdentifier setting in the AttackProperty where this contributor is defined. For example, if the AttackPropertyIdentifier is SOURCE_COUNTRY, the Name could be United States.

contributor_value :: Lens' Contributor (Maybe Integer) Source #

The contribution of this contributor expressed in Protection units. For example 10,000.

CountAction

EmergencyContact

emergencyContact_contactNotes :: Lens' EmergencyContact (Maybe Text) Source #

Additional notes regarding the contact.

emergencyContact_phoneNumber :: Lens' EmergencyContact (Maybe Text) Source #

The phone number for the contact.

emergencyContact_emailAddress :: Lens' EmergencyContact Text Source #

The email address for the contact.

InclusionProtectionFilters

inclusionProtectionFilters_protectionNames :: Lens' InclusionProtectionFilters (Maybe (NonEmpty Text)) Source #

The name of the protection that you want to retrieve.

inclusionProtectionFilters_resourceArns :: Lens' InclusionProtectionFilters (Maybe (NonEmpty Text)) Source #

The ARN (Amazon Resource Name) of the resource whose protection you want to retrieve.

inclusionProtectionFilters_resourceTypes :: Lens' InclusionProtectionFilters (Maybe (NonEmpty ProtectedResourceType)) Source #

The type of protected resource whose protections you want to retrieve.

InclusionProtectionGroupFilters

inclusionProtectionGroupFilters_aggregations :: Lens' InclusionProtectionGroupFilters (Maybe (NonEmpty ProtectionGroupAggregation)) Source #

The aggregation setting of the protection groups that you want to retrieve.

inclusionProtectionGroupFilters_patterns :: Lens' InclusionProtectionGroupFilters (Maybe (NonEmpty ProtectionGroupPattern)) Source #

The pattern specification of the protection groups that you want to retrieve.

inclusionProtectionGroupFilters_resourceTypes :: Lens' InclusionProtectionGroupFilters (Maybe (NonEmpty ProtectedResourceType)) Source #

The resource type configuration of the protection groups that you want to retrieve. In the protection group configuration, you specify the resource type when you set the group's Pattern to BY_RESOURCE_TYPE.

Limit

limit_max :: Lens' Limit (Maybe Integer) Source #

The maximum number of protections that can be created for the specified Type.

limit_type :: Lens' Limit (Maybe Text) Source #

The type of protection.

Mitigation

mitigation_mitigationName :: Lens' Mitigation (Maybe Text) Source #

The name of the mitigation taken for this attack.

Protection

protection_applicationLayerAutomaticResponseConfiguration :: Lens' Protection (Maybe ApplicationLayerAutomaticResponseConfiguration) Source #

The automatic application layer DDoS mitigation settings for the protection. This configuration determines whether Shield Advanced automatically manages rules in the web ACL in order to respond to application layer events that Shield Advanced determines to be DDoS attacks.

protection_healthCheckIds :: Lens' Protection (Maybe [Text]) Source #

The unique identifier (ID) for the Route 53 health check that's associated with the protection.

protection_id :: Lens' Protection (Maybe Text) Source #

The unique identifier (ID) of the protection.

protection_name :: Lens' Protection (Maybe Text) Source #

The name of the protection. For example, My CloudFront distributions.

protection_protectionArn :: Lens' Protection (Maybe Text) Source #

The ARN (Amazon Resource Name) of the protection.

protection_resourceArn :: Lens' Protection (Maybe Text) Source #

The ARN (Amazon Resource Name) of the Amazon Web Services resource that is protected.

ProtectionGroup

protectionGroup_protectionGroupArn :: Lens' ProtectionGroup (Maybe Text) Source #

The ARN (Amazon Resource Name) of the protection group.

protectionGroup_resourceType :: Lens' ProtectionGroup (Maybe ProtectedResourceType) Source #

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.

protectionGroup_protectionGroupId :: Lens' ProtectionGroup Text Source #

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.

protectionGroup_aggregation :: Lens' ProtectionGroup ProtectionGroupAggregation Source #

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.

protectionGroup_pattern :: Lens' ProtectionGroup ProtectionGroupPattern Source #

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 ARNs (Amazon Resource Names), or include all resources of a specified resource type.

protectionGroup_members :: Lens' ProtectionGroup [Text] Source #

The ARNs (Amazon Resource Names) 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

protectionGroupArbitraryPatternLimits_maxMembers :: Lens' ProtectionGroupArbitraryPatternLimits Integer Source #

The maximum number of resources you can specify for a single arbitrary pattern in a protection group.

ProtectionGroupLimits

protectionGroupLimits_maxProtectionGroups :: Lens' ProtectionGroupLimits Integer Source #

The maximum number of protection groups that you can have at one time.

protectionGroupLimits_patternTypeLimits :: Lens' ProtectionGroupLimits ProtectionGroupPatternTypeLimits Source #

Limits settings by pattern type in the protection groups for your subscription.

ProtectionGroupPatternTypeLimits

ProtectionLimits

protectionLimits_protectedResourceTypeLimits :: Lens' ProtectionLimits [Limit] Source #

The maximum number of resource types that you can specify in a protection.

ResponseAction

responseAction_block :: Lens' ResponseAction (Maybe BlockAction) Source #

Specifies that Shield Advanced should configure its WAF rules with the WAF Block action.

You must specify exactly one action, either Block or Count.

responseAction_count :: Lens' ResponseAction (Maybe CountAction) Source #

Specifies that Shield Advanced should configure its WAF rules with the WAF Count action.

You must specify exactly one action, either Block or Count.

SubResourceSummary

subResourceSummary_attackVectors :: Lens' SubResourceSummary (Maybe [SummarizedAttackVector]) Source #

The list of attack types and associated counters.

subResourceSummary_counters :: Lens' SubResourceSummary (Maybe [SummarizedCounter]) Source #

The counters that describe the details of the attack.

subResourceSummary_id :: Lens' SubResourceSummary (Maybe Text) Source #

The unique identifier (ID) of the SubResource.

Subscription

subscription_autoRenew :: Lens' Subscription (Maybe AutoRenew) Source #

If ENABLED, the subscription will be automatically renewed at the end of the existing subscription period.

When you initally create a subscription, AutoRenew is set to ENABLED. You can change this by submitting an UpdateSubscription request. If the UpdateSubscription request does not included a value for AutoRenew, the existing value for AutoRenew remains unchanged.

subscription_endTime :: Lens' Subscription (Maybe UTCTime) Source #

The date and time your subscription will end.

subscription_limits :: Lens' Subscription (Maybe [Limit]) Source #

Specifies how many protections of a given type you can create.

subscription_proactiveEngagementStatus :: Lens' Subscription (Maybe ProactiveEngagementStatus) Source #

If ENABLED, the Shield Response Team (SRT) will use email and phone to notify contacts about escalations to the SRT and to initiate proactive customer support.

If PENDING, you have requested proactive engagement and the request is pending. The status changes to ENABLED when your request is fully processed.

If DISABLED, the SRT will not proactively notify contacts about escalations or to initiate proactive customer support.

subscription_startTime :: Lens' Subscription (Maybe UTCTime) Source #

The start time of the subscription, in Unix time in seconds.

subscription_subscriptionArn :: Lens' Subscription (Maybe Text) Source #

The ARN (Amazon Resource Name) of the subscription.

subscription_timeCommitmentInSeconds :: Lens' Subscription (Maybe Natural) Source #

The length, in seconds, of the Shield Advanced subscription for the account.

SubscriptionLimits

subscriptionLimits_protectionLimits :: Lens' SubscriptionLimits ProtectionLimits Source #

Limits settings on protections for your subscription.

subscriptionLimits_protectionGroupLimits :: Lens' SubscriptionLimits ProtectionGroupLimits Source #

Limits settings on protection groups for your subscription.

SummarizedAttackVector

summarizedAttackVector_vectorCounters :: Lens' SummarizedAttackVector (Maybe [SummarizedCounter]) Source #

The list of counters that describe the details of the attack.

summarizedAttackVector_vectorType :: Lens' SummarizedAttackVector Text Source #

The attack type, for example, SNMP reflection or SYN flood.

SummarizedCounter

summarizedCounter_average :: Lens' SummarizedCounter (Maybe Double) Source #

The average value of the counter for a specified time period.

summarizedCounter_max :: Lens' SummarizedCounter (Maybe Double) Source #

The maximum value of the counter for a specified time period.

summarizedCounter_n :: Lens' SummarizedCounter (Maybe Int) Source #

The number of counters for a specified time period.

summarizedCounter_sum :: Lens' SummarizedCounter (Maybe Double) Source #

The total of counter values for a specified time period.

Tag

tag_key :: Lens' Tag (Maybe Text) Source #

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.

tag_value :: Lens' Tag (Maybe Text) Source #

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.

TimeRange

timeRange_fromInclusive :: Lens' TimeRange (Maybe UTCTime) Source #

The start time, in Unix time in seconds.

timeRange_toExclusive :: Lens' TimeRange (Maybe UTCTime) Source #

The end time, in Unix time in seconds.