amazonka-fms-1.6.1: Amazon Firewall Management Service SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.FMS

Contents

Description

AWS Firewall Manager

This is the AWS Firewall Manager API Reference . This guide is for developers who need detailed information about the AWS Firewall Manager API actions, data types, and errors. For detailed information about AWS Firewall Manager features, see the AWS Firewall Manager Developer Guide .

Synopsis

Service Configuration

fms :: Service Source #

API version 2018-01-01 of the Amazon Firewall Management Service 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 FMS.

InternalErrorException

_InternalErrorException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The operation failed because of a system problem, even though the request was valid. Retry your request.

InvalidInputException

_InvalidInputException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The parameters of the request were invalid.

InvalidOperationException

_InvalidOperationException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The operation failed because there was nothing to do. For example, you might have submitted an AssociateAdminAccount request, but the account ID that you submitted was already set as the AWS Firewall Manager administrator.

ResourceNotFoundException

_ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The specified resource was not found.

LimitExceededException

_LimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The operation exceeds a resource limit, for example, the maximum number of policy objects that you can create for an AWS account. For more information, see Firewall Manager Limits in the AWS WAF Developer Guide .

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.

ListPolicies

GetComplianceDetail

GetNotificationChannel

GetAdminAccount

ListComplianceStatus

PutPolicy

DeletePolicy

DisassociateAdminAccount

PutNotificationChannel

DeleteNotificationChannel

AssociateAdminAccount

GetPolicy

Types

PolicyComplianceStatusType

data PolicyComplianceStatusType Source #

Constructors

Compliant 
NonCompliant 
Instances
Bounded PolicyComplianceStatusType Source # 
Instance details

Defined in Network.AWS.FMS.Types.Sum

Enum PolicyComplianceStatusType Source # 
Instance details

Defined in Network.AWS.FMS.Types.Sum

Eq PolicyComplianceStatusType Source # 
Instance details

Defined in Network.AWS.FMS.Types.Sum

Data PolicyComplianceStatusType Source # 
Instance details

Defined in Network.AWS.FMS.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PolicyComplianceStatusType -> c PolicyComplianceStatusType #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PolicyComplianceStatusType #

toConstr :: PolicyComplianceStatusType -> Constr #

dataTypeOf :: PolicyComplianceStatusType -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c PolicyComplianceStatusType) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PolicyComplianceStatusType) #

gmapT :: (forall b. Data b => b -> b) -> PolicyComplianceStatusType -> PolicyComplianceStatusType #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PolicyComplianceStatusType -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PolicyComplianceStatusType -> r #

gmapQ :: (forall d. Data d => d -> u) -> PolicyComplianceStatusType -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> PolicyComplianceStatusType -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> PolicyComplianceStatusType -> m PolicyComplianceStatusType #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PolicyComplianceStatusType -> m PolicyComplianceStatusType #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PolicyComplianceStatusType -> m PolicyComplianceStatusType #

Ord PolicyComplianceStatusType Source # 
Instance details

Defined in Network.AWS.FMS.Types.Sum

Read PolicyComplianceStatusType Source # 
Instance details

Defined in Network.AWS.FMS.Types.Sum

Show PolicyComplianceStatusType Source # 
Instance details

Defined in Network.AWS.FMS.Types.Sum

Generic PolicyComplianceStatusType Source # 
Instance details

Defined in Network.AWS.FMS.Types.Sum

Associated Types

type Rep PolicyComplianceStatusType :: Type -> Type #

Hashable PolicyComplianceStatusType Source # 
Instance details

Defined in Network.AWS.FMS.Types.Sum

FromJSON PolicyComplianceStatusType Source # 
Instance details

Defined in Network.AWS.FMS.Types.Sum

ToHeader PolicyComplianceStatusType Source # 
Instance details

Defined in Network.AWS.FMS.Types.Sum

ToQuery PolicyComplianceStatusType Source # 
Instance details

Defined in Network.AWS.FMS.Types.Sum

ToByteString PolicyComplianceStatusType Source # 
Instance details

Defined in Network.AWS.FMS.Types.Sum

FromText PolicyComplianceStatusType Source # 
Instance details

Defined in Network.AWS.FMS.Types.Sum

ToText PolicyComplianceStatusType Source # 
Instance details

Defined in Network.AWS.FMS.Types.Sum

NFData PolicyComplianceStatusType Source # 
Instance details

Defined in Network.AWS.FMS.Types.Sum

type Rep PolicyComplianceStatusType Source # 
Instance details

Defined in Network.AWS.FMS.Types.Sum

type Rep PolicyComplianceStatusType = D1 (MetaData "PolicyComplianceStatusType" "Network.AWS.FMS.Types.Sum" "amazonka-fms-1.6.1-Jqf0mlmXXTcC8Iu5gYWu1a" False) (C1 (MetaCons "Compliant" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "NonCompliant" PrefixI False) (U1 :: Type -> Type))

SecurityServiceType

data SecurityServiceType Source #

Constructors

