// Updates settings for a server. This operation is synchronous.
Updates settings for a server. This operation is synchronous.
// Updates settings for a server . This operation is synchronous .
func (c *Client) UpdateServer(ctx context.Context, params *UpdateServerInput, optFns ...func(*Options)) (*UpdateServerOutput, error) {
	if params == nil {
		params = &UpdateServerInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "UpdateServer", params, optFns, addOperationUpdateServerMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*UpdateServerOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) UpdateServer ( ctx context . Context , params * UpdateServerInput , optFns ... func ( * Options ) ) ( * UpdateServerOutput , error ) { if params == nil { params = & UpdateServerInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationUpdateServerMiddlewares ) if err != nil { return nil , err } out := result . ( * UpdateServerOutput ) out . ResultMetadata = metadata return out , nil }
Updates settings for a server.
Updates settings for a server .