Module Values.CreateApiDestinationRequestSource

Creates an API destination, which is an HTTP invocation endpoint configured as a target for events. API destinations do not support private destinations, such as interface VPC endpoints. For more information, see API destinations in the EventBridge User Guide.

Sourcetype nonrec t = {
  1. name : ApiDestinationName.t;
    (*

    The name for the API destination to create.

    *)
  2. description : ApiDestinationDescription.t option;
    (*

    A description for the API destination to create.

    *)
  3. connectionArn : ConnectionArn.t;
    (*

    The ARN of the connection to use for the API destination. The destination endpoint must support the authorization type specified for the connection.

    *)
  4. invocationEndpoint : HttpsEndpoint.t;
    (*

    The URL to the HTTP invocation endpoint for the API destination.

    *)
  5. httpMethod : ApiDestinationHttpMethod.t;
    (*

    The method to use for the request to the HTTP invocation endpoint.

    *)
  6. invocationRateLimitPerSecond : ApiDestinationInvocationRateLimitPerSecond.t option;
    (*

    The maximum number of requests per second to send to the HTTP invocation endpoint.

    *)
}
Sourceval context_ : string
Sourceval make : ?description:??? -> ?invocationRateLimitPerSecond:??? -> name:ApiDestinationName.t -> connectionArn:ConnectionArn.t -> invocationEndpoint:HttpsEndpoint.t -> httpMethod:ApiDestinationHttpMethod.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Integer of ApiDestinationInvocationRateLimitPerSecond.t | `String of ApiDestinationName.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t