Waf 
Instances
Bounded SecurityServiceType Source # 
Instance details

Defined in Network.AWS.FMS.Types.Sum

Enum SecurityServiceType Source # 
Instance details

Defined in Network.AWS.FMS.Types.Sum

Eq SecurityServiceType Source # 
Instance details

Defined in Network.AWS.FMS.Types.Sum

Data SecurityServiceType Source # 
Instance details

Defined in Network.AWS.FMS.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SecurityServiceType -> c SecurityServiceType #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SecurityServiceType #

toConstr :: SecurityServiceType -> Constr #

dataTypeOf :: SecurityServiceType -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c SecurityServiceType) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SecurityServiceType) #

gmapT :: (forall b. Data b => b -> b) -> SecurityServiceType -> SecurityServiceType #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SecurityServiceType -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SecurityServiceType -> r #

gmapQ :: (forall d. Data d => d -> u) -> SecurityServiceType -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> SecurityServiceType -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> SecurityServiceType -> m SecurityServiceType #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SecurityServiceType -> m SecurityServiceType #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SecurityServiceType -> m SecurityServiceType #

Ord SecurityServiceType Source # 
Instance details

Defined in Network.AWS.FMS.Types.Sum

Read SecurityServiceType Source # 
Instance details

Defined in Network.AWS.FMS.Types.Sum

Show SecurityServiceType Source # 
Instance details

Defined in Network.AWS.FMS.Types.Sum

Generic SecurityServiceType Source # 
Instance details

Defined in Network.AWS.FMS.Types.Sum

Associated Types

type Rep SecurityServiceType :: Type -> Type #

Hashable SecurityServiceType Source # 
Instance details

Defined in Network.AWS.FMS.Types.Sum

ToJSON SecurityServiceType Source # 
Instance details

Defined in Network.AWS.FMS.Types.Sum

FromJSON SecurityServiceType Source # 
Instance details

Defined in Network.AWS.FMS.Types.Sum

ToHeader SecurityServiceType Source # 
Instance details

Defined in Network.AWS.FMS.Types.Sum

ToQuery SecurityServiceType Source # 
Instance details

Defined in Network.AWS.FMS.Types.Sum

ToByteString SecurityServiceType Source # 
Instance details

Defined in Network.AWS.FMS.Types.Sum

FromText SecurityServiceType Source # 
Instance details

Defined in Network.AWS.FMS.Types.Sum

ToText SecurityServiceType Source # 
Instance details

Defined in Network.AWS.FMS.Types.Sum

NFData SecurityServiceType Source # 
Instance details

Defined in Network.AWS.FMS.Types.Sum

Methods

rnf :: SecurityServiceType -> () #

type Rep SecurityServiceType Source # 
Instance details

Defined in Network.AWS.FMS.Types.Sum

type Rep SecurityServiceType = D1 (MetaData "SecurityServiceType" "Network.AWS.FMS.Types.Sum" "amazonka-fms-1.6.1-Jqf0mlmXXTcC8Iu5gYWu1a" False) (C1 (MetaCons "Waf" PrefixI False) (U1 :: Type -> Type))

ViolationReason

data ViolationReason Source #

Instances
Bounded ViolationReason Source # 
Instance details

Defined in Network.AWS.FMS.Types.Sum

Enum ViolationReason Source # 
Instance details

Defined in Network.AWS.FMS.Types.Sum

Eq ViolationReason Source # 
Instance details

Defined in Network.AWS.FMS.Types.Sum

Data ViolationReason Source # 
Instance details

Defined in Network.AWS.FMS.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ViolationReason -> c ViolationReason #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ViolationReason #

toConstr :: ViolationReason -> Constr #

dataTypeOf :: ViolationReason -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ViolationReason) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ViolationReason) #

gmapT :: (forall b. Data b => b -> b) -> ViolationReason -> ViolationReason #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ViolationReason -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ViolationReason -> r #

gmapQ :: (forall d. Data d => d -> u) -> ViolationReason -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ViolationReason -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ViolationReason -> m ViolationReason #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ViolationReason -> m ViolationReason #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ViolationReason -> m ViolationReason #

Ord ViolationReason Source # 
Instance details

Defined in Network.AWS.FMS.Types.Sum

Read ViolationReason Source # 
Instance details

Defined in Network.AWS.FMS.Types.Sum

Show ViolationReason Source # 
Instance details

Defined in Network.AWS.FMS.Types.Sum

Generic ViolationReason Source # 
Instance details

Defined in Network.AWS.FMS.Types.Sum

Associated Types

type Rep ViolationReason :: Type -> Type #

Hashable ViolationReason Source # 
Instance details

Defined in Network.AWS.FMS.Types.Sum

FromJSON ViolationReason Source # 
Instance details

Defined in Network.AWS.FMS.Types.Sum

ToHeader ViolationReason Source # 
Instance details

Defined in Network.AWS.FMS.Types.Sum

ToQuery ViolationReason Source # 
Instance details

Defined in Network.AWS.FMS.Types.Sum

ToByteString ViolationReason Source # 
Instance details

