Module Events.Connection

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-connection.html

type api_key_auth_parameters = {
  1. api_key_value : string;
  2. api_key_name : string;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-connection-apikeyauthparameters.html

and basic_auth_parameters = {
  1. username : string;
  2. password : string;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-connection-basicauthparameters.html

and parameter = {
  1. value : string;
  2. is_value_secret : bool option;
  3. key : string;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-connection-parameter.html

and client_parameters = {
  1. client_secret : string;
  2. client_id : string;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-connection-clientparameters.html

and connection_http_parameters = {
  1. header_parameters : parameter list option;
  2. query_string_parameters : parameter list option;
  3. body_parameters : parameter list option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-connection-connectionhttpparameters.html

and o_auth_parameters = {
  1. client_parameters : client_parameters;
  2. o_auth_http_parameters : connection_http_parameters option;
  3. authorization_endpoint : string;
  4. http_method : string;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-connection-oauthparameters.html

and auth_parameters = {
  1. invocation_http_parameters : connection_http_parameters option;
  2. basic_auth_parameters : basic_auth_parameters option;
  3. api_key_auth_parameters : api_key_auth_parameters option;
  4. o_auth_parameters : o_auth_parameters option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-connection-authparameters.html

type properties = {
  1. auth_parameters : auth_parameters option;
  2. description : string option;
  3. authorization_type : string option;
  4. name : string option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-connection.html;

val make_properties : ?auth_parameters:auth_parameters -> ?description:string -> ?authorization_type:string -> ?name:string -> unit -> properties
val make_api_key_auth_parameters : api_key_value:string -> api_key_name:string -> unit -> api_key_auth_parameters
val make_basic_auth_parameters : username:string -> password:string -> unit -> basic_auth_parameters
val make_parameter : value:string -> ?is_value_secret:bool -> key:string -> unit -> parameter
val make_client_parameters : client_secret:string -> client_id:string -> unit -> client_parameters
val make_connection_http_parameters : ?header_parameters:parameter list -> ?query_string_parameters:parameter list -> ?body_parameters:parameter list -> unit -> connection_http_parameters
val make_o_auth_parameters : client_parameters:client_parameters -> ?o_auth_http_parameters:connection_http_parameters -> authorization_endpoint:string -> http_method:string -> unit -> o_auth_parameters
val make_auth_parameters : ?invocation_http_parameters:connection_http_parameters -> ?basic_auth_parameters:basic_auth_parameters -> ?api_key_auth_parameters:api_key_auth_parameters -> ?o_auth_parameters:o_auth_parameters -> unit -> auth_parameters
val yojson_of_api_key_auth_parameters : api_key_auth_parameters -> Yojson.Safe.t
val yojson_of_basic_auth_parameters : basic_auth_parameters -> Yojson.Safe.t
val yojson_of_parameter : parameter -> Yojson.Safe.t
val yojson_of_client_parameters : client_parameters -> Yojson.Safe.t
val yojson_of_connection_http_parameters : connection_http_parameters -> Yojson.Safe.t
val yojson_of_o_auth_parameters : o_auth_parameters -> Yojson.Safe.t
val yojson_of_auth_parameters : auth_parameters -> [> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_properties : properties -> [> `Assoc of (string * Yojson.Safe.t) list ]
type attributes = {
  1. ref_ : string;
  2. secret_arn : string;
  3. arn : string;
}
val create_attributes : string -> attributes
val cloudformation_type : string