// Provides all available details about the instance groups in a cluster.
Provides all available details about the instance groups in a cluster.
// Provides all available details about the instance groups in a cluster .
func (c *Client) ListInstanceGroups(ctx context.Context, params *ListInstanceGroupsInput, optFns ...func(*Options)) (*ListInstanceGroupsOutput, error) {
	if params == nil {
		params = &ListInstanceGroupsInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "ListInstanceGroups", params, optFns, addOperationListInstanceGroupsMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*ListInstanceGroupsOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) ListInstanceGroups ( ctx context . Context , params * ListInstanceGroupsInput , optFns ... func ( * Options ) ) ( * ListInstanceGroupsOutput , error ) { if params == nil { params = & ListInstanceGroupsInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationListInstanceGroupsMiddlewares ) if err != nil { return nil , err } out := result . ( * ListInstanceGroupsOutput ) out . ResultMetadata = metadata return out , nil }
Provides all available details about the instance groups in a cluster.
Provides all available details about the instance groups in a cluster .