Defined in Network.AWS.FMS.Types.Sum

FromText ViolationReason Source # 
Instance details

Defined in Network.AWS.FMS.Types.Sum

ToText ViolationReason Source # 
Instance details

Defined in Network.AWS.FMS.Types.Sum

NFData ViolationReason Source # 
Instance details

Defined in Network.AWS.FMS.Types.Sum

Methods

rnf :: ViolationReason -> () #

type Rep ViolationReason Source # 
Instance details

Defined in Network.AWS.FMS.Types.Sum

type Rep ViolationReason = D1 (MetaData "ViolationReason" "Network.AWS.FMS.Types.Sum" "amazonka-fms-1.6.1-Jqf0mlmXXTcC8Iu5gYWu1a" False) (C1 (MetaCons "ResourceIncorrectWebACL" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "ResourceMissingWebACL" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "WebACLMissingRuleGroup" PrefixI False) (U1 :: Type -> Type)))

ComplianceViolator

data ComplianceViolator Source #

Details of the resource that is not protected by the policy.

See: complianceViolator smart constructor.

Instances
Eq ComplianceViolator Source # 
Instance details

Defined in Network.AWS.FMS.Types.Product

Data ComplianceViolator Source # 
Instance details

Defined in Network.AWS.FMS.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ComplianceViolator -> c ComplianceViolator #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ComplianceViolator #

toConstr :: ComplianceViolator -> Constr #

dataTypeOf :: ComplianceViolator -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ComplianceViolator) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ComplianceViolator) #

gmapT :: (forall b. Data b => b -> b) -> ComplianceViolator -> ComplianceViolator #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ComplianceViolator -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ComplianceViolator -> r #

gmapQ :: (forall d. Data d => d -> u) -> ComplianceViolator -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ComplianceViolator -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ComplianceViolator -> m ComplianceViolator #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ComplianceViolator -> m ComplianceViolator #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ComplianceViolator -> m ComplianceViolator #

Read ComplianceViolator Source # 
Instance details

Defined in Network.AWS.FMS.Types.Product

Show ComplianceViolator Source # 
Instance details

Defined in Network.AWS.FMS.Types.Product

Generic ComplianceViolator Source # 
Instance details

Defined in Network.AWS.FMS.Types.Product

Associated Types

type Rep ComplianceViolator :: Type -> Type #

Hashable ComplianceViolator Source # 
Instance details

Defined in Network.AWS.FMS.Types.Product

FromJSON ComplianceViolator Source # 
Instance details

Defined in Network.AWS.FMS.Types.Product

NFData ComplianceViolator Source # 
Instance details

Defined in Network.AWS.FMS.Types.Product

Methods

rnf :: ComplianceViolator -> () #

type Rep ComplianceViolator Source # 
Instance details

Defined in Network.AWS.FMS.Types.Product

type Rep ComplianceViolator = D1 (MetaData "ComplianceViolator" "Network.AWS.FMS.Types.Product" "amazonka-fms-1.6.1-Jqf0mlmXXTcC8Iu5gYWu1a" False) (C1 (MetaCons "ComplianceViolator'" PrefixI True) (S1 (MetaSel (Just "_cvResourceId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_cvResourceType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_cvViolationReason") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ViolationReason)))))

complianceViolator :: ComplianceViolator Source #

Creates a value of ComplianceViolator with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

cvResourceType :: Lens' ComplianceViolator (Maybe Text) Source #

The resource type. This is in the format shown in AWS Resource Types Reference . Valid values are AWS::ElasticLoadBalancingV2::LoadBalancer or AWS::CloudFront::Distribution .

cvViolationReason :: Lens' ComplianceViolator (Maybe ViolationReason) Source #

The reason that the resource is not protected by the policy.

EvaluationResult

data EvaluationResult Source #

Describes the compliance status for the account. An account is considered non-compliant if it includes resources that are not protected by the specified policy.

See: evaluationResult smart constructor.

Instances
Eq EvaluationResult Source # 
Instance details

Defined in Network.AWS.FMS.Types.Product

Data EvaluationResult Source # 
Instance details

Defined in Network.AWS.FMS.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> EvaluationResult -> c EvaluationResult #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c EvaluationResult #

toConstr :: EvaluationResult -> Constr #

dataTypeOf :: EvaluationResult -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c EvaluationResult) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c EvaluationResult) #

gmapT :: (forall b. Data b => b -> b) -> EvaluationResult -> EvaluationResult #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> EvaluationResult -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> EvaluationResult -> r #

gmapQ :: (forall d. Data d => d -> u) -> EvaluationResult -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> EvaluationResult -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> EvaluationResult -> m EvaluationResult #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> EvaluationResult -> m EvaluationResult #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> EvaluationResult -> m EvaluationResult #

Read EvaluationResult Source # 
Instance details

Defined in Network.AWS.FMS.Types.Product

Show EvaluationResult Source # 
Instance details

Defined in Network.AWS.FMS.Types.Product

Generic EvaluationResult Source # 
Instance details

