ListProfileAssociations
Source:
src/AWS/Route53Profiles/ListProfileAssociations.ts
Runtime binding for route53profiles:ListProfileAssociations — enumerate
the VPC associations of the bound Profile (each item carries the
association id, VPC ResourceId, and its Status), so an ops function
can audit which VPCs a shared DNS configuration currently applies to or
wait for an association to reach COMPLETE. The profile’s id is injected
automatically.
Provide AWS.Route53Profiles.ListProfileAssociationsHttp on the hosting
Lambda Function to satisfy the requirement.
Listing VPC Associations
Section titled “Listing VPC Associations”// init — grants route53profiles:ListProfileAssociationsconst listProfileAssociations = yield* AWS.Route53Profiles.ListProfileAssociations(profile);
// runtimeconst { ProfileAssociations = [] } = yield* listProfileAssociations();for (const association of ProfileAssociations) { yield* Effect.log(`${association.ResourceId}: ${association.Status}`);}