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 |
ModifyInstanceGroups modifies the number of nodes and configuration settings of an instance group. The input parameters include the new target instance count for the group and the instance group ID. The call will either succeed or fail atomically.
Synopsis
- data ModifyInstanceGroups = ModifyInstanceGroups' {}
- newModifyInstanceGroups :: ModifyInstanceGroups
- modifyInstanceGroups_clusterId :: Lens' ModifyInstanceGroups (Maybe Text)
- modifyInstanceGroups_instanceGroups :: Lens' ModifyInstanceGroups (Maybe [InstanceGroupModifyConfig])
- data ModifyInstanceGroupsResponse = ModifyInstanceGroupsResponse' {
- newModifyInstanceGroupsResponse :: ModifyInstanceGroupsResponse
Creating a Request
data ModifyInstanceGroups Source #
Change the size of some instance groups.
See: newModifyInstanceGroups
smart constructor.
ModifyInstanceGroups' | |
|
Instances
newModifyInstanceGroups :: ModifyInstanceGroups Source #
Create a value of ModifyInstanceGroups
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:clusterId:ModifyInstanceGroups'
, modifyInstanceGroups_clusterId
- The ID of the cluster to which the instance group belongs.
$sel:instanceGroups:ModifyInstanceGroups'
, modifyInstanceGroups_instanceGroups
- Instance groups to change.
Request Lenses
modifyInstanceGroups_clusterId :: Lens' ModifyInstanceGroups (Maybe Text) Source #
The ID of the cluster to which the instance group belongs.
modifyInstanceGroups_instanceGroups :: Lens' ModifyInstanceGroups (Maybe [InstanceGroupModifyConfig]) Source #
Instance groups to change.
Destructuring the Response
data ModifyInstanceGroupsResponse Source #
See: newModifyInstanceGroupsResponse
smart constructor.
Instances
newModifyInstanceGroupsResponse :: ModifyInstanceGroupsResponse Source #
Create a value of ModifyInstanceGroupsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.