Get Protection Status
| fms_get_protection_status | R Documentation |
If you created a Shield Advanced policy, returns policy-level attack summary information in the event of a potential DDoS attack¶
Description¶
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.
Usage¶
Arguments¶
PolicyId[required] The ID of the policy for which you want to get the attack information.
MemberAccountIdThe Amazon Web Services account that is in scope of the policy that you want to get the details for.
StartTimeThe start of the time period to query for the attacks. This is a
timestamptype. The request syntax listing indicates anumbertype because the default used by Firewall Manager is Unix time in seconds. However, any validtimestampformat is allowed.EndTimeThe end of the time period to query for the attacks. This is a
timestamptype. The request syntax listing indicates anumbertype because the default used by Firewall Manager is Unix time in seconds. However, any validtimestampformat is allowed.NextTokenIf you specify a value for
MaxResultsand you have more objects than the number that you specify forMaxResults, Firewall Manager returns aNextTokenvalue in the response, which you can use to retrieve another group of objects. For the second and subsequentget_protection_statusrequests, specify the value ofNextTokenfrom the previous response to get information about another batch of objects.MaxResultsSpecifies 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
MaxResults, the response includes aNextTokenvalue that you can use to get another batch of objects.
Value¶
A list with the following syntax:
list(
AdminAccountId = "string",
ServiceType = "WAF"|"WAFV2"|"SHIELD_ADVANCED"|"SECURITY_GROUPS_COMMON"|"SECURITY_GROUPS_CONTENT_AUDIT"|"SECURITY_GROUPS_USAGE_AUDIT"|"NETWORK_FIREWALL"|"DNS_FIREWALL"|"THIRD_PARTY_FIREWALL"|"IMPORT_NETWORK_FIREWALL"|"NETWORK_ACL_COMMON",
Data = "string",
NextToken = "string"
)