{
  "version":"2.0",
  "metadata":{
    "apiVersion":"2018-01-01",
    "endpointPrefix":"fms",
    "jsonVersion":"1.1",
    "protocol":"json",
    "serviceAbbreviation":"FMS",
    "serviceFullName":"Firewall Management Service",
    "serviceId":"FMS",
    "signatureVersion":"v4",
    "targetPrefix":"AWSFMS_20180101",
    "uid":"fms-2018-01-01"
  },
  "operations":{
    "AssociateAdminAccount":{
      "name":"AssociateAdminAccount",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"AssociateAdminAccountRequest"},
      "errors":[
        {"shape":"InvalidOperationException"},
        {"shape":"InvalidInputException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"InternalErrorException"},
        {"shape":"LimitExceededException"}
      ],
      "documentation":"<p>Sets the Firewall Manager administrator account. The account must be a member of the organization in Organizations whose resources you want to protect. Firewall Manager sets the permissions that allow the account to administer your Firewall Manager policies.</p> <p>The account that you associate with Firewall Manager is called the Firewall Manager administrator account. </p>"
    },
    "DeleteAppsList":{
      "name":"DeleteAppsList",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"DeleteAppsListRequest"},
      "errors":[
        {"shape":"ResourceNotFoundException"},
        {"shape":"InvalidOperationException"},
        {"shape":"InternalErrorException"}
      ],
      "documentation":"<p>Permanently deletes an Firewall Manager applications list.</p>"
    },
    "DeleteNotificationChannel":{
      "name":"DeleteNotificationChannel",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"DeleteNotificationChannelRequest"},
      "errors":[
        {"shape":"ResourceNotFoundException"},
        {"shape":"InvalidOperationException"},
        {"shape":"InternalErrorException"}
      ],
      "documentation":"<p>Deletes an Firewall Manager association with the IAM role and the Amazon Simple Notification Service (SNS) topic that is used to record Firewall Manager SNS logs.</p>"
    },
    "DeletePolicy":{
      "name":"DeletePolicy",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"DeletePolicyRequest"},
      "errors":[
        {"shape":"ResourceNotFoundException"},
        {"shape":"InvalidOperationException"},
        {"shape":"InternalErrorException"},
        {"shape":"InvalidInputException"},
        {"shape":"LimitExceededException"}
      ],
      "documentation":"<p>Permanently deletes an Firewall Manager policy. </p>"
    },
    "DeleteProtocolsList":{
      "name":"DeleteProtocolsList",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"DeleteProtocolsListRequest"},
      "errors":[
        {"shape":"ResourceNotFoundException"},
        {"shape":"InvalidOperationException"},
        {"shape":"InternalErrorException"}
      ],
      "documentation":"<p>Permanently deletes an Firewall Manager protocols list.</p>"
    },
    "DisassociateAdminAccount":{
      "name":"DisassociateAdminAccount",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"DisassociateAdminAccountRequest"},
      "errors":[
        {"shape":"InvalidOperationException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"InternalErrorException"}
      ],
      "documentation":"<p>Disassociates the account that has been set as the Firewall Manager administrator account. To set a different account as the administrator account, you must submit an <code>AssociateAdminAccount</code> request.</p>"
    },
    "GetAdminAccount":{
      "name":"GetAdminAccount",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"GetAdminAccountRequest"},
      "output":{"shape":"GetAdminAccountResponse"},
      "errors":[
        {"shape":"InvalidOperationException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"InternalErrorException"}
      ],
      "documentation":"<p>Returns the Organizations account that is associated with Firewall Manager as the Firewall Manager administrator.</p>"
    },
    "GetAppsList":{
      "name":"GetAppsList",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"GetAppsListRequest"},
      "output":{"shape":"GetAppsListResponse"},
      "errors":[
        {"shape":"ResourceNotFoundException"},
        {"shape":"InvalidOperationException"},
        {"shape":"InternalErrorException"}
      ],
      "documentation":"<p>Returns information about the specified Firewall Manager applications list.</p>"
    },
    "GetComplianceDetail":{
      "name":"GetComplianceDetail",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"GetComplianceDetailRequest"},
      "output":{"shape":"GetComplianceDetailResponse"},
      "errors":[
        {"shape":"ResourceNotFoundException"},
        {"shape":"InternalErrorException"},
        {"shape":"InvalidInputException"},
        {"shape":"InvalidOperationException"}
      ],
      "documentation":"<p>Returns detailed compliance information about the specified member account. Details include resources that are in and out of compliance with the specified policy. </p> <ul> <li> <p>Resources are considered noncompliant for WAF and Shield Advanced policies if the specified policy has not been applied to them.</p> </li> <li> <p>Resources are considered noncompliant for security group policies if they are in scope of the policy, they violate one or more of the policy rules, and remediation is disabled or not possible.</p> </li> <li> <p>Resources are considered noncompliant for Network Firewall policies if a firewall is missing in the VPC, if the firewall endpoint isn't set up in an expected Availability Zone and subnet, if a subnet created by the Firewall Manager doesn't have the expected route table, and for modifications to a firewall policy that violate the Firewall Manager policy's rules.</p> </li> <li> <p>Resources are considered noncompliant for DNS Firewall policies if a DNS Firewall rule group is missing from the rule group associations for the VPC. </p> </li> </ul>"
    },
    "GetNotificationChannel":{
      "name":"GetNotificationChannel",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"GetNotificationChannelRequest"},
      "output":{"shape":"GetNotificationChannelResponse"},
      "errors":[
        {"shape":"ResourceNotFoundException"},
        {"shape":"InvalidOperationException"},
        {"shape":"InternalErrorException"}
      ],
      "documentation":"<p>Information about the Amazon Simple Notification Service (SNS) topic that is used to record Firewall Manager SNS logs.</p>"
    },
    "GetPolicy":{
      "name":"GetPolicy",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"GetPolicyRequest"},
      "output":{"shape":"GetPolicyResponse"},
      "errors":[
        {"shape":"ResourceNotFoundException"},
        {"shape":"InvalidOperationException"},
        {"shape":"InternalErrorException"},
        {"shape":"InvalidTypeException"}
      ],
      "documentation":"<p>Returns information about the specified Firewall Manager policy.</p>"
    },
    "GetProtectionStatus":{
      "name":"GetProtectionStatus",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"GetProtectionStatusRequest"},
      "output":{"shape":"GetProtectionStatusResponse"},
      "errors":[
        {"shape":"InvalidInputException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"InternalErrorException"}
      ],
      "documentation":"<p>If you created a Shield Advanced policy, returns policy-level attack summary information in the event of a potential DDoS attack. Other policy types are currently unsupported.</p>"
    },
    "GetProtocolsList":{
      "name":"GetProtocolsList",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"GetProtocolsListRequest"},
      "output":{"shape":"GetProtocolsListResponse"},
      "errors":[
        {"shape":"ResourceNotFoundException"},
        {"shape":"InvalidOperationException"},
        {"shape":"InternalErrorException"}
      ],
      "documentation":"<p>Returns information about the specified Firewall Manager protocols list.</p>"
    },
    "GetViolationDetails":{
      "name":"GetViolationDetails",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"GetViolationDetailsRequest"},
      "output":{"shape":"GetViolationDetailsResponse"},
      "errors":[
        {"shape":"ResourceNotFoundException"},
        {"shape":"InvalidInputException"},
        {"shape":"InternalErrorException"}
      ],
      "documentation":"<p>Retrieves violations for a resource based on the specified Firewall Manager policy and Amazon Web Services account.</p>"
    },
    "ListAppsLists":{
      "name":"ListAppsLists",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"ListAppsListsRequest"},
      "output":{"shape":"ListAppsListsResponse"},
      "errors":[
        {"shape":"ResourceNotFoundException"},
        {"shape":"InvalidOperationException"},
        {"shape":"LimitExceededException"},
        {"shape":"InternalErrorException"}
      ],
      "documentation":"<p>Returns an array of <code>AppsListDataSummary</code> objects.</p>"
    },
    "ListComplianceStatus":{
      "name":"ListComplianceStatus",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"ListComplianceStatusRequest"},
      "output":{"shape":"ListComplianceStatusResponse"},
      "errors":[
        {"shape":"ResourceNotFoundException"},
        {"shape":"InternalErrorException"}
      ],
      "documentation":"<p>Returns an array of <code>PolicyComplianceStatus</code> objects. Use <code>PolicyComplianceStatus</code> to get a summary of which member accounts are protected by the specified policy. </p>"
    },
    "ListMemberAccounts":{
      "name":"ListMemberAccounts",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"ListMemberAccountsRequest"},
      "output":{"shape":"ListMemberAccountsResponse"},
      "errors":[
        {"shape":"ResourceNotFoundException"},
        {"shape":"InternalErrorException"}
      ],
      "documentation":"<p>Returns a <code>MemberAccounts</code> object that lists the member accounts in the administrator's Amazon Web Services organization.</p> <p>The <code>ListMemberAccounts</code> must be submitted by the account that is set as the Firewall Manager administrator.</p>"
    },
    "ListPolicies":{
      "name":"ListPolicies",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"ListPoliciesRequest"},
      "output":{"shape":"ListPoliciesResponse"},
      "errors":[
        {"shape":"ResourceNotFoundException"},
        {"shape":"InvalidOperationException"},
        {"shape":"LimitExceededException"},
        {"shape":"InternalErrorException"}
      ],
      "documentation":"<p>Returns an array of <code>PolicySummary</code> objects.</p>"
    },
    "ListProtocolsLists":{
      "name":"ListProtocolsLists",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"ListProtocolsListsRequest"},
      "output":{"shape":"ListProtocolsListsResponse"},
      "errors":[
        {"shape":"ResourceNotFoundException"},
        {"shape":"InvalidOperationException"},
        {"shape":"InternalErrorException"}
      ],
      "documentation":"<p>Returns an array of <code>ProtocolsListDataSummary</code> objects.</p>"
    },
    "ListTagsForResource":{
      "name":"ListTagsForResource",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"ListTagsForResourceRequest"},
      "output":{"shape":"ListTagsForResourceResponse"},
      "errors":[
        {"shape":"ResourceNotFoundException"},
        {"shape":"InvalidOperationException"},
        {"shape":"InternalErrorException"},
        {"shape":"InvalidInputException"}
      ],
      "documentation":"<p>Retrieves the list of tags for the specified Amazon Web Services resource. </p>"
    },
    "PutAppsList":{
      "name":"PutAppsList",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"PutAppsListRequest"},
      "output":{"shape":"PutAppsListResponse"},
      "errors":[
        {"shape":"ResourceNotFoundException"},
        {"shape":"InvalidOperationException"},
        {"shape":"InvalidInputException"},
        {"shape":"LimitExceededException"},
        {"shape":"InternalErrorException"}
      ],
      "documentation":"<p>Creates an Firewall Manager applications list.</p>"
    },
    "PutNotificationChannel":{
      "name":"PutNotificationChannel",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"PutNotificationChannelRequest"},
      "errors":[
        {"shape":"ResourceNotFoundException"},
        {"shape":"InvalidOperationException"},
        {"shape":"InternalErrorException"}
      ],
      "documentation":"<p>Designates the IAM role and Amazon Simple Notification Service (SNS) topic that Firewall Manager uses to record SNS logs.</p> <p>To perform this action outside of the console, you must configure the SNS topic to allow the Firewall Manager role <code>AWSServiceRoleForFMS</code> to publish SNS logs. For more information, see <a href=\"https://docs.aws.amazon.com/waf/latest/developerguide/fms-api-permissions-ref.html\">Firewall Manager required permissions for API actions</a> in the <i>Firewall Manager Developer Guide</i>.</p>"
    },
    "PutPolicy":{
      "name":"PutPolicy",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"PutPolicyRequest"},
      "output":{"shape":"PutPolicyResponse"},
      "errors":[
        {"shape":"ResourceNotFoundException"},
        {"shape":"InvalidOperationException"},
        {"shape":"InvalidInputException"},
        {"shape":"LimitExceededException"},
        {"shape":"InternalErrorException"},
        {"shape":"InvalidTypeException"}
      ],
      "documentation":"<p>Creates an Firewall Manager policy.</p> <p>Firewall Manager provides the following types of policies: </p> <ul> <li> <p>An WAF policy (type WAFV2), which defines rule groups to run first in the corresponding WAF web ACL and rule groups to run last in the web ACL.</p> </li> <li> <p>An WAF Classic policy (type WAF), which defines a rule group. </p> </li> <li> <p>A Shield Advanced policy, which applies Shield Advanced protection to specified accounts and resources.</p> </li> <li> <p>A security group policy, which manages VPC security groups across your Amazon Web Services organization. </p> </li> <li> <p>An Network Firewall policy, which provides firewall rules to filter network traffic in specified Amazon VPCs.</p> </li> <li> <p>A DNS Firewall policy, which provides Route 53 Resolver DNS Firewall rules to filter DNS queries for specified VPCs.</p> </li> </ul> <p>Each policy is specific to one of the types. If you want to enforce more than one policy type across accounts, create multiple policies. You can create multiple policies for each type.</p> <p>You must be subscribed to Shield Advanced to create a Shield Advanced policy. For more information about subscribing to Shield Advanced, see <a href=\"https://docs.aws.amazon.com/waf/latest/DDOSAPIReference/API_CreateSubscription.html\">CreateSubscription</a>.</p>"
    },
    "PutProtocolsList":{
      "name":"PutProtocolsList",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"PutProtocolsListRequest"},
      "output":{"shape":"PutProtocolsListResponse"},
      "errors":[
        {"shape":"ResourceNotFoundException"},
        {"shape":"InvalidOperationException"},
        {"shape":"InvalidInputException"},
        {"shape":"LimitExceededException"},
        {"shape":"InternalErrorException"}
      ],
      "documentation":"<p>Creates an Firewall Manager protocols list.</p>"
    },
    "TagResource":{
      "name":"TagResource",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"TagResourceRequest"},
      "output":{"shape":"TagResourceResponse"},
      "errors":[
        {"shape":"ResourceNotFoundException"},
        {"shape":"InvalidOperationException"},
        {"shape":"InternalErrorException"},
        {"shape":"InvalidInputException"},
        {"shape":"LimitExceededException"}
      ],
      "documentation":"<p>Adds one or more tags to an Amazon Web Services resource.</p>"
    },
    "UntagResource":{
      "name":"UntagResource",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"UntagResourceRequest"},
      "output":{"shape":"UntagResourceResponse"},
      "errors":[
        {"shape":"ResourceNotFoundException"},
        {"shape":"InvalidOperationException"},
        {"shape":"InternalErrorException"},
        {"shape":"InvalidInputException"}
      ],
      "documentation":"<p>Removes one or more tags from an Amazon Web Services resource.</p>"
    }
  },
  "shapes":{
    "AWSAccountId":{
      "type":"string",
      "max":1024,
      "min":1,
      "pattern":"^[0-9]+$"
    },
    "AccountRoleStatus":{
      "type":"string",
      "enum":[
        "READY",
        "CREATING",
        "PENDING_DELETION",
        "DELETING",
        "DELETED"
      ]
    },
    "ActionTarget":{
      "type":"structure",
      "members":{
        "ResourceId":{
          "shape":"ResourceId",
          "documentation":"<p>The ID of the remediation target.</p>"
        },
        "Description":{
          "shape":"LengthBoundedString",
          "documentation":"<p>A description of the remediation action target.</p>"
        }
      },
      "documentation":"<p>Describes a remediation action target.</p>"
    },
    "App":{
      "type":"structure",
      "required":[
        "AppName",
        "Protocol",
        "Port"
      ],
      "members":{
        "AppName":{
          "shape":"ResourceName",
          "documentation":"<p>The application's name.</p>"
        },
        "Protocol":{
          "shape":"Protocol",
          "documentation":"<p>The IP protocol name or number. The name can be one of <code>tcp</code>, <code>udp</code>, or <code>icmp</code>. For information on possible numbers, see <a href=\"https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml\">Protocol Numbers</a>.</p>"
        },
        "Port":{
          "shape":"IPPortNumber",
          "documentation":"<p>The application's port number, for example <code>80</code>.</p>"
        }
      },
      "documentation":"<p>An individual Firewall Manager application.</p>"
    },
    "AppsList":{
      "type":"list",
      "member":{"shape":"App"}
    },
    "AppsListData":{
      "type":"structure",
      "required":[
        "ListName",
        "AppsList"
      ],
      "members":{
        "ListId":{
          "shape":"ListId",
          "documentation":"<p>The ID of the Firewall Manager applications list.</p>"
        },
        "ListName":{
          "shape":"ResourceName",
          "documentation":"<p>The name of the Firewall Manager applications list.</p>"
        },
        "ListUpdateToken":{
          "shape":"UpdateToken",
          "documentation":"<p>A unique identifier for each update to the list. When you update the list, the update token must match the token of the current version of the application list. You can retrieve the update token by getting the list. </p>"
        },
        "CreateTime":{
          "shape":"TimeStamp",
          "documentation":"<p>The time that the Firewall Manager applications list was created.</p>"
        },
        "LastUpdateTime":{
          "shape":"TimeStamp",
          "documentation":"<p>The time that the Firewall Manager applications list was last updated.</p>"
        },
        "AppsList":{
          "shape":"AppsList",
          "documentation":"<p>An array of applications in the Firewall Manager applications list.</p>"
        },
        "PreviousAppsList":{
          "shape":"PreviousAppsList",
          "documentation":"<p>A map of previous version numbers to their corresponding <code>App</code> object arrays.</p>"
        }
      },
      "documentation":"<p>An Firewall Manager applications list.</p>"
    },
    "AppsListDataSummary":{
      "type":"structure",
      "members":{
        "ListArn":{
          "shape":"ResourceArn",
          "documentation":"<p>The Amazon Resource Name (ARN) of the applications list.</p>"
        },
        "ListId":{
          "shape":"ListId",
          "documentation":"<p>The ID of the applications list.</p>"
        },
        "ListName":{
          "shape":"ResourceName",
          "documentation":"<p>The name of the applications list.</p>"
        },
        "AppsList":{
          "shape":"AppsList",
          "documentation":"<p>An array of <code>App</code> objects in the Firewall Manager applications list.</p>"
        }
      },
      "documentation":"<p>Details of the Firewall Manager applications list.</p>"
    },
    "AppsListsData":{
      "type":"list",
      "member":{"shape":"AppsListDataSummary"}
    },
    "AssociateAdminAccountRequest":{
      "type":"structure",
      "required":["AdminAccount"],
      "members":{
        "AdminAccount":{
          "shape":"AWSAccountId",
          "documentation":"<p>The Amazon Web Services account ID to associate with Firewall Manager as the Firewall Manager administrator account. This must be an Organizations member account. For more information about Organizations, see <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts.html\">Managing the Amazon Web Services Accounts in Your Organization</a>. </p>"
        }
      }
    },
    "AwsEc2InstanceViolation":{
      "type":"structure",
      "members":{
        "ViolationTarget":{
          "shape":"ViolationTarget",
          "documentation":"<p>The resource ID of the EC2 instance.</p>"
        },
        "AwsEc2NetworkInterfaceViolations":{
          "shape":"AwsEc2NetworkInterfaceViolations",
          "documentation":"<p>Violation detail for network interfaces associated with the EC2 instance.</p>"
        }
      },
      "documentation":"<p>Violation detail for an EC2 instance resource.</p>"
    },
    "AwsEc2NetworkInterfaceViolation":{
      "type":"structure",
      "members":{
        "ViolationTarget":{
          "shape":"ViolationTarget",
          "documentation":"<p>The resource ID of the network interface.</p>"
        },
        "ViolatingSecurityGroups":{
          "shape":"ResourceIdList",
          "documentation":"<p>List of security groups that violate the rules specified in the primary security group of the Firewall Manager policy.</p>"
        }
      },
      "documentation":"<p>Violation detail for network interfaces associated with an EC2 instance.</p>"
    },
    "AwsEc2NetworkInterfaceViolations":{
      "type":"list",
      "member":{"shape":"AwsEc2NetworkInterfaceViolation"}
    },
    "AwsVPCSecurityGroupViolation":{
      "type":"structure",
      "members":{
        "ViolationTarget":{
          "shape":"ViolationTarget",
          "documentation":"<p>The security group rule that is being evaluated.</p>"
        },
        "ViolationTargetDescription":{
          "shape":"LengthBoundedString",
          "documentation":"<p>A description of the security group that violates the policy.</p>"
        },
        "PartialMatches":{
          "shape":"PartialMatches",
          "documentation":"<p>List of rules specified in the security group of the Firewall Manager policy that partially match the <code>ViolationTarget</code> rule.</p>"
        },
        "PossibleSecurityGroupRemediationActions":{
          "shape":"SecurityGroupRemediationActions",
          "documentation":"<p>Remediation options for the rule specified in the <code>ViolationTarget</code>.</p>"
        }
      },
      "documentation":"<p>Violation detail for the rule violation in a security group when compared to the primary security group of the Firewall Manager policy.</p>"
    },
    "BasicInteger":{
      "type":"integer",
      "max":2147483647,
      "min":-2147483648
    },
    "Boolean":{"type":"boolean"},
    "CIDR":{
      "type":"string",
      "max":256,
      "min":0,
      "pattern":"[a-f0-9:./]+"
    },
    "ComplianceViolator":{
      "type":"structure",
      "members":{
        "ResourceId":{
          "shape":"ResourceId",
          "documentation":"<p>The resource ID.</p>"
        },
        "ViolationReason":{
          "shape":"ViolationReason",
          "documentation":"<p>The reason that the resource is not protected by the policy.</p>"
        },
        "ResourceType":{
          "shape":"ResourceType",
          "documentation":"<p>The resource type. This is in the format shown in the <a href=\"https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html\">Amazon Web Services Resource Types Reference</a>. For example: <code>AWS::ElasticLoadBalancingV2::LoadBalancer</code>, <code>AWS::CloudFront::Distribution</code>, or <code>AWS::NetworkFirewall::FirewallPolicy</code>.</p>"
        }
      },
      "documentation":"<p>Details of the resource that is not protected by the policy.</p>"
    },
    "ComplianceViolators":{
      "type":"list",
      "member":{"shape":"ComplianceViolator"}
    },
    "CustomerPolicyScopeId":{
      "type":"string",
      "max":1024,
      "min":1,
      "pattern":"^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$"
    },
    "CustomerPolicyScopeIdList":{
      "type":"list",
      "member":{"shape":"CustomerPolicyScopeId"}
    },
    "CustomerPolicyScopeIdType":{
      "type":"string",
      "enum":[
        "ACCOUNT",
        "ORG_UNIT"
      ]
    },
    "CustomerPolicyScopeMap":{
      "type":"map",
      "key":{"shape":"CustomerPolicyScopeIdType"},
      "value":{"shape":"CustomerPolicyScopeIdList"}
    },
    "DeleteAppsListRequest":{
      "type":"structure",
      "required":["ListId"],
      "members":{
        "ListId":{
          "shape":"ListId",
          "documentation":"<p>The ID of the applications list that you want to delete. You can retrieve this ID from <code>PutAppsList</code>, <code>ListAppsLists</code>, and <code>GetAppsList</code>.</p>"
        }
      }
    },
    "DeleteNotificationChannelRequest":{
      "type":"structure",
      "members":{
      }
    },
    "DeletePolicyRequest":{
      "type":"structure",
      "required":["PolicyId"],
      "members":{
        "PolicyId":{
          "shape":"PolicyId",
          "documentation":"<p>The ID of the policy that you want to delete. You can retrieve this ID from <code>PutPolicy</code> and <code>ListPolicies</code>.</p>"
        },
        "DeleteAllPolicyResources":{
          "shape":"Boolean",
          "documentation":"<p>If <code>True</code>, the request performs cleanup according to the policy type. </p> <p>For WAF and Shield Advanced policies, the cleanup does the following:</p> <ul> <li> <p>Deletes rule groups created by Firewall Manager</p> </li> <li> <p>Removes web ACLs from in-scope resources</p> </li> <li> <p>Deletes web ACLs that contain no rules or rule groups</p> </li> </ul> <p>For security group policies, the cleanup does the following for each security group in the policy:</p> <ul> <li> <p>Disassociates the security group from in-scope resources </p> </li> <li> <p>Deletes the security group if it was created through Firewall Manager and if it's no longer associated with any resources through another policy</p> </li> </ul> <p>After the cleanup, in-scope resources are no longer protected by web ACLs in this policy. Protection of out-of-scope resources remains unchanged. Scope is determined by tags that you create and accounts that you associate with the policy. When creating the policy, if you specify that only resources in specific accounts or with specific tags are in scope of the policy, those accounts and resources are handled by the policy. All others are out of scope. If you don't specify tags or accounts, all resources are in scope. </p>"
        }
      }
    },
    "DeleteProtocolsListRequest":{
      "type":"structure",
      "required":["ListId"],
      "members":{
        "ListId":{
          "shape":"ListId",
          "documentation":"<p>The ID of the protocols list that you want to delete. You can retrieve this ID from <code>PutProtocolsList</code>, <code>ListProtocolsLists</code>, and <code>GetProtocolsLost</code>.</p>"
        }
      }
    },
    "DependentServiceName":{
      "type":"string",
      "enum":[
        "AWSCONFIG",
        "AWSWAF",
        "AWSSHIELD_ADVANCED",
        "AWSVPC"
      ]
    },
    "DestinationType":{
      "type":"string",
      "enum":[
        "IPV4",
        "IPV6",
        "PREFIX_LIST"
      ]
    },
    "DetailedInfo":{
      "type":"string",
      "max":1024,
      "min":1,
      "pattern":"^([\\p{L}\\p{Z}\\p{N}_.:/=,+\\-@]*)$"
    },
    "DisassociateAdminAccountRequest":{
      "type":"structure",
      "members":{
      }
    },
    "DnsDuplicateRuleGroupViolation":{
      "type":"structure",
      "members":{
        "ViolationTarget":{
          "shape":"ViolationTarget",
          "documentation":"<p>Information about the VPC ID. </p>"
        },
        "ViolationTargetDescription":{
          "shape":"LengthBoundedString",
          "documentation":"<p>A description of the violation that specifies the rule group and VPC.</p>"
        }
      },
      "documentation":"<p>A DNS Firewall rule group that Firewall Manager tried to associate with a VPC is already associated with the VPC and can't be associated again. </p>"
    },
    "DnsRuleGroupLimitExceededViolation":{
      "type":"structure",
      "members":{
        "ViolationTarget":{
          "shape":"ViolationTarget",
          "documentation":"<p>Information about the VPC ID. </p>"
        },
        "ViolationTargetDescription":{
          "shape":"LengthBoundedString",
          "documentation":"<p>A description of the violation that specifies the rule group and VPC.</p>"
        },
        "NumberOfRuleGroupsAlreadyAssociated":{
          "shape":"BasicInteger",
          "documentation":"<p>The number of rule groups currently associated with the VPC. </p>"
        }
      },
      "documentation":"<p>The VPC that Firewall Manager was applying a DNS Fireall policy to reached the limit for associated DNS Firewall rule groups. Firewall Manager tried to associate another rule group with the VPC and failed due to the limit. </p>"
    },
    "DnsRuleGroupPriorities":{
      "type":"list",
      "member":{"shape":"DnsRuleGroupPriority"}
    },
    "DnsRuleGroupPriority":{
      "type":"integer",
      "max":10000,
      "min":0
    },
    "DnsRuleGroupPriorityConflictViolation":{
      "type":"structure",
      "members":{
        "ViolationTarget":{
          "shape":"ViolationTarget",
          "documentation":"<p>Information about the VPC ID. </p>"
        },
        "ViolationTargetDescription":{
          "shape":"LengthBoundedString",
          "documentation":"<p>A description of the violation that specifies the VPC and the rule group that's already associated with it.</p>"
        },
        "ConflictingPriority":{
          "shape":"DnsRuleGroupPriority",
          "documentation":"<p>The priority setting of the two conflicting rule groups.</p>"
        },
        "ConflictingPolicyId":{
          "shape":"PolicyId",
          "documentation":"<p>The ID of the Firewall Manager DNS Firewall policy that was already applied to the VPC. This policy contains the rule group that's already associated with the VPC. </p>"
        },
        "UnavailablePriorities":{
          "shape":"DnsRuleGroupPriorities",
          "documentation":"<p>The priorities of rule groups that are already associated with the VPC. To retry your operation, choose priority settings that aren't in this list for the rule groups in your new DNS Firewall policy. </p>"
        }
      },
      "documentation":"<p>A rule group that Firewall Manager tried to associate with a VPC has the same priority as a rule group that's already associated. </p>"
    },
    "EC2AssociateRouteTableAction":{
      "type":"structure",
      "required":["RouteTableId"],
      "members":{
        "Description":{
          "shape":"LengthBoundedString",
          "documentation":"<p>A description of the EC2 route table that is associated with the remediation action.</p>"
        },
        "RouteTableId":{
          "shape":"ActionTarget",
          "documentation":"<p>The ID of the EC2 route table that is associated with the remediation action.</p>"
        },
        "SubnetId":{
          "shape":"ActionTarget",
          "documentation":"<p>The ID of the subnet for the EC2 route table that is associated with the remediation action.</p>"
        },
        "GatewayId":{
          "shape":"ActionTarget",
          "documentation":"<p>The ID of the gateway to be used with the EC2 route table that is associated with the remediation action.</p>"
        }
      },
      "documentation":"<p>The action of associating an EC2 resource, such as a subnet or internet gateway, with a route table.</p>"
    },
    "EC2CopyRouteTableAction":{
      "type":"structure",
      "required":[
        "VpcId",
        "RouteTableId"
      ],
      "members":{
        "Description":{
          "shape":"LengthBoundedString",
          "documentation":"<p>A description of the copied EC2 route table that is associated with the remediation action.</p>"
        },
        "VpcId":{
          "shape":"ActionTarget",
          "documentation":"<p>The VPC ID of the copied EC2 route table that is associated with the remediation action.</p>"
        },
        "RouteTableId":{
          "shape":"ActionTarget",
          "documentation":"<p>The ID of the copied EC2 route table that is associated with the remediation action.</p>"
        }
      },
      "documentation":"<p>An action that copies the EC2 route table for use in remediation.</p>"
    },
    "EC2CreateRouteAction":{
      "type":"structure",
      "required":["RouteTableId"],
      "members":{
        "Description":{
          "shape":"LengthBoundedString",
          "documentation":"<p>A description of CreateRoute action in Amazon EC2.</p>"
        },
        "DestinationCidrBlock":{
          "shape":"CIDR",
          "documentation":"<p>Information about the IPv4 CIDR address block used for the destination match.</p>"
        },
        "DestinationPrefixListId":{
          "shape":"ResourceId",
          "documentation":"<p>Information about the ID of a prefix list used for the destination match.</p>"
        },
        "DestinationIpv6CidrBlock":{
          "shape":"CIDR",
          "documentation":"<p>Information about the IPv6 CIDR block destination.</p>"
        },
        "VpcEndpointId":{
          "shape":"ActionTarget",
          "documentation":"<p>Information about the ID of a VPC endpoint. Supported for Gateway Load Balancer endpoints only.</p>"
        },
        "GatewayId":{
          "shape":"ActionTarget",
          "documentation":"<p>Information about the ID of an internet gateway or virtual private gateway attached to your VPC.</p>"
        },
        "RouteTableId":{
          "shape":"ActionTarget",
          "documentation":"<p>Information about the ID of the route table for the route.</p>"
        }
      },
      "documentation":"<p>Information about the CreateRoute action in Amazon EC2.</p>"
    },
    "EC2CreateRouteTableAction":{
      "type":"structure",
      "required":["VpcId"],
      "members":{
        "Description":{
          "shape":"LengthBoundedString",
          "documentation":"<p>A description of the CreateRouteTable action.</p>"
        },
        "VpcId":{
          "shape":"ActionTarget",
          "documentation":"<p>Information about the ID of a VPC.</p>"
        }
      },
      "documentation":"<p>Information about the CreateRouteTable action in Amazon EC2.</p>"
    },
    "EC2DeleteRouteAction":{
      "type":"structure",
      "required":["RouteTableId"],
      "members":{
        "Description":{
          "shape":"LengthBoundedString",
          "documentation":"<p>A description of the DeleteRoute action.</p>"
        },
        "DestinationCidrBlock":{
          "shape":"CIDR",
          "documentation":"<p>Information about the IPv4 CIDR range for the route. The value you specify must match the CIDR for the route exactly.</p>"
        },
        "DestinationPrefixListId":{
          "shape":"ResourceId",
          "documentation":"<p>Information about the ID of the prefix list for the route.</p>"
        },
        "DestinationIpv6CidrBlock":{
          "shape":"CIDR",
          "documentation":"<p>Information about the IPv6 CIDR range for the route. The value you specify must match the CIDR for the route exactly.</p>"
        },
        "RouteTableId":{
          "shape":"ActionTarget",
          "documentation":"<p>Information about the ID of the route table.</p>"
        }
      },
      "documentation":"<p>Information about the DeleteRoute action in Amazon EC2.</p>"
    },
    "EC2ReplaceRouteAction":{
      "type":"structure",
      "required":["RouteTableId"],
      "members":{
        "Description":{
          "shape":"LengthBoundedString",
          "documentation":"<p>A description of the ReplaceRoute action in Amazon EC2.</p>"
        },
        "DestinationCidrBlock":{
          "shape":"CIDR",
          "documentation":"<p>Information about the IPv4 CIDR address block used for the destination match. The value that you provide must match the CIDR of an existing route in the table.</p>"
        },
        "DestinationPrefixListId":{
          "shape":"ResourceId",
          "documentation":"<p>Information about the ID of the prefix list for the route.</p>"
        },
        "DestinationIpv6CidrBlock":{
          "shape":"CIDR",
          "documentation":"<p>Information about the IPv6 CIDR address block used for the destination match. The value that you provide must match the CIDR of an existing route in the table.</p>"
        },
        "GatewayId":{
          "shape":"ActionTarget",
          "documentation":"<p>Information about the ID of an internet gateway or virtual private gateway.</p>"
        },
        "RouteTableId":{
          "shape":"ActionTarget",
          "documentation":"<p>Information about the ID of the route table.</p>"
        }
      },
      "documentation":"<p>Information about the ReplaceRoute action in Amazon EC2.</p>"
    },
    "EC2ReplaceRouteTableAssociationAction":{
      "type":"structure",
      "required":[
        "AssociationId",
        "RouteTableId"
      ],
      "members":{
        "Description":{
          "shape":"LengthBoundedString",
          "documentation":"<p>A description of the ReplaceRouteTableAssociation action in Amazon EC2.</p>"
        },
        "AssociationId":{
          "shape":"ActionTarget",
          "documentation":"<p>Information about the association ID.</p>"
        },
        "RouteTableId":{
          "shape":"ActionTarget",
          "documentation":"<p>Information about the ID of the new route table to associate with the subnet.</p>"
        }
      },
      "documentation":"<p>Information about the ReplaceRouteTableAssociation action in Amazon EC2.</p>"
    },
    "ErrorMessage":{"type":"string"},
    "EvaluationResult":{
      "type":"structure",
      "members":{
        "ComplianceStatus":{
          "shape":"PolicyComplianceStatusType",
          "documentation":"<p>Describes an Amazon Web Services account's compliance with the Firewall Manager policy.</p>"
        },
        "ViolatorCount":{
          "shape":"ResourceCount",
          "documentation":"<p>The number of resources that are noncompliant with the specified policy. For WAF and Shield Advanced policies, a resource is considered noncompliant if it is not associated with the policy. For security group policies, a resource is considered noncompliant if it doesn't comply with the rules of the policy and remediation is disabled or not possible.</p>"
        },
        "EvaluationLimitExceeded":{
          "shape":"Boolean",
          "documentation":"<p>Indicates that over 100 resources are noncompliant with the Firewall Manager policy.</p>"
        }
      },
      "documentation":"<p>Describes the compliance status for the account. An account is considered noncompliant if it includes resources that are not protected by the specified policy or that don't comply with the policy.</p>"
    },
    "EvaluationResults":{
      "type":"list",
      "member":{"shape":"EvaluationResult"}
    },
    "ExpectedRoute":{
      "type":"structure",
      "members":{
        "IpV4Cidr":{
          "shape":"CIDR",
          "documentation":"<p>Information about the IPv4 CIDR block.</p>"
        },
        "PrefixListId":{
          "shape":"CIDR",
          "documentation":"<p>Information about the ID of the prefix list for the route.</p>"
        },
        "IpV6Cidr":{
          "shape":"CIDR",
          "documentation":"<p>Information about the IPv6 CIDR block.</p>"
        },
        "ContributingSubnets":{
          "shape":"ResourceIdList",
          "documentation":"<p>Information about the contributing subnets.</p>"
        },
        "AllowedTargets":{
          "shape":"LengthBoundedStringList",
          "documentation":"<p>Information about the allowed targets.</p>"
        },
        "RouteTableId":{
          "shape":"ResourceId",
          "documentation":"<p>Information about the route table ID.</p>"
        }
      },
      "documentation":"<p>Information about the expected route in the route table.</p>"
    },
    "ExpectedRoutes":{
      "type":"list",
      "member":{"shape":"ExpectedRoute"}
    },
    "GetAdminAccountRequest":{
      "type":"structure",
      "members":{
      }
    },
    "GetAdminAccountResponse":{
      "type":"structure",
      "members":{
        "AdminAccount":{
          "shape":"AWSAccountId",
          "documentation":"<p>The Amazon Web Services account that is set as the Firewall Manager administrator.</p>"
        },
        "RoleStatus":{
          "shape":"AccountRoleStatus",
          "documentation":"<p>The status of the Amazon Web Services account that you set as the Firewall Manager administrator.</p>"
        }
      }
    },
    "GetAppsListRequest":{
      "type":"structure",
      "required":["ListId"],
      "members":{
        "ListId":{
          "shape":"ListId",
          "documentation":"<p>The ID of the Firewall Manager applications list that you want the details for.</p>"
        },
        "DefaultList":{
          "shape":"Boolean",
          "documentation":"<p>Specifies whether the list to retrieve is a default list owned by Firewall Manager.</p>"
        }
      }
    },
    "GetAppsListResponse":{
      "type":"structure",
      "members":{
        "AppsList":{
          "shape":"AppsListData",
          "documentation":"<p>Information about the specified Firewall Manager applications list.</p>"
        },
        "AppsListArn":{
          "shape":"ResourceArn",
          "documentation":"<p>The Amazon Resource Name (ARN) of the applications list.</p>"
        }
      }
    },
    "GetComplianceDetailRequest":{
      "type":"structure",
      "required":[
        "PolicyId",
        "MemberAccount"
      ],
      "members":{
        "PolicyId":{
          "shape":"PolicyId",
          "documentation":"<p>The ID of the policy that you want to get the details for. <code>PolicyId</code> is returned by <code>PutPolicy</code> and by <code>ListPolicies</code>.</p>"
        },
        "MemberAccount":{
          "shape":"AWSAccountId",
          "documentation":"<p>The Amazon Web Services account that owns the resources that you want to get the details for.</p>"
        }
      }
    },
    "GetComplianceDetailResponse":{
      "type":"structure",
      "members":{
        "PolicyComplianceDetail":{
          "shape":"PolicyComplianceDetail",
          "documentation":"<p>Information about the resources and the policy that you specified in the <code>GetComplianceDetail</code> request.</p>"
        }
      }
    },
    "GetNotificationChannelRequest":{
      "type":"structure",
      "members":{
      }
    },
    "GetNotificationChannelResponse":{
      "type":"structure",
      "members":{
        "SnsTopicArn":{
          "shape":"ResourceArn",
          "documentation":"<p>The SNS topic that records Firewall Manager activity. </p>"
        },
        "SnsRoleName":{
          "shape":"ResourceArn",
          "documentation":"<p>The IAM role that is used by Firewall Manager to record activity to SNS.</p>"
        }
      }
    },
    "GetPolicyRequest":{
      "type":"structure",
      "required":["PolicyId"],
      "members":{
        "PolicyId":{
          "shape":"PolicyId",
          "documentation":"<p>The ID of the Firewall Manager policy that you want the details for.</p>"
        }
      }
    },
    "GetPolicyResponse":{
      "type":"structure",
      "members":{
        "Policy":{
          "shape":"Policy",
          "documentation":"<p>Information about the specified Firewall Manager policy.</p>"
        },
        "PolicyArn":{
          "shape":"ResourceArn",
          "documentation":"<p>The Amazon Resource Name (ARN) of the specified policy.</p>"
        }
      }
    },
    "GetProtectionStatusRequest":{
      "type":"structure",
      "required":["PolicyId"],
      "members":{
        "PolicyId":{
          "shape":"PolicyId",
          "documentation":"<p>The ID of the policy for which you want to get the attack information.</p>"
        },
        "MemberAccountId":{
          "shape":"AWSAccountId",
          "documentation":"<p>The Amazon Web Services account that is in scope of the policy that you want to get the details for.</p>"
        },
        "StartTime":{
          "shape":"TimeStamp",
          "documentation":"<p>The start of the time period to query for the attacks. This is a <code>timestamp</code> type. The request syntax listing indicates a <code>number</code> type because the default used by Firewall Manager is Unix time in seconds. However, any valid <code>timestamp</code> format is allowed.</p>"
        },
        "EndTime":{
          "shape":"TimeStamp",
          "documentation":"<p>The end of the time period to query for the attacks. This is a <code>timestamp</code> type. The request syntax listing indicates a <code>number</code> type because the default used by Firewall Manager is Unix time in seconds. However, any valid <code>timestamp</code> format is allowed.</p>"
        },
        "NextToken":{
          "shape":"PaginationToken",
          "documentation":"<p>If you specify a value for <code>MaxResults</code> and you have more objects than the number that you specify for <code>MaxResults</code>, Firewall Manager returns a <code>NextToken</code> value in the response, which you can use to retrieve another group of objects. For the second and subsequent <code>GetProtectionStatus</code> requests, specify the value of <code>NextToken</code> from the previous response to get information about another batch of objects.</p>"
        },
        "MaxResults":{
          "shape":"PaginationMaxResults",
          "documentation":"<p>Specifies the number of objects that you want Firewall Manager to return for this request. If you have more objects than the number that you specify for <code>MaxResults</code>, the response includes a <code>NextToken</code> value that you can use to get another batch of objects.</p>"
        }
      }
    },
    "GetProtectionStatusResponse":{
      "type":"structure",
      "members":{
        "AdminAccountId":{
          "shape":"AWSAccountId",
          "documentation":"<p>The ID of the Firewall Manager administrator account for this policy.</p>"
        },
        "ServiceType":{
          "shape":"SecurityServiceType",
          "documentation":"<p>The service type that is protected by the policy. Currently, this is always <code>SHIELD_ADVANCED</code>.</p>"
        },
        "Data":{
          "shape":"ProtectionData",
          "documentation":"<p>Details about the attack, including the following:</p> <ul> <li> <p>Attack type</p> </li> <li> <p>Account ID</p> </li> <li> <p>ARN of the resource attacked</p> </li> <li> <p>Start time of the attack</p> </li> <li> <p>End time of the attack (ongoing attacks will not have an end time)</p> </li> </ul> <p>The details are in JSON format. </p>"
        },
        "NextToken":{
          "shape":"PaginationToken",
          "documentation":"<p>If you have more objects than the number that you specified for <code>MaxResults</code> in the request, the response includes a <code>NextToken</code> value. To list more objects, submit another <code>GetProtectionStatus</code> request, and specify the <code>NextToken</code> value from the response in the <code>NextToken</code> value in the next request.</p> <p>Amazon Web Services SDKs provide auto-pagination that identify <code>NextToken</code> in a response and make subsequent request calls automatically on your behalf. However, this feature is not supported by <code>GetProtectionStatus</code>. You must submit subsequent requests with <code>NextToken</code> using your own processes. </p>"
        }
      }
    },
    "GetProtocolsListRequest":{
      "type":"structure",
      "required":["ListId"],
      "members":{
        "ListId":{
          "shape":"ListId",
          "documentation":"<p>The ID of the Firewall Manager protocols list that you want the details for.</p>"
        },
        "DefaultList":{
          "shape":"Boolean",
          "documentation":"<p>Specifies whether the list to retrieve is a default list owned by Firewall Manager.</p>"
        }
      }
    },
    "GetProtocolsListResponse":{
      "type":"structure",
      "members":{
        "ProtocolsList":{
          "shape":"ProtocolsListData",
          "documentation":"<p>Information about the specified Firewall Manager protocols list.</p>"
        },
        "ProtocolsListArn":{
          "shape":"ResourceArn",
          "documentation":"<p>The Amazon Resource Name (ARN) of the specified protocols list.</p>"
        }
      }
    },
    "GetViolationDetailsRequest":{
      "type":"structure",
      "required":[
        "PolicyId",
        "MemberAccount",
        "ResourceId",
        "ResourceType"
      ],
      "members":{
        "PolicyId":{
          "shape":"PolicyId",
          "documentation":"<p>The ID of the Firewall Manager policy that you want the details for. This currently only supports security group content audit policies.</p>"
        },
        "MemberAccount":{
          "shape":"AWSAccountId",
          "documentation":"<p>The Amazon Web Services account ID that you want the details for.</p>"
        },
        "ResourceId":{
          "shape":"ResourceId",
          "documentation":"<p>The ID of the resource that has violations.</p>"
        },
        "ResourceType":{
          "shape":"ResourceType",
          "documentation":"<p>The resource type. This is in the format shown in the <a href=\"https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html\">Amazon Web Services Resource Types Reference</a>. Supported resource types are: <code>AWS::EC2::Instance</code>, <code>AWS::EC2::NetworkInterface</code>, <code>AWS::EC2::SecurityGroup</code>, <code>AWS::NetworkFirewall::FirewallPolicy</code>, and <code>AWS::EC2::Subnet</code>. </p>"
        }
      }
    },
    "GetViolationDetailsResponse":{
      "type":"structure",
      "members":{
        "ViolationDetail":{
          "shape":"ViolationDetail",
          "documentation":"<p>Violation detail for a resource.</p>"
        }
      }
    },
    "IPPortNumber":{
      "type":"long",
      "max":65535,
      "min":0
    },
    "InternalErrorException":{
      "type":"structure",
      "members":{
        "Message":{"shape":"ErrorMessage"}
      },
      "documentation":"<p>The operation failed because of a system problem, even though the request was valid. Retry your request.</p>",
      "exception":true
    },
    "InvalidInputException":{
      "type":"structure",
      "members":{
        "Message":{"shape":"ErrorMessage"}
      },
      "documentation":"<p>The parameters of the request were invalid.</p>",
      "exception":true
    },
    "InvalidOperationException":{
      "type":"structure",
      "members":{
        "Message":{"shape":"ErrorMessage"}
      },
      "documentation":"<p>The operation failed because there was nothing to do or the operation wasn't possible. For example, you might have submitted an <code>AssociateAdminAccount</code> request for an account ID that was already set as the Firewall Manager administrator. Or you might have tried to access a Region that's disabled by default, and that you need to enable for the Firewall Manager administrator account and for Organizations before you can access it.</p>",
      "exception":true
    },
    "InvalidTypeException":{
      "type":"structure",
      "members":{
        "Message":{"shape":"ErrorMessage"}
      },
      "documentation":"<p>The value of the <code>Type</code> parameter is invalid.</p>",
      "exception":true
    },
    "IssueInfoMap":{
      "type":"map",
      "key":{"shape":"DependentServiceName"},
      "value":{"shape":"DetailedInfo"}
    },
    "LengthBoundedString":{
      "type":"string",
      "max":1024,
      "min":0
    },
    "LengthBoundedStringList":{
      "type":"list",
      "member":{"shape":"LengthBoundedString"}
    },
    "LimitExceededException":{
      "type":"structure",
      "members":{
        "Message":{"shape":"ErrorMessage"}
      },
      "documentation":"<p>The operation exceeds a resource limit, for example, the maximum number of <code>policy</code> objects that you can create for an Amazon Web Services account. For more information, see <a href=\"https://docs.aws.amazon.com/waf/latest/developerguide/fms-limits.html\">Firewall Manager Limits</a> in the <i>WAF Developer Guide</i>.</p>",
      "exception":true
    },
    "ListAppsListsRequest":{
      "type":"structure",
      "required":["MaxResults"],
      "members":{
        "DefaultLists":{
          "shape":"Boolean",
          "documentation":"<p>Specifies whether the lists to retrieve are default lists owned by Firewall Manager.</p>"
        },
        "NextToken":{
          "shape":"PaginationToken",
          "documentation":"<p>If you specify a value for <code>MaxResults</code> in your list request, and you have more objects than the maximum, Firewall Manager returns this token in the response. For all but the first request, you provide the token returned by the prior request in the request parameters, to retrieve the next batch of objects.</p>"
        },
        "MaxResults":{
          "shape":"PaginationMaxResults",
          "documentation":"<p>The maximum number of objects that you want Firewall Manager to return for this request. If more objects are available, in the response, Firewall Manager provides a <code>NextToken</code> value that you can use in a subsequent call to get the next batch of objects.</p> <p>If you don't specify this, Firewall Manager returns all available objects.</p>"
        }
      }
    },
    "ListAppsListsResponse":{
      "type":"structure",
      "members":{
        "AppsLists":{
          "shape":"AppsListsData",
          "documentation":"<p>An array of <code>AppsListDataSummary</code> objects.</p>"
        },
        "NextToken":{
          "shape":"PaginationToken",
          "documentation":"<p>If you specify a value for <code>MaxResults</code> in your list request, and you have more objects than the maximum, Firewall Manager returns this token in the response. You can use this token in subsequent requests to retrieve the next batch of objects.</p>"
        }
      }
    },
    "ListComplianceStatusRequest":{
      "type":"structure",
      "required":["PolicyId"],
      "members":{
        "PolicyId":{
          "shape":"PolicyId",
          "documentation":"<p>The ID of the Firewall Manager policy that you want the details for.</p>"
        },
        "NextToken":{
          "shape":"PaginationToken",
          "documentation":"<p>If you specify a value for <code>MaxResults</code> and you have more <code>PolicyComplianceStatus</code> objects than the number that you specify for <code>MaxResults</code>, Firewall Manager returns a <code>NextToken</code> value in the response that allows you to list another group of <code>PolicyComplianceStatus</code> objects. For the second and subsequent <code>ListComplianceStatus</code> requests, specify the value of <code>NextToken</code> from the previous response to get information about another batch of <code>PolicyComplianceStatus</code> objects.</p>"
        },
        "MaxResults":{
          "shape":"PaginationMaxResults",
          "documentation":"<p>Specifies the number of <code>PolicyComplianceStatus</code> objects that you want Firewall Manager to return for this request. If you have more <code>PolicyComplianceStatus</code> objects than the number that you specify for <code>MaxResults</code>, the response includes a <code>NextToken</code> value that you can use to get another batch of <code>PolicyComplianceStatus</code> objects.</p>"
        }
      }
    },
    "ListComplianceStatusResponse":{
      "type":"structure",
      "members":{
        "PolicyComplianceStatusList":{
          "shape":"PolicyComplianceStatusList",
          "documentation":"<p>An array of <code>PolicyComplianceStatus</code> objects.</p>"
        },
        "NextToken":{
          "shape":"PaginationToken",
          "documentation":"<p>If you have more <code>PolicyComplianceStatus</code> objects than the number that you specified for <code>MaxResults</code> in the request, the response includes a <code>NextToken</code> value. To list more <code>PolicyComplianceStatus</code> objects, submit another <code>ListComplianceStatus</code> request, and specify the <code>NextToken</code> value from the response in the <code>NextToken</code> value in the next request.</p>"
        }
      }
    },
    "ListId":{
      "type":"string",
      "max":36,
      "min":36,
      "pattern":"^[a-z0-9A-Z-]{36}$"
    },
    "ListMemberAccountsRequest":{
      "type":"structure",
      "members":{
        "NextToken":{
          "shape":"PaginationToken",
          "documentation":"<p>If you specify a value for <code>MaxResults</code> and you have more account IDs than the number that you specify for <code>MaxResults</code>, Firewall Manager returns a <code>NextToken</code> value in the response that allows you to list another group of IDs. For the second and subsequent <code>ListMemberAccountsRequest</code> requests, specify the value of <code>NextToken</code> from the previous response to get information about another batch of member account IDs.</p>"
        },
        "MaxResults":{
          "shape":"PaginationMaxResults",
          "documentation":"<p>Specifies the number of member account IDs that you want Firewall Manager to return for this request. If you have more IDs than the number that you specify for <code>MaxResults</code>, the response includes a <code>NextToken</code> value that you can use to get another batch of member account IDs.</p>"
        }
      }
    },
    "ListMemberAccountsResponse":{
      "type":"structure",
      "members":{
        "MemberAccounts":{
          "shape":"MemberAccounts",
          "documentation":"<p>An array of account IDs.</p>"
        },
        "NextToken":{
          "shape":"PaginationToken",
          "documentation":"<p>If you have more member account IDs than the number that you specified for <code>MaxResults</code> in the request, the response includes a <code>NextToken</code> value. To list more IDs, submit another <code>ListMemberAccounts</code> request, and specify the <code>NextToken</code> value from the response in the <code>NextToken</code> value in the next request.</p>"
        }
      }
    },
    "ListPoliciesRequest":{
      "type":"structure",
      "members":{
        "NextToken":{
          "shape":"PaginationToken",
          "documentation":"<p>If you specify a value for <code>MaxResults</code> and you have more <code>PolicySummary</code> objects than the number that you specify for <code>MaxResults</code>, Firewall Manager returns a <code>NextToken</code> value in the response that allows you to list another group of <code>PolicySummary</code> objects. For the second and subsequent <code>ListPolicies</code> requests, specify the value of <code>NextToken</code> from the previous response to get information about another batch of <code>PolicySummary</code> objects.</p>"
        },
        "MaxResults":{
          "shape":"PaginationMaxResults",
          "documentation":"<p>Specifies the number of <code>PolicySummary</code> objects that you want Firewall Manager to return for this request. If you have more <code>PolicySummary</code> objects than the number that you specify for <code>MaxResults</code>, the response includes a <code>NextToken</code> value that you can use to get another batch of <code>PolicySummary</code> objects.</p>"
        }
      }
    },
    "ListPoliciesResponse":{
      "type":"structure",
      "members":{
        "PolicyList":{
          "shape":"PolicySummaryList",
          "documentation":"<p>An array of <code>PolicySummary</code> objects.</p>"
        },
        "NextToken":{
          "shape":"PaginationToken",
          "documentation":"<p>If you have more <code>PolicySummary</code> objects than the number that you specified for <code>MaxResults</code> in the request, the response includes a <code>NextToken</code> value. To list more <code>PolicySummary</code> objects, submit another <code>ListPolicies</code> request, and specify the <code>NextToken</code> value from the response in the <code>NextToken</code> value in the next request.</p>"
        }
      }
    },
    "ListProtocolsListsRequest":{
      "type":"structure",
      "required":["MaxResults"],
      "members":{
        "DefaultLists":{
          "shape":"Boolean",
          "documentation":"<p>Specifies whether the lists to retrieve are default lists owned by Firewall Manager.</p>"
        },
        "NextToken":{
          "shape":"PaginationToken",
          "documentation":"<p>If you specify a value for <code>MaxResults</code> in your list request, and you have more objects than the maximum, Firewall Manager returns this token in the response. For all but the first request, you provide the token returned by the prior request in the request parameters, to retrieve the next batch of objects.</p>"
        },
        "MaxResults":{
          "shape":"PaginationMaxResults",
          "documentation":"<p>The maximum number of objects that you want Firewall Manager to return for this request. If more objects are available, in the response, Firewall Manager provides a <code>NextToken</code> value that you can use in a subsequent call to get the next batch of objects.</p> <p>If you don't specify this, Firewall Manager returns all available objects.</p>"
        }
      }
    },
    "ListProtocolsListsResponse":{
      "type":"structure",
      "members":{
        "ProtocolsLists":{
          "shape":"ProtocolsListsData",
          "documentation":"<p>An array of <code>ProtocolsListDataSummary</code> objects.</p>"
        },
        "NextToken":{
          "shape":"PaginationToken",
          "documentation":"<p>If you specify a value for <code>MaxResults</code> in your list request, and you have more objects than the maximum, Firewall Manager returns this token in the response. You can use this token in subsequent requests to retrieve the next batch of objects.</p>"
        }
      }
    },
    "ListTagsForResourceRequest":{
      "type":"structure",
      "required":["ResourceArn"],
      "members":{
        "ResourceArn":{
          "shape":"ResourceArn",
          "documentation":"<p>The Amazon Resource Name (ARN) of the resource to return tags for. The Firewall Manager resources that support tagging are policies, applications lists, and protocols lists. </p>"
        }
      }
    },
    "ListTagsForResourceResponse":{
      "type":"structure",
      "members":{
        "TagList":{
          "shape":"TagList",
          "documentation":"<p>The tags associated with the resource.</p>"
        }
      }
    },
    "ManagedServiceData":{
      "type":"string",
      "max":4096,
      "min":1,
      "pattern":".*"
    },
    "MemberAccounts":{
      "type":"list",
      "member":{"shape":"AWSAccountId"}
    },
    "NetworkFirewallAction":{
      "type":"string",
      "max":128,
      "min":1,
      "pattern":"^[a-zA-Z0-9]+$"
    },
    "NetworkFirewallActionList":{
      "type":"list",
      "member":{"shape":"NetworkFirewallAction"}
    },
    "NetworkFirewallBlackHoleRouteDetectedViolation":{
      "type":"structure",
      "members":{
        "ViolationTarget":{
          "shape":"ViolationTarget",
          "documentation":"<p>The subnet that has an inactive state.</p>"
        },
        "RouteTableId":{
          "shape":"ResourceId",
          "documentation":"<p>Information about the route table ID.</p>"
        },
        "VpcId":{
          "shape":"ResourceId",
          "documentation":"<p>Information about the VPC ID.</p>"
        },
        "ViolatingRoutes":{
          "shape":"Routes",
          "documentation":"<p>Information about the route or routes that are in violation.</p>"
        }
      },
      "documentation":"<p>Violation detail for an internet gateway route with an inactive state in the customer subnet route table or Network Firewall subnet route table.</p>"
    },
    "NetworkFirewallInternetTrafficNotInspectedViolation":{
      "type":"structure",
      "members":{
        "SubnetId":{
          "shape":"ResourceId",
          "documentation":"<p>The subnet ID.</p>"
        },
        "SubnetAvailabilityZone":{
          "shape":"LengthBoundedString",
          "documentation":"<p>The subnet Availability Zone.</p>"
        },
        "RouteTableId":{
          "shape":"ResourceId",
          "documentation":"<p>Information about the route table ID.</p>"
        },
        "ViolatingRoutes":{
          "shape":"Routes",
          "documentation":"<p>The route or routes that are in violation.</p>"
        },
        "IsRouteTableUsedInDifferentAZ":{
          "shape":"Boolean",
          "documentation":"<p>Information about whether the route table is used in another Availability Zone.</p>"
        },
        "CurrentFirewallSubnetRouteTable":{
          "shape":"ResourceId",
          "documentation":"<p>Information about the subnet route table for the current firewall.</p>"
        },
        "ExpectedFirewallEndpoint":{
          "shape":"ResourceId",
          "documentation":"<p>The expected endpoint for the current firewall.</p>"
        },
        "FirewallSubnetId":{
          "shape":"ResourceId",
          "documentation":"<p>The firewall subnet ID.</p>"
        },
        "ExpectedFirewallSubnetRoutes":{
          "shape":"ExpectedRoutes",
          "documentation":"<p>The firewall subnet routes that are expected.</p>"
        },
        "ActualFirewallSubnetRoutes":{
          "shape":"Routes",
          "documentation":"<p>The actual firewall subnet routes.</p>"
        },
        "InternetGatewayId":{
          "shape":"ResourceId",
          "documentation":"<p>The internet gateway ID.</p>"
        },
        "CurrentInternetGatewayRouteTable":{
          "shape":"ResourceId",
          "documentation":"<p>The current route table for the internet gateway.</p>"
        },
        "ExpectedInternetGatewayRoutes":{
          "shape":"ExpectedRoutes",
          "documentation":"<p>The internet gateway routes that are expected.</p>"
        },
        "ActualInternetGatewayRoutes":{
          "shape":"Routes",
          "documentation":"<p>The actual internet gateway routes.</p>"
        },
        "VpcId":{
          "shape":"ResourceId",
          "documentation":"<p>Information about the VPC ID.</p>"
        }
      },
      "documentation":"<p>Violation detail for the subnet for which internet traffic that hasn't been inspected.</p>"
    },
    "NetworkFirewallInvalidRouteConfigurationViolation":{
      "type":"structure",
      "members":{
        "AffectedSubnets":{
          "shape":"ResourceIdList",
          "documentation":"<p>The subnets that are affected.</p>"
        },
        "RouteTableId":{
          "shape":"ResourceId",
          "documentation":"<p>The route table ID.</p>"
        },
        "IsRouteTableUsedInDifferentAZ":{
          "shape":"Boolean",
          "documentation":"<p>Information about whether the route table is used in another Availability Zone.</p>"
        },
        "ViolatingRoute":{
          "shape":"Route",
          "documentation":"<p>The route that's in violation.</p>"
        },
        "CurrentFirewallSubnetRouteTable":{
          "shape":"ResourceId",
          "documentation":"<p>The subnet route table for the current firewall.</p>"
        },
        "ExpectedFirewallEndpoint":{
          "shape":"ResourceId",
          "documentation":"<p>The firewall endpoint that's expected.</p>"
        },
        "ActualFirewallEndpoint":{
          "shape":"ResourceId",
          "documentation":"<p>The actual firewall endpoint.</p>"
        },
        "ExpectedFirewallSubnetId":{
          "shape":"ResourceId",
          "documentation":"<p>The expected subnet ID for the firewall.</p>"
        },
        "ActualFirewallSubnetId":{
          "shape":"ResourceId",
          "documentation":"<p>The actual subnet ID for the firewall.</p>"
        },
        "ExpectedFirewallSubnetRoutes":{
          "shape":"ExpectedRoutes",
          "documentation":"<p>The firewall subnet routes that are expected.</p>"
        },
        "ActualFirewallSubnetRoutes":{
          "shape":"Routes",
          "documentation":"<p>The actual firewall subnet routes that are expected.</p>"
        },
        "InternetGatewayId":{
          "shape":"ResourceId",
          "documentation":"<p>The internet gateway ID.</p>"
        },
        "CurrentInternetGatewayRouteTable":{
          "shape":"ResourceId",
          "documentation":"<p>The route table for the current internet gateway.</p>"
        },
        "ExpectedInternetGatewayRoutes":{
          "shape":"ExpectedRoutes",
          "documentation":"<p>The expected routes for the internet gateway.</p>"
        },
        "ActualInternetGatewayRoutes":{
          "shape":"Routes",
          "documentation":"<p>The actual internet gateway routes.</p>"
        },
        "VpcId":{
          "shape":"ResourceId",
          "documentation":"<p>Information about the VPC ID.</p>"
        }
      },
      "documentation":"<p>Violation detail for the improperly configured subnet route. It's possible there is a missing route table route, or a configuration that causes traffic to cross an Availability Zone boundary.</p>"
    },
    "NetworkFirewallMissingExpectedRTViolation":{
      "type":"structure",
      "members":{
        "ViolationTarget":{
          "shape":"ViolationTarget",
          "documentation":"<p>The ID of the Network Firewall or VPC resource that's in violation.</p>"
        },
        "VPC":{
          "shape":"ResourceId",
          "documentation":"<p>The resource ID of the VPC associated with a violating subnet.</p>"
        },
        "AvailabilityZone":{
          "shape":"LengthBoundedString",
          "documentation":"<p>The Availability Zone of a violating subnet. </p>"
        },
        "CurrentRouteTable":{
          "shape":"ResourceId",
          "documentation":"<p>The resource ID of the current route table that's associated with the subnet, if one is available.</p>"
        },
        "ExpectedRouteTable":{
          "shape":"ResourceId",
          "documentation":"<p>The resource ID of the route table that should be associated with the subnet.</p>"
        }
      },
      "documentation":"<p>Violation detail for Network Firewall for a subnet that's not associated to the expected Firewall Manager managed route table.</p>"
    },
    "NetworkFirewallMissingExpectedRoutesViolation":{
      "type":"structure",
      "members":{
        "ViolationTarget":{
          "shape":"ViolationTarget",
          "documentation":"<p>The target of the violation.</p>"
        },
        "ExpectedRoutes":{
          "shape":"ExpectedRoutes",
          "documentation":"<p>The expected routes.</p>"
        },
        "VpcId":{
          "shape":"ResourceId",
          "documentation":"<p>Information about the VPC ID.</p>"
        }
      },
      "documentation":"<p>Violation detail for an expected route missing in Network Firewall.</p>"
    },
    "NetworkFirewallMissingFirewallViolation":{
      "type":"structure",
      "members":{
        "ViolationTarget":{
          "shape":"ViolationTarget",
          "documentation":"<p>The ID of the Network Firewall or VPC resource that's in violation.</p>"
        },
        "VPC":{
          "shape":"ResourceId",
          "documentation":"<p>The resource ID of the VPC associated with a violating subnet.</p>"
        },
        "AvailabilityZone":{
          "shape":"LengthBoundedString",
          "documentation":"<p>The Availability Zone of a violating subnet. </p>"
        },
        "TargetViolationReason":{
          "shape":"TargetViolationReason",
          "documentation":"<p>The reason the resource has this violation, if one is available. </p>"
        }
      },
      "documentation":"<p>Violation detail for Network Firewall for a subnet that doesn't have a Firewall Manager managed firewall in its VPC. </p>"
    },
    "NetworkFirewallMissingSubnetViolation":{
      "type":"structure",
      "members":{
        "ViolationTarget":{
          "shape":"ViolationTarget",
          "documentation":"<p>The ID of the Network Firewall or VPC resource that's in violation.</p>"
        },
        "VPC":{
          "shape":"ResourceId",
          "documentation":"<p>The resource ID of the VPC associated with a violating subnet.</p>"
        },
        "AvailabilityZone":{
          "shape":"LengthBoundedString",
          "documentation":"<p>The Availability Zone of a violating subnet. </p>"
        },
        "TargetViolationReason":{
          "shape":"TargetViolationReason",
          "documentation":"<p>The reason the resource has this violation, if one is available. </p>"
        }
      },
      "documentation":"<p>Violation detail for Network Firewall for an Availability Zone that's missing the expected Firewall Manager managed subnet.</p>"
    },
    "NetworkFirewallPolicyDescription":{
      "type":"structure",
      "members":{
        "StatelessRuleGroups":{
          "shape":"StatelessRuleGroupList",
          "documentation":"<p>The stateless rule groups that are used in the Network Firewall firewall policy. </p>"
        },
        "StatelessDefaultActions":{
          "shape":"NetworkFirewallActionList",
          "documentation":"<p>The actions to take on packets that don't match any of the stateless rule groups. </p>"
        },
        "StatelessFragmentDefaultActions":{
          "shape":"NetworkFirewallActionList",
          "documentation":"<p>The actions to take on packet fragments that don't match any of the stateless rule groups. </p>"
        },
        "StatelessCustomActions":{
          "shape":"NetworkFirewallActionList",
          "documentation":"<p>Names of custom actions that are available for use in the stateless default actions settings.</p>"
        },
        "StatefulRuleGroups":{
          "shape":"StatefulRuleGroupList",
          "documentation":"<p>The stateful rule groups that are used in the Network Firewall firewall policy. </p>"
        }
      },
      "documentation":"<p>The definition of the Network Firewall firewall policy.</p>"
    },
    "NetworkFirewallPolicyModifiedViolation":{
      "type":"structure",
      "members":{
        "ViolationTarget":{
          "shape":"ViolationTarget",
          "documentation":"<p>The ID of the Network Firewall or VPC resource that's in violation.</p>"
        },
        "CurrentPolicyDescription":{
          "shape":"NetworkFirewallPolicyDescription",
          "documentation":"<p>The policy that's currently in use in the individual account. </p>"
        },
        "ExpectedPolicyDescription":{
          "shape":"NetworkFirewallPolicyDescription",
          "documentation":"<p>The policy that should be in use in the individual account in order to be compliant. </p>"
        }
      },
      "documentation":"<p>Violation detail for Network Firewall for a firewall policy that has a different <a>NetworkFirewallPolicyDescription</a> than is required by the Firewall Manager policy. </p>"
    },
    "NetworkFirewallResourceName":{
      "type":"string",
      "max":128,
      "min":1,
      "pattern":"^[a-zA-Z0-9-]+$"
    },
    "NetworkFirewallUnexpectedFirewallRoutesViolation":{
      "type":"structure",
      "members":{
        "FirewallSubnetId":{
          "shape":"ResourceId",
          "documentation":"<p>The subnet ID for the firewall.</p>"
        },
        "ViolatingRoutes":{
          "shape":"Routes",
          "documentation":"<p>The routes that are in violation.</p>"
        },
        "RouteTableId":{
          "shape":"ResourceId",
          "documentation":"<p>The ID of the route table.</p>"
        },
        "FirewallEndpoint":{
          "shape":"ResourceId",
          "documentation":"<p>The endpoint of the firewall.</p>"
        },
        "VpcId":{
          "shape":"ResourceId",
          "documentation":"<p>Information about the VPC ID.</p>"
        }
      },
      "documentation":"<p>Violation detail for an unexpected route that's present in a route table.</p>"
    },
    "NetworkFirewallUnexpectedGatewayRoutesViolation":{
      "type":"structure",
      "members":{
        "GatewayId":{
          "shape":"ResourceId",
          "documentation":"<p>Information about the gateway ID.</p>"
        },
        "ViolatingRoutes":{
          "shape":"Routes",
          "documentation":"<p>The routes that are in violation.</p>"
        },
        "RouteTableId":{
          "shape":"ResourceId",
          "documentation":"<p>Information about the route table.</p>"
        },
        "VpcId":{
          "shape":"ResourceId",
          "documentation":"<p>Information about the VPC ID.</p>"
        }
      },
      "documentation":"<p>Violation detail for an unexpected gateway route that’s present in a route table.</p>"
    },
    "OrderedRemediationActions":{
      "type":"list",
      "member":{"shape":"RemediationActionWithOrder"}
    },
    "PaginationMaxResults":{
      "type":"integer",
      "max":100,
      "min":1
    },
    "PaginationToken":{
      "type":"string",
      "max":4096,
      "min":1,
      "pattern":"^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$"
    },
    "PartialMatch":{
      "type":"structure",
      "members":{
        "Reference":{
          "shape":"ReferenceRule",
          "documentation":"<p>The reference rule from the primary security group of the Firewall Manager policy.</p>"
        },
        "TargetViolationReasons":{
          "shape":"TargetViolationReasons",
          "documentation":"<p>The violation reason.</p>"
        }
      },
      "documentation":"<p>The reference rule that partially matches the <code>ViolationTarget</code> rule and violation reason.</p>"
    },
    "PartialMatches":{
      "type":"list",
      "member":{"shape":"PartialMatch"}
    },
    "Policy":{
      "type":"structure",
      "required":[
        "PolicyName",
        "SecurityServicePolicyData",
        "ResourceType",
        "ExcludeResourceTags",
        "RemediationEnabled"
      ],
      "members":{
        "PolicyId":{
          "shape":"PolicyId",
          "documentation":"<p>The ID of the Firewall Manager policy.</p>"
        },
        "PolicyName":{
          "shape":"ResourceName",
          "documentation":"<p>The name of the Firewall Manager policy.</p>"
        },
        "PolicyUpdateToken":{
          "shape":"PolicyUpdateToken",
          "documentation":"<p>A unique identifier for each update to the policy. When issuing a <code>PutPolicy</code> request, the <code>PolicyUpdateToken</code> in the request must match the <code>PolicyUpdateToken</code> of the current policy version. To get the <code>PolicyUpdateToken</code> of the current policy version, use a <code>GetPolicy</code> request.</p>"
        },
        "SecurityServicePolicyData":{
          "shape":"SecurityServicePolicyData",
          "documentation":"<p>Details about the security service that is being used to protect the resources.</p>"
        },
        "ResourceType":{
          "shape":"ResourceType",
          "documentation":"<p>The type of resource protected by or in scope of the policy. This is in the format shown in the <a href=\"https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html\">Amazon Web Services Resource Types Reference</a>. To apply this policy to multiple resource types, specify a resource type of <code>ResourceTypeList</code> and then specify the resource types in a <code>ResourceTypeList</code>.</p> <p>For WAF and Shield Advanced, example resource types include <code>AWS::ElasticLoadBalancingV2::LoadBalancer</code> and <code>AWS::CloudFront::Distribution</code>. For a security group common policy, valid values are <code>AWS::EC2::NetworkInterface</code> and <code>AWS::EC2::Instance</code>. For a security group content audit policy, valid values are <code>AWS::EC2::SecurityGroup</code>, <code>AWS::EC2::NetworkInterface</code>, and <code>AWS::EC2::Instance</code>. For a security group usage audit policy, the value is <code>AWS::EC2::SecurityGroup</code>. For an Network Firewall policy or DNS Firewall policy, the value is <code>AWS::EC2::VPC</code>.</p>"
        },
        "ResourceTypeList":{
          "shape":"ResourceTypeList",
          "documentation":"<p>An array of <code>ResourceType</code> objects. Use this only to specify multiple resource types. To specify a single resource type, use <code>ResourceType</code>.</p>"
        },
        "ResourceTags":{
          "shape":"ResourceTags",
          "documentation":"<p>An array of <code>ResourceTag</code> objects.</p>"
        },
        "ExcludeResourceTags":{
          "shape":"Boolean",
          "documentation":"<p>If set to <code>True</code>, resources with the tags that are specified in the <code>ResourceTag</code> array are not in scope of the policy. If set to <code>False</code>, and the <code>ResourceTag</code> array is not null, only resources with the specified tags are in scope of the policy.</p>"
        },
        "RemediationEnabled":{
          "shape":"Boolean",
          "documentation":"<p>Indicates if the policy should be automatically applied to new resources.</p>"
        },
        "DeleteUnusedFMManagedResources":{
          "shape":"Boolean",
          "documentation":"<p>Indicates whether Firewall Manager should delete Firewall Manager managed resources, such as web ACLs and security groups, when they are not in use by the Firewall Manager policy. By default, Firewall Manager doesn't delete unused Firewall Manager managed resources. This option is not available for Shield Advanced or WAF Classic policies.</p>"
        },
        "IncludeMap":{
          "shape":"CustomerPolicyScopeMap",
          "documentation":"<p>Specifies the Amazon Web Services account IDs and Organizations organizational units (OUs) to include in the policy. Specifying an OU is the equivalent of specifying all accounts in the OU and in any of its child OUs, including any child OUs and accounts that are added at a later time.</p> <p>You can specify inclusions or exclusions, but not both. If you specify an <code>IncludeMap</code>, Firewall Manager applies the policy to all accounts specified by the <code>IncludeMap</code>, and does not evaluate any <code>ExcludeMap</code> specifications. If you do not specify an <code>IncludeMap</code>, then Firewall Manager applies the policy to all accounts except for those specified by the <code>ExcludeMap</code>.</p> <p>You can specify account IDs, OUs, or a combination: </p> <ul> <li> <p>Specify account IDs by setting the key to <code>ACCOUNT</code>. For example, the following is a valid map: <code>{“ACCOUNT” : [“accountID1”, “accountID2”]}</code>.</p> </li> <li> <p>Specify OUs by setting the key to <code>ORG_UNIT</code>. For example, the following is a valid map: <code>{“ORG_UNIT” : [“ouid111”, “ouid112”]}</code>.</p> </li> <li> <p>Specify accounts and OUs together in a single map, separated with a comma. For example, the following is a valid map: <code>{“ACCOUNT” : [“accountID1”, “accountID2”], “ORG_UNIT” : [“ouid111”, “ouid112”]}</code>.</p> </li> </ul>"
        },
        "ExcludeMap":{
          "shape":"CustomerPolicyScopeMap",
          "documentation":"<p>Specifies the Amazon Web Services account IDs and Organizations organizational units (OUs) to exclude from the policy. Specifying an OU is the equivalent of specifying all accounts in the OU and in any of its child OUs, including any child OUs and accounts that are added at a later time.</p> <p>You can specify inclusions or exclusions, but not both. If you specify an <code>IncludeMap</code>, Firewall Manager applies the policy to all accounts specified by the <code>IncludeMap</code>, and does not evaluate any <code>ExcludeMap</code> specifications. If you do not specify an <code>IncludeMap</code>, then Firewall Manager applies the policy to all accounts except for those specified by the <code>ExcludeMap</code>.</p> <p>You can specify account IDs, OUs, or a combination: </p> <ul> <li> <p>Specify account IDs by setting the key to <code>ACCOUNT</code>. For example, the following is a valid map: <code>{“ACCOUNT” : [“accountID1”, “accountID2”]}</code>.</p> </li> <li> <p>Specify OUs by setting the key to <code>ORG_UNIT</code>. For example, the following is a valid map: <code>{“ORG_UNIT” : [“ouid111”, “ouid112”]}</code>.</p> </li> <li> <p>Specify accounts and OUs together in a single map, separated with a comma. For example, the following is a valid map: <code>{“ACCOUNT” : [“accountID1”, “accountID2”], “ORG_UNIT” : [“ouid111”, “ouid112”]}</code>.</p> </li> </ul>"
        }
      },
      "documentation":"<p>An Firewall Manager policy.</p>"
    },
    "PolicyComplianceDetail":{
      "type":"structure",
      "members":{
        "PolicyOwner":{
          "shape":"AWSAccountId",
          "documentation":"<p>The Amazon Web Services account that created the Firewall Manager policy.</p>"
        },
        "PolicyId":{
          "shape":"PolicyId",
          "documentation":"<p>The ID of the Firewall Manager policy.</p>"
        },
        "MemberAccount":{
          "shape":"AWSAccountId",
          "documentation":"<p>The Amazon Web Services account ID.</p>"
        },
        "Violators":{
          "shape":"ComplianceViolators",
          "documentation":"<p>An array of resources that aren't protected by the WAF or Shield Advanced policy or that aren't in compliance with the security group policy.</p>"
        },
        "EvaluationLimitExceeded":{
          "shape":"Boolean",
          "documentation":"<p>Indicates if over 100 resources are noncompliant with the Firewall Manager policy.</p>"
        },
        "ExpiredAt":{
          "shape":"TimeStamp",
          "documentation":"<p>A timestamp that indicates when the returned information should be considered out of date.</p>"
        },
        "IssueInfoMap":{
          "shape":"IssueInfoMap",
          "documentation":"<p>Details about problems with dependent services, such as WAF or Config, and the error message received that indicates the problem with the service.</p>"
        }
      },
      "documentation":"<p>Describes the noncompliant resources in a member account for a specific Firewall Manager policy. A maximum of 100 entries are displayed. If more than 100 resources are noncompliant, <code>EvaluationLimitExceeded</code> is set to <code>True</code>.</p>"
    },
    "PolicyComplianceStatus":{
      "type":"structure",
      "members":{
        "PolicyOwner":{
          "shape":"AWSAccountId",
          "documentation":"<p>The Amazon Web Services account that created the Firewall Manager policy.</p>"
        },
        "PolicyId":{
          "shape":"PolicyId",
          "documentation":"<p>The ID of the Firewall Manager policy.</p>"
        },
        "PolicyName":{
          "shape":"ResourceName",
          "documentation":"<p>The name of the Firewall Manager policy.</p>"
        },
        "MemberAccount":{
          "shape":"AWSAccountId",
          "documentation":"<p>The member account ID.</p>"
        },
        "EvaluationResults":{
          "shape":"EvaluationResults",
          "documentation":"<p>An array of <code>EvaluationResult</code> objects.</p>"
        },
        "LastUpdated":{
          "shape":"TimeStamp",
          "documentation":"<p>Timestamp of the last update to the <code>EvaluationResult</code> objects.</p>"
        },
        "IssueInfoMap":{
          "shape":"IssueInfoMap",
          "documentation":"<p>Details about problems with dependent services, such as WAF or Config, and the error message received that indicates the problem with the service.</p>"
        }
      },
      "documentation":"<p>Indicates whether the account is compliant with the specified policy. An account is considered noncompliant if it includes resources that are not protected by the policy, for WAF and Shield Advanced policies, or that are noncompliant with the policy, for security group policies.</p>"
    },
    "PolicyComplianceStatusList":{
      "type":"list",
      "member":{"shape":"PolicyComplianceStatus"}
    },
    "PolicyComplianceStatusType":{
      "type":"string",
      "enum":[
        "COMPLIANT",
        "NON_COMPLIANT"
      ]
    },
    "PolicyId":{
      "type":"string",
      "max":36,
      "min":36,
      "pattern":"^[a-z0-9A-Z-]{36}$"
    },
    "PolicySummary":{
      "type":"structure",
      "members":{
        "PolicyArn":{
          "shape":"ResourceArn",
          "documentation":"<p>The Amazon Resource Name (ARN) of the specified policy.</p>"
        },
        "PolicyId":{
          "shape":"PolicyId",
          "documentation":"<p>The ID of the specified policy.</p>"
        },
        "PolicyName":{
          "shape":"ResourceName",
          "documentation":"<p>The name of the specified policy.</p>"
        },
        "ResourceType":{
          "shape":"ResourceType",
          "documentation":"<p>The type of resource protected by or in scope of the policy. This is in the format shown in the <a href=\"https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html\">Amazon Web Services Resource Types Reference</a>. For WAF and Shield Advanced, examples include <code>AWS::ElasticLoadBalancingV2::LoadBalancer</code> and <code>AWS::CloudFront::Distribution</code>. For a security group common policy, valid values are <code>AWS::EC2::NetworkInterface</code> and <code>AWS::EC2::Instance</code>. For a security group content audit policy, valid values are <code>AWS::EC2::SecurityGroup</code>, <code>AWS::EC2::NetworkInterface</code>, and <code>AWS::EC2::Instance</code>. For a security group usage audit policy, the value is <code>AWS::EC2::SecurityGroup</code>. For an Network Firewall policy or DNS Firewall policy, the value is <code>AWS::EC2::VPC</code>.</p>"
        },
        "SecurityServiceType":{
          "shape":"SecurityServiceType",
          "documentation":"<p>The service that the policy is using to protect the resources. This specifies the type of policy that is created, either an WAF policy, a Shield Advanced policy, or a security group policy.</p>"
        },
        "RemediationEnabled":{
          "shape":"Boolean",
          "documentation":"<p>Indicates if the policy should be automatically applied to new resources.</p>"
        },
        "DeleteUnusedFMManagedResources":{
          "shape":"Boolean",
          "documentation":"<p>Indicates whether Firewall Manager should delete Firewall Manager managed resources, such as web ACLs and security groups, when they are not in use by the Firewall Manager policy. By default, Firewall Manager doesn't delete unused Firewall Manager managed resources. This option is not available for Shield Advanced or WAF Classic policies.</p>"
        }
      },
      "documentation":"<p>Details of the Firewall Manager policy. </p>"
    },
    "PolicySummaryList":{
      "type":"list",
      "member":{"shape":"PolicySummary"}
    },
    "PolicyUpdateToken":{
      "type":"string",
      "max":1024,
      "min":1,
      "pattern":"^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$"
    },
    "PossibleRemediationAction":{
      "type":"structure",
      "required":["OrderedRemediationActions"],
      "members":{
        "Description":{
          "shape":"LengthBoundedString",
          "documentation":"<p>A description of the list of remediation actions.</p>"
        },
        "OrderedRemediationActions":{
          "shape":"OrderedRemediationActions",
          "documentation":"<p>The ordered list of remediation actions.</p>"
        },
        "IsDefaultAction":{
          "shape":"Boolean",
          "documentation":"<p>Information about whether an action is taken by default.</p>"
        }
      },
      "documentation":"<p>A list of remediation actions.</p>"
    },
    "PossibleRemediationActionList":{
      "type":"list",
      "member":{"shape":"PossibleRemediationAction"}
    },
    "PossibleRemediationActions":{
      "type":"structure",
      "members":{
        "Description":{
          "shape":"LengthBoundedString",
          "documentation":"<p>A description of the possible remediation actions list.</p>"
        },
        "Actions":{
          "shape":"PossibleRemediationActionList",
          "documentation":"<p>Information about the actions.</p>"
        }
      },
      "documentation":"<p>A list of possible remediation action lists. Each individual possible remediation action is a list of individual remediation actions.</p>"
    },
    "PreviousAppsList":{
      "type":"map",
      "key":{"shape":"PreviousListVersion"},
      "value":{"shape":"AppsList"}
    },
    "PreviousListVersion":{
      "type":"string",
      "max":2,
      "min":1,
      "pattern":"^\\d{1,2}$"
    },
    "PreviousProtocolsList":{
      "type":"map",
      "key":{"shape":"PreviousListVersion"},
      "value":{"shape":"ProtocolsList"}
    },
    "ProtectionData":{"type":"string"},
    "Protocol":{
      "type":"string",
      "max":20,
      "min":1,
      "pattern":"^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$"
    },
    "ProtocolsList":{
      "type":"list",
      "member":{"shape":"Protocol"}
    },
    "ProtocolsListData":{
      "type":"structure",
      "required":[
        "ListName",
        "ProtocolsList"
      ],
      "members":{
        "ListId":{
          "shape":"ListId",
          "documentation":"<p>The ID of the Firewall Manager protocols list.</p>"
        },
        "ListName":{
          "shape":"ResourceName",
          "documentation":"<p>The name of the Firewall Manager protocols list.</p>"
        },
        "ListUpdateToken":{
          "shape":"UpdateToken",
          "documentation":"<p>A unique identifier for each update to the list. When you update the list, the update token must match the token of the current version of the application list. You can retrieve the update token by getting the list. </p>"
        },
        "CreateTime":{
          "shape":"TimeStamp",
          "documentation":"<p>The time that the Firewall Manager protocols list was created.</p>"
        },
        "LastUpdateTime":{
          "shape":"TimeStamp",
          "documentation":"<p>The time that the Firewall Manager protocols list was last updated.</p>"
        },
        "ProtocolsList":{
          "shape":"ProtocolsList",
          "documentation":"<p>An array of protocols in the Firewall Manager protocols list.</p>"
        },
        "PreviousProtocolsList":{
          "shape":"PreviousProtocolsList",
          "documentation":"<p>A map of previous version numbers to their corresponding protocol arrays.</p>"
        }
      },
      "documentation":"<p>An Firewall Manager protocols list.</p>"
    },
    "ProtocolsListDataSummary":{
      "type":"structure",
      "members":{
        "ListArn":{
          "shape":"ResourceArn",
          "documentation":"<p>The Amazon Resource Name (ARN) of the specified protocols list.</p>"
        },
        "ListId":{
          "shape":"ListId",
          "documentation":"<p>The ID of the specified protocols list.</p>"
        },
        "ListName":{
          "shape":"ResourceName",
          "documentation":"<p>The name of the specified protocols list.</p>"
        },
        "ProtocolsList":{
          "shape":"ProtocolsList",
          "documentation":"<p>An array of protocols in the Firewall Manager protocols list.</p>"
        }
      },
      "documentation":"<p>Details of the Firewall Manager protocols list.</p>"
    },
    "ProtocolsListsData":{
      "type":"list",
      "member":{"shape":"ProtocolsListDataSummary"}
    },
    "PutAppsListRequest":{
      "type":"structure",
      "required":["AppsList"],
      "members":{
        "AppsList":{
          "shape":"AppsListData",
          "documentation":"<p>The details of the Firewall Manager applications list to be created.</p>"
        },
        "TagList":{
          "shape":"TagList",
          "documentation":"<p>The tags associated with the resource.</p>"
        }
      }
    },
    "PutAppsListResponse":{
      "type":"structure",
      "members":{
        "AppsList":{
          "shape":"AppsListData",
          "documentation":"<p>The details of the Firewall Manager applications list.</p>"
        },
        "AppsListArn":{
          "shape":"ResourceArn",
          "documentation":"<p>The Amazon Resource Name (ARN) of the applications list.</p>"
        }
      }
    },
    "PutNotificationChannelRequest":{
      "type":"structure",
      "required":[
        "SnsTopicArn",
        "SnsRoleName"
      ],
      "members":{
        "SnsTopicArn":{
          "shape":"ResourceArn",
          "documentation":"<p>The Amazon Resource Name (ARN) of the SNS topic that collects notifications from Firewall Manager.</p>"
        },
        "SnsRoleName":{
          "shape":"ResourceArn",
          "documentation":"<p>The Amazon Resource Name (ARN) of the IAM role that allows Amazon SNS to record Firewall Manager activity. </p>"
        }
      }
    },
    "PutPolicyRequest":{
      "type":"structure",
      "required":["Policy"],
      "members":{
        "Policy":{
          "shape":"Policy",
          "documentation":"<p>The details of the Firewall Manager policy to be created.</p>"
        },
        "TagList":{
          "shape":"TagList",
          "documentation":"<p>The tags to add to the Amazon Web Services resource.</p>"
        }
      }
    },
    "PutPolicyResponse":{
      "type":"structure",
      "members":{
        "Policy":{
          "shape":"Policy",
          "documentation":"<p>The details of the Firewall Manager policy.</p>"
        },
        "PolicyArn":{
          "shape":"ResourceArn",
          "documentation":"<p>The Amazon Resource Name (ARN) of the policy.</p>"
        }
      }
    },
    "PutProtocolsListRequest":{
      "type":"structure",
      "required":["ProtocolsList"],
      "members":{
        "ProtocolsList":{
          "shape":"ProtocolsListData",
          "documentation":"<p>The details of the Firewall Manager protocols list to be created.</p>"
        },
        "TagList":{
          "shape":"TagList",
          "documentation":"<p>The tags associated with the resource.</p>"
        }
      }
    },
    "PutProtocolsListResponse":{
      "type":"structure",
      "members":{
        "ProtocolsList":{
          "shape":"ProtocolsListData",
          "documentation":"<p>The details of the Firewall Manager protocols list.</p>"
        },
        "ProtocolsListArn":{
          "shape":"ResourceArn",
          "documentation":"<p>The Amazon Resource Name (ARN) of the protocols list.</p>"
        }
      }
    },
    "ReferenceRule":{"type":"string"},
    "RemediationAction":{
      "type":"structure",
      "members":{
        "Description":{
          "shape":"LengthBoundedString",
          "documentation":"<p>A description of a remediation action.</p>"
        },
        "EC2CreateRouteAction":{
          "shape":"EC2CreateRouteAction",
          "documentation":"<p>Information about the CreateRoute action in the Amazon EC2 API.</p>"
        },
        "EC2ReplaceRouteAction":{
          "shape":"EC2ReplaceRouteAction",
          "documentation":"<p>Information about the ReplaceRoute action in the Amazon EC2 API.</p>"
        },
        "EC2DeleteRouteAction":{
          "shape":"EC2DeleteRouteAction",
          "documentation":"<p>Information about the DeleteRoute action in the Amazon EC2 API.</p>"
        },
        "EC2CopyRouteTableAction":{
          "shape":"EC2CopyRouteTableAction",
          "documentation":"<p>Information about the CopyRouteTable action in the Amazon EC2 API.</p>"
        },
        "EC2ReplaceRouteTableAssociationAction":{
          "shape":"EC2ReplaceRouteTableAssociationAction",
          "documentation":"<p>Information about the ReplaceRouteTableAssociation action in the Amazon EC2 API.</p>"
        },
        "EC2AssociateRouteTableAction":{
          "shape":"EC2AssociateRouteTableAction",
          "documentation":"<p>Information about the AssociateRouteTable action in the Amazon EC2 API.</p>"
        },
        "EC2CreateRouteTableAction":{
          "shape":"EC2CreateRouteTableAction",
          "documentation":"<p>Information about the CreateRouteTable action in the Amazon EC2 API.</p>"
        }
      },
      "documentation":"<p>Information about an individual action you can take to remediate a violation.</p>"
    },
    "RemediationActionDescription":{
      "type":"string",
      "max":1024,
      "min":0,
      "pattern":".*"
    },
    "RemediationActionType":{
      "type":"string",
      "enum":[
        "REMOVE",
        "MODIFY"
      ]
    },
    "RemediationActionWithOrder":{
      "type":"structure",
      "members":{
        "RemediationAction":{
          "shape":"RemediationAction",
          "documentation":"<p>Information about an action you can take to remediate a violation.</p>"
        },
        "Order":{
          "shape":"BasicInteger",
          "documentation":"<p>The order of the remediation actions in the list.</p>"
        }
      },
      "documentation":"<p>An ordered list of actions you can take to remediate a violation.</p>"
    },
    "ResourceArn":{
      "type":"string",
      "max":1024,
      "min":1,
      "pattern":"^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$"
    },
    "ResourceCount":{
      "type":"long",
      "min":0
    },
    "ResourceId":{
      "type":"string",
      "max":1024,
      "min":1,
      "pattern":"^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$"
    },
    "ResourceIdList":{
      "type":"list",
      "member":{"shape":"ResourceId"}
    },
    "ResourceName":{
      "type":"string",
      "max":128,
      "min":1,
      "pattern":"^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$"
    },
    "ResourceNotFoundException":{
      "type":"structure",
      "members":{
        "Message":{"shape":"ErrorMessage"}
      },
      "documentation":"<p>The specified resource was not found.</p>",
      "exception":true
    },
    "ResourceTag":{
      "type":"structure",
      "required":["Key"],
      "members":{
        "Key":{
          "shape":"ResourceTagKey",
          "documentation":"<p>The resource tag key.</p>"
        },
        "Value":{
          "shape":"ResourceTagValue",
          "documentation":"<p>The resource tag value.</p>"
        }
      },
      "documentation":"<p>The resource tags that Firewall Manager uses to determine if a particular resource should be included or excluded from the Firewall Manager policy. Tags enable you to categorize your Amazon Web Services resources in different ways, for example, by purpose, owner, or environment. Each tag consists of a key and an optional value. Firewall Manager combines the tags with \"AND\" so that, if you add more than one tag to a policy scope, a resource must have all the specified tags to be included or excluded. For more information, see <a href=\"https://docs.aws.amazon.com/awsconsolehelpdocs/latest/gsg/tag-editor.html\">Working with Tag Editor</a>.</p>"
    },
    "ResourceTagKey":{
      "type":"string",
      "max":128,
      "min":1,
      "pattern":"^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$"
    },
    "ResourceTagValue":{
      "type":"string",
      "max":256,
      "pattern":"^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$"
    },
    "ResourceTags":{
      "type":"list",
      "member":{"shape":"ResourceTag"},
      "max":8,
      "min":0
    },
    "ResourceType":{
      "type":"string",
      "max":128,
      "min":1,
      "pattern":"^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$"
    },
    "ResourceTypeList":{
      "type":"list",
      "member":{"shape":"ResourceType"}
    },
    "ResourceViolation":{
      "type":"structure",
      "members":{
        "AwsVPCSecurityGroupViolation":{
          "shape":"AwsVPCSecurityGroupViolation",
          "documentation":"<p>Violation detail for security groups.</p>"
        },
        "AwsEc2NetworkInterfaceViolation":{
          "shape":"AwsEc2NetworkInterfaceViolation",
          "documentation":"<p>Violation detail for a network interface.</p>"
        },
        "AwsEc2InstanceViolation":{
          "shape":"AwsEc2InstanceViolation",
          "documentation":"<p>Violation detail for an EC2 instance.</p>"
        },
        "NetworkFirewallMissingFirewallViolation":{
          "shape":"NetworkFirewallMissingFirewallViolation",
          "documentation":"<p>Violation detail for an Network Firewall policy that indicates that a subnet has no Firewall Manager managed firewall in its VPC. </p>"
        },
        "NetworkFirewallMissingSubnetViolation":{
          "shape":"NetworkFirewallMissingSubnetViolation",
          "documentation":"<p>Violation detail for an Network Firewall policy that indicates that an Availability Zone is missing the expected Firewall Manager managed subnet.</p>"
        },
        "NetworkFirewallMissingExpectedRTViolation":{
          "shape":"NetworkFirewallMissingExpectedRTViolation",
          "documentation":"<p>Violation detail for an Network Firewall policy that indicates that a subnet is not associated with the expected Firewall Manager managed route table. </p>"
        },
        "NetworkFirewallPolicyModifiedViolation":{
          "shape":"NetworkFirewallPolicyModifiedViolation",
          "documentation":"<p>Violation detail for an Network Firewall policy that indicates that a firewall policy in an individual account has been modified in a way that makes it noncompliant. For example, the individual account owner might have deleted a rule group, changed the priority of a stateless rule group, or changed a policy default action.</p>"
        },
        "NetworkFirewallInternetTrafficNotInspectedViolation":{
          "shape":"NetworkFirewallInternetTrafficNotInspectedViolation",
          "documentation":"<p>Violation detail for the subnet for which internet traffic hasn't been inspected.</p>"
        },
        "NetworkFirewallInvalidRouteConfigurationViolation":{
          "shape":"NetworkFirewallInvalidRouteConfigurationViolation",
          "documentation":"<p>The route configuration is invalid.</p>"
        },
        "NetworkFirewallBlackHoleRouteDetectedViolation":{"shape":"NetworkFirewallBlackHoleRouteDetectedViolation"},
        "NetworkFirewallUnexpectedFirewallRoutesViolation":{
          "shape":"NetworkFirewallUnexpectedFirewallRoutesViolation",
          "documentation":"<p>There's an unexpected firewall route.</p>"
        },
        "NetworkFirewallUnexpectedGatewayRoutesViolation":{
          "shape":"NetworkFirewallUnexpectedGatewayRoutesViolation",
          "documentation":"<p>There's an unexpected gateway route.</p>"
        },
        "NetworkFirewallMissingExpectedRoutesViolation":{
          "shape":"NetworkFirewallMissingExpectedRoutesViolation",
          "documentation":"<p>Expected routes are missing from Network Firewall.</p>"
        },
        "DnsRuleGroupPriorityConflictViolation":{
          "shape":"DnsRuleGroupPriorityConflictViolation",
          "documentation":"<p>Violation detail for a DNS Firewall policy that indicates that a rule group that Firewall Manager tried to associate with a VPC has the same priority as a rule group that's already associated. </p>"
        },
        "DnsDuplicateRuleGroupViolation":{
          "shape":"DnsDuplicateRuleGroupViolation",
          "documentation":"<p>Violation detail for a DNS Firewall policy that indicates that a rule group that Firewall Manager tried to associate with a VPC is already associated with the VPC and can't be associated again. </p>"
        },
        "DnsRuleGroupLimitExceededViolation":{
          "shape":"DnsRuleGroupLimitExceededViolation",
          "documentation":"<p>Violation detail for a DNS Firewall policy that indicates that the VPC reached the limit for associated DNS Firewall rule groups. Firewall Manager tried to associate another rule group with the VPC and failed. </p>"
        },
        "PossibleRemediationActions":{
          "shape":"PossibleRemediationActions",
          "documentation":"<p>A list of possible remediation action lists. Each individual possible remediation action is a list of individual remediation actions.</p>"
        }
      },
      "documentation":"<p>Violation detail based on resource type.</p>"
    },
    "ResourceViolations":{
      "type":"list",
      "member":{"shape":"ResourceViolation"}
    },
    "Route":{
      "type":"structure",
      "members":{
        "DestinationType":{
          "shape":"DestinationType",
          "documentation":"<p>The type of destination for the route.</p>"
        },
        "TargetType":{
          "shape":"TargetType",
          "documentation":"<p>The type of target for the route.</p>"
        },
        "Destination":{
          "shape":"LengthBoundedString",
          "documentation":"<p>The destination of the route.</p>"
        },
        "Target":{
          "shape":"LengthBoundedString",
          "documentation":"<p>The route's target.</p>"
        }
      },
      "documentation":"<p>Describes a route in a route table.</p>"
    },
    "Routes":{
      "type":"list",
      "member":{"shape":"Route"}
    },
    "SecurityGroupRemediationAction":{
      "type":"structure",
      "members":{
        "RemediationActionType":{
          "shape":"RemediationActionType",
          "documentation":"<p>The remediation action that will be performed.</p>"
        },
        "Description":{
          "shape":"RemediationActionDescription",
          "documentation":"<p>Brief description of the action that will be performed.</p>"
        },
        "RemediationResult":{
          "shape":"SecurityGroupRuleDescription",
          "documentation":"<p>The final state of the rule specified in the <code>ViolationTarget</code> after it is remediated.</p>"
        },
        "IsDefaultAction":{
          "shape":"Boolean",
          "documentation":"<p>Indicates if the current action is the default action.</p>"
        }
      },
      "documentation":"<p>Remediation option for the rule specified in the <code>ViolationTarget</code>.</p>"
    },
    "SecurityGroupRemediationActions":{
      "type":"list",
      "member":{"shape":"SecurityGroupRemediationAction"}
    },
    "SecurityGroupRuleDescription":{
      "type":"structure",
      "members":{
        "IPV4Range":{
          "shape":"CIDR",
          "documentation":"<p>The IPv4 ranges for the security group rule.</p>"
        },
        "IPV6Range":{
          "shape":"CIDR",
          "documentation":"<p>The IPv6 ranges for the security group rule.</p>"
        },
        "PrefixListId":{
          "shape":"ResourceId",
          "documentation":"<p>The ID of the prefix list for the security group rule.</p>"
        },
        "Protocol":{
          "shape":"LengthBoundedString",
          "documentation":"<p>The IP protocol name (<code>tcp</code>, <code>udp</code>, <code>icmp</code>, <code>icmpv6</code>) or number.</p>"
        },
        "FromPort":{
          "shape":"IPPortNumber",
          "documentation":"<p>The start of the port range for the TCP and UDP protocols, or an ICMP/ICMPv6 type number. A value of <code>-1</code> indicates all ICMP/ICMPv6 types.</p>"
        },
        "ToPort":{
          "shape":"IPPortNumber",
          "documentation":"<p>The end of the port range for the TCP and UDP protocols, or an ICMP/ICMPv6 code. A value of <code>-1</code> indicates all ICMP/ICMPv6 codes.</p>"
        }
      },
      "documentation":"<p>Describes a set of permissions for a security group rule.</p>"
    },
    "SecurityServicePolicyData":{
      "type":"structure",
      "required":["Type"],
      "members":{
        "Type":{
          "shape":"SecurityServiceType",
          "documentation":"<p>The service that the policy is using to protect the resources. This specifies the type of policy that is created, either an WAF policy, a Shield Advanced policy, or a security group policy. For security group policies, Firewall Manager supports one security group for each common policy and for each content audit policy. This is an adjustable limit that you can increase by contacting Amazon Web Services Support.</p>"
        },
        "ManagedServiceData":{
          "shape":"ManagedServiceData",
          "documentation":"<p>Details about the service that are specific to the service type, in JSON format. For service type <code>SHIELD_ADVANCED</code>, this is an empty string.</p> <ul> <li> <p>Example: <code>DNS_FIREWALL</code> </p> <p> <code>\"{\\\"type\\\":\\\"DNS_FIREWALL\\\",\\\"preProcessRuleGroups\\\":[{\\\"ruleGroupId\\\":\\\"rslvr-frg-1\\\",\\\"priority\\\":10}],\\\"postProcessRuleGroups\\\":[{\\\"ruleGroupId\\\":\\\"rslvr-frg-2\\\",\\\"priority\\\":9911}]}\"</code> </p> <note> <p>Valid values for <code>preProcessRuleGroups</code> are between 1 and 99. Valid values for <code>postProcessRuleGroups</code> are between 9901 and 10000.</p> </note> </li> <li> <p>Example: <code>NETWORK_FIREWALL</code> </p> <p> <code>\"{\\\"type\\\":\\\"NETWORK_FIREWALL\\\",\\\"networkFirewallStatelessRuleGroupReferences\\\":[{\\\"resourceARN\\\":\\\"arn:aws:network-firewall:us-west-1:1234567891011:stateless-rulegroup/rulegroup2\\\",\\\"priority\\\":10}],\\\"networkFirewallStatelessDefaultActions\\\":[\\\"aws:pass\\\",\\\"custom1\\\"],\\\"networkFirewallStatelessFragmentDefaultActions\\\":[\\\"custom2\\\",\\\"aws:pass\\\"],\\\"networkFirewallStatelessCustomActions\\\":[{\\\"actionName\\\":\\\"custom1\\\",\\\"actionDefinition\\\":{\\\"publishMetricAction\\\":{\\\"dimensions\\\":[{\\\"value\\\":\\\"dimension1\\\"}]}}},{\\\"actionName\\\":\\\"custom2\\\",\\\"actionDefinition\\\":{\\\"publishMetricAction\\\":{\\\"dimensions\\\":[{\\\"value\\\":\\\"dimension2\\\"}]}}}],\\\"networkFirewallStatefulRuleGroupReferences\\\":[{\\\"resourceARN\\\":\\\"arn:aws:network-firewall:us-west-1:1234567891011:stateful-rulegroup/rulegroup1\\\"}],\\\"networkFirewallOrchestrationConfig\\\":{\\\"singleFirewallEndpointPerVPC\\\":true,\\\"allowedIPV4CidrList\\\":[\\\"10.24.34.0/28\\\"]} }\"</code> </p> </li> <li> <p>Example: <code>WAFV2</code> </p> <p> <code>\"{\\\"type\\\":\\\"WAFV2\\\",\\\"preProcessRuleGroups\\\":[{\\\"ruleGroupArn\\\":null,\\\"overrideAction\\\":{\\\"type\\\":\\\"NONE\\\"},\\\"managedRuleGroupIdentifier\\\":{\\\"version\\\":null,\\\"vendorName\\\":\\\"AWS\\\",\\\"managedRuleGroupName\\\":\\\"AWSManagedRulesAmazonIpReputationList\\\"},\\\"ruleGroupType\\\":\\\"ManagedRuleGroup\\\",\\\"excludeRules\\\":[{\\\"name\\\":\\\"NoUserAgent_HEADER\\\"}]}],\\\"postProcessRuleGroups\\\":[],\\\"defaultAction\\\":{\\\"type\\\":\\\"ALLOW\\\"},\\\"overrideCustomerWebACLAssociation\\\":false,\\\"loggingConfiguration\\\":{\\\"logDestinationConfigs\\\":[\\\"arn:aws:firehose:us-west-2:12345678912:deliverystream/aws-waf-logs-fms-admin-destination\\\"],\\\"redactedFields\\\":[{\\\"redactedFieldType\\\":\\\"SingleHeader\\\",\\\"redactedFieldValue\\\":\\\"Cookies\\\"},{\\\"redactedFieldType\\\":\\\"Method\\\"}]}}\"</code> </p> <p>In the <code>loggingConfiguration</code>, you can specify one <code>logDestinationConfigs</code>, you can optionally provide up to 20 <code>redactedFields</code>, and the <code>RedactedFieldType</code> must be one of <code>URI</code>, <code>QUERY_STRING</code>, <code>HEADER</code>, or <code>METHOD</code>.</p> </li> <li> <p>Example: <code>WAF Classic</code> </p> <p> <code>\"{\\\"type\\\": \\\"WAF\\\", \\\"ruleGroups\\\": [{\\\"id\\\":\\\"12345678-1bcd-9012-efga-0987654321ab\\\", \\\"overrideAction\\\" : {\\\"type\\\": \\\"COUNT\\\"}}], \\\"defaultAction\\\": {\\\"type\\\": \\\"BLOCK\\\"}}\"</code> </p> </li> <li> <p>Example: <code>SECURITY_GROUPS_COMMON</code> </p> <p> <code>\"{\\\"type\\\":\\\"SECURITY_GROUPS_COMMON\\\",\\\"revertManualSecurityGroupChanges\\\":false,\\\"exclusiveResourceSecurityGroupManagement\\\":false, \\\"applyToAllEC2InstanceENIs\\\":false,\\\"securityGroups\\\":[{\\\"id\\\":\\\" sg-000e55995d61a06bd\\\"}]}\"</code> </p> </li> <li> <p>Example: Shared VPCs. Apply the preceding policy to resources in shared VPCs as well as to those in VPCs that the account owns </p> <p> <code>\"{\\\"type\\\":\\\"SECURITY_GROUPS_COMMON\\\",\\\"revertManualSecurityGroupChanges\\\":false,\\\"exclusiveResourceSecurityGroupManagement\\\":false, \\\"applyToAllEC2InstanceENIs\\\":false,\\\"includeSharedVPC\\\":true,\\\"securityGroups\\\":[{\\\"id\\\":\\\" sg-000e55995d61a06bd\\\"}]}\"</code> </p> </li> <li> <p>Example: <code>SECURITY_GROUPS_CONTENT_AUDIT</code> </p> <p> <code>\"{\\\"type\\\":\\\"SECURITY_GROUPS_CONTENT_AUDIT\\\",\\\"securityGroups\\\":[{\\\"id\\\":\\\"sg-000e55995d61a06bd\\\"}],\\\"securityGroupAction\\\":{\\\"type\\\":\\\"ALLOW\\\"}}\"</code> </p> <p>The security group action for content audit can be <code>ALLOW</code> or <code>DENY</code>. For <code>ALLOW</code>, all in-scope security group rules must be within the allowed range of the policy's security group rules. For <code>DENY</code>, all in-scope security group rules must not contain a value or a range that matches a rule value or range in the policy security group.</p> </li> <li> <p>Example: <code>SECURITY_GROUPS_USAGE_AUDIT</code> </p> <p> <code>\"{\\\"type\\\":\\\"SECURITY_GROUPS_USAGE_AUDIT\\\",\\\"deleteUnusedSecurityGroups\\\":true,\\\"coalesceRedundantSecurityGroups\\\":true}\"</code> </p> </li> </ul>"
        }
      },
      "documentation":"<p>Details about the security service that is being used to protect the resources.</p>"
    },
    "SecurityServiceType":{
      "type":"string",
      "enum":[
        "WAF",
        "WAFV2",
        "SHIELD_ADVANCED",
        "SECURITY_GROUPS_COMMON",
        "SECURITY_GROUPS_CONTENT_AUDIT",
        "SECURITY_GROUPS_USAGE_AUDIT",
        "NETWORK_FIREWALL",
        "DNS_FIREWALL"
      ]
    },
    "StatefulRuleGroup":{
      "type":"structure",
      "members":{
        "RuleGroupName":{
          "shape":"NetworkFirewallResourceName",
          "documentation":"<p>The name of the rule group.</p>"
        },
        "ResourceId":{
          "shape":"ResourceId",
          "documentation":"<p>The resource ID of the rule group.</p>"
        }
      },
      "documentation":"<p>Network Firewall stateful rule group, used in a <a>NetworkFirewallPolicyDescription</a>. </p>"
    },
    "StatefulRuleGroupList":{
      "type":"list",
      "member":{"shape":"StatefulRuleGroup"}
    },
    "StatelessRuleGroup":{
      "type":"structure",
      "members":{
        "RuleGroupName":{
          "shape":"NetworkFirewallResourceName",
          "documentation":"<p>The name of the rule group.</p>"
        },
        "ResourceId":{
          "shape":"ResourceId",
          "documentation":"<p>The resource ID of the rule group.</p>"
        },
        "Priority":{
          "shape":"StatelessRuleGroupPriority",
          "documentation":"<p>The priority of the rule group. Network Firewall evaluates the stateless rule groups in a firewall policy starting from the lowest priority setting. </p>"
        }
      },
      "documentation":"<p>Network Firewall stateless rule group, used in a <a>NetworkFirewallPolicyDescription</a>. </p>"
    },
    "StatelessRuleGroupList":{
      "type":"list",
      "member":{"shape":"StatelessRuleGroup"}
    },
    "StatelessRuleGroupPriority":{
      "type":"integer",
      "max":65535,
      "min":1
    },
    "Tag":{
      "type":"structure",
      "required":[
        "Key",
        "Value"
      ],
      "members":{
        "Key":{
          "shape":"TagKey",
          "documentation":"<p>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.</p>"
        },
        "Value":{
          "shape":"TagValue",
          "documentation":"<p>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. </p>"
        }
      },
      "documentation":"<p>A collection of key:value pairs associated with an Amazon Web Services resource. The key:value pair can be anything you define. Typically, the tag key represents a category (such as \"environment\") and the tag value represents a specific value within that category (such as \"test,\" \"development,\" or \"production\"). You can add up to 50 tags to each Amazon Web Services resource. </p>"
    },
    "TagKey":{
      "type":"string",
      "max":128,
      "min":1,
      "pattern":"^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$"
    },
    "TagKeyList":{
      "type":"list",
      "member":{"shape":"TagKey"},
      "max":200,
      "min":0
    },
    "TagList":{
      "type":"list",
      "member":{"shape":"Tag"},
      "max":200,
      "min":0
    },
    "TagResourceRequest":{
      "type":"structure",
      "required":[
        "ResourceArn",
        "TagList"
      ],
      "members":{
        "ResourceArn":{
          "shape":"ResourceArn",
          "documentation":"<p>The Amazon Resource Name (ARN) of the resource to return tags for. The Firewall Manager resources that support tagging are policies, applications lists, and protocols lists. </p>"
        },
        "TagList":{
          "shape":"TagList",
          "documentation":"<p>The tags to add to the resource.</p>"
        }
      }
    },
    "TagResourceResponse":{
      "type":"structure",
      "members":{
      }
    },
    "TagValue":{
      "type":"string",
      "max":256,
      "min":0,
      "pattern":"^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$"
    },
    "TargetType":{
      "type":"string",
      "enum":[
        "GATEWAY",
        "CARRIER_GATEWAY",
        "INSTANCE",
        "LOCAL_GATEWAY",
        "NAT_GATEWAY",
        "NETWORK_INTERFACE",
        "VPC_ENDPOINT",
        "VPC_PEERING_CONNECTION",
        "EGRESS_ONLY_INTERNET_GATEWAY",
        "TRANSIT_GATEWAY"
      ]
    },
    "TargetViolationReason":{
      "type":"string",
      "max":256,
      "min":0,
      "pattern":"\\w+"
    },
    "TargetViolationReasons":{
      "type":"list",
      "member":{"shape":"TargetViolationReason"}
    },
    "TimeStamp":{"type":"timestamp"},
    "UntagResourceRequest":{
      "type":"structure",
      "required":[
        "ResourceArn",
        "TagKeys"
      ],
      "members":{
        "ResourceArn":{
          "shape":"ResourceArn",
          "documentation":"<p>The Amazon Resource Name (ARN) of the resource to return tags for. The Firewall Manager resources that support tagging are policies, applications lists, and protocols lists. </p>"
        },
        "TagKeys":{
          "shape":"TagKeyList",
          "documentation":"<p>The keys of the tags to remove from the resource. </p>"
        }
      }
    },
    "UntagResourceResponse":{
      "type":"structure",
      "members":{
      }
    },
    "UpdateToken":{
      "type":"string",
      "max":1024,
      "min":1,
      "pattern":"^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$"
    },
    "ViolationDetail":{
      "type":"structure",
      "required":[
        "PolicyId",
        "MemberAccount",
        "ResourceId",
        "ResourceType",
        "ResourceViolations"
      ],
      "members":{
        "PolicyId":{
          "shape":"PolicyId",
          "documentation":"<p>The ID of the Firewall Manager policy that the violation details were requested for.</p>"
        },
        "MemberAccount":{
          "shape":"AWSAccountId",
          "documentation":"<p>The Amazon Web Services account that the violation details were requested for.</p>"
        },
        "ResourceId":{
          "shape":"ResourceId",
          "documentation":"<p>The resource ID that the violation details were requested for.</p>"
        },
        "ResourceType":{
          "shape":"ResourceType",
          "documentation":"<p>The resource type that the violation details were requested for.</p>"
        },
        "ResourceViolations":{
          "shape":"ResourceViolations",
          "documentation":"<p>List of violations for the requested resource.</p>"
        },
        "ResourceTags":{
          "shape":"TagList",
          "documentation":"<p>The <code>ResourceTag</code> objects associated with the resource.</p>"
        },
        "ResourceDescription":{
          "shape":"LengthBoundedString",
          "documentation":"<p>Brief description for the requested resource.</p>"
        }
      },
      "documentation":"<p>Violations for a resource based on the specified Firewall Manager policy and Amazon Web Services account.</p>"
    },
    "ViolationReason":{
      "type":"string",
      "enum":[
        "WEB_ACL_MISSING_RULE_GROUP",
        "RESOURCE_MISSING_WEB_ACL",
        "RESOURCE_INCORRECT_WEB_ACL",
        "RESOURCE_MISSING_SHIELD_PROTECTION",
        "RESOURCE_MISSING_WEB_ACL_OR_SHIELD_PROTECTION",
        "RESOURCE_MISSING_SECURITY_GROUP",
        "RESOURCE_VIOLATES_AUDIT_SECURITY_GROUP",
        "SECURITY_GROUP_UNUSED",
        "SECURITY_GROUP_REDUNDANT",
        "FMS_CREATED_SECURITY_GROUP_EDITED",
        "MISSING_FIREWALL",
        "MISSING_FIREWALL_SUBNET_IN_AZ",
        "MISSING_EXPECTED_ROUTE_TABLE",
        "NETWORK_FIREWALL_POLICY_MODIFIED",
        "INTERNET_GATEWAY_MISSING_EXPECTED_ROUTE",
        "FIREWALL_SUBNET_MISSING_EXPECTED_ROUTE",
        "UNEXPECTED_FIREWALL_ROUTES",
        "UNEXPECTED_TARGET_GATEWAY_ROUTES",
        "TRAFFIC_INSPECTION_CROSSES_AZ_BOUNDARY",
        "INVALID_ROUTE_CONFIGURATION",
        "MISSING_TARGET_GATEWAY",
        "INTERNET_TRAFFIC_NOT_INSPECTED",
        "BLACK_HOLE_ROUTE_DETECTED",
        "BLACK_HOLE_ROUTE_DETECTED_IN_FIREWALL_SUBNET",
        "RESOURCE_MISSING_DNS_FIREWALL"
      ]
    },
    "ViolationTarget":{
      "type":"string",
      "max":1024,
      "min":0,
      "pattern":".*"
    }
  },
  "documentation":"<p>This is the <i>Firewall Manager API Reference</i>. This guide is for developers who need detailed information about the Firewall Manager API actions, data types, and errors. For detailed information about Firewall Manager features, see the <a href=\"https://docs.aws.amazon.com/waf/latest/developerguide/fms-chapter.html\">Firewall Manager Developer Guide</a>.</p> <p>Some API actions require explicit resource permissions. For information, see the developer guide topic <a href=\"https://docs.aws.amazon.com/waf/latest/developerguide/fms-api-permissions-ref.html\">Firewall Manager required permissions for API actions</a>. </p>"
}
