Values.GetProtectionStatusResponseSourceIf 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.
type nonrec t = {adminAccountId : AWSAccountId.t option;The ID of the Firewall Manager administrator account for this policy.
*)serviceType : SecurityServiceType.t option;The service type that is protected by the policy. Currently, this is always SHIELD_ADVANCED.
*)data : ProtectionData.t option;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 : PaginationToken.t option;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. Amazon Web Services 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.
*)}type nonrec error = [ | `InternalErrorException of InternalErrorException.t| `InvalidInputException of InvalidInputException.t| `ResourceNotFoundException of ResourceNotFoundException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `InternalErrorException of InternalErrorException.t
| `InvalidInputException of InvalidInputException.t
| `ResourceNotFoundException of ResourceNotFoundException.t
| `Unknown_operation_error of string * string option ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `InternalErrorException of InternalErrorException.t
| `InvalidInputException of InvalidInputException.t
| `ResourceNotFoundException of ResourceNotFoundException.t
| `Unknown_operation_error of string * string option ]val to_value :
t ->
[> `Structure of
(string * [> `Enum of string | `String of AWSAccountId.t ]) list ]