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 which task set in a service is the primary task set. Any
parameters that are updated on the primary task set in a service will
transition to the 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 UpdateServicePrimaryTaskSet = UpdateServicePrimaryTaskSet' {}
- newUpdateServicePrimaryTaskSet :: Text -> Text -> Text -> UpdateServicePrimaryTaskSet
- updateServicePrimaryTaskSet_cluster :: Lens' UpdateServicePrimaryTaskSet Text
- updateServicePrimaryTaskSet_service :: Lens' UpdateServicePrimaryTaskSet Text
- updateServicePrimaryTaskSet_primaryTaskSet :: Lens' UpdateServicePrimaryTaskSet Text
- data UpdateServicePrimaryTaskSetResponse = UpdateServicePrimaryTaskSetResponse' {
- taskSet :: Maybe TaskSet
- httpStatus :: Int
- newUpdateServicePrimaryTaskSetResponse :: Int -> UpdateServicePrimaryTaskSetResponse
- updateServicePrimaryTaskSetResponse_taskSet :: Lens' UpdateServicePrimaryTaskSetResponse (Maybe TaskSet)
- updateServicePrimaryTaskSetResponse_httpStatus :: Lens' UpdateServicePrimaryTaskSetResponse Int
Creating a Request
data UpdateServicePrimaryTaskSet Source #
See: newUpdateServicePrimaryTaskSet
smart constructor.
UpdateServicePrimaryTaskSet' | |
|
Instances
newUpdateServicePrimaryTaskSet Source #
:: Text | |
-> Text | |
-> Text | |
-> UpdateServicePrimaryTaskSet |
Create a value of UpdateServicePrimaryTaskSet
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:UpdateServicePrimaryTaskSet'
, updateServicePrimaryTaskSet_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:UpdateServicePrimaryTaskSet'
, updateServicePrimaryTaskSet_service
- The short name or full Amazon Resource Name (ARN) of the service that
the task set exists in.
$sel:primaryTaskSet:UpdateServicePrimaryTaskSet'
, updateServicePrimaryTaskSet_primaryTaskSet
- The short name or full Amazon Resource Name (ARN) of the task set to set
as the primary task set in the deployment.
Request Lenses
updateServicePrimaryTaskSet_cluster :: Lens' UpdateServicePrimaryTaskSet Text Source #
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service that the task set exists in.
updateServicePrimaryTaskSet_service :: Lens' UpdateServicePrimaryTaskSet Text Source #
The short name or full Amazon Resource Name (ARN) of the service that the task set exists in.
updateServicePrimaryTaskSet_primaryTaskSet :: Lens' UpdateServicePrimaryTaskSet Text Source #
The short name or full Amazon Resource Name (ARN) of the task set to set as the primary task set in the deployment.
Destructuring the Response
data UpdateServicePrimaryTaskSetResponse Source #
See: newUpdateServicePrimaryTaskSetResponse
smart constructor.
UpdateServicePrimaryTaskSetResponse' | |
|
Instances
Eq UpdateServicePrimaryTaskSetResponse Source # | |
Read UpdateServicePrimaryTaskSetResponse Source # | |
Show UpdateServicePrimaryTaskSetResponse Source # | |
Generic UpdateServicePrimaryTaskSetResponse Source # | |
NFData UpdateServicePrimaryTaskSetResponse Source # | |
Defined in Amazonka.ECS.UpdateServicePrimaryTaskSet rnf :: UpdateServicePrimaryTaskSetResponse -> () # | |
type Rep UpdateServicePrimaryTaskSetResponse Source # | |
Defined in Amazonka.ECS.UpdateServicePrimaryTaskSet type Rep UpdateServicePrimaryTaskSetResponse = D1 ('MetaData "UpdateServicePrimaryTaskSetResponse" "Amazonka.ECS.UpdateServicePrimaryTaskSet" "libZSservicesZSamazonka-ecsZSamazonka-ecs" 'False) (C1 ('MetaCons "UpdateServicePrimaryTaskSetResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "taskSet") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TaskSet)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newUpdateServicePrimaryTaskSetResponse Source #
Create a value of UpdateServicePrimaryTaskSetResponse
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:UpdateServicePrimaryTaskSetResponse'
, updateServicePrimaryTaskSetResponse_taskSet
- Details about the task set.
$sel:httpStatus:UpdateServicePrimaryTaskSetResponse'
, updateServicePrimaryTaskSetResponse_httpStatus
- The response's http status code.
Response Lenses
updateServicePrimaryTaskSetResponse_taskSet :: Lens' UpdateServicePrimaryTaskSetResponse (Maybe TaskSet) Source #
Details about the task set.
updateServicePrimaryTaskSetResponse_httpStatus :: Lens' UpdateServicePrimaryTaskSetResponse Int Source #
The response's http status code.