Module Values.CreateCapabilityResponseSource

Instantiates a capability based on the specified parameters. A trading capability contains the information required to transform incoming EDI documents into JSON or XML outputs.

Sourcetype nonrec t = {
  1. capabilityId : CapabilityId.t option;
    (*

    Returns a system-assigned unique identifier for the capability.

    *)
  2. capabilityArn : ResourceArn.t option;
    (*

    Returns an Amazon Resource Name (ARN) for a specific Amazon Web Services resource, such as a capability, partnership, profile, or transformer.

    *)
  3. name : CapabilityName.t option;
    (*

    Returns the name of the capability used to identify it.

    *)
  4. type_ : CapabilityType.t option;
    (*

    Returns the type of the capability. Currently, only edi is supported.

    *)
  5. configuration : CapabilityConfiguration.t option;
    (*

    Returns a structure that contains the details for a capability.

    *)
  6. instructionsDocuments : InstructionsDocuments.t option;
    (*

    Returns one or more locations in Amazon S3, each specifying an EDI document that can be used with this capability. Each item contains the name of the bucket and the key, to identify the document's location.

    *)
  7. createdAt : CreatedDate.t option;
    (*

    Returns a timestamp for creation date and time of the capability.

    *)
}
Sourcetype nonrec error = [
  1. | `AccessDeniedException of AccessDeniedException.t
  2. | `ConflictException of ConflictException.t
  3. | `InternalServerException of InternalServerException.t
  4. | `ResourceNotFoundException of ResourceNotFoundException.t
  5. | `ServiceQuotaExceededException of ServiceQuotaExceededException.t
  6. | `ThrottlingException of ThrottlingException.t
  7. | `ValidationException of ValidationException.t
  8. | `Unknown_operation_error of string * string option
]
Sourceval make : ?capabilityId:??? -> ?capabilityArn:??? -> ?name:??? -> ?type_:??? -> ?configuration:??? -> ?instructionsDocuments:??? -> ?createdAt:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `AccessDeniedException of AccessDeniedException.t | `ConflictException of ConflictException.t | `InternalServerException of InternalServerException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `ServiceQuotaExceededException of ServiceQuotaExceededException.t | `ThrottlingException of ThrottlingException.t | `Unknown_operation_error of string * string option | `ValidationException of ValidationException.t ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `AccessDeniedException of AccessDeniedException.t | `ConflictException of ConflictException.t | `InternalServerException of InternalServerException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `ServiceQuotaExceededException of ServiceQuotaExceededException.t | `ThrottlingException of ThrottlingException.t | `Unknown_operation_error of string * string option | `ValidationException of ValidationException.t ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `String of BucketName.t ]) list ] list | `String of CapabilityId.t | `Structure of (string * [> `Structure of (string * [> `Enum of string | `String of TransformerId.t | `Structure of (string * [> `String of BucketName.t | `Structure of (string * [> `Enum of string ]) list ]) list ]) list ]) list | `Timestamp of CreatedDate.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