Smaws_Client_ECS.CreateTaskSetCreate a task set in the specified cluster and service. This is used when a service uses the EXTERNAL deployment controller type. For more information, see Amazon ECS deployment types in the Amazon Elastic Container Service Developer Guide.
On March 21, 2024, a change was made to resolve the task definition revision before authorization. When a task definition revision is not specified, authorization will occur using the latest revision of a task definition.
For information about the maximum number of task sets and other quotas, see Amazon ECS service quotas in the Amazon Elastic Container Service Developer Guide.
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
| `LimitExceededException of Types.limit_exceeded_exception
| `NamespaceNotFoundException of Types.namespace_not_found_exception
| `PlatformTaskDefinitionIncompatibilityException of
Types.platform_task_definition_incompatibility_exception
| `PlatformUnknownException of Types.platform_unknown_exception
| `ServerException of Types.server_exception
| `ServiceNotActiveException of Types.service_not_active_exception
| `ServiceNotFoundException of Types.service_not_found_exception
| `UnsupportedFeatureException of Types.unsupported_feature_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.create_task_set_request ->
(Types.create_task_set_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
| `LimitExceededException of Types.limit_exceeded_exception
| `NamespaceNotFoundException of Types.namespace_not_found_exception
| `PlatformTaskDefinitionIncompatibilityException of
Types.platform_task_definition_incompatibility_exception
| `PlatformUnknownException of Types.platform_unknown_exception
| `ServerException of Types.server_exception
| `ServiceNotActiveException of Types.service_not_active_exception
| `ServiceNotFoundException of Types.service_not_found_exception
| `UnsupportedFeatureException of Types.unsupported_feature_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.create_task_set_request ->
(Types.create_task_set_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
| `LimitExceededException of Types.limit_exceeded_exception
| `NamespaceNotFoundException of Types.namespace_not_found_exception
| `PlatformTaskDefinitionIncompatibilityException of
Types.platform_task_definition_incompatibility_exception
| `PlatformUnknownException of Types.platform_unknown_exception
| `ServerException of Types.server_exception
| `ServiceNotActiveException of Types.service_not_active_exception
| `ServiceNotFoundException of Types.service_not_found_exception
| `UnsupportedFeatureException of Types.unsupported_feature_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result