// Adds tags to on-premises instances.
Adds tags to on-premises instances.
// Adds tags to on - premises instances .
func (c *Client) AddTagsToOnPremisesInstances(ctx context.Context, params *AddTagsToOnPremisesInstancesInput, optFns ...func(*Options)) (*AddTagsToOnPremisesInstancesOutput, error) {
	if params == nil {
		params = &AddTagsToOnPremisesInstancesInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "AddTagsToOnPremisesInstances", params, optFns, addOperationAddTagsToOnPremisesInstancesMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*AddTagsToOnPremisesInstancesOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) AddTagsToOnPremisesInstances ( ctx context . Context , params * AddTagsToOnPremisesInstancesInput , optFns ... func ( * Options ) ) ( * AddTagsToOnPremisesInstancesOutput , error ) { if params == nil { params = & AddTagsToOnPremisesInstancesInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationAddTagsToOnPremisesInstancesMiddlewares ) if err != nil { return nil , err } out := result . ( * AddTagsToOnPremisesInstancesOutput ) out . ResultMetadata = metadata return out , nil }
Adds tags to on-premises instances.
Adds tags to on - premises instances .