BatchAssociateResource
Source:
src/AWS/FMS/BatchAssociateResource.ts
Runtime binding for fms:BatchAssociateResource.
Associates resources with the specified Firewall Manager resource set, reporting per-item failures. Provide the
implementation with Effect.provide(AWS.FMS.BatchAssociateResourceHttp).
Resource Sets
Section titled “Resource Sets”// init — account-level binding takes no resourceconst batchAssociateResource = yield* AWS.FMS.BatchAssociateResource();
// runtimeconst result = yield* batchAssociateResource({ ResourceSetIdentifier: resourceSetId, Items: [firewallArn],});console.log(result.FailedItems.length);