Smaws_Client_ECS.CreateExpressGatewayServiceCreates an Express service that simplifies deploying containerized web applications on Amazon ECS with managed Amazon Web Services infrastructure. This operation provisions and configures Application Load Balancers, target groups, security groups, and auto-scaling policies automatically.
Specify a primary container configuration with your application image and basic settings. Amazon ECS creates the necessary Amazon Web Services resources for traffic distribution, health monitoring, network access control, and capacity management.
Provide an execution role for task operations and an infrastructure role for managing Amazon Web Services resources on your behalf.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of Types.access_denied_exception
| `ClientException of Types.client_exception
| `ClusterNotFoundException of Types.cluster_not_found_exception
| `InvalidParameterException of Types.invalid_parameter_exception
| `PlatformTaskDefinitionIncompatibilityException of
Types.platform_task_definition_incompatibility_exception
| `PlatformUnknownException of Types.platform_unknown_exception
| `ServerException of Types.server_exception
| `UnsupportedFeatureException of Types.unsupported_feature_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.create_express_gateway_service_request ->
(Types.create_express_gateway_service_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of Types.access_denied_exception
| `ClientException of Types.client_exception
| `ClusterNotFoundException of Types.cluster_not_found_exception
| `InvalidParameterException of Types.invalid_parameter_exception
| `PlatformTaskDefinitionIncompatibilityException of
Types.platform_task_definition_incompatibility_exception
| `PlatformUnknownException of Types.platform_unknown_exception
| `ServerException of Types.server_exception
| `UnsupportedFeatureException of Types.unsupported_feature_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.create_express_gateway_service_request ->
(Types.create_express_gateway_service_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of Types.access_denied_exception
| `ClientException of Types.client_exception
| `ClusterNotFoundException of Types.cluster_not_found_exception
| `InvalidParameterException of Types.invalid_parameter_exception
| `PlatformTaskDefinitionIncompatibilityException of
Types.platform_task_definition_incompatibility_exception
| `PlatformUnknownException of Types.platform_unknown_exception
| `ServerException of Types.server_exception
| `UnsupportedFeatureException of Types.unsupported_feature_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result