Defined in Network.AWS.FMS.Types.Product

Associated Types

type Rep EvaluationResult :: Type -> Type #

Hashable EvaluationResult Source # 
Instance details

Defined in Network.AWS.FMS.Types.Product

FromJSON EvaluationResult Source # 
Instance details

Defined in Network.AWS.FMS.Types.Product

NFData EvaluationResult Source # 
Instance details

Defined in Network.AWS.FMS.Types.Product

Methods

rnf :: EvaluationResult -> () #

type Rep EvaluationResult Source # 
Instance details

Defined in Network.AWS.FMS.Types.Product

type Rep EvaluationResult = D1 (MetaData "EvaluationResult" "Network.AWS.FMS.Types.Product" "amazonka-fms-1.6.1-Jqf0mlmXXTcC8Iu5gYWu1a" False) (C1 (MetaCons "EvaluationResult'" PrefixI True) (S1 (MetaSel (Just "_erViolatorCount") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat)) :*: (S1 (MetaSel (Just "_erComplianceStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe PolicyComplianceStatusType)) :*: S1 (MetaSel (Just "_erEvaluationLimitExceeded") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)))))

evaluationResult :: EvaluationResult Source #

Creates a value of EvaluationResult with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • erViolatorCount - Number of resources that are non-compliant with the specified policy. A resource is considered non-compliant if it is not associated with the specified policy.
  • erComplianceStatus - Describes an AWS account's compliance with the AWS Firewall Manager policy.
  • erEvaluationLimitExceeded - Indicates that over 100 resources are non-compliant with the AWS Firewall Manager policy.

erViolatorCount :: Lens' EvaluationResult (Maybe Natural) Source #

Number of resources that are non-compliant with the specified policy. A resource is considered non-compliant if it is not associated with the specified policy.

erComplianceStatus :: Lens' EvaluationResult (Maybe PolicyComplianceStatusType) Source #

Describes an AWS account's compliance with the AWS Firewall Manager policy.

erEvaluationLimitExceeded :: Lens' EvaluationResult (Maybe Bool) Source #

Indicates that over 100 resources are non-compliant with the AWS Firewall Manager policy.

Policy

data Policy Source #

An AWS Firewall Manager policy.

See: policy smart constructor.

Instances
Eq Policy Source # 
Instance details

Defined in Network.AWS.FMS.Types.Product

Methods

(==) :: Policy -> Policy -> Bool #

(/=) :: Policy -> Policy -> Bool #

Data Policy Source # 
Instance details

Defined in Network.AWS.FMS.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Policy -> c Policy #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Policy #

toConstr :: Policy -> Constr #

dataTypeOf :: Policy -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Policy) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Policy) #

gmapT :: (forall b. Data b => b -> b) -> Policy -> Policy #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Policy -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Policy -> r #

gmapQ :: (forall d. Data d => d -> u) -> Policy -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Policy -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Policy -> m Policy #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Policy -> m Policy #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Policy -> m Policy #

Read Policy Source # 
Instance details

Defined in Network.AWS.FMS.Types.Product

Show Policy Source # 
Instance details

Defined in Network.AWS.FMS.Types.Product

Generic Policy Source # 
Instance details

Defined in Network.AWS.FMS.Types.Product

Associated Types

type Rep Policy :: Type -> Type #

Methods

from :: Policy -> Rep Policy x #

to :: Rep Policy x -> Policy #

Hashable Policy Source # 
Instance details

Defined in Network.AWS.FMS.Types.Product

Methods

hashWithSalt :: Int -> Policy -> Int #

hash :: Policy -> Int #

ToJSON Policy Source # 
Instance details

Defined in Network.AWS.FMS.Types.Product

FromJSON Policy Source # 
Instance details

Defined in Network.AWS.FMS.Types.Product

NFData Policy Source # 
Instance details

Defined in Network.AWS.FMS.Types.Product

Methods

rnf :: Policy -> () #

type Rep Policy Source # 
Instance details

Defined in Network.AWS.FMS.Types.Product

policy Source #

Creates a value of Policy with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • pPolicyId - The ID of the AWS Firewall Manager policy.
  • pResourceTags - An array of ResourceTag objects.
  • pPolicyUpdateToken - A unique identifier for each update to the policy. When issuing a PutPolicy request, the PolicyUpdateToken in the request must match the PolicyUpdateToken of the current policy version. To get the PolicyUpdateToken of the current policy version, use a GetPolicy request.
  • pPolicyName - The friendly name of the AWS Firewall Manager policy.
  • pSecurityServicePolicyData - Details about the security service that is being used to protect the resources.
  • pResourceType - The type of resource to protect with the policy, either an Application Load Balancer or a CloudFront distribution. This is in the format shown in AWS Resource Types Reference . Valid values are AWS::ElasticLoadBalancingV2::LoadBalancer or AWS::CloudFront::Distribution .
  • pExcludeResourceTags - If set to True , resources with the tags that are specified in the ResourceTag array are not protected by the policy. If set to False , and the ResourceTag array is not null, only resources with the specified tags are associated with the policy.
  • pRemediationEnabled - Indicates if the policy should be automatically applied to new resources.

pPolicyId :: Lens' Policy (Maybe Text) Source #

The ID of the AWS Firewall Manager policy.

pResourceTags :: Lens' Policy [ResourceTag] Source #

An array of ResourceTag objects.

pPolicyUpdateToken :: Lens' Policy (Maybe Text) Source #

A unique identifier for each update to the policy. When issuing a PutPolicy request, the PolicyUpdateToken in the request must match the PolicyUpdateToken of the current policy version. To get the PolicyUpdateToken of the current policy version, use a GetPolicy request.

pPolicyName :: Lens' Policy Text Source #

The friendly name of the AWS Firewall Manager policy.

pSecurityServicePolicyData :: Lens' Policy SecurityServicePolicyData Source #

Details about the security service that is being used to protect the resources.

pResourceType :: Lens' Policy Text Source #

The type of resource to protect with the policy, either an Application Load Balancer or a CloudFront distribution. This is in the format shown in AWS Resource Types Reference . Valid values are AWS::ElasticLoadBalancingV2::LoadBalancer or AWS::CloudFront::Distribution .

pExcludeResourceTags :: Lens' Policy Bool Source #

If set to True , resources with the tags that are specified in the ResourceTag array are not protected by the policy. If set to False , and the ResourceTag array is not null, only resources with the specified tags are associated with the policy.

pRemediationEnabled :: Lens' Policy Bool Source #

Indicates if the policy should be automatically applied to new resources.

PolicyComplianceDetail

data PolicyComplianceDetail Source #

Describes the non-compliant resources in a member account for a specific AWS Firewall Manager policy. A maximum of 100 entries are displayed. If more than 100 resources are non-compliant, EvaluationLimitExceeded is set to True .

See: policyComplianceDetail smart constructor.

Instances
Eq PolicyComplianceDetail Source # 
Instance details

Defined in Network.AWS.FMS.Types.Product

Data PolicyComplianceDetail Source # 
Instance details

Defined in Network.AWS.FMS.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PolicyComplianceDetail -> c PolicyComplianceDetail #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PolicyComplianceDetail #

toConstr :: PolicyComplianceDetail -> Constr #

dataTypeOf :: PolicyComplianceDetail -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c PolicyComplianceDetail) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PolicyComplianceDetail) #

