Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Modifies a task set. 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.
Synopsis
- data UpdateTaskSet = UpdateTaskSet' {}
- newUpdateTaskSet :: Text -> Text -> Text -> Scale -> UpdateTaskSet
- updateTaskSet_cluster :: Lens' UpdateTaskSet Text
- updateTaskSet_service :: Lens' UpdateTaskSet Text
- updateTaskSet_taskSet :: Lens' UpdateTaskSet Text
- updateTaskSet_scale :: Lens' UpdateTaskSet Scale
- data UpdateTaskSetResponse = UpdateTaskSetResponse' {
- taskSet :: Maybe TaskSet
- httpStatus :: Int
- newUpdateTaskSetResponse :: Int -> UpdateTaskSetResponse
- updateTaskSetResponse_taskSet :: Lens' UpdateTaskSetResponse (Maybe TaskSet)
- updateTaskSetResponse_httpStatus :: Lens' UpdateTaskSetResponse Int
Creating a Request
data UpdateTaskSet Source #
See: newUpdateTaskSet
smart constructor.
UpdateTaskSet' | |
|
Instances
:: Text | |
-> Text | |
-> Text | |
-> Scale | |
-> UpdateTaskSet |
Create a value of UpdateTaskSet
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:cluster:UpdateTaskSet'
, updateTaskSet_cluster
- The short name or full Amazon Resource Name (ARN) of the cluster that
hosts the service that the task set exists in.
$sel:service:UpdateTaskSet'
, updateTaskSet_service
- The short name or full Amazon Resource Name (ARN) of the service that
the task set exists in.
$sel:taskSet:UpdateTaskSet'
, updateTaskSet_taskSet
- The short name or full Amazon Resource Name (ARN) of the task set to
update.
$sel:scale:UpdateTaskSet'
, updateTaskSet_scale
- A floating-point percentage of the desired number of tasks to place and
keep running in the task set.
Request Lenses
updateTaskSet_cluster :: Lens' UpdateTaskSet Text Source #
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service that the task set exists in.
updateTaskSet_service :: Lens' UpdateTaskSet Text Source #
The short name or full Amazon Resource Name (ARN) of the service that the task set exists in.
updateTaskSet_taskSet :: Lens' UpdateTaskSet Text Source #
The short name or full Amazon Resource Name (ARN) of the task set to update.
updateTaskSet_scale :: Lens' UpdateTaskSet Scale Source #
A floating-point percentage of the desired number of tasks to place and keep running in the task set.
Destructuring the Response
data UpdateTaskSetResponse Source #
See: newUpdateTaskSetResponse
smart constructor.
UpdateTaskSetResponse' | |
|
Instances
newUpdateTaskSetResponse Source #
Create a value of UpdateTaskSetResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:taskSet:UpdateTaskSet'
, updateTaskSetResponse_taskSet
- Details about the task set.
$sel:httpStatus:UpdateTaskSetResponse'
, updateTaskSetResponse_httpStatus
- The response's http status code.
Response Lenses
updateTaskSetResponse_taskSet :: Lens' UpdateTaskSetResponse (Maybe TaskSet) Source #
Details about the task set.
updateTaskSetResponse_httpStatus :: Lens' UpdateTaskSetResponse Int Source #
The response's http status code.