GetProtectionStatus
Source:
src/AWS/FMS/GetProtectionStatus.ts
Runtime binding for fms:GetProtectionStatus.
Returns policy-level attack summary information for Shield Advanced policies — DDoS attacks detected during the specified time period. Provide the
implementation with Effect.provide(AWS.FMS.GetProtectionStatusHttp).
Compliance and Protection Status
Section titled “Compliance and Protection Status”// init — account-level binding takes no resourceconst getProtectionStatus = yield* AWS.FMS.GetProtectionStatus();
// runtimeconst result = yield* getProtectionStatus({ PolicyId: policyId });console.log(result.ServiceType, result.Data);