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 the parameters for a capacity provider.
Synopsis
- data UpdateCapacityProvider = UpdateCapacityProvider' {}
- newUpdateCapacityProvider :: Text -> AutoScalingGroupProviderUpdate -> UpdateCapacityProvider
- updateCapacityProvider_name :: Lens' UpdateCapacityProvider Text
- updateCapacityProvider_autoScalingGroupProvider :: Lens' UpdateCapacityProvider AutoScalingGroupProviderUpdate
- data UpdateCapacityProviderResponse = UpdateCapacityProviderResponse' {}
- newUpdateCapacityProviderResponse :: Int -> UpdateCapacityProviderResponse
- updateCapacityProviderResponse_capacityProvider :: Lens' UpdateCapacityProviderResponse (Maybe CapacityProvider)
- updateCapacityProviderResponse_httpStatus :: Lens' UpdateCapacityProviderResponse Int
Creating a Request
data UpdateCapacityProvider Source #
See: newUpdateCapacityProvider
smart constructor.
UpdateCapacityProvider' | |
|
Instances
newUpdateCapacityProvider Source #
Create a value of UpdateCapacityProvider
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:name:UpdateCapacityProvider'
, updateCapacityProvider_name
- The name of the capacity provider to update.
$sel:autoScalingGroupProvider:UpdateCapacityProvider'
, updateCapacityProvider_autoScalingGroupProvider
- An object representing the parameters to update for the Auto Scaling
group capacity provider.
Request Lenses
updateCapacityProvider_name :: Lens' UpdateCapacityProvider Text Source #
The name of the capacity provider to update.
updateCapacityProvider_autoScalingGroupProvider :: Lens' UpdateCapacityProvider AutoScalingGroupProviderUpdate Source #
An object representing the parameters to update for the Auto Scaling group capacity provider.
Destructuring the Response
data UpdateCapacityProviderResponse Source #
See: newUpdateCapacityProviderResponse
smart constructor.
UpdateCapacityProviderResponse' | |
|
Instances
Eq UpdateCapacityProviderResponse Source # | |
Read UpdateCapacityProviderResponse Source # | |
Show UpdateCapacityProviderResponse Source # | |
Defined in Amazonka.ECS.UpdateCapacityProvider | |
Generic UpdateCapacityProviderResponse Source # | |
NFData UpdateCapacityProviderResponse Source # | |
Defined in Amazonka.ECS.UpdateCapacityProvider rnf :: UpdateCapacityProviderResponse -> () # | |
type Rep UpdateCapacityProviderResponse Source # | |
Defined in Amazonka.ECS.UpdateCapacityProvider type Rep UpdateCapacityProviderResponse = D1 ('MetaData "UpdateCapacityProviderResponse" "Amazonka.ECS.UpdateCapacityProvider" "libZSservicesZSamazonka-ecsZSamazonka-ecs" 'False) (C1 ('MetaCons "UpdateCapacityProviderResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "capacityProvider") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CapacityProvider)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newUpdateCapacityProviderResponse Source #
Create a value of UpdateCapacityProviderResponse
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:capacityProvider:UpdateCapacityProviderResponse'
, updateCapacityProviderResponse_capacityProvider
- Details about the capacity provider.
$sel:httpStatus:UpdateCapacityProviderResponse'
, updateCapacityProviderResponse_httpStatus
- The response's http status code.
Response Lenses
updateCapacityProviderResponse_capacityProvider :: Lens' UpdateCapacityProviderResponse (Maybe CapacityProvider) Source #
Details about the capacity provider.
updateCapacityProviderResponse_httpStatus :: Lens' UpdateCapacityProviderResponse Int Source #
The response's http status code.