// Permanently deletes an AWS Firewall Manager policy.
Permanently deletes an AWS Firewall Manager policy.
// Permanently deletes an AWS Firewall Manager policy .
func (c *Client) DeletePolicy(ctx context.Context, params *DeletePolicyInput, optFns ...func(*Options)) (*DeletePolicyOutput, error) {
	if params == nil {
		params = &DeletePolicyInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "DeletePolicy", params, optFns, addOperationDeletePolicyMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*DeletePolicyOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) DeletePolicy ( ctx context . Context , params * DeletePolicyInput , optFns ... func ( * Options ) ) ( * DeletePolicyOutput , error ) { if params == nil { params = & DeletePolicyInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationDeletePolicyMiddlewares ) if err != nil { return nil , err } out := result . ( * DeletePolicyOutput ) out . ResultMetadata = metadata return out , nil }
Permanently deletes an AWS Firewall Manager policy.
Permanently deletes an AWS Firewall Manager policy .