Files
floci/docs/services/appintegrations.md
T
lex00 137a39add3 feat(appintegrations): add data and event integrations (#3379)
* feat(appintegrations): add data and event integrations

Amazon AppIntegrations over REST JSON, registered under the app-integrations
signing name: event integrations on /eventIntegrations, data integrations on
/dataIntegrations, and resource tagging through the shared /tags/{resourceArn}
dispatcher. Terraform's aws_appintegrations_event_integration and
aws_appintegrations_data_integration now round-trip against Floci instead of
failing on an unimplemented signing scope.

Event integrations are keyed by name, data integrations by generated id, and
both accept their own ARN wherever the API takes an identifier. The two PATCH
operations apply only the members present in the request body, matching how AWS
treats an optional member the caller did not send. Both tag writes answer 200,
which is what the 2020-07-29 model gives them.

* test(appintegrations): add an SDK compatibility test

Adds the appintegrations AWS SDK v2 module, a TestFixtures client factory,
and an AppIntegrationsTest that drives both integration types and the tag
round trip through the real SDK client.
2026-09-11 17:55:48 -04:00

3.7 KiB

Amazon AppIntegrations

Protocol: REST-JSON Endpoint: http://localhost:4566/eventIntegrations, /dataIntegrations (SigV4 service app-integrations)

Supported Actions

Action Description
CreateEventIntegration Create an event integration; returns its ARN
GetEventIntegration Get an event integration by name, including tags
UpdateEventIntegration Change an event integration's description
DeleteEventIntegration Delete an event integration
ListEventIntegrations List event integrations
ListEventIntegrationAssociations List an event integration's client associations
CreateDataIntegration Create a data integration; returns the full resource
GetDataIntegration Get a data integration by id or ARN
UpdateDataIntegration Change a data integration's name or description
DeleteDataIntegration Delete a data integration
ListDataIntegrations List data integration summaries
ListTagsForResource List tags on either integration type (GET /tags/{resourceArn})
TagResource Tag either integration type (POST /tags/{resourceArn})
UntagResource Remove tags (DELETE /tags/{resourceArn}?tagKeys=)

Event integrations are addressed by name and get the ARN arn:aws:app-integrations:<region>:<account>:event-integration/<name>. Data integrations get a generated id and the ARN arn:aws:app-integrations:<region>:<account>:data-integration/<id>. GetDataIntegration, UpdateDataIntegration and DeleteDataIntegration accept either the id or that ARN.

EventBridgeBus, EventFilter.Source, Description and Tags round-trip through GetEventIntegration, which is what aws_appintegrations_event_integration reads. Note that CreateDataIntegration takes the schedule under ScheduleConfig and reads it back as ScheduleConfiguration, matching the AWS model.

UpdateEventIntegration and UpdateDataIntegration change only the members present in the request body. An omitted Description or Name keeps its stored value.

ListEventIntegrationAssociations returns an empty list for an existing integration and ResourceNotFoundException for a missing one. Associations are created by the consuming service (Amazon Connect and friends) when it binds a client to the integration. Floci has no path that creates one, so an empty list is the true state rather than a placeholder.

Not implemented

These return a clean UnknownOperationException rather than a stub success:

  • CreateDataIntegrationAssociation, UpdateDataIntegrationAssociation and ListDataIntegrationAssociations. An association binds a data integration to a live client execution, which the emulator has no way to model.
  • CreateApplication, GetApplication, UpdateApplication, DeleteApplication, ListApplications and ListApplicationAssociations. The third-party application surface is not yet modelled.

Configuration

Variable Default Description
FLOCI_SERVICES_APPINTEGRATIONS_ENABLED true Enable or disable the service

Examples

export AWS_ENDPOINT_URL=http://localhost:4566

aws appintegrations create-event-integration \
  --name my-integration \
  --event-bridge-bus my-bus \
  --event-filter Source=aws.partner/example.com/1234

aws appintegrations get-event-integration --name my-integration

aws appintegrations create-data-integration \
  --name my-data-integration \
  --kms-key arn:aws:kms:us-east-1:000000000000:key/abc \
  --source-uri "Salesforce://AppFlow/test"

aws appintegrations list-data-integrations

aws appintegrations delete-event-integration --name my-integration