amazonka-fms-1.6.0: 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.Types

Contents

Description

 

Synopsis

Service Configuration

fms :: Service Source #

API version 2018-01-01 of the Amazon Firewall Management Service SDK configuration.

Errors

_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 :: AsError a => Getting (First ServiceError) a ServiceError Source #

The parameters of the request were invalid.

_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 :: AsError a => Getting (First ServiceError) a ServiceError Source #

The specified resource was not found.

_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 .

PolicyComplianceStatusType

data PolicyComplianceStatusType Source #

Constructors

Compliant 
NonCompliant 

Instances

Bounded PolicyComplianceStatusType Source # 
Enum PolicyComplianceStatusType Source # 
Eq PolicyComplianceStatusType Source # 
Data PolicyComplianceStatusType Source # 

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 # 
Read PolicyComplianceStatusType Source # 
Show PolicyComplianceStatusType Source # 
Generic PolicyComplianceStatusType Source # 
Hashable PolicyComplianceStatusType Source # 
FromJSON PolicyComplianceStatusType Source # 
NFData PolicyComplianceStatusType Source # 
ToHeader PolicyComplianceStatusType Source # 
ToQuery PolicyComplianceStatusType Source # 
ToByteString PolicyComplianceStatusType Source # 
FromText PolicyComplianceStatusType Source # 
ToText PolicyComplianceStatusType Source # 
type Rep PolicyComplianceStatusType Source # 
type Rep PolicyComplianceStatusType = D1 * (MetaData "PolicyComplianceStatusType" "Network.AWS.FMS.Types.Sum" "amazonka-fms-1.6.0-LeoW8RIt9JY546wb6d63QL" False) ((:+:) * (C1 * (MetaCons "Compliant" PrefixI False) (U1 *)) (C1 * (MetaCons "NonCompliant" PrefixI False) (U1 *)))

SecurityServiceType

data SecurityServiceType Source #

Constructors

Waf 

Instances

Bounded SecurityServiceType Source # 
Enum SecurityServiceType Source # 
Eq SecurityServiceType Source # 
Data SecurityServiceType Source # 

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 # 
Read SecurityServiceType Source # 
Show SecurityServiceType Source # 
Generic SecurityServiceType Source # 
Hashable SecurityServiceType Source # 
ToJSON SecurityServiceType Source # 
FromJSON SecurityServiceType Source # 
NFData SecurityServiceType Source # 

Methods

rnf :: SecurityServiceType -> () #

ToHeader SecurityServiceType Source # 
ToQuery SecurityServiceType Source # 
ToByteString SecurityServiceType Source # 
FromText SecurityServiceType Source # 
ToText SecurityServiceType Source # 
type Rep SecurityServiceType Source # 
type Rep SecurityServiceType = D1 * (MetaData "SecurityServiceType" "Network.AWS.FMS.Types.Sum" "amazonka-fms-1.6.0-LeoW8RIt9JY546wb6d63QL" False) (C1 * (MetaCons "Waf" PrefixI False) (U1 *))

ViolationReason

data ViolationReason Source #

Instances

Bounded ViolationReason Source # 
Enum ViolationReason Source # 
Eq ViolationReason Source # 
Data ViolationReason Source # 

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 # 
Read ViolationReason Source # 
Show ViolationReason Source # 
Generic ViolationReason Source # 
Hashable ViolationReason Source # 
FromJSON ViolationReason Source # 
NFData ViolationReason Source # 

Methods

rnf :: ViolationReason -> () #

ToHeader ViolationReason Source # 
ToQuery ViolationReason Source # 
ToByteString ViolationReason Source # 
FromText ViolationReason Source # 
ToText ViolationReason Source # 
type Rep ViolationReason Source # 
type Rep ViolationReason = D1 * (MetaData "ViolationReason" "Network.AWS.FMS.Types.Sum" "amazonka-fms-1.6.0-LeoW8RIt9JY546wb6d63QL" False) ((:+:) * (C1 * (MetaCons "ResourceIncorrectWebACL" PrefixI False) (U1 *)) ((:+:) * (C1 * (MetaCons "ResourceMissingWebACL" PrefixI False) (U1 *)) (C1 * (MetaCons "WebACLMissingRuleGroup" PrefixI False) (U1 *))))

ComplianceViolator

data ComplianceViolator Source #

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

See: complianceViolator smart constructor.

Instances

Eq ComplianceViolator Source # 
Data ComplianceViolator Source # 

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 # 
Show ComplianceViolator Source # 
Generic ComplianceViolator Source # 
Hashable ComplianceViolator Source # 
FromJSON ComplianceViolator Source # 
NFData ComplianceViolator Source # 

Methods

rnf :: ComplianceViolator -> () #

