Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
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.
Creating a Request
modifyInstanceGroups :: ModifyInstanceGroups Source #
Creates a value of ModifyInstanceGroups
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
migClusterId
- The ID of the cluster to which the instance group belongs.migInstanceGroups
- Instance groups to change.
data ModifyInstanceGroups Source #
Change the size of some instance groups.
See: modifyInstanceGroups
smart constructor.
Request Lenses
migClusterId :: Lens' ModifyInstanceGroups (Maybe Text) Source #
The ID of the cluster to which the instance group belongs.
migInstanceGroups :: Lens' ModifyInstanceGroups [InstanceGroupModifyConfig] Source #
Instance groups to change.
Destructuring the Response
modifyInstanceGroupsResponse :: ModifyInstanceGroupsResponse Source #
Creates a value of ModifyInstanceGroupsResponse
with the minimum fields required to make a request.
data ModifyInstanceGroupsResponse Source #
See: modifyInstanceGroupsResponse
smart constructor.