gmapT :: (forall b. Data b => b -> b) -> PolicyComplianceDetail -> PolicyComplianceDetail #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PolicyComplianceDetail -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PolicyComplianceDetail -> r #

gmapQ :: (forall d. Data d => d -> u) -> PolicyComplianceDetail -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> PolicyComplianceDetail -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> PolicyComplianceDetail -> m PolicyComplianceDetail #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PolicyComplianceDetail -> m PolicyComplianceDetail #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PolicyComplianceDetail -> m PolicyComplianceDetail #

Read PolicyComplianceDetail Source # 
Instance details

Defined in Network.AWS.FMS.Types.Product

Show PolicyComplianceDetail Source # 
Instance details

Defined in Network.AWS.FMS.Types.Product

Generic PolicyComplianceDetail Source # 
Instance details

Defined in Network.AWS.FMS.Types.Product

Associated Types

type Rep PolicyComplianceDetail :: Type -> Type #

Hashable PolicyComplianceDetail Source # 
Instance details

Defined in Network.AWS.FMS.Types.Product

FromJSON PolicyComplianceDetail Source # 
Instance details

Defined in Network.AWS.FMS.Types.Product

NFData PolicyComplianceDetail Source # 
Instance details

Defined in Network.AWS.FMS.Types.Product

Methods

rnf :: PolicyComplianceDetail -> () #

type Rep PolicyComplianceDetail Source # 
Instance details

Defined in Network.AWS.FMS.Types.Product

