Smaws_Client_GlobalAccelerator.CreateEndpointGroupCreate an endpoint group for the specified listener. An endpoint group is a collection of endpoints in one Amazon Web Services Region. A resource must be valid and active when you add it as an endpoint.
For more information about endpoint types and requirements for endpoints that you can add to Global Accelerator, see Endpoints for standard accelerators in the Global Accelerator Developer Guide.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `AcceleratorNotFoundException of Types.accelerator_not_found_exception
| `AccessDeniedException of Types.access_denied_exception
| `EndpointGroupAlreadyExistsException of
Types.endpoint_group_already_exists_exception
| `InternalServiceErrorException of Types.internal_service_error_exception
| `InvalidArgumentException of Types.invalid_argument_exception
| `LimitExceededException of Types.limit_exceeded_exception
| `ListenerNotFoundException of Types.listener_not_found_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.create_endpoint_group_request ->
(Types.create_endpoint_group_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `AcceleratorNotFoundException of Types.accelerator_not_found_exception
| `AccessDeniedException of Types.access_denied_exception
| `EndpointGroupAlreadyExistsException of
Types.endpoint_group_already_exists_exception
| `InternalServiceErrorException of Types.internal_service_error_exception
| `InvalidArgumentException of Types.invalid_argument_exception
| `LimitExceededException of Types.limit_exceeded_exception
| `ListenerNotFoundException of Types.listener_not_found_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.create_endpoint_group_request ->
(Types.create_endpoint_group_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `AcceleratorNotFoundException of Types.accelerator_not_found_exception
| `AccessDeniedException of Types.access_denied_exception
| `EndpointGroupAlreadyExistsException of
Types.endpoint_group_already_exists_exception
| `InternalServiceErrorException of Types.internal_service_error_exception
| `InvalidArgumentException of Types.invalid_argument_exception
| `LimitExceededException of Types.limit_exceeded_exception
| `ListenerNotFoundException of Types.listener_not_found_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result