DescribeAttack
Source:
src/AWS/Shield/DescribeAttack.ts
Runtime binding for shield:DescribeAttack.
Hydrates the full detail document of a DDoS attack (vectors, counters,
mitigations, sub-resources) from an attack id surfaced by
ListAttacks. Requires an active Shield Advanced subscription; a
nonexistent attack id answers with an empty document or the typed
AccessDeniedException.
Provide the implementation with
Effect.provide(AWS.Shield.DescribeAttackHttp).
Attack Visibility
Section titled “Attack Visibility”// init — account-level binding, no resource argumentconst describeAttack = yield* AWS.Shield.DescribeAttack();
// runtimeconst { Attack } = yield* describeAttack({ AttackId: attackId });