Module Values.CreateTargetGroupResponseSource

Creates a target group. A target group is a collection of targets, or compute resources, that run your application or service. A target group can only be used by a single service. For more information, see Target groups in the Amazon VPC Lattice User Guide.

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

    The ID of the target group.

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

    The Amazon Resource Name (ARN) of the target group.

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

    The name of the target group.

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

    The type of target group.

    *)
  5. config : TargetGroupConfig.t option;
    (*

    The target group configuration.

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

    The status. You can retry the operation if the status is CREATE_FAILED. However, if you retry it while the status is CREATE_IN_PROGRESS, there is no change in the status.

    *)
}
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:??? -> ?type_:??? -> ?config:??? -> ?status:??? -> 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 TargetGroupId.t | `Structure of (string * [> `Enum of string | `Integer of Port.t | `String of VpcId.t | `Structure of (string * [> `Boolean of Boolean.t | `Enum of string | `Integer of HealthCheckPort.t | `String of HealthCheckPath.t | `Structure of (string * [> `String of HttpCodeMatcher.t ]) list ]) list ]) 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