Module Values.CreateServiceResponseSource

Creates a service. A service is any software application that can run on instances containers, or serverless functions within an account or virtual private cloud (VPC). For more information, see Services in the Amazon VPC Lattice User Guide.

Sourcetype nonrec t = {
  1. id : ServiceId.t option;
    (*

    The ID of the service.

    *)
  2. arn : ServiceArn.t option;
    (*

    The Amazon Resource Name (ARN) of the service.

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

    The name of the service.

    *)
  4. customDomainName : ServiceCustomDomainName.t option;
    (*

    The custom domain name of the service.

    *)
  5. certificateArn : CertificateArn.t option;
    (*

    The Amazon Resource Name (ARN) of the certificate.

    *)
  6. status : ServiceStatus.t option;
    (*

    The status. If the status is CREATE_FAILED, you must delete and recreate the service.

    *)
  7. authType : AuthType.t option;
    (*

    The type of IAM policy.

    *)
  8. dnsEntry : DnsEntry.t option;
    (*

    The public DNS name of the service.

    *)
}
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 : ?id:??? -> ?arn:??? -> ?name:??? -> ?customDomainName:??? -> ?certificateArn:??? -> ?status:??? -> ?authType:??? -> ?dnsEntry:??? -> 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 | `String of ServiceId.t | `Structure of (string * [> `String of String_.t ]) list ]) 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