Module Values.CreateServiceRequestSource

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. clientToken : ClientToken.t option;
    (*

    A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you retry a request that completed successfully using the same client token and parameters, the retry succeeds without performing any actions. If the parameters aren't identical, the retry fails.

    *)
  2. name : ServiceName.t;
    (*

    The name of the service. The name must be unique within the account. The valid characters are a-z, 0-9, and hyphens (-). You can't use a hyphen as the first or last character, or immediately after another hyphen.

    *)
  3. tags : TagMap.t option;
    (*

    The tags for 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. authType : AuthType.t option;
    (*

    The type of IAM policy. NONE: The resource does not use an IAM policy. This is the default. AWS_IAM: The resource uses an IAM policy. When this type is used, auth is enabled and an auth policy is required.

    *)
}
Sourceval context_ : string
Sourceval make : ?clientToken:??? -> ?tags:??? -> ?customDomainName:??? -> ?certificateArn:??? -> ?authType:??? -> name:ServiceName.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Map of ([> `String of TagKey.t ] * [> `String of TagValue.t ]) list | `String of ClientToken.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