// Gets information about one or more on-premises instances. The maximum number of
// on-premises instances that can be returned is 25.
Gets information about one or more on-premises instances. The maximum number of
on-premises instances that can be returned is 25.
// Gets information about one or more on - premises instances . The maximum number of // on - premises instances that can be returned is 25 .
func (c *Client) BatchGetOnPremisesInstances(ctx context.Context, params *BatchGetOnPremisesInstancesInput, optFns ...func(*Options)) (*BatchGetOnPremisesInstancesOutput, error) {
	if params == nil {
		params = &BatchGetOnPremisesInstancesInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "BatchGetOnPremisesInstances", params, optFns, addOperationBatchGetOnPremisesInstancesMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*BatchGetOnPremisesInstancesOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) BatchGetOnPremisesInstances ( ctx context . Context , params * BatchGetOnPremisesInstancesInput , optFns ... func ( * Options ) ) ( * BatchGetOnPremisesInstancesOutput , error ) { if params == nil { params = & BatchGetOnPremisesInstancesInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationBatchGetOnPremisesInstancesMiddlewares ) if err != nil { return nil , err } out := result . ( * BatchGetOnPremisesInstancesOutput ) out . ResultMetadata = metadata return out , nil }
Gets information about one or more on-premises instances.
Gets information about one or more on - premises instances .