type Rep PolicyComplianceDetail = D1 (MetaData "PolicyComplianceDetail" "Network.AWS.FMS.Types.Product" "amazonka-fms-1.6.1-Jqf0mlmXXTcC8Iu5gYWu1a" False) (C1 (MetaCons "PolicyComplianceDetail'" PrefixI True) ((S1 (MetaSel (Just "_pcdExpiredAt") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 (MetaSel (Just "_pcdPolicyId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pcdViolators") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ComplianceViolator])))) :*: (S1 (MetaSel (Just "_pcdEvaluationLimitExceeded") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 (MetaSel (Just "_pcdPolicyOwner") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pcdMemberAccount") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

policyComplianceDetail :: PolicyComplianceDetail Source #

Creates a value of PolicyComplianceDetail with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • pcdExpiredAt - A time stamp that indicates when the returned information should be considered out-of-date.
  • pcdPolicyId - The ID of the AWS Firewall Manager policy.
  • pcdViolators - An array of resources that are not protected by the policy.
  • pcdEvaluationLimitExceeded - Indicates if over 100 resources are non-compliant with the AWS Firewall Manager policy.
  • pcdPolicyOwner - The AWS account that created the AWS Firewall Manager policy.
  • pcdMemberAccount - The AWS account ID.

pcdExpiredAt :: Lens' PolicyComplianceDetail (Maybe UTCTime) Source #

A time stamp that indicates when the returned information should be considered out-of-date.

pcdPolicyId :: Lens' PolicyComplianceDetail (Maybe Text) Source #

The ID of the AWS Firewall Manager policy.

pcdViolators :: Lens' PolicyComplianceDetail [ComplianceViolator] Source #

An array of resources that are not protected by the policy.

pcdEvaluationLimitExceeded :: Lens' PolicyComplianceDetail (Maybe Bool) Source #

Indicates if over 100 resources are non-compliant with the AWS Firewall Manager policy.

pcdPolicyOwner :: Lens' PolicyComplianceDetail (Maybe Text) Source #

The AWS account that created the AWS Firewall Manager policy.

PolicyComplianceStatus

data PolicyComplianceStatus Source #

Indicates whether the account is compliant with the specified policy. An account is considered non-compliant if it includes resources that are not protected by the policy.

See: policyComplianceStatus smart constructor.

Instances
Eq PolicyComplianceStatus Source # 
Instance details

Defined in Network.AWS.FMS.Types.Product

Data PolicyComplianceStatus Source # 
Instance details

Defined in Network.AWS.FMS.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PolicyComplianceStatus -> c PolicyComplianceStatus #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PolicyComplianceStatus #

toConstr :: PolicyComplianceStatus -> Constr #

dataTypeOf :: PolicyComplianceStatus -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c PolicyComplianceStatus) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PolicyComplianceStatus) #

gmapT :: (forall b. Data b => b -> b) -> PolicyComplianceStatus -> PolicyComplianceStatus #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PolicyComplianceStatus -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PolicyComplianceStatus -> r #

gmapQ :: (forall d. Data d => d -> u) -> PolicyComplianceStatus -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> PolicyComplianceStatus -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> PolicyComplianceStatus -> m PolicyComplianceStatus #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PolicyComplianceStatus -> m PolicyComplianceStatus #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PolicyComplianceStatus -> m PolicyComplianceStatus #

Read PolicyComplianceStatus Source # 
Instance details

Defined in Network.AWS.FMS.Types.Product

Show PolicyComplianceStatus Source # 
Instance details

Defined in Network.AWS.FMS.Types.Product

Generic PolicyComplianceStatus Source # 
Instance details

Defined in Network.AWS.FMS.Types.Product

Associated Types

type Rep PolicyComplianceStatus :: Type -> Type #

Hashable PolicyComplianceStatus Source # 
Instance details

Defined in Network.AWS.FMS.Types.Product

FromJSON PolicyComplianceStatus Source # 
Instance details

Defined in Network.AWS.FMS.Types.Product

NFData PolicyComplianceStatus Source # 
Instance details

Defined in Network.AWS.FMS.Types.Product

Methods

rnf :: PolicyComplianceStatus -> () #

type Rep PolicyComplianceStatus Source # 
Instance details

Defined in Network.AWS.FMS.Types.Product

type Rep PolicyComplianceStatus = D1 (MetaData "PolicyComplianceStatus" "Network.AWS.FMS.Types.Product" "amazonka-fms-1.6.1-Jqf0mlmXXTcC8Iu5gYWu1a" False) (C1 (MetaCons "PolicyComplianceStatus'" PrefixI True) ((S1 (MetaSel (Just "_pcsEvaluationResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [EvaluationResult])) :*: (S1 (MetaSel (Just "_pcsLastUpdated") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 (MetaSel (Just "_pcsPolicyName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_pcsPolicyId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_pcsPolicyOwner") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pcsMemberAccount") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

policyComplianceStatus :: PolicyComplianceStatus Source #

Creates a value of PolicyComplianceStatus with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

pcsEvaluationResults :: Lens' PolicyComplianceStatus [EvaluationResult] Source #

An array of EvaluationResult objects.

pcsLastUpdated :: Lens' PolicyComplianceStatus (Maybe UTCTime) Source #

Time stamp of the last update to the EvaluationResult objects.

pcsPolicyName :: Lens' PolicyComplianceStatus (Maybe Text) Source #

The friendly name of the AWS Firewall Manager policy.

pcsPolicyId :: Lens' PolicyComplianceStatus (Maybe Text) Source #

The ID of the AWS Firewall Manager policy.

pcsPolicyOwner :: Lens' PolicyComplianceStatus (Maybe Text) Source #

The AWS account that created the AWS Firewall Manager policy.

PolicySummary

data PolicySummary Source #

Details of the AWS Firewall Manager policy.

See: policySummary smart constructor.

Instances
Eq PolicySummary Source # 
Instance details

Defined in Network.AWS.FMS.Types.Product

Data PolicySummary Source # 
Instance details

Defined in Network.AWS.FMS.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PolicySummary -> c PolicySummary #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PolicySummary #

toConstr :: PolicySummary -> Constr #

dataTypeOf :: PolicySummary -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c PolicySummary) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PolicySummary) #

gmapT :: (forall b. Data b => b -> b) -> PolicySummary -> PolicySummary #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PolicySummary -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PolicySummary -> r #

gmapQ :: (forall d. Data d => d -> u) -> PolicySummary -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> PolicySummary -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> PolicySummary -> m PolicySummary #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PolicySummary -> m PolicySummary #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PolicySummary -> m PolicySummary #

Read PolicySummary Source # 
Instance details

Defined in Network.AWS.FMS.Types.Product

Show PolicySummary Source # 
Instance details

Defined in Network.AWS.FMS.Types.Product

Generic PolicySummary Source # 
Instance details

Defined in Network.AWS.FMS.Types.Product

Associated Types

type Rep PolicySummary :: Type -> Type #

Hashable PolicySummary Source # 
Instance details

Defined in Network.AWS.FMS.Types.Product

FromJSON PolicySummary Source # 
Instance details

Defined in Network.AWS.FMS.Types.Product

NFData PolicySummary Source # 
Instance details

Defined in Network.AWS.FMS.Types.Product

Methods

rnf :: PolicySummary -> () #

type Rep PolicySummary Source # 
Instance details

Defined in Network.AWS.FMS.Types.Product

type Rep PolicySummary = D1 (MetaData "PolicySummary" "Network.AWS.FMS.Types.Product" "amazonka-fms-1.6.1-Jqf0mlmXXTcC8Iu5gYWu1a" False) (C1 (MetaCons "PolicySummary'" PrefixI True) ((S1 (MetaSel (Just "_psPolicyName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_psRemediationEnabled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_psResourceType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_psPolicyId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_psPolicyARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_psSecurityServiceType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe SecurityServiceType))))))

policySummary :: PolicySummary Source #

Creates a value of PolicySummary with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • psPolicyName - The friendly name of the specified policy.
  • psRemediationEnabled - Indicates if the policy should be automatically applied to new resources.
  • psResourceType - The type of resource to protect with the policy, either an Application Load Balancer or a CloudFront distribution. This is in the format shown in AWS Resource Types Reference . Valid values are AWS::ElasticLoadBalancingV2::LoadBalancer or AWS::CloudFront::Distribution .
  • psPolicyId - The ID of the specified policy.
  • psPolicyARN - The Amazon Resource Name (ARN) of the specified policy.
  • psSecurityServiceType - The service that the policy is using to protect the resources. This value is WAF .

psPolicyName :: Lens' PolicySummary (Maybe Text) Source #

The friendly name of the specified policy.

psRemediationEnabled :: Lens' PolicySummary (Maybe Bool) Source #

Indicates if the policy should be automatically applied to new resources.

psResourceType :: Lens' PolicySummary (Maybe Text) Source #

The type of resource to protect with the policy, either an Application Load Balancer or a CloudFront distribution. This is in the format shown in AWS Resource Types Reference . Valid values are AWS::ElasticLoadBalancingV2::LoadBalancer or AWS::CloudFront::Distribution .

psPolicyId :: Lens' PolicySummary (Maybe Text) Source #

The ID of the specified policy.

psPolicyARN :: Lens' PolicySummary (Maybe Text) Source #

The Amazon Resource Name (ARN) of the specified policy.

psSecurityServiceType :: Lens' PolicySummary (Maybe SecurityServiceType) Source #

The service that the policy is using to protect the resources. This value is WAF .

ResourceTag

data ResourceTag Source #

The resource tags that AWS Firewall Manager uses to determine if a particular resource should be included or excluded from protection by the AWS Firewall Manager policy. Tags enable you to categorize your AWS resources in different ways, for example, by purpose, owner, or environment. Each tag consists of a key and an optional value, both of which you define. Tags are combined with an "OR." That is, if you add more than one tag, if any of the tags matches, the resource is considered a match for the include or exclude. Working with Tag Editor .

See: resourceTag smart constructor.

Instances
Eq ResourceTag Source # 
Instance details

Defined in Network.AWS.FMS.Types.Product

Data ResourceTag Source # 
Instance details

Defined in Network.AWS.FMS.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ResourceTag -> c ResourceTag #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ResourceTag #

toConstr :: ResourceTag -> Constr #

dataTypeOf :: ResourceTag -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ResourceTag) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ResourceTag) #

gmapT :: (forall b. Data b => b -> b) -> ResourceTag -> ResourceTag #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ResourceTag -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ResourceTag -> r #

gmapQ :: (forall d. Data d => d -> u) -> ResourceTag -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ResourceTag -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ResourceTag -> m ResourceTag #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ResourceTag -> m ResourceTag #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ResourceTag -> m ResourceTag #

Read ResourceTag Source # 
Instance details

Defined in Network.AWS.FMS.Types.Product

Show ResourceTag Source # 
Instance details

Defined in Network.AWS.FMS.Types.Product

Generic ResourceTag Source # 
Instance details

Defined in Network.AWS.FMS.Types.Product

Associated Types

type Rep ResourceTag :: Type -> Type #

Hashable ResourceTag Source # 
Instance details

Defined in Network.AWS.FMS.Types.Product

ToJSON ResourceTag Source # 
Instance details

Defined in Network.AWS.FMS.Types.Product

FromJSON ResourceTag Source # 
Instance details

Defined in Network.AWS.FMS.Types.Product

NFData ResourceTag Source # 
Instance details

Defined in Network.AWS.FMS.Types.Product

Methods

rnf :: ResourceTag -> () #

type Rep ResourceTag Source # 
Instance details

Defined in Network.AWS.FMS.Types.Product

type Rep ResourceTag = D1 (MetaData "ResourceTag" "Network.AWS.FMS.Types.Product" "amazonka-fms-1.6.1-Jqf0mlmXXTcC8Iu5gYWu1a" False) (C1 (MetaCons "ResourceTag'" PrefixI True) (S1 (MetaSel (Just "_rtValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_rtKey") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))

resourceTag Source #

Arguments

:: Text

rtKey

-> ResourceTag 

Creates a value of ResourceTag with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • rtValue - The resource tag value.
  • rtKey - The resource tag key.

rtValue :: Lens' ResourceTag (Maybe Text) Source #

The resource tag value.

rtKey :: Lens' ResourceTag Text Source #

The resource tag key.

SecurityServicePolicyData

data SecurityServicePolicyData Source #

Details about the security service that is being used to protect the resources.

See: securityServicePolicyData smart constructor.

Instances
Eq SecurityServicePolicyData Source # 
Instance details

Defined in Network.AWS.FMS.Types.Product

Data SecurityServicePolicyData Source # 
Instance details

Defined in Network.AWS.FMS.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SecurityServicePolicyData -> c SecurityServicePolicyData #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SecurityServicePolicyData #

toConstr :: SecurityServicePolicyData -> Constr #

dataTypeOf :: SecurityServicePolicyData -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c SecurityServicePolicyData) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SecurityServicePolicyData) #

gmapT :: (forall b. Data b => b -> b) -> SecurityServicePolicyData -> SecurityServicePolicyData #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SecurityServicePolicyData -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SecurityServicePolicyData -> r #

gmapQ :: (forall d. Data d => d -> u) -> SecurityServicePolicyData -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> SecurityServicePolicyData -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> SecurityServicePolicyData -> m SecurityServicePolicyData #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SecurityServicePolicyData -> m SecurityServicePolicyData #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SecurityServicePolicyData -> m SecurityServicePolicyData #

Read SecurityServicePolicyData Source # 
Instance details

Defined in Network.AWS.FMS.Types.Product

Show SecurityServicePolicyData Source # 
Instance details

Defined in Network.AWS.FMS.Types.Product

Generic SecurityServicePolicyData Source # 
Instance details

Defined in Network.AWS.FMS.Types.Product

Associated Types

type Rep SecurityServicePolicyData :: Type -> Type #

Hashable SecurityServicePolicyData Source # 
Instance details

Defined in Network.AWS.FMS.Types.Product

ToJSON SecurityServicePolicyData Source # 
Instance details

Defined in Network.AWS.FMS.Types.Product

FromJSON SecurityServicePolicyData Source # 
Instance details

Defined in Network.AWS.FMS.Types.Product

NFData SecurityServicePolicyData Source # 
Instance details

Defined in Network.AWS.FMS.Types.Product

type Rep SecurityServicePolicyData Source # 
Instance details

Defined in Network.AWS.FMS.Types.Product

type Rep SecurityServicePolicyData = D1 (MetaData "SecurityServicePolicyData" "Network.AWS.FMS.Types.Product" "amazonka-fms-1.6.1-Jqf0mlmXXTcC8Iu5gYWu1a" False) (C1 (MetaCons "SecurityServicePolicyData'" PrefixI True) (S1 (MetaSel (Just "_sspdManagedServiceData") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_sspdType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 SecurityServiceType)))

securityServicePolicyData Source #

Creates a value of SecurityServicePolicyData with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • sspdManagedServiceData - Details about the service. This contains WAF data in JSON format, as shown in the following example: ManagedServiceData": "{"type": "WAF", "ruleGroups": [{"id": "12345678-1bcd-9012-efga-0987654321ab", "overrideAction" : {"type": "COUNT"}}], "defaultAction": {"type": "BLOCK"}}
  • sspdType - The service that the policy is using to protect the resources. This value is WAF .

sspdManagedServiceData :: Lens' SecurityServicePolicyData (Maybe Text) Source #

Details about the service. This contains WAF data in JSON format, as shown in the following example: ManagedServiceData": "{"type": "WAF", "ruleGroups": [{"id": "12345678-1bcd-9012-efga-0987654321ab", "overrideAction" : {"type": "COUNT"}}], "defaultAction": {"type": "BLOCK"}}

sspdType :: Lens' SecurityServicePolicyData SecurityServiceType Source #

The service that the policy is using to protect the resources. This value is WAF .