Firewall Management Service

2019/01/21 - Firewall Management Service - 1 updated api methods

Changes  Update fms client to latest version

DeletePolicy (updated) Link ΒΆ
Changes (request)
{'DeleteAllPolicyResources': 'boolean'}

Permanently deletes an AWS Firewall Manager policy.

See also: AWS API Documentation

Request Syntax

client.delete_policy(
    PolicyId='string',
    DeleteAllPolicyResources=True|False
)
type PolicyId:

string

param PolicyId:

[REQUIRED]

The ID of the policy that you want to delete. PolicyId is returned by PutPolicy and by ListPolicies.

type DeleteAllPolicyResources:

boolean

param DeleteAllPolicyResources:

If True, the request will also delete all web ACLs in this policy. Associated resources will no longer be protected by web ACLs in this policy.

returns:

None