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 |
Deletes a specified task set within a 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.
Synopsis
- data DeleteTaskSet = DeleteTaskSet' {}
- newDeleteTaskSet :: Text -> Text -> Text -> DeleteTaskSet
- deleteTaskSet_force :: Lens' DeleteTaskSet (Maybe Bool)
- deleteTaskSet_cluster :: Lens' DeleteTaskSet Text
- deleteTaskSet_service :: Lens' DeleteTaskSet Text
- deleteTaskSet_taskSet :: Lens' DeleteTaskSet Text
- data DeleteTaskSetResponse = DeleteTaskSetResponse' {
- taskSet :: Maybe TaskSet
- httpStatus :: Int
- newDeleteTaskSetResponse :: Int -> DeleteTaskSetResponse
- deleteTaskSetResponse_taskSet :: Lens' DeleteTaskSetResponse (Maybe TaskSet)
- deleteTaskSetResponse_httpStatus :: Lens' DeleteTaskSetResponse Int
Creating a Request
data DeleteTaskSet Source #
See: newDeleteTaskSet
smart constructor.
DeleteTaskSet' | |
|
Instances
:: Text | |
-> Text | |
-> Text | |
-> DeleteTaskSet |
Create a value of DeleteTaskSet
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:force:DeleteTaskSet'
, deleteTaskSet_force
- If true
, this allows you to delete a task set even if it hasn't been
scaled down to zero.
$sel:cluster:DeleteTaskSet'
, deleteTaskSet_cluster
- The short name or full Amazon Resource Name (ARN) of the cluster that
hosts the service that the task set exists in to delete.
$sel:service:DeleteTaskSet'
, deleteTaskSet_service
- The short name or full Amazon Resource Name (ARN) of the service that
hosts the task set to delete.
$sel:taskSet:DeleteTaskSet'
, deleteTaskSet_taskSet
- The task set ID or full Amazon Resource Name (ARN) of the task set to
delete.
Request Lenses
deleteTaskSet_force :: Lens' DeleteTaskSet (Maybe Bool) Source #
If true
, this allows you to delete a task set even if it hasn't been
scaled down to zero.
deleteTaskSet_cluster :: Lens' DeleteTaskSet Text Source #
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service that the task set exists in to delete.
deleteTaskSet_service :: Lens' DeleteTaskSet Text Source #
The short name or full Amazon Resource Name (ARN) of the service that hosts the task set to delete.
deleteTaskSet_taskSet :: Lens' DeleteTaskSet Text Source #
The task set ID or full Amazon Resource Name (ARN) of the task set to delete.
Destructuring the Response
data DeleteTaskSetResponse Source #
See: newDeleteTaskSetResponse
smart constructor.
DeleteTaskSetResponse' | |
|
Instances
newDeleteTaskSetResponse Source #
Create a value of DeleteTaskSetResponse
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:DeleteTaskSet'
, deleteTaskSetResponse_taskSet
- Details about the task set.
$sel:httpStatus:DeleteTaskSetResponse'
, deleteTaskSetResponse_httpStatus
- The response's http status code.
Response Lenses
deleteTaskSetResponse_taskSet :: Lens' DeleteTaskSetResponse (Maybe TaskSet) Source #
Details about the task set.
deleteTaskSetResponse_httpStatus :: Lens' DeleteTaskSetResponse Int Source #
The response's http status code.