{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-connect/json-schema/amazon-connect-associate-flow-request-schema.json",
  "title": "AssociateFlowRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-connect-flow-associations-api-openapi.yml#/components/schemas/AssociateFlowRequest",
  "type": "object",
  "properties": {
    "InstanceId": {
      "type": "string",
      "description": "The identifier of the Connect Customer instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance."
    },
    "ResourceId": {
      "type": "string",
      "description": "The identifier of the resource. Amazon Web Services End User Messaging SMS phone number ARN when using SMS_PHONE_NUMBER Amazon Web Services End User Messaging Social phone number ARN when using WHATSAPP_MESSAGING_PHONE_NUMBER"
    },
    "FlowId": {
      "type": "string",
      "description": "The identifier of the flow."
    },
    "ResourceType": {
      "type": "string",
      "enum": [
        "SMS_PHONE_NUMBER",
        "INBOUND_EMAIL",
        "OUTBOUND_EMAIL",
        "ANALYTICS_CONNECTOR",
        "WHATSAPP_MESSAGING_PHONE_NUMBER"
      ],
      "description": "A valid resource type."
    }
  },
  "required": [
    "InstanceId",
    "ResourceId",
    "FlowId",
    "ResourceType"
  ]
}