codegen-resources.service-2.json Maven / Gradle / Ivy
Show all versions of fms Show documentation
{
"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"}
],
"documentation":"Sets the AWS Firewall Manager administrator account. AWS Firewall Manager must be associated with the master account of your AWS organization or associated with a member account that has the appropriate permissions. If the account ID that you submit is not an AWS Organizations master account, AWS Firewall Manager will set the appropriate permissions for the given member account.
The account that you associate with AWS Firewall Manager is called the AWS Firewall Manager administrator account.
"
},
"DeleteNotificationChannel":{
"name":"DeleteNotificationChannel",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"DeleteNotificationChannelRequest"},
"errors":[
{"shape":"ResourceNotFoundException"},
{"shape":"InvalidOperationException"},
{"shape":"InternalErrorException"}
],
"documentation":"Deletes an AWS Firewall Manager association with the IAM role and the Amazon Simple Notification Service (SNS) topic that is used to record AWS Firewall Manager SNS logs.
"
},
"DeletePolicy":{
"name":"DeletePolicy",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"DeletePolicyRequest"},
"errors":[
{"shape":"ResourceNotFoundException"},
{"shape":"InvalidOperationException"},
{"shape":"InternalErrorException"}
],
"documentation":"Permanently deletes an AWS Firewall Manager policy.
"
},
"DisassociateAdminAccount":{
"name":"DisassociateAdminAccount",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"DisassociateAdminAccountRequest"},
"errors":[
{"shape":"InvalidOperationException"},
{"shape":"ResourceNotFoundException"},
{"shape":"InternalErrorException"}
],
"documentation":"Disassociates the account that has been set as the AWS Firewall Manager administrator account. To set a different account as the administrator account, you must submit an AssociateAdminAccount
request.
"
},
"GetAdminAccount":{
"name":"GetAdminAccount",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"GetAdminAccountRequest"},
"output":{"shape":"GetAdminAccountResponse"},
"errors":[
{"shape":"InvalidOperationException"},
{"shape":"ResourceNotFoundException"},
{"shape":"InternalErrorException"}
],
"documentation":"Returns the AWS Organizations master account that is associated with AWS Firewall Manager as the AWS Firewall Manager administrator.
"
},
"GetComplianceDetail":{
"name":"GetComplianceDetail",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"GetComplianceDetailRequest"},
"output":{"shape":"GetComplianceDetailResponse"},
"errors":[
{"shape":"ResourceNotFoundException"},
{"shape":"InternalErrorException"}
],
"documentation":"Returns detailed compliance information about the specified member account. Details include resources that are in and out of compliance with the specified policy. Resources are considered noncompliant for AWS WAF and Shield Advanced policies if the specified policy has not been applied to them. 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.
"
},
"GetNotificationChannel":{
"name":"GetNotificationChannel",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"GetNotificationChannelRequest"},
"output":{"shape":"GetNotificationChannelResponse"},
"errors":[
{"shape":"ResourceNotFoundException"},
{"shape":"InvalidOperationException"},
{"shape":"InternalErrorException"}
],
"documentation":"Information about the Amazon Simple Notification Service (SNS) topic that is used to record AWS Firewall Manager SNS logs.
"
},
"GetPolicy":{
"name":"GetPolicy",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"GetPolicyRequest"},
"output":{"shape":"GetPolicyResponse"},
"errors":[
{"shape":"ResourceNotFoundException"},
{"shape":"InvalidOperationException"},
{"shape":"InternalErrorException"},
{"shape":"InvalidTypeException"}
],
"documentation":"Returns information about the specified AWS Firewall Manager policy.
"
},
"GetProtectionStatus":{
"name":"GetProtectionStatus",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"GetProtectionStatusRequest"},
"output":{"shape":"GetProtectionStatusResponse"},
"errors":[
{"shape":"InvalidInputException"},
{"shape":"ResourceNotFoundException"},
{"shape":"InternalErrorException"}
],
"documentation":"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.
"
},
"ListComplianceStatus":{
"name":"ListComplianceStatus",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"ListComplianceStatusRequest"},
"output":{"shape":"ListComplianceStatusResponse"},
"errors":[
{"shape":"ResourceNotFoundException"},
{"shape":"InternalErrorException"}
],
"documentation":"Returns an array of PolicyComplianceStatus
objects in the response. Use PolicyComplianceStatus
to get a summary of which member accounts are protected by the specified policy.
"
},
"ListMemberAccounts":{
"name":"ListMemberAccounts",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"ListMemberAccountsRequest"},
"output":{"shape":"ListMemberAccountsResponse"},
"errors":[
{"shape":"ResourceNotFoundException"},
{"shape":"InternalErrorException"}
],
"documentation":"Returns a MemberAccounts
object that lists the member accounts in the administrator's AWS organization.
The ListMemberAccounts
must be submitted by the account that is set as the AWS Firewall Manager administrator.
"
},
"ListPolicies":{
"name":"ListPolicies",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"ListPoliciesRequest"},
"output":{"shape":"ListPoliciesResponse"},
"errors":[
{"shape":"ResourceNotFoundException"},
{"shape":"InvalidOperationException"},
{"shape":"LimitExceededException"},
{"shape":"InternalErrorException"}
],
"documentation":"Returns an array of PolicySummary
objects in the response.
"
},
"ListTagsForResource":{
"name":"ListTagsForResource",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"ListTagsForResourceRequest"},
"output":{"shape":"ListTagsForResourceResponse"},
"errors":[
{"shape":"ResourceNotFoundException"},
{"shape":"InvalidOperationException"},
{"shape":"InternalErrorException"},
{"shape":"InvalidInputException"}
],
"documentation":"Retrieves the list of tags for the specified AWS resource.
"
},
"PutNotificationChannel":{
"name":"PutNotificationChannel",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"PutNotificationChannelRequest"},
"errors":[
{"shape":"ResourceNotFoundException"},
{"shape":"InvalidOperationException"},
{"shape":"InternalErrorException"}
],
"documentation":"Designates the IAM role and Amazon Simple Notification Service (SNS) topic that AWS Firewall Manager uses to record SNS logs.
"
},
"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":"Creates an AWS Firewall Manager policy.
Firewall Manager provides the following types of policies:
-
A Shield Advanced policy, which applies Shield Advanced protection to specified accounts and resources
-
An AWS WAF policy, which contains a rule group and defines which resources are to be protected by that rule group
-
A security group policy, which manages VPC security groups across your AWS organization.
Each policy is specific to one of the three types. If you want to enforce more than one policy type across accounts, you can create multiple policies. You can create multiple policies for each type.
You must be subscribed to Shield Advanced to create a Shield Advanced policy. For more information about subscribing to Shield Advanced, see CreateSubscription.
"
},
"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":"Adds one or more tags to an AWS resource.
"
},
"UntagResource":{
"name":"UntagResource",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"UntagResourceRequest"},
"output":{"shape":"UntagResourceResponse"},
"errors":[
{"shape":"ResourceNotFoundException"},
{"shape":"InvalidOperationException"},
{"shape":"InternalErrorException"},
{"shape":"InvalidInputException"}
],
"documentation":"Removes one or more tags from an AWS resource.
"
}
},
"shapes":{
"AWSAccountId":{
"type":"string",
"max":1024,
"min":1,
"pattern":"^[0-9]+$"
},
"AccountRoleStatus":{
"type":"string",
"enum":[
"READY",
"CREATING",
"PENDING_DELETION",
"DELETING",
"DELETED"
]
},
"AssociateAdminAccountRequest":{
"type":"structure",
"required":["AdminAccount"],
"members":{
"AdminAccount":{
"shape":"AWSAccountId",
"documentation":"The AWS account ID to associate with AWS Firewall Manager as the AWS Firewall Manager administrator account. This can be an AWS Organizations master account or a member account. For more information about AWS Organizations and master accounts, see Managing the AWS Accounts in Your Organization.
"
}
}
},
"Boolean":{"type":"boolean"},
"ComplianceViolator":{
"type":"structure",
"members":{
"ResourceId":{
"shape":"ResourceId",
"documentation":"The resource ID.
"
},
"ViolationReason":{
"shape":"ViolationReason",
"documentation":"The reason that the resource is not protected by the policy.
"
},
"ResourceType":{
"shape":"ResourceType",
"documentation":"The resource type. This is in the format shown in the AWS Resource Types Reference. For example: AWS::ElasticLoadBalancingV2::LoadBalancer
or AWS::CloudFront::Distribution
.
"
}
},
"documentation":"Details of the resource that is not protected by the policy.
"
},
"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"]
},
"CustomerPolicyScopeMap":{
"type":"map",
"key":{"shape":"CustomerPolicyScopeIdType"},
"value":{"shape":"CustomerPolicyScopeIdList"}
},
"DeleteNotificationChannelRequest":{
"type":"structure",
"members":{
}
},
"DeletePolicyRequest":{
"type":"structure",
"required":["PolicyId"],
"members":{
"PolicyId":{
"shape":"PolicyId",
"documentation":"The ID of the policy that you want to delete. PolicyId
is returned by PutPolicy
and by ListPolicies
.
"
},
"DeleteAllPolicyResources":{
"shape":"Boolean",
"documentation":"If True
, the request performs cleanup according to the policy type.
For AWS WAF and Shield Advanced policies, the cleanup does the following:
-
Deletes rule groups created by AWS Firewall Manager
-
Removes web ACLs from in-scope resources
-
Deletes web ACLs that contain no rules or rule groups
For security group policies, the cleanup does the following for each security group in the policy:
-
Disassociates the security group from in-scope resources
-
Deletes the security group if it was created through Firewall Manager and if it's no longer associated with any resources through another policy
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.
"
}
}
},
"DependentServiceName":{
"type":"string",
"enum":[
"AWSCONFIG",
"AWSWAF",
"AWSSHIELD_ADVANCED",
"AWSVPC"
]
},
"DetailedInfo":{
"type":"string",
"max":1024,
"min":1,
"pattern":"^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$"
},
"DisassociateAdminAccountRequest":{
"type":"structure",
"members":{
}
},
"ErrorMessage":{"type":"string"},
"EvaluationResult":{
"type":"structure",
"members":{
"ComplianceStatus":{
"shape":"PolicyComplianceStatusType",
"documentation":"Describes an AWS account's compliance with the AWS Firewall Manager policy.
"
},
"ViolatorCount":{
"shape":"ResourceCount",
"documentation":"The number of resources that are noncompliant with the specified policy. For AWS 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.
"
},
"EvaluationLimitExceeded":{
"shape":"Boolean",
"documentation":"Indicates that over 100 resources are noncompliant with the AWS Firewall Manager policy.
"
}
},
"documentation":"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.
"
},
"EvaluationResults":{
"type":"list",
"member":{"shape":"EvaluationResult"}
},
"GetAdminAccountRequest":{
"type":"structure",
"members":{
}
},
"GetAdminAccountResponse":{
"type":"structure",
"members":{
"AdminAccount":{
"shape":"AWSAccountId",
"documentation":"The AWS account that is set as the AWS Firewall Manager administrator.
"
},
"RoleStatus":{
"shape":"AccountRoleStatus",
"documentation":"The status of the AWS account that you set as the AWS Firewall Manager administrator.
"
}
}
},
"GetComplianceDetailRequest":{
"type":"structure",
"required":[
"PolicyId",
"MemberAccount"
],
"members":{
"PolicyId":{
"shape":"PolicyId",
"documentation":"The ID of the policy that you want to get the details for. PolicyId
is returned by PutPolicy
and by ListPolicies
.
"
},
"MemberAccount":{
"shape":"AWSAccountId",
"documentation":"The AWS account that owns the resources that you want to get the details for.
"
}
}
},
"GetComplianceDetailResponse":{
"type":"structure",
"members":{
"PolicyComplianceDetail":{
"shape":"PolicyComplianceDetail",
"documentation":"Information about the resources and the policy that you specified in the GetComplianceDetail
request.
"
}
}
},
"GetNotificationChannelRequest":{
"type":"structure",
"members":{
}
},
"GetNotificationChannelResponse":{
"type":"structure",
"members":{
"SnsTopicArn":{
"shape":"ResourceArn",
"documentation":"The SNS topic that records AWS Firewall Manager activity.
"
},
"SnsRoleName":{
"shape":"ResourceArn",
"documentation":"The IAM role that is used by AWS Firewall Manager to record activity to SNS.
"
}
}
},
"GetPolicyRequest":{
"type":"structure",
"required":["PolicyId"],
"members":{
"PolicyId":{
"shape":"PolicyId",
"documentation":"The ID of the AWS Firewall Manager policy that you want the details for.
"
}
}
},
"GetPolicyResponse":{
"type":"structure",
"members":{
"Policy":{
"shape":"Policy",
"documentation":"Information about the specified AWS Firewall Manager policy.
"
},
"PolicyArn":{
"shape":"ResourceArn",
"documentation":"The Amazon Resource Name (ARN) of the specified policy.
"
}
}
},
"GetProtectionStatusRequest":{
"type":"structure",
"required":["PolicyId"],
"members":{
"PolicyId":{
"shape":"PolicyId",
"documentation":"The ID of the policy for which you want to get the attack information.
"
},
"MemberAccountId":{
"shape":"AWSAccountId",
"documentation":"The AWS account that is in scope of the policy that you want to get the details for.
"
},
"StartTime":{
"shape":"TimeStamp",
"documentation":"The start of the time period to query for the attacks. This is a timestamp
type. The request syntax listing indicates a number
type because the default used by AWS Firewall Manager is Unix time in seconds. However, any valid timestamp
format is allowed.
"
},
"EndTime":{
"shape":"TimeStamp",
"documentation":"The end of the time period to query for the attacks. This is a timestamp
type. The request syntax listing indicates a number
type because the default used by AWS Firewall Manager is Unix time in seconds. However, any valid timestamp
format is allowed.
"
},
"NextToken":{
"shape":"PaginationToken",
"documentation":"If you specify a value for MaxResults
and you have more objects than the number that you specify for MaxResults
, AWS Firewall Manager returns a NextToken
value in the response, which you can use to retrieve another group of objects. For the second and subsequent GetProtectionStatus
requests, specify the value of NextToken
from the previous response to get information about another batch of objects.
"
},
"MaxResults":{
"shape":"PaginationMaxResults",
"documentation":"Specifies the number of objects that you want AWS Firewall Manager to return for this request. If you have more objects than the number that you specify for MaxResults
, the response includes a NextToken
value that you can use to get another batch of objects.
"
}
}
},
"GetProtectionStatusResponse":{
"type":"structure",
"members":{
"AdminAccountId":{
"shape":"AWSAccountId",
"documentation":"The ID of the AWS Firewall administrator account for this policy.
"
},
"ServiceType":{
"shape":"SecurityServiceType",
"documentation":"The service type that is protected by the policy. Currently, this is always SHIELD_ADVANCED
.
"
},
"Data":{
"shape":"ProtectionData",
"documentation":"Details about the attack, including the following:
-
Attack type
-
Account ID
-
ARN of the resource attacked
-
Start time of the attack
-
End time of the attack (ongoing attacks will not have an end time)
The details are in JSON format.
"
},
"NextToken":{
"shape":"PaginationToken",
"documentation":"If you have more objects than the number that you specified for MaxResults
in the request, the response includes a NextToken
value. To list more objects, submit another GetProtectionStatus
request, and specify the NextToken
value from the response in the NextToken
value in the next request.
AWS SDKs provide auto-pagination that identify NextToken
in a response and make subsequent request calls automatically on your behalf. However, this feature is not supported by GetProtectionStatus
. You must submit subsequent requests with NextToken
using your own processes.
"
}
}
},
"InternalErrorException":{
"type":"structure",
"members":{
"Message":{"shape":"ErrorMessage"}
},
"documentation":"The operation failed because of a system problem, even though the request was valid. Retry your request.
",
"exception":true
},
"InvalidInputException":{
"type":"structure",
"members":{
"Message":{"shape":"ErrorMessage"}
},
"documentation":"The parameters of the request were invalid.
",
"exception":true
},
"InvalidOperationException":{
"type":"structure",
"members":{
"Message":{"shape":"ErrorMessage"}
},
"documentation":"The operation failed because there was nothing to do. For example, you might have submitted an AssociateAdminAccount
request, but the account ID that you submitted was already set as the AWS Firewall Manager administrator.
",
"exception":true
},
"InvalidTypeException":{
"type":"structure",
"members":{
"Message":{"shape":"ErrorMessage"}
},
"documentation":"The value of the Type
parameter is invalid.
",
"exception":true
},
"IssueInfoMap":{
"type":"map",
"key":{"shape":"DependentServiceName"},
"value":{"shape":"DetailedInfo"}
},
"LimitExceededException":{
"type":"structure",
"members":{
"Message":{"shape":"ErrorMessage"}
},
"documentation":"The operation exceeds a resource limit, for example, the maximum number of policy
objects that you can create for an AWS account. For more information, see Firewall Manager Limits in the AWS WAF Developer Guide.
",
"exception":true
},
"ListComplianceStatusRequest":{
"type":"structure",
"required":["PolicyId"],
"members":{
"PolicyId":{
"shape":"PolicyId",
"documentation":"The ID of the AWS Firewall Manager policy that you want the details for.
"
},
"NextToken":{
"shape":"PaginationToken",
"documentation":"If you specify a value for MaxResults
and you have more PolicyComplianceStatus
objects than the number that you specify for MaxResults
, AWS Firewall Manager returns a NextToken
value in the response that allows you to list another group of PolicyComplianceStatus
objects. For the second and subsequent ListComplianceStatus
requests, specify the value of NextToken
from the previous response to get information about another batch of PolicyComplianceStatus
objects.
"
},
"MaxResults":{
"shape":"PaginationMaxResults",
"documentation":"Specifies the number of PolicyComplianceStatus
objects that you want AWS Firewall Manager to return for this request. If you have more PolicyComplianceStatus
objects than the number that you specify for MaxResults
, the response includes a NextToken
value that you can use to get another batch of PolicyComplianceStatus
objects.
"
}
}
},
"ListComplianceStatusResponse":{
"type":"structure",
"members":{
"PolicyComplianceStatusList":{
"shape":"PolicyComplianceStatusList",
"documentation":"An array of PolicyComplianceStatus
objects.
"
},
"NextToken":{
"shape":"PaginationToken",
"documentation":"If you have more PolicyComplianceStatus
objects than the number that you specified for MaxResults
in the request, the response includes a NextToken
value. To list more PolicyComplianceStatus
objects, submit another ListComplianceStatus
request, and specify the NextToken
value from the response in the NextToken
value in the next request.
"
}
}
},
"ListMemberAccountsRequest":{
"type":"structure",
"members":{
"NextToken":{
"shape":"PaginationToken",
"documentation":"If you specify a value for MaxResults
and you have more account IDs than the number that you specify for MaxResults
, AWS Firewall Manager returns a NextToken
value in the response that allows you to list another group of IDs. For the second and subsequent ListMemberAccountsRequest
requests, specify the value of NextToken
from the previous response to get information about another batch of member account IDs.
"
},
"MaxResults":{
"shape":"PaginationMaxResults",
"documentation":"Specifies the number of member account IDs that you want AWS Firewall Manager to return for this request. If you have more IDs than the number that you specify for MaxResults
, the response includes a NextToken
value that you can use to get another batch of member account IDs.
"
}
}
},
"ListMemberAccountsResponse":{
"type":"structure",
"members":{
"MemberAccounts":{
"shape":"MemberAccounts",
"documentation":"An array of account IDs.
"
},
"NextToken":{
"shape":"PaginationToken",
"documentation":"If you have more member account IDs than the number that you specified for MaxResults
in the request, the response includes a NextToken
value. To list more IDs, submit another ListMemberAccounts
request, and specify the NextToken
value from the response in the NextToken
value in the next request.
"
}
}
},
"ListPoliciesRequest":{
"type":"structure",
"members":{
"NextToken":{
"shape":"PaginationToken",
"documentation":"If you specify a value for MaxResults
and you have more PolicySummary
objects than the number that you specify for MaxResults
, AWS Firewall Manager returns a NextToken
value in the response that allows you to list another group of PolicySummary
objects. For the second and subsequent ListPolicies
requests, specify the value of NextToken
from the previous response to get information about another batch of PolicySummary
objects.
"
},
"MaxResults":{
"shape":"PaginationMaxResults",
"documentation":"Specifies the number of PolicySummary
objects that you want AWS Firewall Manager to return for this request. If you have more PolicySummary
objects than the number that you specify for MaxResults
, the response includes a NextToken
value that you can use to get another batch of PolicySummary
objects.
"
}
}
},
"ListPoliciesResponse":{
"type":"structure",
"members":{
"PolicyList":{
"shape":"PolicySummaryList",
"documentation":"An array of PolicySummary
objects.
"
},
"NextToken":{
"shape":"PaginationToken",
"documentation":"If you have more PolicySummary
objects than the number that you specified for MaxResults
in the request, the response includes a NextToken
value. To list more PolicySummary
objects, submit another ListPolicies
request, and specify the NextToken
value from the response in the NextToken
value in the next request.
"
}
}
},
"ListTagsForResourceRequest":{
"type":"structure",
"required":["ResourceArn"],
"members":{
"ResourceArn":{
"shape":"ResourceArn",
"documentation":"The Amazon Resource Name (ARN) of the resource to return tags for. The Firewall Manager policy is the only AWS resource that supports tagging, so this ARN is a policy ARN..
"
}
}
},
"ListTagsForResourceResponse":{
"type":"structure",
"members":{
"TagList":{
"shape":"TagList",
"documentation":"The tags associated with the resource.
"
}
}
},
"ManagedServiceData":{
"type":"string",
"max":4096,
"min":1,
"pattern":".*"
},
"MemberAccounts":{
"type":"list",
"member":{"shape":"AWSAccountId"}
},
"PaginationMaxResults":{
"type":"integer",
"max":100,
"min":1
},
"PaginationToken":{
"type":"string",
"max":4096,
"min":1,
"pattern":"^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$"
},
"Policy":{
"type":"structure",
"required":[
"PolicyName",
"SecurityServicePolicyData",
"ResourceType",
"ExcludeResourceTags",
"RemediationEnabled"
],
"members":{
"PolicyId":{
"shape":"PolicyId",
"documentation":"The ID of the AWS Firewall Manager policy.
"
},
"PolicyName":{
"shape":"ResourceName",
"documentation":"The friendly name of the AWS Firewall Manager policy.
"
},
"PolicyUpdateToken":{
"shape":"PolicyUpdateToken",
"documentation":"A unique identifier for each update to the policy. When issuing a PutPolicy
request, the PolicyUpdateToken
in the request must match the PolicyUpdateToken
of the current policy version. To get the PolicyUpdateToken
of the current policy version, use a GetPolicy
request.
"
},
"SecurityServicePolicyData":{
"shape":"SecurityServicePolicyData",
"documentation":"Details about the security service that is being used to protect the resources.
"
},
"ResourceType":{
"shape":"ResourceType",
"documentation":"The type of resource protected by or in scope of the policy. This is in the format shown in the AWS Resource Types Reference. For AWS WAF and Shield Advanced, examples include AWS::ElasticLoadBalancingV2::LoadBalancer
and AWS::CloudFront::Distribution
. For a security group common policy, valid values are AWS::EC2::NetworkInterface
and AWS::EC2::Instance
. For a security group content audit policy, valid values are AWS::EC2::SecurityGroup
, AWS::EC2::NetworkInterface
, and AWS::EC2::Instance
. For a security group usage audit policy, the value is AWS::EC2::SecurityGroup
.
"
},
"ResourceTypeList":{
"shape":"ResourceTypeList",
"documentation":"An array of ResourceType
.
"
},
"ResourceTags":{
"shape":"ResourceTags",
"documentation":"An array of ResourceTag
objects.
"
},
"ExcludeResourceTags":{
"shape":"Boolean",
"documentation":"If set to True
, resources with the tags that are specified in the ResourceTag
array are not in scope of the policy. If set to False
, and the ResourceTag
array is not null, only resources with the specified tags are in scope of the policy.
"
},
"RemediationEnabled":{
"shape":"Boolean",
"documentation":"Indicates if the policy should be automatically applied to new resources.
"
},
"IncludeMap":{
"shape":"CustomerPolicyScopeMap",
"documentation":"Specifies the AWS account IDs to include in the policy. If IncludeMap
is null, all accounts in the organization in AWS Organizations are included in the policy. If IncludeMap
is not null, only values listed in IncludeMap
are included in the policy.
The key to the map is ACCOUNT
. For example, a valid IncludeMap
would be {“ACCOUNT” : [“accountID1”, “accountID2”]}
.
"
},
"ExcludeMap":{
"shape":"CustomerPolicyScopeMap",
"documentation":"Specifies the AWS account IDs to exclude from the policy. The IncludeMap
values are evaluated first, with all the appropriate account IDs added to the policy. Then the accounts listed in ExcludeMap
are removed, resulting in the final list of accounts to add to the policy.
The key to the map is ACCOUNT
. For example, a valid ExcludeMap
would be {“ACCOUNT” : [“accountID1”, “accountID2”]}
.
"
}
},
"documentation":"An AWS Firewall Manager policy.
"
},
"PolicyComplianceDetail":{
"type":"structure",
"members":{
"PolicyOwner":{
"shape":"AWSAccountId",
"documentation":"The AWS account that created the AWS Firewall Manager policy.
"
},
"PolicyId":{
"shape":"PolicyId",
"documentation":"The ID of the AWS Firewall Manager policy.
"
},
"MemberAccount":{
"shape":"AWSAccountId",
"documentation":"The AWS account ID.
"
},
"Violators":{
"shape":"ComplianceViolators",
"documentation":"An array of resources that aren't protected by the AWS WAF or Shield Advanced policy or that aren't in compliance with the security group policy.
"
},
"EvaluationLimitExceeded":{
"shape":"Boolean",
"documentation":"Indicates if over 100 resources are noncompliant with the AWS Firewall Manager policy.
"
},
"ExpiredAt":{
"shape":"TimeStamp",
"documentation":"A timestamp that indicates when the returned information should be considered out of date.
"
},
"IssueInfoMap":{
"shape":"IssueInfoMap",
"documentation":"Details about problems with dependent services, such as AWS WAF or AWS Config, that are causing a resource to be noncompliant. The details include the name of the dependent service and the error message received that indicates the problem with the service.
"
}
},
"documentation":"Describes the noncompliant resources in a member account for a specific AWS Firewall Manager policy. A maximum of 100 entries are displayed. If more than 100 resources are noncompliant, EvaluationLimitExceeded
is set to True
.
"
},
"PolicyComplianceStatus":{
"type":"structure",
"members":{
"PolicyOwner":{
"shape":"AWSAccountId",
"documentation":"The AWS account that created the AWS Firewall Manager policy.
"
},
"PolicyId":{
"shape":"PolicyId",
"documentation":"The ID of the AWS Firewall Manager policy.
"
},
"PolicyName":{
"shape":"ResourceName",
"documentation":"The friendly name of the AWS Firewall Manager policy.
"
},
"MemberAccount":{
"shape":"AWSAccountId",
"documentation":"The member account ID.
"
},
"EvaluationResults":{
"shape":"EvaluationResults",
"documentation":"An array of EvaluationResult
objects.
"
},
"LastUpdated":{
"shape":"TimeStamp",
"documentation":"Timestamp of the last update to the EvaluationResult
objects.
"
},
"IssueInfoMap":{
"shape":"IssueInfoMap",
"documentation":"Details about problems with dependent services, such as AWS WAF or AWS Config, that are causing a resource to be noncompliant. The details include the name of the dependent service and the error message received that indicates the problem with the service.
"
}
},
"documentation":"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 AWS WAF and Shield Advanced policies, or that are noncompliant with the policy, for security group policies.
"
},
"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":"The Amazon Resource Name (ARN) of the specified policy.
"
},
"PolicyId":{
"shape":"PolicyId",
"documentation":"The ID of the specified policy.
"
},
"PolicyName":{
"shape":"ResourceName",
"documentation":"The friendly name of the specified policy.
"
},
"ResourceType":{
"shape":"ResourceType",
"documentation":"The type of resource protected by or in scope of the policy. This is in the format shown in the AWS Resource Types Reference. For AWS WAF and Shield Advanced, examples include AWS::ElasticLoadBalancingV2::LoadBalancer
and AWS::CloudFront::Distribution
. For a security group common policy, valid values are AWS::EC2::NetworkInterface
and AWS::EC2::Instance
. For a security group content audit policy, valid values are AWS::EC2::SecurityGroup
, AWS::EC2::NetworkInterface
, and AWS::EC2::Instance
. For a security group usage audit policy, the value is AWS::EC2::SecurityGroup
.
"
},
"SecurityServiceType":{
"shape":"SecurityServiceType",
"documentation":"The service that the policy is using to protect the resources. This specifies the type of policy that is created, either an AWS WAF policy, a Shield Advanced policy, or a security group policy.
"
},
"RemediationEnabled":{
"shape":"Boolean",
"documentation":"Indicates if the policy should be automatically applied to new resources.
"
}
},
"documentation":"Details of the AWS Firewall Manager policy.
"
},
"PolicySummaryList":{
"type":"list",
"member":{"shape":"PolicySummary"}
},
"PolicyUpdateToken":{
"type":"string",
"max":1024,
"min":1,
"pattern":"^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$"
},
"ProtectionData":{"type":"string"},
"PutNotificationChannelRequest":{
"type":"structure",
"required":[
"SnsTopicArn",
"SnsRoleName"
],
"members":{
"SnsTopicArn":{
"shape":"ResourceArn",
"documentation":"The Amazon Resource Name (ARN) of the SNS topic that collects notifications from AWS Firewall Manager.
"
},
"SnsRoleName":{
"shape":"ResourceArn",
"documentation":"The Amazon Resource Name (ARN) of the IAM role that allows Amazon SNS to record AWS Firewall Manager activity.
"
}
}
},
"PutPolicyRequest":{
"type":"structure",
"required":["Policy"],
"members":{
"Policy":{
"shape":"Policy",
"documentation":"The details of the AWS Firewall Manager policy to be created.
"
},
"TagList":{
"shape":"TagList",
"documentation":"The tags to add to the AWS resource.
"
}
}
},
"PutPolicyResponse":{
"type":"structure",
"members":{
"Policy":{
"shape":"Policy",
"documentation":"The details of the AWS Firewall Manager policy that was created.
"
},
"PolicyArn":{
"shape":"ResourceArn",
"documentation":"The Amazon Resource Name (ARN) of the policy that was created.
"
}
}
},
"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}_.:/=+\\-@]*)$"
},
"ResourceName":{
"type":"string",
"max":128,
"min":1,
"pattern":"^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$"
},
"ResourceNotFoundException":{
"type":"structure",
"members":{
"Message":{"shape":"ErrorMessage"}
},
"documentation":"The specified resource was not found.
",
"exception":true
},
"ResourceTag":{
"type":"structure",
"required":["Key"],
"members":{
"Key":{
"shape":"ResourceTagKey",
"documentation":"The resource tag key.
"
},
"Value":{
"shape":"ResourceTagValue",
"documentation":"The resource tag value.
"
}
},
"documentation":"The resource tags that AWS Firewall Manager uses to determine if a particular resource should be included or excluded from the AWS Firewall Manager policy. Tags enable you to categorize your AWS resources in different ways, for example, by purpose, owner, or environment. Each tag consists of a key and an optional value. 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 Working with Tag Editor.
"
},
"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"}
},
"SecurityServicePolicyData":{
"type":"structure",
"required":["Type"],
"members":{
"Type":{
"shape":"SecurityServiceType",
"documentation":"The service that the policy is using to protect the resources. This specifies the type of policy that is created, either an AWS 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 AWS Support.
"
},
"ManagedServiceData":{
"shape":"ManagedServiceData",
"documentation":"Details about the service that are specific to the service type, in JSON format. For service type SHIELD_ADVANCED
, this is an empty string.
-
Example: WAFV2
\"SecurityServicePolicyData\": \"{ \\\"type\\\": \\\"WAFV2\\\", \\\"postProcessRuleGroups\\\": [ { \\\"managedRuleGroupIdentifier\\\": { \\\"managedRuleGroupName\\\": \\\"AWSManagedRulesAdminProtectionRuleSet\\\", \\\"vendor\\\": \\\"AWS\\\" } \\\"ruleGroupARN\\\": \\\"rule group arn\", \\\"overrideAction\\\": { \\\"type\\\": \\\"COUNT|\\\" }, \\\"excludedRules\\\": [ { \\\"name\\\" : \\\"EntityName\\\" } ], \\\"type\\\": \\\"ManagedRuleGroup|RuleGroup\\\" } ], \\\"preProcessRuleGroups\\\": [ { \\\"managedRuleGroupIdentifier\\\": { \\\"managedRuleGroupName\\\": \\\"AWSManagedRulesAdminProtectionRuleSet\\\", \\\"vendor\\\": \\\"AWS\\\" } \\\"ruleGroupARN\\\": \\\"rule group arn\\\", \\\"overrideAction\\\": { \\\"type\\\": \\\"COUNT\\\" }, \\\"excludedRules\\\": [ { \\\"name\\\" : \\\"EntityName\\\" } ], \\\"type\\\": \\\"ManagedRuleGroup|RuleGroup\\\" } ], \\\"defaultAction\\\": { \\\"type\\\": \\\"BLOCK\\\" }}\"
-
Example: WAF
\"ManagedServiceData\": \"{\\\"type\\\": \\\"WAF\\\", \\\"ruleGroups\\\": [{\\\"id\\\": \\\"12345678-1bcd-9012-efga-0987654321ab\\\", \\\"overrideAction\\\" : {\\\"type\\\": \\\"COUNT\\\"}}], \\\"defaultAction\\\": {\\\"type\\\": \\\"BLOCK\\\"}}
-
Example: SECURITY_GROUPS_COMMON
\"SecurityServicePolicyData\":{\"Type\":\"SECURITY_GROUPS_COMMON\",\"ManagedServiceData\":\"{\\\"type\\\":\\\"SECURITY_GROUPS_COMMON\\\",\\\"revertManualSecurityGroupChanges\\\":false,\\\"exclusiveResourceSecurityGroupManagement\\\":false,\\\"securityGroups\\\":[{\\\"id\\\":\\\" sg-000e55995d61a06bd\\\"}]}\"},\"RemediationEnabled\":false,\"ResourceType\":\"AWS::EC2::NetworkInterface\"}
-
Example: SECURITY_GROUPS_CONTENT_AUDIT
\"SecurityServicePolicyData\":{\"Type\":\"SECURITY_GROUPS_CONTENT_AUDIT\",\"ManagedServiceData\":\"{\\\"type\\\":\\\"SECURITY_GROUPS_CONTENT_AUDIT\\\",\\\"securityGroups\\\":[{\\\"id\\\":\\\" sg-000e55995d61a06bd \\\"}],\\\"securityGroupAction\\\":{\\\"type\\\":\\\"ALLOW\\\"}}\"},\"RemediationEnabled\":false,\"ResourceType\":\"AWS::EC2::NetworkInterface\"}
The security group action for content audit can be ALLOW
or DENY
. For ALLOW
, all in-scope security group rules must be within the allowed range of the policy's security group rules. For DENY
, 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.
-
Example: SECURITY_GROUPS_USAGE_AUDIT
\"SecurityServicePolicyData\":{\"Type\":\"SECURITY_GROUPS_USAGE_AUDIT\",\"ManagedServiceData\":\"{\\\"type\\\":\\\"SECURITY_GROUPS_USAGE_AUDIT\\\",\\\"deleteUnusedSecurityGroups\\\":true,\\\"coalesceRedundantSecurityGroups\\\":true}\"},\"RemediationEnabled\":false,\"Resou rceType\":\"AWS::EC2::SecurityGroup\"}
"
}
},
"documentation":"Details about the security service that is being used to protect the resources.
"
},
"SecurityServiceType":{
"type":"string",
"enum":[
"WAF",
"WAFV2",
"SHIELD_ADVANCED",
"SECURITY_GROUPS_COMMON",
"SECURITY_GROUPS_CONTENT_AUDIT",
"SECURITY_GROUPS_USAGE_AUDIT"
]
},
"Tag":{
"type":"structure",
"required":[
"Key",
"Value"
],
"members":{
"Key":{
"shape":"TagKey",
"documentation":"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.
"
},
"Value":{
"shape":"TagValue",
"documentation":"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.
"
}
},
"documentation":"A collection of key:value pairs associated with an AWS 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 AWS resource.
"
},
"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":"The Amazon Resource Name (ARN) of the resource. The Firewall Manager policy is the only AWS resource that supports tagging, so this ARN is a policy ARN.
"
},
"TagList":{
"shape":"TagList",
"documentation":"The tags to add to the resource.
"
}
}
},
"TagResourceResponse":{
"type":"structure",
"members":{
}
},
"TagValue":{
"type":"string",
"max":256,
"min":0,
"pattern":"^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$"
},
"TimeStamp":{"type":"timestamp"},
"UntagResourceRequest":{
"type":"structure",
"required":[
"ResourceArn",
"TagKeys"
],
"members":{
"ResourceArn":{
"shape":"ResourceArn",
"documentation":"The Amazon Resource Name (ARN) of the resource. The Firewall Manager policy is the only AWS resource that supports tagging, so this ARN is a policy ARN.
"
},
"TagKeys":{
"shape":"TagKeyList",
"documentation":"The keys of the tags to remove from the resource.
"
}
}
},
"UntagResourceResponse":{
"type":"structure",
"members":{
}
},
"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"
]
}
},
"documentation":"AWS Firewall Manager This is the AWS Firewall Manager API Reference. This guide is for developers who need detailed information about the AWS Firewall Manager API actions, data types, and errors. For detailed information about AWS Firewall Manager features, see the AWS Firewall Manager Developer Guide.
"
}