type Rep ComplianceViolator Source # 
type Rep ComplianceViolator = D1 * (MetaData "ComplianceViolator" "Network.AWS.FMS.Types.Product" "amazonka-fms-1.6.0-LeoW8RIt9JY546wb6d63QL" False) (C1 * (MetaCons "ComplianceViolator'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_cvResourceId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_cvResourceType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_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 # 
Data EvaluationResult Source # 

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 # 
Show EvaluationResult Source # 
Generic EvaluationResult Source # 
Hashable EvaluationResult Source # 
FromJSON EvaluationResult Source # 
NFData EvaluationResult Source # 

Methods

rnf :: EvaluationResult -> () #

type Rep EvaluationResult Source # 
type Rep EvaluationResult = D1 * (MetaData "EvaluationResult" "Network.AWS.FMS.Types.Product" "amazonka-fms-1.6.0-LeoW8RIt9JY546wb6d63QL" False) (C1 * (MetaCons "EvaluationResult'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_erViolatorCount") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Nat))) ((:*:) * (S1 * (MetaSel (Just Symbol "_erComplianceStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe PolicyComplianceStatusType))) (S1 * (MetaSel (Just Symbol "_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 # 

Methods

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

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

Data Policy Source # 

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 # 
Show Policy Source # 
Generic Policy Source # 

Associated Types

type Rep Policy :: * -> * #

Methods

from :: Policy -> Rep Policy x #

to :: Rep Policy x -> Policy #

Hashable Policy Source # 

Methods

hashWithSalt :: Int -> Policy -> Int #

hash :: Policy -> Int #

ToJSON Policy Source # 
FromJSON Policy Source # 
NFData Policy Source # 

Methods

rnf :: Policy -> () #

type Rep Policy Source # 

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 # 
Data PolicyComplianceDetail Source # 

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 # 
Show PolicyComplianceDetail Source # 
Generic PolicyComplianceDetail Source # 
Hashable PolicyComplianceDetail Source # 
FromJSON PolicyComplianceDetail Source # 
NFData PolicyComplianceDetail Source # 

Methods

rnf :: PolicyComplianceDetail -> () #

type Rep PolicyComplianceDetail Source # 
type Rep PolicyComplianceDetail = D1 * (MetaData "PolicyComplianceDetail" "Network.AWS.FMS.Types.Product" "amazonka-fms-1.6.0-LeoW8RIt9JY546wb6d63QL" False) (C1 * (MetaCons "PolicyComplianceDetail'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_pcdExpiredAt") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe POSIX))) ((:*:) * (S1 * (MetaSel (Just Symbol "_pcdPolicyId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_pcdViolators") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [ComplianceViolator]))))) ((:*:) * (S1 * (MetaSel (Just Symbol "_pcdEvaluationLimitExceeded") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Bool))) ((:*:) * (S1 * (MetaSel (Just Symbol "_pcdPolicyOwner") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_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 # 
Data PolicyComplianceStatus Source # 

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 # 
Show PolicyComplianceStatus Source # 
Generic PolicyComplianceStatus Source # 
Hashable PolicyComplianceStatus Source # 
FromJSON PolicyComplianceStatus Source # 
NFData PolicyComplianceStatus Source # 

Methods

rnf :: PolicyComplianceStatus -> () #

type Rep PolicyComplianceStatus Source # 
type Rep PolicyComplianceStatus = D1 * (MetaData "PolicyComplianceStatus" "Network.AWS.FMS.Types.Product" "amazonka-fms-1.6.0-LeoW8RIt9JY546wb6d63QL" False) (C1 * (MetaCons "PolicyComplianceStatus'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_pcsEvaluationResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [EvaluationResult]))) ((:*:) * (S1 * (MetaSel (Just Symbol "_pcsLastUpdated") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe POSIX))) (S1 * (MetaSel (Just Symbol "_pcsPolicyName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))))) ((:*:) * (S1 * (MetaSel (Just Symbol "_pcsPolicyId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_pcsPolicyOwner") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_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 # 
Data PolicySummary Source # 

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 # 
Show PolicySummary Source # 
Generic PolicySummary Source # 

Associated Types

type Rep PolicySummary :: * -> * #

Hashable PolicySummary Source # 
FromJSON PolicySummary Source # 
NFData PolicySummary Source # 

Methods

rnf :: PolicySummary -> () #

type Rep PolicySummary Source # 
type Rep PolicySummary = D1 * (MetaData "PolicySummary" "Network.AWS.FMS.Types.Product" "amazonka-fms-1.6.0-LeoW8RIt9JY546wb6d63QL" False) (C1 * (MetaCons "PolicySummary'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_psPolicyName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_psRemediationEnabled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Bool))) (S1 * (MetaSel (Just Symbol "_psResourceType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))))) ((:*:) * (S1 * (MetaSel (Just Symbol "_psPolicyId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_psPolicyARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_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 # 
Data ResourceTag Source # 

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 # 
Show ResourceTag Source # 
Generic ResourceTag Source # 

Associated Types

type Rep ResourceTag :: * -> * #

Hashable ResourceTag Source # 
ToJSON ResourceTag Source # 
FromJSON ResourceTag Source # 
NFData ResourceTag Source # 

Methods

rnf :: ResourceTag -> () #

type Rep ResourceTag Source # 
type Rep ResourceTag = D1 * (MetaData "ResourceTag" "Network.AWS.FMS.Types.Product" "amazonka-fms-1.6.0-LeoW8RIt9JY546wb6d63QL" False) (C1 * (MetaCons "ResourceTag'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_rtValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_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 # 
Data SecurityServicePolicyData Source # 

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 # 
Show SecurityServicePolicyData Source # 
Generic SecurityServicePolicyData Source # 
Hashable SecurityServicePolicyData Source # 
ToJSON SecurityServicePolicyData Source # 
FromJSON SecurityServicePolicyData Source # 
NFData SecurityServicePolicyData Source # 
type Rep SecurityServicePolicyData Source # 
type Rep SecurityServicePolicyData = D1 * (MetaData "SecurityServicePolicyData" "Network.AWS.FMS.Types.Product" "amazonka-fms-1.6.0-LeoW8RIt9JY546wb6d63QL" False) (C1 * (MetaCons "SecurityServicePolicyData'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_sspdManagedServiceData") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_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 .